Hey there!
I am writing my master thesis, an identification key for trees. A preview is currently here: http://ec2-54-234-76-44.compute-1.amazonaws.com/ (address may/will change).
The key (filter.php) can already be edited (editor.php), but without history etc. Wikibase suits the requirements perfectly – you wrote it just in time. Characters of trees are language independant, descriptions are not; exactly what Wikibase does.
There is one point I need help with: I need a list of all Questions/Characters/Taxa, i.e. pretty much a table dump, for the editor (processing is all done with JavaScript). What way would you suggest? \Wikibase\Store only returns Entities for known IDs, and I have found no other function so far.
To distinguish between the different kinds of object (question, character, etc.) I plan to use instance-of properties and make the IDs of the used properties (instance-of, parent, …) and items (question, character, taxon, …) configurable in the extension.
Greetings from Switzerland, Simon
Hi Simon,
Sorry for having let this sit so long.
On Wed, Jun 19, 2013 at 3:36 PM, Simon A. Eugster granjow@gmail.com wrote:
Hey there!
I am writing my master thesis, an identification key for trees. A preview is currently here: http://ec2-54-234-76-44.compute-1.amazonaws.com/ (address may/will change).
Nice!
The key (filter.php) can already be edited (editor.php), but without history etc. Wikibase suits the requirements perfectly – you wrote it just in time. Characters of trees are language independant, descriptions are not; exactly what Wikibase does.
There is one point I need help with: I need a list of all Questions/Characters/Taxa, i.e. pretty much a table dump, for the editor (processing is all done with JavaScript). What way would you suggest? \Wikibase\Store only returns Entities for known IDs, and I have found no other function so far.
To distinguish between the different kinds of object (question, character, etc.) I plan to use instance-of properties and make the IDs of the used properties (instance-of, parent, …) and items (question, character, taxon, …) configurable in the extension.
If I understood what you want to do correctly then this is not possible yet. You'll have to work on the database dumps. More info on these are at http://www.wikidata.org/wiki/Wikidata:Database_download
Cheers Lydia
-- Lydia Pintscher - http://about.me/lydia.pintscher Community Communications for Technical Projects
Wikimedia Deutschland e.V. Obentrautstr. 72 10963 Berlin www.wikimedia.de
Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter der Nummer 23855 Nz. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer 27/681/51985.
Am 28.06.2013 16:12, schrieb Lydia Pintscher:
To distinguish between the different kinds of object (question, character, etc.) I plan to use instance-of properties and make the IDs of the used properties (instance-of, parent, …) and items (question, character, taxon, …) configurable in the extension.
If I understood what you want to do correctly then this is not possible yet. You'll have to work on the database dumps. More info on these are at http://www.wikidata.org/wiki/Wikidata:Database_download
While do don't support this directly yet, there apparently is a tool that lets you do this kind of queries:
https://www.wikidata.org/wiki/Wikidata:Tools#WikiData_query
Perhaps try it and let us know how it works for you!
-- daniel
Thanks for your answers!
When I started looking into Wikibase, I also found the query tool and other nice tools. But no sources, so they did not really help me in terms of development ;) @Magnus that's nice; are you running a direct SQL call for claim[property:item]?
At the meantime I have solved it such that I simply run through all items Q1 to Q100 and parse them in case they are of the right instance (and exist). Works fine for now, performance comes later :) Now I am working on getting my data into Wikibase automatically.
Simon
On 28 June 2013 16:20, Daniel Kinzler daniel.kinzler@wikimedia.de wrote:
Am 28.06.2013 16:12, schrieb Lydia Pintscher:
To distinguish between the different kinds of object (question, character, etc.) I plan to use instance-of properties and make the IDs of the used properties (instance-of, parent, …) and items (question, character, taxon, …) configurable in the extension.
If I understood what you want to do correctly then this is not possible yet. You'll have to work on the database dumps. More info on these are at http://www.wikidata.org/wiki/Wikidata:Database_download
While do don't support this directly yet, there apparently is a tool that lets you do this kind of queries:
https://www.wikidata.org/wiki/Wikidata:Tools#WikiData_query
Perhaps try it and let us know how it works for you!
-- daniel
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
Hi, just saw this. My API at http://208.80.153.172/api_documentation.htmlincludes a taxon example, maybe that can help. It's fast too :-)
Cheers, Magnus
On Wed, Jun 19, 2013 at 2:36 PM, Simon A. Eugster granjow@gmail.com wrote:
Hey there!
I am writing my master thesis, an identification key for trees. A preview is currently here: http://ec2-54-234-76-44.compute-1.amazonaws.com/ (address may/will change).
The key (filter.php) can already be edited (editor.php), but without history etc. Wikibase suits the requirements perfectly – you wrote it just in time. Characters of trees are language independant, descriptions are not; exactly what Wikibase does.
There is one point I need help with: I need a list of all Questions/Characters/Taxa, i.e. pretty much a table dump, for the editor (processing is all done with JavaScript). What way would you suggest? \Wikibase\Store only returns Entities for known IDs, and I have found no other function so far.
To distinguish between the different kinds of object (question, character, etc.) I plan to use instance-of properties and make the IDs of the used properties (instance-of, parent, …) and items (question, character, taxon, …) configurable in the extension.
Greetings from Switzerland, Simon
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
wikidata-tech@lists.wikimedia.org