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/expansion-query/object-type/ |
n5 | https://linked.opendata.cz/resource/knowledge-graph-browser/dataset/ |
rdf | http://www.w3.org/1999/02/22-rdf-syntax-ns# |
n3 | https://linked.opendata.cz/ontology/knowledge-graph-browser/ |
xsdh | http://www.w3.org/2001/XMLSchema# |
Statements
- Subject Item
- n2:inheritance
- rdf:type
-
n3:ExpansionQuery
- dcterms:title
-
Inheritance neighbourhood
- n3:query
-
PREFIX z: <https://slovník.gov.cz/základní/pojem/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX browser: <https://linked.opendata.cz/ontology/knowledge-graph-browser/>
CONSTRUCT {
?node rdfs:subClassOf ?parent .
?parent a z:typ-objektu ;
skos:prefLabel ?parentLabel ;
browser:class "object-type", ?parentGlossaryClass .
?child a z:typ-objektu ;
rdfs:subClassOf ?node ;
skos:prefLabel ?childLabel ;
browser:class "object-type", ?childGlossaryClass .
rdfs:subClassOf browser:class ?subClassOfStylesheetClass .
} WHERE {
OPTIONAL {
?node rdfs:subClassOf ?parent .
?parent skos:prefLabel ?parentLabel ;
skos:inScheme ?parentGlossary .
FILTER (LANG(?parentLabel) = "cs")
BIND("sub-class-of" AS ?subClassOfStylesheetClass)
BIND(
IF(
?parentGlossary = <https://slovník.gov.cz/základní/glosář>,
"zsgov",
IF(
?parentGlossary = <https://slovník.gov.cz/veřejný-sektor/glosář>,
"vsgov",
IF(
CONTAINS(STR(?parentGlossary), "legislativní"),
"lsgov",
"asgov"
)
)
)
AS ?parentGlossaryClass)
}
OPTIONAL {
?child rdfs:subClassOf ?node ;
skos:prefLabel ?childLabel ;
skos:inScheme ?childGlossary .
FILTER (LANG(?childLabel) = "cs")
BIND("sub-class-of" AS ?subClassOfStylesheetClass)
BIND(
IF(
?childGlossary = <https://slovník.gov.cz/základní/glosář>,
"zsgov",
IF(
?childGlossary = <https://slovník.gov.cz/veřejný-sektor/glosář>,
"vsgov",
IF(
CONTAINS(STR(?childGlossary), "legislativní"),
"lsgov",
"asgov"
)
)
)
AS ?childGlossaryClass)
}
}
- n3:hasDataset
-
n5:sgov