sbd-data-book

allLicenses.rq

Code examples: curl

SPARQL

PREFIX sbd:  <https://www.sbd4nano.eu/rdf/#>
PREFIX sbdbel:  <https://www.sbd4nano.eu/bel/#>
PREFIX dcterms: <http://purl.org/dc/terms/>

SELECT (COUNT(DISTINCT ?resource) AS ?count) ?license
WHERE {
  VALUES ?ca { sbdbel:CausalAssertion sbd:CausalAssertion }
  ?resource a ?type .
  MINUS { ?resource a ?ca }
  OPTIONAL { ?resource dcterms:license ?license }
} GROUP BY ?license
  ORDER BY DESC(?count)

run

Output

count license
39267
2013 http://creativecommons.org/publicdomain/zero/1.0/
304 https://creativecommons.org/licenses/by/4.0/
83 http://example.com/unknown
83 https://creativecommons.org/licenses/by/4.0/legalcode
29 https://www.wikidata.org/entity/Q50423863
22 https://creativecommons.org/licenses/by-nc/3.0/de/legalcode
9 https://opensource.org/licenses/MIT
7 https://opensource.org/licenses/GPL-3.0
7 https://www.elsevier.com/tdm/userlicense/1.0/
3 https://spdx.org/licenses/Unlicense
3 https://creativecommons.org/licenses/by/4.0
3 https://doi.org/10.15223/policy-029
2 http://www.apache.org/licenses/LICENSE-2.0
2 https://creativecommons.org/licenses/by-nc/4.0/
2 https://creativecommons.org/publicdomain/zero/1.0/
2 http://rsc.li/journals-terms-of-use
2 http://creativecommons.org/licenses/by-nc-nd/4.0/
1 https://opensource.org/licenses/CECILL-2.1
1 https://opensource.org/licenses/AGPL-3.0
1 https://enanomapper.adma.ai/about/aurora
1 https://enanomapper.adma.ai/about/biorima
1 https://enanomapper.adma.ai/about/calibrate
1 https://enanomapper.adma.ai/about/charisma
1 https://enanomapper.adma.ai/about/cusp
1 https://enanomapper.adma.ai/about/enanomapper
1 https://enanomapper.adma.ai/about/gov4nano
1 http://creativecommons.org/licenses/by/3.0/
1 https://opensource.org/license/bsd-3-clause/
1 https://opensource.org/license/bsd-2-clause/
1 http://onlinelibrary.wiley.com/termsAndConditions#am
1 https://enanomapper.adma.ai/about/gracious
1 https://enanomapper.adma.ai/about/harmless
1 https://enanomapper.adma.ai/about/imptox
1 https://enanomapper.adma.ai/about/nanoinformatix
1 https://enanomapper.adma.ai/about/nanoreg
1 https://enanomapper.adma.ai/about/nanoreg2
1 https://enanomapper.adma.ai/about/patrols
1 https://enanomapper.adma.ai/about/plasticfate
1 https://enanomapper.adma.ai/about/plasticheal
1 https://enanomapper.adma.ai/about/polyrisk
1 https://enanomapper.adma.ai/about/riskgone
1 https://enanomapper.adma.ai/about/sabydoma
1 https://enanomapper.adma.ai/about/sabyna
1 https://enanomapper.adma.ai/about/sbd4nano
1 https://enanomapper.adma.ai/about/sunshine
1 https://www.echemportal.org/echemportal/page/12
1 https://www.epa.gov/web-policies-and-procedures/epa-disclaimers
1 https://www.goreni.org/gr3_data_protection.php
1 https://qsardb.food.dtu.dk/db/index.html
1 http://www.t3db.ca/downloads
1 https://creativecommons.org/licenses/by/3.0/
1 https://www.ncis.org.au/about-us/copyright/
1 https://creativecommons.org/licenses/by-nc-nd/4.0/
1 http://doi.wiley.com/10.1002/tdm_license_1.1
1 http://creativecommons.org/licenses/by/2.0
1 https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode
1 https://creativecommons.org/licenses/by-nc/4.0/legalcode
1 https://springernature.figshare.com/articles/dataset/MOESM1_of_Role_of_chemical_composition_and_redox_modification_of_poorly_soluble_nanomaterials_on_their_ability_to_enhance_allergic_airway_sensitisation_in_mice/10071023
1 https://springernature.figshare.com/articles/dataset/MOESM1_of_Role_of_chemical_composition_and_redox_modification_of_poorly_soluble_nanomaterials_on_their_ability_to_enhance_allergic_airway_sensitisation_in_mice/10071032
1 https://creativecommons.org/share-your-work/public-domain/cc0
1 https://github.com/ammar257ammar/Nanosafety-data-reusability-34-datasets/blob/main/LICENSE
1 http://creativecommons.org/licenses/by-sa/4.0/

Code examples

curl

curl -s https://raw.githubusercontent.com/h2020-sbd4nano/sbd-data-book/master/sparql/allLicenses.rq | sed 's+<lang/>+en+' > allLicenses.rq

curl -H "Accept: text/tab-separated-values" -G https://sbd4nanolandscape.rdf.bigcat-bioinformatics.org/sparql --data-urlencode query@allLicenses.rq

This SPARQL query is available under CCZero.