query-82e93c9528af6f5d3f339121c04d72e1
Magyarország városai a kapcsolódó kategóriáikkal
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?fo ?foLabel ?hc ?hcLabel ?kapcs ?kapcsLabel ?szulet ?szuletLabel ?elhunyt ?elhunytLabel ?nyug ?nyugLabel ?filmek ?filmekLabel ?map ?mapLabel WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],hu". }
?item wdt:P31 wd:Q13218690.
OPTIONAL { ?item wdt:P6987 ?mnnf. }
OPTIONAL { ?item wdt:P910 ?fo. }
OPTIONAL { ?item wdt:P1792 ?kapcs. }
OPTIONAL { ?item wdt:P1464 ?szulet. }
OPTIONAL { ?item wdt:P1465 ?elhunyt. }
OPTIONAL { ?item wdt:P1791 ?nyug. }
OPTIONAL { ?item wdt:P1740 ?filmek. }
OPTIONAL { ?item wdt:P7867 ?map. }
OPTIONAL { ?item wdt:P10280 ?hc. }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?elhunyt"):::projected
v8("?filmek"):::projected
v3("?fo"):::projected
v10("?hc"):::projected
v1("?item"):::projected
v4("?kapcs"):::projected
v9("?map"):::projected
v2("?mnnf")
v7("?nyug"):::projected
v5("?szulet"):::projected
c2(["bd:serviceParam"]):::iri
c4(["#91;AUTO_LANGUAGE#93;,hu"]):::literal
c6(["wd:Q13218690"]):::iri
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
v1 --"wdt:P31"--> c6
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P6987".-> v2
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P910".-> v3
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P1792".-> v4
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P1464".-> v5
end
subgraph optional4["(optional)"]
style optional4 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P1465".-> v6
end
subgraph optional5["(optional)"]
style optional5 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P1791".-> v7
end
subgraph optional6["(optional)"]
style optional6 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P1740".-> v8
end
subgraph optional7["(optional)"]
style optional7 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P7867".-> v9
end
subgraph optional8["(optional)"]
style optional8 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P10280".-> v10
end