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/wikidata/personalities/ |
n4 | 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:family
- rdf:type
-
n3:ExpansionQuery
- dcterms:title
-
Family
- n3:query
-
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX av: <https://linked.opendata.cz/resource/vocabulary/knowledge-graph-browser/wikidata/personalities/>
PREFIX browser: <https://linked.opendata.cz/ontology/knowledge-graph-browser/>
CONSTRUCT {
?father a av:personality ;
rdfs:label ?fatherLabel ;
browser:class "personality" .
?mother a av:personality ;
rdfs:label ?motherLabel ;
browser:class "personality" .
?childOfFather a av:personality ;
rdfs:label ?childOfFatherLabel ;
browser:class "personality" .
?childOfMother a av:personality ;
rdfs:label ?childOfMotherLabel ;
browser:class "personality" .
?spouse a av:personality ;
rdfs:label ?spouseLabel ;
browser:class "personality" .
?sibling a av:personality ;
rdfs:label ?siblingLabel ;
browser:class "personality" .
?node av:father ?father ;
av:mother ?mother ;
av:spouse ?spouse ;
av:sibling ?sibling .
?childOfFather av:father ?node .
?childOfMother av:mother ?node .
av:father browser:class ?fatherClass .
av:mother browser:class ?motherClass .
av:spouse browser:class ?spouseClass .
av:sibling browser:class ?siblingClass .
} WHERE {
{
?node wdt:P22 ?father .
BIND("father" AS ?fatherClass)
} UNION {
?node wdt:P25 ?mother .
BIND("mother" AS ?motherClass)
} UNION {
?childOfFather wdt:P22 ?node .
BIND("father" AS ?fatherClass)
} UNION {
?childOfMother wdt:P25 ?node .
BIND("mother" AS ?motherClass)
} UNION {
?node wdt:P26 ?spouse .
BIND("spouse" AS ?spouseClass)
} UNION {
?node wdt:P3373 ?sibling .
BIND("sibling" AS ?siblingClass)
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
- n3:hasDataset
-
n4:wikidata