query-8ad8387604deb8f23043cee5f7ea47b2
URL contains SELECT ?p ?site ?a ?b WHERE { ?p wdt:P973 ?site . OPTIONAL { ?p wdt:P528 ?a . } filter(contains(str(?site),"dati.beniculturali.it/iccd/cf/resource/CulturalInstituteOrSite/")) }
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
#URL contains
SELECT ?p ?site ?a ?b WHERE {
?p wdt:P973 ?site .
OPTIONAL { ?p wdt:P528 ?a . }
filter(contains(str(?site),"dati.beniculturali.it/iccd/cf/resource/CulturalInstituteOrSite/"))
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?a"):::projected
v2("?p"):::projected
v1("?site"):::projected
f0[["contains(str(?site),'dati.beniculturali.it/iccd/cf/resource/CulturalInstituteOrSite/')"]]
f0 --> v1
v2 --"wdt:P973"--> v1
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P528".-> v3
end