[Wikidata-bugs] [Maniphest] [Commented On] T120166: Semantically define arity of statement -> reference relations

2016-02-08 Thread Christopher
Christopher added a comment. @smalyshev no, I think that this specific issue has been practically resolved. TASK DETAIL https://phabricator.wikimedia.org/T120166 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Christopher Cc: Smalyshev, Jheald, dani

[Wikidata-bugs] [Maniphest] [Commented On] T120166: Semantically define arity of statement -> reference relations

2016-02-08 Thread Smalyshev
Smalyshev added a comment. @Christopher is there anything else needing to be done with this? TASK DETAIL https://phabricator.wikimedia.org/T120166 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Smalyshev Cc: Smalyshev, Jheald, daniel, Lydia_Pintsch

[Wikidata-bugs] [Maniphest] [Commented On] T120166: Semantically define arity of statement -> reference relations

2015-12-03 Thread Christopher
Christopher added a comment. @Jheald Perfect. This works, even with adding optional it runs in 10 seconds. Yea, definitely outputting the statements is unnecessary and adds a lot of time. Total results: 5, duration: 10445 ms nrefs count 0 39775 1 339700 2 10050 3 38

[Wikidata-bugs] [Maniphest] [Commented On] T120166: Semantically define arity of statement -> reference relations

2015-12-03 Thread Jheald
Jheald added a comment. I am not sure why we would want to list out all the statements. Surely we just want to count them ? The query below runs in 8.4 seconds PREFIX wikibase: PREFIX wd: PREFIX

[Wikidata-bugs] [Maniphest] [Commented On] T120166: Semantically define arity of statement -> reference relations

2015-12-03 Thread Smalyshev
Smalyshev added a subscriber: Smalyshev. Smalyshev added a comment. Yeah, 13 min queries is not really the best idea I'm afraid. Also, `?wds a wikibase:Statement` should not have worked on query.wikidata.org since it strips those (see https://www.mediawiki.org/wiki/Wikibase/Indexing/RDF_Dump_Fo

[Wikidata-bugs] [Maniphest] [Commented On] T120166: Semantically define arity of statement -> reference relations

2015-12-03 Thread Christopher
Christopher added a comment. @Jheald Thank you for your suggestions. What is fairly clear in my research is that counting type queries on large (or undefined ranges) with an unbound domain are just not possible (without huge resource consumption) when the namespace contains millions and millio

[Wikidata-bugs] [Maniphest] [Commented On] T120166: Semantically define arity of statement -> reference relations

2015-12-03 Thread Jheald
Jheald added a comment. ... and the number of films with //no// cast member listed (query ): PREFIX wikibase: PREFIX wd: PREFIX wdt: PREFIX rdfs:

[Wikidata-bugs] [Maniphest] [Commented On] T120166: Semantically define arity of statement -> reference relations

2015-12-03 Thread Jheald
Jheald added a subscriber: Jheald. Jheald added a comment. arity 0, 1 and "more than one" are reasonably easily accessible, at least for smaller subsets of the data. The FILTER NOT EXISTS { ... } or MINUS { ... } or the OPTIONAL { ... } FILTER (!bound( ... )) constructions can all be used, a