query-e58a19a045402bdd5f9d00e575703de8
Vicarage
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 ?field ?valueLabel WHERE
{
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]" }
{
SELECT ?field ?value WHERE
{
{
BIND ("conflict" AS ?field)
VALUES ?item { wd:Q1785916 }
?item wdt:P607 ?value
}
UNION
{
BIND ("armament" AS ?field)
VALUES ?item { wd:Q1785916 }
?item wdt:P520 ?value
}
}
LIMIT 100
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?field"):::projected
v4("?item")
v3("?value")
c2(["bd:serviceParam"]):::iri
c4(["#91;AUTO_LANGUAGE#93;"]):::literal
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
bind0[/"'armament'"/]
bind0 --as--o v4
bind1[/VALUES ?item/]
bind1-->v4
bind10(["wd:Q1785916"])
bind10 --> bind1
v4 --"wdt:P520"--> v3
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
bind2[/"'conflict'"/]
bind2 --as--o v4
bind3[/VALUES ?item/]
bind3-->v4
bind30(["wd:Q1785916"])
bind30 --> bind3
v4 --"wdt:P607"--> v3
end
union0r <== or ==> union0l
end