FactGrid:Sample queries: Difference between revisions
Olaf Simons (talk | contribs) No edit summary |
Olaf Simons (talk | contribs) No edit summary |
||
Line 81: | Line 81: | ||
== Maps == | == Maps == | ||
=== Dots === | |||
All documents '''of a specific research interest where from?''' [https://database.factgrid.de/query/#%23defaultView%3AMap%0ASELECT%20%3Fitem%20%3FitemLabel%20%3FOrt%20%3FOrtLabel%20%3FGeokoordinaten%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%3Fitem%20wdt%3AP2%20wd%3AQ10671.%0A%20%20%3Fitem%20wdt%3AP95%20%3FOrt.%0A%20%20%3FOrt%20wdt%3AP48%20%3FGeokoordinaten.%0A%20%20%3Fitem%20wdt%3AP97%20wd%3AQ10677.%0A%7D Map] | All documents '''of a specific research interest where from?''' [https://database.factgrid.de/query/#%23defaultView%3AMap%0ASELECT%20%3Fitem%20%3FitemLabel%20%3FOrt%20%3FOrtLabel%20%3FGeokoordinaten%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%3Fitem%20wdt%3AP2%20wd%3AQ10671.%0A%20%20%3Fitem%20wdt%3AP95%20%3FOrt.%0A%20%20%3FOrt%20wdt%3AP48%20%3FGeokoordinaten.%0A%20%20%3Fitem%20wdt%3AP97%20wd%3AQ10677.%0A%7D Map] | ||
All '''persons of a certain profession in a town''' | All '''persons of a certain profession in a town''' | ||
[https://database.factgrid.de/query/#%23defaultView%3AMap%0ASELECT%20%3FKaufmann%20%3FKaufmannLabel%20%3FAdresse%20%3FAdresseLabel%20%3FGeokoordinaten%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%3FKaufmann%20wdt%3AP165%20wd%3AQ36715.%0A%20%20%3FKaufmann%20wdt%3AP83%20wd%3AQ10279.%0A%20%20OPTIONAL%20%7B%0A%20%20%20%20%3FKaufmann%20wdt%3AP208%20%3FAdresse.%0A%20%20%20%20OPTIONAL%20%7B%20%3FAdresse%20wdt%3AP48%20%3FGeokoordinaten.%20%7D%0A%20%20%7D%0A%7D Map] | [https://database.factgrid.de/query/#%23defaultView%3AMap%0ASELECT%20%3FKaufmann%20%3FKaufmannLabel%20%3FAdresse%20%3FAdresseLabel%20%3FGeokoordinaten%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%3FKaufmann%20wdt%3AP165%20wd%3AQ36715.%0A%20%20%3FKaufmann%20wdt%3AP83%20wd%3AQ10279.%0A%20%20OPTIONAL%20%7B%0A%20%20%20%20%3FKaufmann%20wdt%3AP208%20%3FAdresse.%0A%20%20%20%20OPTIONAL%20%7B%20%3FAdresse%20wdt%3AP48%20%3FGeokoordinaten.%20%7D%0A%20%20%7D%0A%7D Map] | ||
=== Lines === | |||
* [https://database.factgrid.de/query/index.html#%23defaultView%3AMap%7B%22hide%22%3A%5B%22%3Fline%22%5D%7D%0ASELECT%20*%20WHERE%20%7B%0A%20%20%3Fq%20wdt%3AP2%20wd%3AQ10671%20.%0A%20%20%3Fq%20wdt%3AP95%20%3Forigin%20.%0A%20%20%3Forigin%20wdt%3AP48%20%3FcoordO%20.%0A%20%20%3Forigin%20p%3AP48%2Fpsv%3AP48%20%3Fvaluenode1.%20%3Fvaluenode1%20wikibase%3AgeoLatitude%20%3Flat1%20.%20%3Fvaluenode1%20wikibase%3AgeoLongitude%20%3Flon1.%0A%20%20%3Fq%20p%3AP28%2Fpq%3AP29%20%3Fdest%20.%0A%20%20%3Fdest%20wdt%3AP48%20%3FcoordD%20.%0A%20%20%3Fdest%20p%3AP48%2Fpsv%3AP48%20%3Fvaluenode2.%20%3Fvaluenode2%20wikibase%3AgeoLatitude%20%3Flat2%20.%20%3Fvaluenode2%20wikibase%3AgeoLongitude%20%3Flon2.%0A%20%20BIND(geof%3Adistance(%3FcoordO%2C%20%3FcoordD)%20AS%20%3Fdist).%0A%20%20BIND(floor(%3Fdist%2F100)%20AS%20%3Flayer).%0A%20%20BIND(CONCAT('LINESTRING%20('%2C%20STR(%3Flon1)%2C%20'%20'%2C%20STR(%3Flat1)%2C%20'%2C'%2C%20STR(%3Flon2)%2C%20'%20'%2C%20STR(%3Flat2)%2C%20')')%20AS%20%3Fstr)%20.%0A%20%20BIND(STRDT(%3Fstr%2C%20geo%3AwktLiteral)%20AS%20%3Fline)%0A%7D The Illuminati correspondence, who wrote whom, from where, whereto] | |||
| valign="top"| | | valign="top"| | ||
== Landkarten == | == Landkarten == | ||
=== Punkte == | |||
Alle Dokumente '''eines bestimmten Forschungsinteresses, Ort der Abfassung''' [https://database.factgrid.de/query/#%23defaultView%3AMap%0ASELECT%20%3Fitem%20%3FitemLabel%20%3FOrt%20%3FOrtLabel%20%3FGeokoordinaten%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%3Fitem%20wdt%3AP2%20wd%3AQ10671.%0A%20%20%3Fitem%20wdt%3AP95%20%3FOrt.%0A%20%20%3FOrt%20wdt%3AP48%20%3FGeokoordinaten.%0A%20%20%3Fitem%20wdt%3AP97%20wd%3AQ10677.%0A%7D Landkarte] | Alle Dokumente '''eines bestimmten Forschungsinteresses, Ort der Abfassung''' [https://database.factgrid.de/query/#%23defaultView%3AMap%0ASELECT%20%3Fitem%20%3FitemLabel%20%3FOrt%20%3FOrtLabel%20%3FGeokoordinaten%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%3Fitem%20wdt%3AP2%20wd%3AQ10671.%0A%20%20%3Fitem%20wdt%3AP95%20%3FOrt.%0A%20%20%3FOrt%20wdt%3AP48%20%3FGeokoordinaten.%0A%20%20%3Fitem%20wdt%3AP97%20wd%3AQ10677.%0A%7D Landkarte] | ||
Alle '''Personen einer Berufsgruppe am Ort''' | Alle '''Personen einer Berufsgruppe am Ort''' | ||
[https://database.factgrid.de/query/#%23defaultView%3AMap%0ASELECT%20%3FKaufmann%20%3FKaufmannLabel%20%3FAdresse%20%3FAdresseLabel%20%3FGeokoordinaten%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%3FKaufmann%20wdt%3AP165%20wd%3AQ36715.%0A%20%20%3FKaufmann%20wdt%3AP83%20wd%3AQ10279.%0A%20%20OPTIONAL%20%7B%0A%20%20%20%20%3FKaufmann%20wdt%3AP208%20%3FAdresse.%0A%20%20%20%20OPTIONAL%20%7B%20%3FAdresse%20wdt%3AP48%20%3FGeokoordinaten.%20%7D%0A%20%20%7D%0A%7D Landkarte] | [https://database.factgrid.de/query/#%23defaultView%3AMap%0ASELECT%20%3FKaufmann%20%3FKaufmannLabel%20%3FAdresse%20%3FAdresseLabel%20%3FGeokoordinaten%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%3FKaufmann%20wdt%3AP165%20wd%3AQ36715.%0A%20%20%3FKaufmann%20wdt%3AP83%20wd%3AQ10279.%0A%20%20OPTIONAL%20%7B%0A%20%20%20%20%3FKaufmann%20wdt%3AP208%20%3FAdresse.%0A%20%20%20%20OPTIONAL%20%7B%20%3FAdresse%20wdt%3AP48%20%3FGeokoordinaten.%20%7D%0A%20%20%7D%0A%7D Landkarte] | ||
=== Linien === | |||
* [https://database.factgrid.de/query/index.html#%23defaultView%3AMap%7B%22hide%22%3A%5B%22%3Fline%22%5D%7D%0ASELECT%20*%20WHERE%20%7B%0A%20%20%3Fq%20wdt%3AP2%20wd%3AQ10671%20.%0A%20%20%3Fq%20wdt%3AP95%20%3Forigin%20.%0A%20%20%3Forigin%20wdt%3AP48%20%3FcoordO%20.%0A%20%20%3Forigin%20p%3AP48%2Fpsv%3AP48%20%3Fvaluenode1.%20%3Fvaluenode1%20wikibase%3AgeoLatitude%20%3Flat1%20.%20%3Fvaluenode1%20wikibase%3AgeoLongitude%20%3Flon1.%0A%20%20%3Fq%20p%3AP28%2Fpq%3AP29%20%3Fdest%20.%0A%20%20%3Fdest%20wdt%3AP48%20%3FcoordD%20.%0A%20%20%3Fdest%20p%3AP48%2Fpsv%3AP48%20%3Fvaluenode2.%20%3Fvaluenode2%20wikibase%3AgeoLatitude%20%3Flat2%20.%20%3Fvaluenode2%20wikibase%3AgeoLongitude%20%3Flon2.%0A%20%20BIND(geof%3Adistance(%3FcoordO%2C%20%3FcoordD)%20AS%20%3Fdist).%0A%20%20BIND(floor(%3Fdist%2F100)%20AS%20%3Flayer).%0A%20%20BIND(CONCAT('LINESTRING%20('%2C%20STR(%3Flon1)%2C%20'%20'%2C%20STR(%3Flat1)%2C%20'%2C'%2C%20STR(%3Flon2)%2C%20'%20'%2C%20STR(%3Flat2)%2C%20')')%20AS%20%3Fstr)%20.%0A%20%20BIND(STRDT(%3Fstr%2C%20geo%3AwktLiteral)%20AS%20%3Fline)%0A%7D Die Illuminatenkorrespondenz, wer schrieb wem, von wo nach wo?] | |||
|} | |} | ||
Revision as of 22:53, 31 May 2020
Help:
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help/Result_Views/en
- https://en.wikibooks.org/wiki/SPARQL/FILTER
Looking for peopleSearch all people of the same family name, sort by given names, state everyone with information about life dates and family details. Table |
PersonensucheSuche alle Personen mit demselben Familienname, sortiere nach Vornamen und gebe die Informationen über Zeitraum, Vater, Mutter, und Ehe hinzu. Tabelle |
Name of people who ever were a residents of place with basic personal information. Table |
Nenne alle Personen, die an einem Ort wohnhaft waren, mit biographischer Basisinformation. Tabelle |
Two Persons, when and where did they meet? timeline |
Zwei Personen, wann und wo sind sie sich begegnet? Zeitleiste |
Looking for documentsAll documents written by N.N. with corresponding documents. Table |
DokumentensucheAlle Dokumente verfasst von N.N. mit korrespondierenden Dokumenten. Tabelle |
All documents sent to N.N. with corresponding documents. Table |
Alle Dokumente an N.N. mit korrespondierenden Dokumenten. Tabelle |
All documents mentioning N.N. with corresponding documents. Table |
Alle Dokumente, die N.N. erwähnen mit korrespondierenden Dokumenten. Tabelle |
All documents of a file listed in sequence. Table |
Alle Dokumente einer Akte der Reihenfolge nach. Tabelle |
All documents sent from (place) by date. Table |
Alle Dokumente mit demselben Absendeort chronologisch. Tabelle |
All documents of a specific archive and research interest by date. Table |
Alle Dokumente eines bestimmten Archivs und Forschungsinteresses chronologisch. Tabelle |
MapsDotsAll documents of a specific research interest where from? Map All persons of a certain profession in a town Map Lines
|
Landkarten= PunkteAlle Dokumente eines bestimmten Forschungsinteresses, Ort der Abfassung Landkarte Alle Personen einer Berufsgruppe am Ort Landkarte Linien |
Tables
- Mitglied des Concordienordens
- was a member of the Illuminati
- All guided compositions, where written? when? plus links to FactGrid transcripts.
- no functional query yet, but a first attempt is here, modeled after the "academic tree" graph in Scholia's author aspect
Graphs
Timelines
Grammatically intricate searches
- all places - with their respective Wikidata numbers
- Member of the Illuminati, state the primary document reference that we have for this statement
Wishful thinking
- A map of all places a Person has been, using (also) the information from sender's and receiver's places
- visualisations quest on phabricator