query-217f1fae16adc202d2c9013e11b0ca48
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX mwapi: <http://wikiba.se/ontology#>
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 DISTINCT ?item ?itemLabel ?itemDescription ?insLabel
WHERE {
?item wdt:P31 ?ins.
?item wdt:P17 wd:Q183.
MINUS {?item wdt:P31/wdt:P279* wd:Q10521078.}
MINUS {?item wdt:P31 wd:Q4167836.}
MINUS {?item wdt:P31 wd:Q4167410.}
SERVICE wikibase:mwapi {
bd:serviceParam wikibase:api "Search";
wikibase:endpoint "www.wikidata.org";
mwapi:srsearch "Großsteingrab".
?item wikibase:apiOutputItem mwapi:title .
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "de". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?ins")
v1("?item"):::projected
a1((" "))
c13(["www.wikidata.org"]):::literal
c20(["de"]):::literal
c7(["wd:Q4167410"]):::iri
c15(["Großsteingrab"]):::literal
c5(["wd:Q10521078"]):::iri
c9(["bd:serviceParam"]):::iri
c11(["Search"]):::literal
c3(["wd:Q183"]):::iri
c6(["wd:Q4167836"]):::iri
c17(["mwapi:title"]):::iri
v1 --"wdt:P31"--> v2
v1 --"wdt:P17"--> c3
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c5
end
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P31"--> c6
end
subgraph minus2["MINUS"]
style minus2 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P31"--> c7
end
subgraph s1["http://wikiba.se/ontology#mwapi"]
style s1 stroke-width:4px;
c9 --"mwapi:api"--> c11
c9 --"mwapi:endpoint"--> c13
c9 --"mwapi:srsearch"--> c15
v1 --"mwapi:apiOutputItem"--> c17
end
subgraph s2["http://wikiba.se/ontology#label"]
style s2 stroke-width:4px;
c9 --"mwapi:language"--> c20
end