query-79a5eb72f2261982362c05a4f04cbb53
title:Inscriptions with unknown collection SELECT DISTINCT ?item ?edr ?coll WHERE { ?item wdt:P12495 ?edr ; p:P195 ?c . ?c ps:P195 ?coll . FILTER(wikibase:isSomeValue(?coll)) } ORDER BY ?edr
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
#title:Inscriptions with unknown collection
SELECT DISTINCT ?item ?edr ?coll
WHERE {
?item wdt:P12495 ?edr ; p:P195 ?c . ?c ps:P195 ?coll . FILTER(wikibase:isSomeValue(?coll))
}
ORDER BY ?edr
Query found at
- https://www.wikidata.org/wiki/User:Ep%C3%ACdosis/Queries
- https://www.wikidata.org/wiki/User:Ep%C3%ACdosis/sandbox
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?c")
v2("?coll"):::projected
v1("?edr"):::projected
v3("?item"):::projected
f0[["http://wikiba.se/ontology#isSomeValue(?coll)"]]
f0 --> v2
v3 --"p:direct/P12495"--> v1
v3 --"p:P195"--> v4
v4 --"p:statement/P195"--> v2