query-4d187ee5860668c5f99237a1f84a34fa

rq turtle/ttl

10:53, 11 January 2019 (UTC)) talk (Deryck Chan-- having different purposes at this point. (P407)language of work or name and (P364)original language of film or TV show . But as I had stated above, other than those 487 items in the query above (which I think are an issue of data quality rather than refinement), I don't see (P364)original language of film or TV show non-film/TV items, mainly songs, using Update: I've now excluded film series as well, which brings down the total 250 608Also, "remove all except films usages" is relatively undisruptive because there are only

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT (COUNT(?item) AS ?count)
WHERE 
{
  ?item wdt:P364 ?origlang .
  FILTER NOT EXISTS {?item wdt:P31/wdt:P279*  wd:Q2431196 }.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY ASC(?itemLabel)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?count") v2("?item"):::projected v1("?itemLabel") v3("?origlang") a1((" ")) c6(["bd:serviceParam"]):::iri c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal c3(["wd:Q2431196"]):::iri f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"wdt:P31"--> e0a1 e0a1 --"wdt:P279"--> e0c3 e0v1("?item"):::projected e0a1((" ")):::projected e0c3(["wd:Q2431196"]):::iri end f0--EXISTS--> f0e0 f0 --> v2 f0 --> c1 f0 --> a1 f0 --> c2 f0 --> c3 v2 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c3 v2 --"wdt:P364"--> v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end bind2[/"count(?item)"/] v2 --o bind2 bind2 --as--o v4