Created
January 18, 2020 23:51
-
-
Save blokhin/8cd0470787845510da2426baed5c0808 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
SELECT ?label | |
WHERE { <http://dbpedia.org/resource/Asturias> rdfs:label ?label } | |
PREFIX owl: <http://www.w3.org/2002/07/owl#> | |
PREFIX dbres: <http://dbpedia.org/resource/> | |
DESCRIBE dbres:Curie-Weiss_law | |
SELECT ?dbr WHERE { ?dbr foaf:isPrimaryTopicOf <http://en.wikipedia.org/wiki/Curie–Weiss_law> } | |
prefix fhkb: <http://www.example.com/genealogy.owl#> | |
prefix owl: <http://www.w3.org/2002/07/owl#> | |
SELECT ?one ?two WHERE { ?one fhkb:hasGreatGrandfather ?two } | |
PREFIX matinf: <http://worldmaterials.pro/> | |
SELECT (COUNT(DISTINCT ?x) AS ?count) WHERE { ?x rdf:ID ?y } | |
PREFIX matinf: <http://worldmaterials.pro/> | |
SELECT ?x ?y WHERE { ?i matinf:hasProp ?x . ?i matinf:hasVal ?y } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment