query-0db590e090a78b9ae1b72e2b3add6e07
title:reference URL contains SELECT ?item ?prefet ?site WHERE { ?item wdt:P4944 ?prefet . ?item p:P569 ?db . ?db prov:wasDerivedFrom ?ref . ?ref pr:P854 ?site . FILTER(CONTAINS(STR(?site),"francearchives.fr/fr/facomponent/")) } ORDER BY ?site
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX p: <http://www.wikidata.org/prop/>
#title:reference URL contains
SELECT ?item ?prefet ?site
WHERE {
?item wdt:P4944 ?prefet .
?item p:P569 ?db .
?db prov:wasDerivedFrom ?ref .
?ref pr:P854 ?site .
FILTER(CONTAINS(STR(?site),"francearchives.fr/fr/facomponent/"))
}
ORDER BY ?site
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("?db")
v2("?item"):::projected
v3("?prefet"):::projected
v5("?ref")
v1("?site"):::projected
f0[["contains(str(?site),'francearchives.fr/fr/facomponent/')"]]
f0 --> v1
v2 --"p:direct/P4944"--> v3
v2 --"p:P569"--> v4
v4 --"prov:wasDerivedFrom"--> v5
v5 --"p:reference/P854"--> v1