query-dea66e2c8101208e89dbc09778d5b1ef
Reference URLidref.fr (P269)IdRef ID P269 URL Link Text Other
Use at
- https://query.wikidata.org/sparql
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT DISTINCT ?item ?prop ?statement ?url ?s WHERE {
?item ?prop ?statement .
?statement prov:wasDerivedFrom ?ref .
?ref pr:P854 ?url .
FILTER (CONTAINS(LCASE(STR(?url)),"idref.fr"))
OPTIONAL {
?ref pr:P269 ?s .
}
FILTER (?prop != p:P269)
FILTER (!BOUND(?s))
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?item"):::projected
v2("?prop"):::projected
v6("?ref")
v1("?s"):::projected
v5("?statement"):::projected
v3("?url"):::projected
f0[["not bound(?s)"]]
f0 --> v1
f1[["?prop != 'p:P269'"]]
f1 --> v2
f2[["contains(lower-case(str(?url)),'idref.fr')"]]
f2 --> v3
v4 -->v2--> v5
v5 --"prov:wasDerivedFrom"--> v6
v6 --"p:reference/P854"--> v3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v6 -."p:reference/P269".-> v1
end