Knowledge Graph Query and Display
Full
Moderate
Concise
PREFIX skos: <http://www.w3.org/2004/02/skos/core#> PREFIX kgo: <http://solid.boltz.cs.cmu.edu:3030/ontology/> PREFIX boltz: <http://solid.boltz.cs.cmu.edu:3030/data/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX qudt: <http://qudt.org/schema/qudt/> PREFIX unit: <http://qudt.org/vocab/unit/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX list: <http://jena.hpl.hp.com/ARQ/list#> PREFIX qu: <http://purl.oclc.org/NET/ssnx/qu/qu#> PREFIX qud: <http://qudt.org/1.1/schema/qudt#> PREFIX la: <https://linked.art/ns/terms/> PREFIX un: <http://www.w3.org/2007/ont/unit#> PREFIX uni: <http://purl.org/weso/uni/uni.html#> SELECT DISTINCT ?root_name ?root ?root_rank ?parent_name ?parent ?parent_prefLabel ?child_name ?child ?child_prefLabel ?def ?root_def ?rank_name WHERE { BIND ("Animalia"@en AS ?root_name). ?root kgo:taxonName ?root_name . ?root kgo:taxonRank [rdfs:label ?root_rank] . OPTIONAL { ?root skos:definition ?root_def . } ?child kgo:subTaxonOf* ?root . ?child kgo:subTaxonOf ?parent . ?child kgo:taxonName ?child_name . OPTIONAL { ?child skos:definition ?def . } ?child kgo:taxonRank ?rank . ?rank rdfs:label ?rank_name . ?parent kgo:taxonName ?parent_name . ?child skos:prefLabel ?child_prefLabel . ?parent skos:prefLabel ?parent_prefLabel . }