This HTML5 document contains 4 embedded RDF statements represented using HTML+Microdata notation.
The embedded RDF content will be recognized by any processor of HTML5 Microdata.
Namespace Prefixes
Prefix | IRI |
dcterms | http://purl.org/dc/terms/ |
n2 | https://linked.opendata.cz/resource/knowledge-graph-browser/preview-query/animal-classification/taxon/ |
n5 | https://linked.opendata.cz/resource/knowledge-graph-browser/dataset/ |
rdf | http://www.w3.org/1999/02/22-rdf-syntax-ns# |
n4 | https://linked.opendata.cz/ontology/knowledge-graph-browser/ |
xsdh | http://www.w3.org/2001/XMLSchema# |
Statements
- Subject Item
- n2:basic
- rdf:type
-
n4:PreviewQuery
- dcterms:title
-
Taxon basic overview
- n4:query
-
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdab: <https://linked.opendata.cz/resource/vocabulary/knowledge-graph-browser/wikidata/animal-classification/>
PREFIX browser: <https://linked.opendata.cz/ontology/knowledge-graph-browser/>
CONSTRUCT {
?node a ?animalClass ;
rdfs:label ?nodeLabel ;
browser:class "taxon", "animalHierarchicalGroup", ?taxonRankLabel .
} WHERE {
?node wdt:P105 ?taxonRank ;
rdfs:label ?nodeLabel .
?taxonRank rdfs:label ?taxonRankLabel .
# BIND(CONCAT(https://linked.opendata.cz/resource/vocabulary/knowledge-graph-browser/wikidata/animal-classification/", UCASE(SUBSTR(?taxonRankLabel, 1, 1)), SUBSTR(?taxonRankLabel, 2)) as ?animalClass)
BIND( if (?taxonRankLabel = "kingdom"@en, <https://linked.opendata.cz/resource/vocabulary/knowledge-graph-browser/wikidata/animal-classification/Kingdom>,
if (?taxonRankLabel = "phylum"@en, <https://linked.opendata.cz/resource/vocabulary/knowledge-graph-browser/wikidata/animal-classification/Phylum>,
if (?taxonRankLabel = "class"@en, <https://linked.opendata.cz/resource/vocabulary/knowledge-graph-browser/wikidata/animal-classification/Class>,
if (?taxonRankLabel = "order"@en, <https://linked.opendata.cz/resource/vocabulary/knowledge-graph-browser/wikidata/animal-classification/Order>,
if (?taxonRankLabel = "family"@en, <https://linked.opendata.cz/resource/vocabulary/knowledge-graph-browser/wikidata/animal-classification/Family>,
if (?taxonRankLabel = "genus"@en, <https://linked.opendata.cz/resource/vocabulary/knowledge-graph-browser/wikidata/animal-classification/Genus>,
if (?taxonRankLabel = "species"@en, <https://linked.opendata.cz/resource/vocabulary/knowledge-graph-browser/wikidata/animal-classification/Species>, ""))))))) as ?animalClass)
FILTER(lang(?nodeLabel) = "en")
FILTER(lang(?taxonRankLabel) = "en")
}
- n4:hasDataset
-
n5:wikidata