query-964656742256b228d959db40c5f222f8
Statuettes of Bastet with photographs
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#>
#defaultView:ImageGrid
SELECT distinct ?item ?itemLabel ?pic
WHERE
{
VALUES ?statuette {wd:Q16738862 wd:Q1066288 wd:Q179700} # statuette or statue
VALUES ?bastet {wd:Q129106 wd:Q146104 wd:Q146007} # Bastet or Sekhmet or Wadjet
?item wdt:P31 ?statuette. # is a statuette or statue
?item wdt:P180 ?bastet. # subject is Bastet
?item wdt:P18 ?pic # Pikz or it did not happen
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?bastet")
v3("?item"):::projected
v4("?pic"):::projected
v1("?statuette")
c5(["bd:serviceParam"]):::iri
c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal
bind0[/VALUES ?statuette/]
bind0-->v1
bind00(["wd:Q16738862"])
bind00 --> bind0
bind01(["wd:Q1066288"])
bind01 --> bind0
bind02(["wd:Q179700"])
bind02 --> bind0
bind1[/VALUES ?bastet/]
bind1-->v2
bind10(["wd:Q129106"])
bind10 --> bind1
bind11(["wd:Q146104"])
bind11 --> bind1
bind12(["wd:Q146007"])
bind12 --> bind1
v3 --"wdt:P31"--> v1
v3 --"wdt:P180"--> v2
v3 --"wdt:P18"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end