query-388a493e972380515d845070f7c54adc
Itemsnight blindness (Q7758678)color blindness (Q133696)
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?property ?propertyLabel ?value ?valueLabel ?id
WHERE {
values ?value {wd:Q7758678 wd:Q133696}
?item ?propertyclaim ?id .
?property wikibase:propertyType wikibase:WikibaseItem .
?property wikibase:claim ?propertyclaim .
?id ?b ?value .
FILTER(regex(str(?b), "http://www.wikidata.org/prop/statement" ))
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?b")
v5("?id"):::projected
v3("?item"):::projected
v6("?property"):::projected
v4("?propertyclaim")
v2("?value"):::projected
c6(["bd:serviceParam"]):::iri
c8(["en"]):::literal
c3(["wikibase:WikibaseItem"]):::iri
f0[["regex(str(?b),'http://www.wikidata.org/prop/statement')"]]
f0 --> v1
bind1[/VALUES ?value/]
bind1-->v2
bind10(["wd:Q7758678"])
bind10 --> bind1
bind11(["wd:Q133696"])
bind11 --> bind1
v3 -->v4--> v5
v6 --"wikibase:propertyType"--> c3
v6 --"wikibase:claim"--> v4
v5 -->v1--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end