Beebs.systap added a comment. In https://phabricator.wikimedia.org/T88717#1034987, @Smalyshev wrote:
> @Beebs.systap this looks pretty good. How it is done - i.e. what is used to > create the triples, how they are imported, etc. - is this code available? > > Also, I assume we'd want eventually to support qualifiers/references, i.e. > queries like "countries list by population, from largest to smallest" taking > into account US has a number of population figures and we'd have to take the > latest, or for "female mayors" - we may have to account for the fact that > some mayorships could be in the past - i.e. Berlin > (https://www.wikidata.org/wiki/Q64) had a lot of mayors, but only one > (Michael Müller) is the current mayor, so we'd have to be able to support it. > Fortunately, this particular mayor also is marked with "preferred" flag - > which we may need to support too - but not all data has preferred flags, so > we may need to rely on time qualifiers. Next step would be the same in any > point of time (i.e. "female mayors in 20th century"). > > For references, the query may be "give me all data about Douglas Adams (Q42) > that come from Encyclopædia Britannica Online (Q5375741)". Peter Haas has been working it. Here are his comments. "For this showcase, the simplified RDF dump from http://tools.wmflabs.org/wikidata-exports/rdf/exports/20150126/ (i.e. the dump without statement qualifiers) has been loaded into bigdata, Bigdata is also able to handle the qualifiers available in the complete dump, either based on the original reification model used in the Wikidata RDF dump as described here http://meta.wikimedia.org/wiki/Wikidata/Development/RDF#Statements_with_qualifiers, or based on Bigdata’s own native reification model RDR as described here: http://www.bigdata.com/rdr We can extend the showcase in this regard." He is still working on the reified version using our RDR support. TASK DETAIL https://phabricator.wikimedia.org/T88717 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>. EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Smalyshev, Beebs.systap Cc: Beebs.systap, Aklapper, Manybubbles, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, GWicke, daniel, JanZerebecki _______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
