query-c49deeb5aa66185de016e2bd07d01897

rq turtle/ttl

Propertiescopyright status (P6216)applies to jurisdiction (P1001)determination method or standard (P459)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT distinct ?item ?itemLabel 
WHERE {
    ?item p:P6216 ?statement .
    ?statement ps:P6216 ?pd .                    # copyright status = public domain
    VALUES ?pd { wd:Q19652 wd:Q15687061 } 
    OPTIONAL {?statement pq:P1001 ?det .} .      # record jurisdiction if present
    FILTER NOT EXISTS { ?statement pq:P459 [] }  # item missing "determination method" statement
    SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } .
}
LIMIT 100

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?det") v2("?item"):::projected v4("?pd") v1("?statement") a1((" ")) c6(["bd:serviceParam"]):::iri c8(["en"]):::literal f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"p:qualifier/P459"--> e0a1 e0v1("?statement"):::projected e0a1((" ")):::projected end f0--EXISTS--> f0e0 f0 --> v1 f0 --> c1 f0 --> a1 v1 --"p:qualifier/P459"--> a1 v2 --"p:P6216"--> v1 v1 --"p:statement/P6216"--> v4 bind1[/VALUES ?pd/] bind1-->v4 bind10(["wd:Q19652"]) bind10 --> bind1 bind11(["wd:Q15687061"]) bind11 --> bind1 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."p:qualifier/P1001".-> v4 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end