FactGrid:Sample queries: Difference between revisions

From FactGrid
Jump to navigation Jump to search
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
== How to ==
* https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help/Result_Views/en
__TOC__
==Archival searches ==
==Archival searches ==
* [https://database.factgrid.de/query/#SELECT%20%3FDokument%20%3FDokumentLabel%20WHERE%20%7B%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%20%20%3FDokument%20wdt%3AP2%20wd%3AQ10671.%0A%20%20%3FDokument%20wdt%3AP47%20wd%3AQ10658.%0A%7D%0ALIMIT%20100 all documents located in Hamburg's State Archive]
* [https://database.factgrid.de/query/#SELECT%20%3FDokument%20%3FDokumentLabel%20WHERE%20%7B%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%20%20%3FDokument%20wdt%3AP2%20wd%3AQ10671.%0A%20%20%3FDokument%20wdt%3AP47%20wd%3AQ10658.%0A%7D all documents located in Hamburg's State Archive]


* [https://database.factgrid.de/query/#SELECT%20%3FDokument%20%3FDokumentLabel%20WHERE%20%7B%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%20%20%3FDokument%20wdt%3AP2%20wd%3AQ10671.%0A%20%20%3FDokument%20wdt%3AP47%20wd%3AQ10658.%0A%20%20%3FDokument%20wdt%3AP21%20wd%3AQ978.%0A%7D%0ALIMIT%20100 all documents located in Hamburg's State Archive with Author Ernst II. Ludwig von Sachsen-Gotha-Altenburg]
* [https://database.factgrid.de/query/#SELECT%20%3FDokument%20%3FDokumentLabel%20WHERE%20%7B%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%20%20%3FDokument%20wdt%3AP2%20wd%3AQ10671.%0A%20%20%3FDokument%20wdt%3AP47%20wd%3AQ10658.%0A%20%20%3FDokument%20wdt%3AP21%20wd%3AQ978.%0A%7D all documents located in Hamburg's State Archive with Author Ernst II. Ludwig von Sachsen-Gotha-Altenburg]


== Tables ==
== Tables ==
Line 9: Line 15:
* [https://database.factgrid.de/query/#SELECT%20%3FCostanzo_Marchese_di_Costanzo%20%3FCostanzo_Marchese_di_CostanzoLabel%20WHERE%20%7B%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%20%20%3FCostanzo_Marchese_di_Costanzo%20wdt%3AP28%20wd%3AQ217.%0A%7D All documents where Costanzo Marchese di Costanzo (Q217) was the first recipient]  
* [https://database.factgrid.de/query/#SELECT%20%3FCostanzo_Marchese_di_Costanzo%20%3FCostanzo_Marchese_di_CostanzoLabel%20WHERE%20%7B%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%20%20%3FCostanzo_Marchese_di_Costanzo%20wdt%3AP28%20wd%3AQ217.%0A%7D All documents where Costanzo Marchese di Costanzo (Q217) was the first recipient]  
* [https://database.factgrid.de/query/#SELECT%20%3FCostanzo_Marchese_di_Costanzo%20%3FCostanzo_Marchese_di_CostanzoLabel%20WHERE%20%7B%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%20%20%3FCostanzo_Marchese_di_Costanzo%20wdt%3AP33%20wd%3AQ217.%0A%7D all documents mentioning Costanzo Marchese di Costanzo (Q217)]
* [https://database.factgrid.de/query/#SELECT%20%3FCostanzo_Marchese_di_Costanzo%20%3FCostanzo_Marchese_di_CostanzoLabel%20WHERE%20%7B%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%20%20%3FCostanzo_Marchese_di_Costanzo%20wdt%3AP33%20wd%3AQ217.%0A%7D all documents mentioning Costanzo Marchese di Costanzo (Q217)]
* [https://database.factgrid.de/query/#SELECT%20%3FIlluminatenorden%20%3FIlluminatenordenLabel%20WHERE%20%7B%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%20%20%0A%20%20%3FIlluminatenorden%20wdt%3AP91%20wd%3AQ10677.%0A%7D was a member of the Illuminati]
* [http://tinyurl.com/y99eyox2 was a freemason - of which lodge]


== Maps ==
== Maps ==
Line 21: Line 30:
== Graphs ==
== Graphs ==
*[https://database.factgrid.de/query/#%23defaultView%3AGraph%0ASELECT%20%3FPerson%20%3FPersonLabel%20%3FOrganisation%20WHERE%20%7B%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%20%20%3FPerson%20wdt%3AP2%20wd%3AQ7.%0A%20%20%3FPerson%20wdt%3AP91%20%3FOrganisation.%0A%7D People and organisations]
*[https://database.factgrid.de/query/#%23defaultView%3AGraph%0ASELECT%20%3FPerson%20%3FPersonLabel%20%3FOrganisation%20WHERE%20%7B%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%20%20%3FPerson%20wdt%3AP2%20wd%3AQ7.%0A%20%20%3FPerson%20wdt%3AP91%20%3FOrganisation.%0A%7D People and organisations]
* [https://database.factgrid.de/query/#%23defaultView%3AGraph%0ASELECT%20%3FPerson%20%3FOrganisation%20%3Fdokumentiert%20%3FdokumentiertLabel%20%3FDokumente_ihrer_seiner_Hand%20%3FDokumente_ihrer_seiner_HandLabel%20WHERE%20%7B%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%20%20%3FPerson%20wdt%3AP91%20wd%3AQ23165.%0A%20%20%3FPerson%20wdt%3AP91%20%3FOrganisation.%0A%20%20OPTIONAL%20%7B%20%3FPerson%20wdt%3AP51%20%3Fdokumentiert.%20%7D%0A%20%20OPTIONAL%20%7B%20%20%7D%0A%20%20OPTIONAL%20%7B%20%3FPerson%20wdt%3AP185%20%3FDokumente_ihrer_seiner_Hand.%20%7D%0A%7D member of the Theocratie du verbe incarnée and connected information]


== Timelines ==
== Timelines ==
*[https://database.factgrid.de/query/#%23defaultView%3ATimeline%0ASELECT%20%3FEreignis%20%3FEreignisLabel%20%3FEndzeitpunkt%20WHERE%20%7B%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%20%20%3FEreignis%20wdt%3AP2%20wd%3AQ9.%0A%20%20%3FEreignis%20wdt%3AP106%20%3FEndzeitpunkt.%0A%7D%0A events by date]
*[https://database.factgrid.de/query/#%23defaultView%3ATimeline%0ASELECT%20%3FEreignis%20%3FEreignisLabel%20%3FEndzeitpunkt%20WHERE%20%7B%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%20%20%3FEreignis%20wdt%3AP2%20wd%3AQ9.%0A%20%20%3FEreignis%20wdt%3AP106%20%3FEndzeitpunkt.%0A%20%20%3FEreignis%20wdt%3AP97%20wd%3AQ10677.%0A%7D All Illuminati events by date]/ [http://tinyurl.com/y8zwjosq tinyurl]


== Wishful thinking ==
== Wishful thinking ==
* A map of all places a Person has been, using (also) the information from sender's and receiver's places
* A map of all places a Person has been, using (also) the information from sender's and receiver's places
* [https://phabricator.wikimedia.org/T165473 visualisations quest on phabricator]
* [https://phabricator.wikimedia.org/T165473 visualisations quest on phabricator]

Revision as of 15:02, 6 November 2018