query-0787efac556bd613d91ca6eec6c572dd

rq turtle/ttl

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

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 ?item ?itemLabel ?det ?detLabel 
WHERE {
    ?item p:P6216 ?statement .
    ?statement ps:P6216 ?pd .                    # copyright status = public domain
    VALUES ?pd { wd:Q19652 wd:Q15687061 } 
    OPTIONAL {?statement pq:P459 ?det .} .
    FILTER NOT EXISTS { ?statement pq:P1001 [] } 
    SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } .
} order by ?det
LIMIT 100

Query found at

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