FactGrid:Sample queries: Difference between revisions

From FactGrid
Jump to navigation Jump to search
 
(56 intermediate revisions by 3 users not shown)
Line 17: Line 17:
* Two Persons, '''when and where did they meet''' [https://database.factgrid.de/query/#%23defaultView%3ATimeline%0ASELECT%20%3FEreignis%20%3FEndzeitpunkt%20%3FEreignisLabel%20%3FStandort%20%3FStandortLabel%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%3B%0A%20%20%20%20wdt%3AP106%20%3FEndzeitpunkt%3B%0A%20%20%20%20wdt%3AP133%20wd%3AQ100000%2C%20wd%3AQ101971.%0A%20%20OPTIONAL%20%7B%20%3FEreignis%20wdt%3AP47%20%3FStandort.%20%7D%0A%7D timeline]
* Two Persons, '''when and where did they meet''' [https://database.factgrid.de/query/#%23defaultView%3ATimeline%0ASELECT%20%3FEreignis%20%3FEndzeitpunkt%20%3FEreignisLabel%20%3FStandort%20%3FStandortLabel%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%3B%0A%20%20%20%20wdt%3AP106%20%3FEndzeitpunkt%3B%0A%20%20%20%20wdt%3AP133%20wd%3AQ100000%2C%20wd%3AQ101971.%0A%20%20OPTIONAL%20%7B%20%3FEreignis%20wdt%3AP47%20%3FStandort.%20%7D%0A%7D timeline]
* [https://database.factgrid.de/query/#SELECT%20%3Fitem%20%3FitemLabel%20%3FitemDescription%20%3FGeschlechtLabel%20%3FFactGrid_Benutzerseite%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%20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP163%20%3FFactGrid_Benutzerseite.%20%7D%0A%20%20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP154%20%3FGeschlecht.%20%7D%0A%7D%0AORDER%20BY%20%3FGeschlecht All people with a FactGrid account by gender]
* [https://database.factgrid.de/query/#SELECT%20%3Fitem%20%3FitemLabel%20%3FitemDescription%20%3FGeschlechtLabel%20%3FFactGrid_Benutzerseite%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%20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP163%20%3FFactGrid_Benutzerseite.%20%7D%0A%20%20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP154%20%3FGeschlecht.%20%7D%0A%7D%0AORDER%20BY%20%3FGeschlecht All people with a FactGrid account by gender]
* [https://database.factgrid.de/query/#SELECT%20%3Fitem%20%3FitemLabel%20%3FitemAltLabel%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%3AP131%20wd%3AQ459500.%0A%7D search all people of a research project, Labels and Aliases]


== Looking for documents ==
== Looking for documents ==
* [https://database.factgrid.de/query/index.html#SELECT%20%3FAuthor%20%3FAuthorLabel%20%3FRecipient%20%3FRecipientLabel%20%3Fitem%20%3FitemLabel%20%3FitemDescription%20%3FDate%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%20%28wdt%3AP21%7Cwdt%3AP28%29%20wd%3AQ969.%0A%20%20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP106%20%3FDate.%20%7D%0A%20%20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP21%20%3FAuthor.%20%7D%0A%20%20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP28%20%3FRecipient.%20%7D%0A%7D%0AORDER%20BY%20%28%3FDate%29 Everything authored or written to '''N.N.''']
:* [https://database.factgrid.de/query/#SELECT%20%3Fitem1%20%3Fitem1Label%20%3FRecipient1%20%3FRecipient1Label%20%3FAuthor2%20%3FAuthor2Label%20%3Fitem2%20%3Fitem2Label%20%3FDate%20%0AWHERE%0A%7B%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%20%20%7B%20%3Fitem1%20wdt%3AP21%20wd%3AQ969.%0A%20%20OPTIONAL%20%7B%20%3Fitem1%20wdt%3AP28%20%3FRecipient1.%20%7D%0A%20%20OPTIONAL%20%7B%20%3Fitem1%20wdt%3AP106%20%3FDate.%20%7D%20%7D%0A%20%20UNION%0A%20%20%7B%20%3Fitem2%20%20wdt%3AP28%20wd%3AQ969.%0A%20%20%20OPTIONAL%20%7B%20%3Fitem2%20wdt%3AP21%20%3FAuthor2.%20%7D%0A%20%20%20OPTIONAL%20%7B%20%3Fitem2%20wdt%3AP106%20%3FDate.%20%7D%20%7D%0A%7D%0AORDER%20BY%20%3FDate The correspondence of '''N.N.''' with him/her as sender (right) and recipient (left)]
* All documents '''written by N.N.''' with corresponding documents. [https://database.factgrid.de/query/#SELECT%20%3FAntwort_auf%20%3FAntwort_aufLabel%20%3FA_%20%3FA_Label%20%3FA_Description%20%3FAbsendeort%20%3FAbsendeortLabel%20%3FDatum%20%3FFactGrid_Transkript%20%3FAntwort%20%3FAntwortLabel%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%3FA_%20wdt%3AP21%20wd%3AQ969.%0A%20%20OPTIONAL%20%7B%20%3FA_%20wdt%3AP95%20%3FAbsendeort.%20%7D%0A%20%20OPTIONAL%20%7B%20%3FA_%20wdt%3AP106%20%3FDatum.%20%7D%0A%20%20OPTIONAL%20%7B%20%3FA_%20wdt%3AP251%20%3FFactGrid_Transkript.%20%7D%0A%20%20OPTIONAL%20%7B%20%3FA_%20wdt%3AP65%20%3FAntwort_auf.%20%7D%0A%20%20OPTIONAL%20%7B%20%3FA_%20wdt%3AP205%20%3FAntwort.%20%7D%0A%7D%0AORDER%20BY%20%3FDatum Table]
* All documents '''written by N.N.''' with corresponding documents. [https://database.factgrid.de/query/#SELECT%20%3FAntwort_auf%20%3FAntwort_aufLabel%20%3FA_%20%3FA_Label%20%3FA_Description%20%3FAbsendeort%20%3FAbsendeortLabel%20%3FDatum%20%3FFactGrid_Transkript%20%3FAntwort%20%3FAntwortLabel%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%3FA_%20wdt%3AP21%20wd%3AQ969.%0A%20%20OPTIONAL%20%7B%20%3FA_%20wdt%3AP95%20%3FAbsendeort.%20%7D%0A%20%20OPTIONAL%20%7B%20%3FA_%20wdt%3AP106%20%3FDatum.%20%7D%0A%20%20OPTIONAL%20%7B%20%3FA_%20wdt%3AP251%20%3FFactGrid_Transkript.%20%7D%0A%20%20OPTIONAL%20%7B%20%3FA_%20wdt%3AP65%20%3FAntwort_auf.%20%7D%0A%20%20OPTIONAL%20%7B%20%3FA_%20wdt%3AP205%20%3FAntwort.%20%7D%0A%7D%0AORDER%20BY%20%3FDatum Table]


Line 30: Line 33:


* All documents '''of a specific archive and research interest''' by date. [https://database.factgrid.de/query/#SELECT%20%3FDokument%20%3FAutor%20%3FAutorLabel%20%3FDokumentLabel%20%3FAbsendeort%20%3FAbsendeortLabel%20%3FDatum%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%3AP97%20wd%3AQ10677.%0A%20%20OPTIONAL%20%7B%20%3FDokument%20wdt%3AP21%20%3FAutor.%20%7D%0A%20%20OPTIONAL%20%7B%20%3FDokument%20wdt%3AP95%20%3FAbsendeort.%20%7D%0A%20%20OPTIONAL%20%7B%20%3FDokument%20wdt%3AP106%20%3FDatum.%20%7D%0A%7D%0AORDER%20BY%20%3FDatum Table]
* All documents '''of a specific archive and research interest''' by date. [https://database.factgrid.de/query/#SELECT%20%3FDokument%20%3FAutor%20%3FAutorLabel%20%3FDokumentLabel%20%3FAbsendeort%20%3FAbsendeortLabel%20%3FDatum%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%3AP97%20wd%3AQ10677.%0A%20%20OPTIONAL%20%7B%20%3FDokument%20wdt%3AP21%20%3FAutor.%20%7D%0A%20%20OPTIONAL%20%7B%20%3FDokument%20wdt%3AP95%20%3FAbsendeort.%20%7D%0A%20%20OPTIONAL%20%7B%20%3FDokument%20wdt%3AP106%20%3FDatum.%20%7D%0A%7D%0AORDER%20BY%20%3FDatum Table]
== Looking for dates ==
Dates are still a problem with wikibase. The manual input is very sophisticated. You can set the precision of date and you can define the calendar format. The QuickStatements mass input allows a definition of precision with a defining component on each date (for instance "/9" precision year, "/11" precision day...) but regular searches as formulated with the Query Service's Query Helper do not grab these additional details. A 1650 year input is downloaded as a "1 January 1650" value unless you specifically ask for the precision:
* [https://database.factgrid.de/query/#SELECT%20%3FFruitbearing_Society%20%3FFruitbearing_SocietyLabel%20%3Fdate_of_birth%20%3Fprecision%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%3FFruitbearing_Society%20wdt%3AP91%20wd%3AQ436419.%0A%20%20OPTIONAL%20%7B%20%3FFruitbearing_Society%20p%3AP77%2Fpsv%3AP77%20%5B%20wikibase%3AtimeValue%20%3Fdate_of_birth%3B%20wikibase%3AtimePrecision%20%3Fprecision%20%5D%20%20%20%20%7D%20%20%20%20%20%20%20%20%20%20%0A%7D All the members of the "Fruchtbringende Gesellschaft" with dates of birth and statement of exactness]


== Maps ==
== Maps ==
[[File:Second-Mission-French-Prophets.JPG|thumb|right|300px|[https://database.factgrid.de/query/index.html#%23defaultView%3AMap%7B%22hide%22%3A%5B%22%3Fpoint%22%2C%20%22%3Fline%22%2C%20%22%3Frgb%22%5D%7D%0ASELECT%20%0A%20%20%20%20%3Fbegin%20%3Fstay%20%3FstayLabel%20%3Fpoint%20%3Fline%20%3Fvisualisation%20%3Frgb%0AWITH%20%7B%0A%20%20SELECT%20%3Fjourney%20%3Fstay%20%3Fbegin%20%3Fdate%20%3Fpoint%20%3Fpoint_str%20WHERE%20%7B%0A%20%20%20%20VALUES%20%3Fjourney%20%7B%20%0A%20%20%20%20%20%20wd%3AQ257130%0A%20%20%20%20%7D%20.%20%20%0A%20%20%20%3Fjourney%20p%3AP296%20%5Bps%3AP296%20%3Fstay%20%3B%20%28pq%3AP49%20%7C%20pq%3AP50%20%7C%20pq%3AP106%29%20%3Fbegin%5D%20.%20%20%20%0A%20%20%20%3Fstay%20p%3AP48%20%5B%20ps%3AP48%20%3Fpoint%20%3B%20psv%3AP48%20%2F%20wikibase%3AgeoLatitude%20%3Flat%20%3B%20psv%3AP48%20%2F%20wikibase%3AgeoLongitude%20%3Flong%20%5D%20.%0A%20%20%20%20BIND%28CONCAT%28STR%28%3Flong%29%2C%20%27%20%27%2C%20STR%28%3Flat%29%29%20AS%20%3Fpoint_str%29%0A%20%20%7D%0A%20%20ORDER%20BY%20%28%3Fbegin%29%0A%7D%20AS%20%25points%0A%0AWITH%20%7B%0A%20%20SELECT%20%3Fjourney%20%28STRDT%28%20CONCAT%28%27LINESTRING%20%28%27%2C%20GROUP_CONCAT%28%3Fpoint_str%3B%20separator%3D%27%2C%27%29%2C%20%27%29%27%29%2C%20geo%3AwktLiteral%29%20AS%20%3Fline%29%20%3Frgb%20WHERE%20%7B%0A%20%20%20%20INCLUDE%20%25points%0A%20%20%20OPTIONAL%20%7B%20%3Fjourney%20p%3AP693%20%5Bpq%3AP697%20%3Fcolor%5D%20.%0A%20%20%20%20%3Fcolor%20wdt%3AP696%20%3Frgb.%20%7D%0A%20%20%7D%20GROUP%20BY%20%3Fjourney%20%3Frgb%0A%7D%20AS%20%25line%0A%0AWHERE%20%7B%0A%20%20INCLUDE%20%25points%0A%20%20INCLUDE%20%25line%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D Second mission of the French Prophets, 1 June 1712-1714]]]
[[File:Second-Mission-French-Prophets.JPG|thumb|right|300px|[https://database.factgrid.de/query/index.html#%23defaultView%3AMap%7B%22hide%22%3A%5B%22%3Fpoint%22%2C%20%22%3Fline%22%2C%20%22%3Frgb%22%5D%7D%0ASELECT%20%0A%20%20%20%20%3Fbegin%20%3Fstay%20%3FstayLabel%20%3Fpoint%20%3Fline%20%3Fvisualisation%20%3Frgb%0AWITH%20%7B%0A%20%20SELECT%20%3Fjourney%20%3Fstay%20%3Fbegin%20%3Fdate%20%3Fpoint%20%3Fpoint_str%20WHERE%20%7B%0A%20%20%20%20VALUES%20%3Fjourney%20%7B%20%0A%20%20%20%20%20%20wd%3AQ257130%0A%20%20%20%20%7D%20.%20%20%0A%20%20%20%3Fjourney%20p%3AP296%20%5Bps%3AP296%20%3Fstay%20%3B%20%28pq%3AP49%20%7C%20pq%3AP50%20%7C%20pq%3AP106%29%20%3Fbegin%5D%20.%20%20%20%0A%20%20%20%3Fstay%20p%3AP48%20%5B%20ps%3AP48%20%3Fpoint%20%3B%20psv%3AP48%20%2F%20wikibase%3AgeoLatitude%20%3Flat%20%3B%20psv%3AP48%20%2F%20wikibase%3AgeoLongitude%20%3Flong%20%5D%20.%0A%20%20%20%20BIND%28CONCAT%28STR%28%3Flong%29%2C%20%27%20%27%2C%20STR%28%3Flat%29%29%20AS%20%3Fpoint_str%29%0A%20%20%7D%0A%20%20ORDER%20BY%20%28%3Fbegin%29%0A%7D%20AS%20%25points%0A%0AWITH%20%7B%0A%20%20SELECT%20%3Fjourney%20%28STRDT%28%20CONCAT%28%27LINESTRING%20%28%27%2C%20GROUP_CONCAT%28%3Fpoint_str%3B%20separator%3D%27%2C%27%29%2C%20%27%29%27%29%2C%20geo%3AwktLiteral%29%20AS%20%3Fline%29%20%3Frgb%20WHERE%20%7B%0A%20%20%20%20INCLUDE%20%25points%0A%20%20%20OPTIONAL%20%7B%20%3Fjourney%20p%3AP693%20%5Bpq%3AP697%20%3Fcolor%5D%20.%0A%20%20%20%20%3Fcolor%20wdt%3AP696%20%3Frgb.%20%7D%0A%20%20%7D%20GROUP%20BY%20%3Fjourney%20%3Frgb%0A%7D%20AS%20%25line%0A%0AWHERE%20%7B%0A%20%20INCLUDE%20%25points%0A%20%20INCLUDE%20%25line%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D Second mission of the French Prophets, 1 June 1712-1714]]]
[[File:Illuminati correspondence, lines on maps.JPG|thumb|right|300px|[https://database.factgrid.de/query/index.html?fbclid=IwAR29yqUCMsZsCD4caHaH475VCbMICGUUb8zdjrvQ_jDT87Nj5TQEycLDGqU&fbclid=IwAR1dIHXj94VuVG3w0RAps1QbjwFDoZ2ELfXdK61X1gptkyuR7WUZkkRWHkQ#%23defaultView%3AMap%7B%22hide%22%3A%5B%22%3Fline%22%5D%7D%0ASELECT%20%2a%20WHERE%20%7B%0A%20%20%3Fq%20wdt%3AP2%20wd%3AQ10671%20.%0A%20%20%3Fq%20wdt%3AP97%20wd%3AQ10677%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%28geof%3Adistance%28%3FcoordO%2C%20%3FcoordD%29%20AS%20%3Fdist%29.%0A%20%20BIND%28floor%28%3Fdist%2F100%29%20AS%20%3Flayer%29.%0A%20%20BIND%28CONCAT%28%27LINESTRING%20%28%27%2C%20STR%28%3Flon1%29%2C%20%27%20%27%2C%20STR%28%3Flat1%29%2C%20%27%2C%27%2C%20STR%28%3Flon2%29%2C%20%27%20%27%2C%20STR%28%3Flat2%29%2C%20%27%29%27%29%20AS%20%3Fstr%29%20.%0A%20%20BIND%28STRDT%28%3Fstr%2C%20geo%3AwktLiteral%29%20AS%20%3Fline%29%0A%7D The Illuminati correspondence on a map]]]
[[File:Illuminati correspondence, lines on maps.JPG|thumb|right|300px|[https://database.factgrid.de/query/index.html?fbclid=IwAR29yqUCMsZsCD4caHaH475VCbMICGUUb8zdjrvQ_jDT87Nj5TQEycLDGqU&fbclid=IwAR1dIHXj94VuVG3w0RAps1QbjwFDoZ2ELfXdK61X1gptkyuR7WUZkkRWHkQ#%23defaultView%3AMap%7B%22hide%22%3A%5B%22%3Fline%22%5D%7D%0ASELECT%20%2a%20WHERE%20%7B%0A%20%20%3Fq%20wdt%3AP2%20wd%3AQ10671%20.%0A%20%20%3Fq%20wdt%3AP97%20wd%3AQ10677%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%28geof%3Adistance%28%3FcoordO%2C%20%3FcoordD%29%20AS%20%3Fdist%29.%0A%20%20BIND%28floor%28%3Fdist%2F100%29%20AS%20%3Flayer%29.%0A%20%20BIND%28CONCAT%28%27LINESTRING%20%28%27%2C%20STR%28%3Flon1%29%2C%20%27%20%27%2C%20STR%28%3Flat1%29%2C%20%27%2C%27%2C%20STR%28%3Flon2%29%2C%20%27%20%27%2C%20STR%28%3Flat2%29%2C%20%27%29%27%29%20AS%20%3Fstr%29%20.%0A%20%20BIND%28STRDT%28%3Fstr%2C%20geo%3AwktLiteral%29%20AS%20%3Fline%29%0A%7D The Illuminati correspondence on a map]]]
[[File:Heinrich Heine, Paris.jpg|thumb|right|300px|[https://database.factgrid.de/query/#%23defaultView%3AMap%7B%22hide%22%3A%5B%22%3Fpoint%22%2C%20%22%3Fline%22%5D%7D%0ASELECT%20DISTINCT%0A%3Fviewer%20%3Fsubject%20%3FsubjectLabel%20%3Fperiod%20%3Flocation%20%3FlocationLabel%20%3Fpoint%20%3Fline%20%0AWITH%20%7B%0A%20%20SELECT%20%3Fviewer%20%3Fsubject%20%3Flocation%20%3Ftime%20%3Fperiod%20%3Fpoint%20%3Fpoint_str%20WHERE%20%7B%0A%20%20%20%20VALUES%20%3Fsubject%20%7B%20wd%3AQ365979%20%7D%20.%0A%20%20%20%20%3Fsubject%20p%3AP208%20%3Flocation_statement%20.%0A%20%20%20%20%3Flocation_statement%20ps%3AP208%20%3Flocation%20%3B%20pq%3AP49%20%3Fbt%20%3B%20pq%3AP50%20%3Fet%20.%20%0A%20%23%20%20%20%3Flocation%20wdt%3AP47%20wd%3AQ10441%20.%0A%20%20%20%20%3Flocation%20p%3AP48%20%2F%20ps%3AP48%20%3Fpoint%20.%0A%20%20%20%20%3Flocation%20p%3AP48%20%2F%20psv%3AP48%20%2F%20wikibase%3AgeoLatitude%20%3Flatitude%20.%0A%20%20%20%20%3Flocation%20p%3AP48%20%2F%20psv%3AP48%20%2F%20wikibase%3AgeoLongitude%20%3Flongitude%20.%0A%20%20%20%20BIND%28STR%28YEAR%28%3Fbt%29%29%20AS%20%3Fbegin_time%29%20%0A%20%20%20%20BIND%28STR%28YEAR%28%3Fet%29%29%20AS%20%3Fend_time%29%0A%20%20%20%20BIND%28CONCAT%28%3Fbegin_time%2C%20%27-%27%2C%3Fend_time%29AS%20%3Fperiod%29%0A%20%20%20%20BIND%28CONCAT%28STR%28%3Flongitude%29%2C%20%27%20%27%2C%20STR%28%3Flatitude%29%29%20AS%20%3Fpoint_str%29%0A%20%20%20%20BIND%28STRAFTER%28STR%28%3Fsubject%29%2C%20STR%28wd%3A%29%29%20AS%20%3FitemId%29%0A%20%20%20%20BIND%28IRI%28CONCAT%28%22https%3A%2F%2Fdatabase.factgrid.de%2Fviewer%2Fitem%2F%22%2C%20%3FitemId%29%29%20AS%20%3Fviewer%29%0A%20%20%7D%0A%20%20ORDER%20BY%20%28%3Fbt%29%0A%7D%20AS%20%25points%0A%0AWITH%20%7B%0A%20%20SELECT%20%3Fsubject%20%28STRDT%28%20CONCAT%28%27LINESTRING%20%28%27%2C%20GROUP_CONCAT%28%3Fpoint_str%3B%20separator%3D%27%2C%27%29%2C%20%27%29%27%29%2C%20geo%3AwktLiteral%29%20AS%20%3Fline%29%20WHERE%20%7B%0A%20%20%20%20INCLUDE%20%25points%0A%20%20%7D%20GROUP%20BY%20%3Fsubject%0A%7D%20AS%20%25line%0A%0AWHERE%20%7B%0A%20%20INCLUDE%20%25points%0A%20%20INCLUDE%20%25line%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D Heinrich Heine's Parisian addresses]]]
[[File:FactGrid Screenshot, kitchen types in layers on map.PNG ‎|thumb|right|300px|[https://database.factgrid.de/query/#%23defaultView%3AMap%7B%22layer%22%3A%22%3FtypeLabel%22%7D%0ASELECT%20%3Fitem%20%3FitemLabel%20%3Fgeo%20%3Ftype%20%3FtypeLabel%20%28SAMPLE%28%3F_image%29%20AS%20%3Fimage%29%20WHERE%20%7B%0A%20%20%3Ftype%20wdt%3AP3%2a%20wd%3AQ648943%20.%0A%20%20%3Fitem%20wdt%3AP575%20%3Ftype%20%3B%0A%20%20%20%20%20%20%20%20wdt%3AP48%20%3Fgeo%20.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%20%20%20%20OPTIONAL%20%7B%20%3Fitem%20%28p%3AP575%2Fpq%3AP189%29%20%3F_image.%20%7D%0A%7D%0AGROUP%20BY%20%3Fitem%20%3FitemLabel%20%3Fgeo%20%3Ftype%20%3FtypeLabel Kitchen types in layers on map]]]
=== Dots ===
=== Dots ===
* [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 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 All documents '''of a specific research interest where from?''' ]
Line 39: Line 50:
* [https://tinyurl.com/ybeonrb8 All the ancestors of a person, where were they born?]
* [https://tinyurl.com/ybeonrb8 All the ancestors of a person, where were they born?]


* [https://database.factgrid.de/query/#%23defaultView%3AMap%0A%23poets%0ASELECT%20%3Fpoet%20%3FpoetLabel%20%3FaddressLabel%20%3Fcoord%20WHERE%20%7B%0A%20%20%3Fpoet%20wdt%3AP2%20wd%3AQ7%3B%0A%20%20%20%20%28wdt%3AP165%2F%28wdt%3AP3%2a%29%29%20wd%3AQ36715%3B%0A%20%20%20%20wdt%3AP208%20%3Faddress.%0A%20%20%3Faddress%20wdt%3AP47%20wd%3AQ10279%3B%0A%20%20%20%20wdt%3AP48%20%3Fcoord.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D All '''persons of a certain profession in a town''' (here merchants)] / [https://tinyurl.com/yb2nejbm Poets in Paris]
* [https://database.factgrid.de/query/#%23defaultView%3AMap%0A%23poets%0ASELECT%20%3Fpoet%20%3FpoetLabel%20%3FaddressLabel%20%3Fcoord%20WHERE%20%7B%0A%20%20%3Fpoet%20wdt%3AP2%20wd%3AQ7%3B%0A%20%20%20%20%28wdt%3AP165%2F%28wdt%3AP3%2a%29%29%20wd%3AQ36715%3B%0A%20%20%20%20wdt%3AP208%20%3Faddress.%0A%20%20%3Faddress%20wdt%3AP47%20wd%3AQ10279%3B%0A%20%20%20%20wdt%3AP48%20%3Fcoord.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D All '''persons of a certain profession in a town''' (here merchants)] / [https://tinyurl.com/yb2nejbm Poets in Paris] / [https://kurzelinks.de/l3ih Authors in Paris in 1834] with comments / [https://kurzelinks.de/chgf Authors in Paris in 1834 with direct links to the viewer] with comments / [https://kurzelinks.de/q8xe Scholars and playwrights in Paris in 1834, map with two layers] with comments
 
* [https://tinyurl.com/2fzngjj8 Masonic lodges by systems and obediences, where are they located?]
 
* [https://kurzelinks.de/y2hg Parisian miniaturists in 1834 (with clusters)]
 
* [https://database.factgrid.de/query/embed.html#%23defaultView%3AMap%7B%22layer%22%3A%22%3FtypeLabel%22%7D%0ASELECT%20%3Fitem%20%3FitemLabel%20%3Fgeo%20%3Ftype%20%3FtypeLabel%20%28SAMPLE%28%3F_image%29%20AS%20%3Fimage%29%20WHERE%20%7B%0A%20%20%3Ftype%20wdt%3AP3%2a%20wd%3AQ648943%20.%0A%20%20%3Fitem%20wdt%3AP575%20%3Ftype%20%3B%0A%20%20%20%20%20%20%20%20wdt%3AP48%20%3Fgeo%20.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%20%20%20%20OPTIONAL%20%7B%20%3Fitem%20%28p%3AP575%2Fpq%3AP189%29%20%3F_image.%20%7D%0A%7D%0AGROUP%20BY%20%3Fitem%20%3FitemLabel%20%3Fgeo%20%3Ftype%20%3FtypeLabel kitchen types in layers on a map]


=== Lines ===
=== Lines ===
Line 45: Line 62:
* [https://database.factgrid.de/query/index.html?fbclid=IwAR29yqUCMsZsCD4caHaH475VCbMICGUUb8zdjrvQ_jDT87Nj5TQEycLDGqU&fbclid=IwAR1dIHXj94VuVG3w0RAps1QbjwFDoZ2ELfXdK61X1gptkyuR7WUZkkRWHkQ#%23defaultView%3AMap%7B%22hide%22%3A%5B%22%3Fline%22%5D%7D%0ASELECT%20%2a%20WHERE%20%7B%0A%20%20%3Fq%20wdt%3AP2%20wd%3AQ10671%20.%0A%20%20%3Fq%20wdt%3AP97%20wd%3AQ10677%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%28geof%3Adistance%28%3FcoordO%2C%20%3FcoordD%29%20AS%20%3Fdist%29.%0A%20%20BIND%28floor%28%3Fdist%2F100%29%20AS%20%3Flayer%29.%0A%20%20BIND%28CONCAT%28%27LINESTRING%20%28%27%2C%20STR%28%3Flon1%29%2C%20%27%20%27%2C%20STR%28%3Flat1%29%2C%20%27%2C%27%2C%20STR%28%3Flon2%29%2C%20%27%20%27%2C%20STR%28%3Flat2%29%2C%20%27%29%27%29%20AS%20%3Fstr%29%20.%0A%20%20BIND%28STRDT%28%3Fstr%2C%20geo%3AwktLiteral%29%20AS%20%3Fline%29%0A%7D The Illuminati correspondence, who wrote whom, from where, whereto]
* [https://database.factgrid.de/query/index.html?fbclid=IwAR29yqUCMsZsCD4caHaH475VCbMICGUUb8zdjrvQ_jDT87Nj5TQEycLDGqU&fbclid=IwAR1dIHXj94VuVG3w0RAps1QbjwFDoZ2ELfXdK61X1gptkyuR7WUZkkRWHkQ#%23defaultView%3AMap%7B%22hide%22%3A%5B%22%3Fline%22%5D%7D%0ASELECT%20%2a%20WHERE%20%7B%0A%20%20%3Fq%20wdt%3AP2%20wd%3AQ10671%20.%0A%20%20%3Fq%20wdt%3AP97%20wd%3AQ10677%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%28geof%3Adistance%28%3FcoordO%2C%20%3FcoordD%29%20AS%20%3Fdist%29.%0A%20%20BIND%28floor%28%3Fdist%2F100%29%20AS%20%3Flayer%29.%0A%20%20BIND%28CONCAT%28%27LINESTRING%20%28%27%2C%20STR%28%3Flon1%29%2C%20%27%20%27%2C%20STR%28%3Flat1%29%2C%20%27%2C%27%2C%20STR%28%3Flon2%29%2C%20%27%20%27%2C%20STR%28%3Flat2%29%2C%20%27%29%27%29%20AS%20%3Fstr%29%20.%0A%20%20BIND%28STRDT%28%3Fstr%2C%20geo%3AwktLiteral%29%20AS%20%3Fline%29%0A%7D The Illuminati correspondence, who wrote whom, from where, whereto]
* [https://database.factgrid.de/query/#%23defaultView%3AMap%0A%23%20Workplaces%20of%20society%20portrait%20painter%20Philip%20de%20Laszlo%0A%23defaultView%3AMap%7B%22hide%22%3A%5B%22%3Fpoint%22%2C%20%22%3Fline%22%5D%7D%0ASELECT%20%0A%20%20%3Ftime%20%3Fend_time%20%3FlocationLabel%20%3Fpoint%20%3Fline%20%0AWITH%20%7B%0A%20%20SELECT%20%3Fsubject%20%3Flocation%20%3Ftime%20%3Fend_time%20%3Fpoint%20%3Fpoint_str%20WHERE%20%7B%0A%20%20%20%20VALUES%20%3Fsubject%20%7B%20wd%3AQ172808%20%7D%20.%0A%20%20%20%20%3Fsubject%20p%3AP83%20%3Fwork_location_statement%20.%0A%20%20%20%20%3Fwork_location_statement%20ps%3AP83%20%3Flocation%20.%20%0A%20%20%20%20%3Flocation%20p%3AP48%20%2F%20ps%3AP48%20%3Fpoint%20.%0A%20%20%20%20%3Flocation%20p%3AP48%20%2F%20psv%3AP48%20%2F%20wikibase%3AgeoLatitude%20%3Flatitude%20.%0A%20%20%20%20%3Flocation%20p%3AP48%20%2F%20psv%3AP48%20%2F%20wikibase%3AgeoLongitude%20%3Flongitude%20.%0A%20%20%20%20%3Fwork_location_statement%20pq%3AP49%20%3Ftime%20.%20%0A%20%20%20%20OPTIONAL%20%7B%20%3Fwork_location_statement%20pq%3AP50%20%3Fend_time%20%7D%20.%0A%20%20%20%20BIND%28CONCAT%28STR%28%3Flongitude%29%2C%20%27%20%27%2C%20STR%28%3Flatitude%29%29%20AS%20%3Fpoint_str%29%0A%20%20%7D%0A%20%20ORDER%20BY%20%28%3Ftime%29%0A%7D%20AS%20%25points%0A%0AWITH%20%7B%0A%20%20SELECT%20%3Fsubject%20%28STRDT%28%20CONCAT%28%27LINESTRING%20%28%27%2C%20GROUP_CONCAT%28%3Fpoint_str%3B%20separator%3D%27%2C%27%29%2C%20%27%29%27%29%2C%20geo%3AwktLiteral%29%20AS%20%3Fline%29%20WHERE%20%7B%0A%20%20%20%20INCLUDE%20%25points%0A%20%20%7D%20GROUP%20BY%20%3Fsubject%0A%7D%20AS%20%25line%0A%0AWHERE%20%7B%0A%20%20INCLUDE%20%25points%0A%20%20INCLUDE%20%25line%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D Arthur Schopenhauer, Places of residence]
* [https://database.factgrid.de/query/#%23defaultView%3AMap%0A%23%20Workplaces%20of%20society%20portrait%20painter%20Philip%20de%20Laszlo%0A%23defaultView%3AMap%7B%22hide%22%3A%5B%22%3Fpoint%22%2C%20%22%3Fline%22%5D%7D%0ASELECT%20%0A%20%20%3Ftime%20%3Fend_time%20%3FlocationLabel%20%3Fpoint%20%3Fline%20%0AWITH%20%7B%0A%20%20SELECT%20%3Fsubject%20%3Flocation%20%3Ftime%20%3Fend_time%20%3Fpoint%20%3Fpoint_str%20WHERE%20%7B%0A%20%20%20%20VALUES%20%3Fsubject%20%7B%20wd%3AQ172808%20%7D%20.%0A%20%20%20%20%3Fsubject%20p%3AP83%20%3Fwork_location_statement%20.%0A%20%20%20%20%3Fwork_location_statement%20ps%3AP83%20%3Flocation%20.%20%0A%20%20%20%20%3Flocation%20p%3AP48%20%2F%20ps%3AP48%20%3Fpoint%20.%0A%20%20%20%20%3Flocation%20p%3AP48%20%2F%20psv%3AP48%20%2F%20wikibase%3AgeoLatitude%20%3Flatitude%20.%0A%20%20%20%20%3Flocation%20p%3AP48%20%2F%20psv%3AP48%20%2F%20wikibase%3AgeoLongitude%20%3Flongitude%20.%0A%20%20%20%20%3Fwork_location_statement%20pq%3AP49%20%3Ftime%20.%20%0A%20%20%20%20OPTIONAL%20%7B%20%3Fwork_location_statement%20pq%3AP50%20%3Fend_time%20%7D%20.%0A%20%20%20%20BIND%28CONCAT%28STR%28%3Flongitude%29%2C%20%27%20%27%2C%20STR%28%3Flatitude%29%29%20AS%20%3Fpoint_str%29%0A%20%20%7D%0A%20%20ORDER%20BY%20%28%3Ftime%29%0A%7D%20AS%20%25points%0A%0AWITH%20%7B%0A%20%20SELECT%20%3Fsubject%20%28STRDT%28%20CONCAT%28%27LINESTRING%20%28%27%2C%20GROUP_CONCAT%28%3Fpoint_str%3B%20separator%3D%27%2C%27%29%2C%20%27%29%27%29%2C%20geo%3AwktLiteral%29%20AS%20%3Fline%29%20WHERE%20%7B%0A%20%20%20%20INCLUDE%20%25points%0A%20%20%7D%20GROUP%20BY%20%3Fsubject%0A%7D%20AS%20%25line%0A%0AWHERE%20%7B%0A%20%20INCLUDE%20%25points%0A%20%20INCLUDE%20%25line%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D Arthur Schopenhauer, Places of residence]
*[https://kurzelinks.de/4p7d Liszt's homes in Paris]
*[https://kurzelinks.de/a5ew Comte's homes in Paris]
*[https://database.factgrid.de/query/#%23defaultView%3AMap%7B%22hide%22%3A%5B%22%3Fpoint%22%2C%20%22%3Fline%22%5D%7D%0ASELECT%20DISTINCT%0A%3Fviewer%20%3Fsubject%20%3FsubjectLabel%20%3Fperiod%20%3Flocation%20%3FlocationLabel%20%3Fpoint%20%3Fline%20%0AWITH%20%7B%0A%20%20SELECT%20%3Fviewer%20%3Fsubject%20%3Flocation%20%3Ftime%20%3Fperiod%20%3Fpoint%20%3Fpoint_str%20WHERE%20%7B%0A%20%20%20%20VALUES%20%3Fsubject%20%7B%20wd%3AQ380472%20%7D%20.%0A%20%20%20%20%3Fsubject%20p%3AP208%20%3Flocation_statement%20.%0A%20%20%20%20%3Flocation_statement%20ps%3AP208%20%3Flocation%20%3B%20pq%3AP49%20%3Fbt%20%3B%20pq%3AP50%20%3Fet%20.%20%0A%20%20%20%20%3Flocation%20wdt%3AP47%20wd%3AQ10441%20.%0A%20%20%20%20%3Flocation%20p%3AP48%20%2F%20ps%3AP48%20%3Fpoint%20.%0A%20%20%20%20%3Flocation%20p%3AP48%20%2F%20psv%3AP48%20%2F%20wikibase%3AgeoLatitude%20%3Flatitude%20.%0A%20%20%20%20%3Flocation%20p%3AP48%20%2F%20psv%3AP48%20%2F%20wikibase%3AgeoLongitude%20%3Flongitude%20.%0A%20%20%20%20BIND%28STR%28YEAR%28%3Fbt%29%29%20AS%20%3Fbegin_time%29%20%0A%20%20%20%20BIND%28STR%28YEAR%28%3Fet%29%29%20AS%20%3Fend_time%29%0A%20%20%20%20BIND%28CONCAT%28%3Fbegin_time%2C%20%27-%27%2C%3Fend_time%29AS%20%3Fperiod%29%0A%20%20%20%20BIND%28CONCAT%28STR%28%3Flongitude%29%2C%20%27%20%27%2C%20STR%28%3Flatitude%29%29%20AS%20%3Fpoint_str%29%0A%20%20%20%20BIND%28STRAFTER%28STR%28%3Fsubject%29%2C%20STR%28wd%3A%29%29%20AS%20%3FitemId%29%0A%20%20%20%20BIND%28IRI%28CONCAT%28%22https%3A%2F%2Fdatabase.factgrid.de%2Fviewer%2Fitem%2F%22%2C%20%3FitemId%29%29%20AS%20%3Fviewer%29%0A%20%20%7D%0A%20%20ORDER%20BY%20%28%3Fbt%29%0A%7D%20AS%20%25points%0A%0AWITH%20%7B%0A%20%20SELECT%20%3Fsubject%20%28STRDT%28%20CONCAT%28%27LINESTRING%20%28%27%2C%20GROUP_CONCAT%28%3Fpoint_str%3B%20separator%3D%27%2C%27%29%2C%20%27%29%27%29%2C%20geo%3AwktLiteral%29%20AS%20%3Fline%29%20WHERE%20%7B%0A%20%20%20%20INCLUDE%20%25points%0A%20%20%7D%20GROUP%20BY%20%3Fsubject%0A%7D%20AS%20%25line%0A%0AWHERE%20%7B%0A%20%20INCLUDE%20%25points%0A%20%20INCLUDE%20%25line%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D Chopin's homes in Paris]


== Tables ==
== Tables ==
Line 65: Line 85:


== Statistics ==
== Statistics ==
[[File:Adherents of the French Prophets and their religious affiliations.JPG|thumb|right|200px|[https://tinyurl.com/yglpoqzq Adherents of the French Prophets and their religious affiliations]]]
[[File:Adherents of the French Prophets and their religious affiliations.JPG|thumb|right|300px|[https://tinyurl.com/yglpoqzq Adherents of the French Prophets and their religious affiliations]]]
[[File:Age at death of all FacGrid humans.JPG|thumb|right|200px|[https://tinyurl.com/yhzquxwf Age at death of all Human beings (Q7) noted on FactGrid, statistical distribution]]]
[[File:Age at death of all FacGrid humans.JPG|thumb|right|300px|[https://tinyurl.com/yhzquxwf Age at death of all Human beings (Q7) noted on FactGrid, statistical distribution]]]
[[File:Bar chart, historical book production.png|thumb|300px|[https://database.factgrid.de/query/index.html#%23defaultView%3ABarChart%0ASELECT%20%3Fitem%20%3Fcountry%20%3Fdecade%20%20%28COUNT%28%3Fitem%29%20as%20%3Fproduction%29%20%3FcountryLabel%0AWITH%0A%7B%0A%20%20%20%20SELECT%20%3Fitem%20%3Fdecade%20%3Fplace%0A%20%20%20%20WHERE%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%3Fitem%20wdt%3AP2%20wd%3AQ394362%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20wdt%3AP243%20wd%3AQ172203%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20wdt%3AP222%20%3Fdate%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20wdt%3AP241%20%3Fplace%20.%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20BIND%28YEAR%28%3Fdate%29%20AS%20%3Fyear%29%0A%20%20%20%20%20%20%20%20%20%20BIND%28STR%28xsd%3Ainteger%28%3Fyear%2F10%29%2a10%29%20as%20%3Fdecade%29%0A%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20GROUP%20BY%20%20%3Fitem%20%3Fdecade%20%3Fplace%0A%7D%20AS%20%25results%0AWHERE%0A%7B%0A%20%20%20%20INCLUDE%20%25results.%0A%20%20%20%20%20%3Fplace%20wdt%3AP297%20%3Fcountry%20.%0A%20%20%20%20%20%3Fcountry%20wdt%3AP2%20wd%3AQ21925%20.%0A%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D%0AGROUP%20BY%20%3Fdecade%20%3Fcountry%20%3FcountryLabel%20%3Fitem Bar chart of books on Mesmerism Country]]]
[[File:Screenshot area chart.png|thumb|300px|[https://database.factgrid.de/query/embed.html#%23defaultView%3AAreaChart%0ASELECT%20%3Fitem%20%3Fcountry%20%3Fdecade%20%20(COUNT(%3Fitem)%20as%20%3Fproduction)%20%3FcountryLabel%0AWITH%0A%7B%0A%20%20%20%20SELECT%20%3Fitem%20%3Fdecade%20%3Fplace%0A%20%20%20%20WHERE%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%3Fitem%20wdt%3AP2%20wd%3AQ394362%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20wdt%3AP243%20wd%3AQ172203%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20wdt%3AP222%20%3Fdate%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20wdt%3AP241%20%3Fplace%20.%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20BIND(YEAR(%3Fdate)%20AS%20%3Fyear)%0A%20%20%20%20%20%20%20%20%20%20BIND(STR(ROUND(%3Fyear%2F10)*10)%20as%20%3Fdecade)%0A%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20GROUP%20BY%20%20%3Fitem%20%3Fdecade%20%3Fplace%0A%7D%20AS%20%25results%0AWHERE%0A%7B%0A%20%20%20%20INCLUDE%20%25results.%0A%20%20%20%20%20%3Fplace%20wdt%3AP297%20%3Fcountry%20.%0A%20%20%20%20%20%3Fcountry%20wdt%3AP2%20wd%3AQ21925%20.%0A%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D%0AGROUP%20BY%20%3Fdecade%20%3Fcountry%20%3FcountryLabel%20%3Fitem Area chart of a books on Mesmerism by language]]]
* [https://database.factgrid.de/query/embed.html#%23defaultView%3ABubbleChart%0ASELECT%20%3FSectorLabel%20(count(distinct(%3FA))%20as%20%3Fcount)%20WHERE%20%7B%0A%20%20%0A%20%20SELECT%20%3FA%20%3FALabel%20%3FADescription%20%3Ffamily_nameLabel%20%3FEntry%20%3FBnF_ID%20%3FDate_of_birth%20%3FSector%20%3FSectorLabel%20WHERE%20%7B%0A%20%20%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22.%20%7D%0A%20%20%20%20%3FA%20wdt%3AP91%20wd%3AQ11161.%0A%20%20%20%20%3FA%20wdt%3AP165%20%3FOccupation.%20%0A%20%20%20%20%3FOccupation%20wdt%3AP626%20%3FSector.%0A%7D%0A%20%20%0A%20%20%7D%20group%20by%20%3FSectorLabel The members of Frankfurt's Union-Lodge, branches of occupation, bubble chart]
* [https://database.factgrid.de/query/embed.html#%23defaultView%3ABubbleChart%0ASELECT%20%3FSectorLabel%20(count(distinct(%3FA))%20as%20%3Fcount)%20WHERE%20%7B%0A%20%20%0A%20%20SELECT%20%3FA%20%3FALabel%20%3FADescription%20%3Ffamily_nameLabel%20%3FEntry%20%3FBnF_ID%20%3FDate_of_birth%20%3FSector%20%3FSectorLabel%20WHERE%20%7B%0A%20%20%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22.%20%7D%0A%20%20%20%20%3FA%20wdt%3AP91%20wd%3AQ11161.%0A%20%20%20%20%3FA%20wdt%3AP165%20%3FOccupation.%20%0A%20%20%20%20%3FOccupation%20wdt%3AP626%20%3FSector.%0A%7D%0A%20%20%0A%20%20%7D%20group%20by%20%3FSectorLabel The members of Frankfurt's Union-Lodge, branches of occupation, bubble chart]
* [https://database.factgrid.de/query/index.html#%23defaultView%3ABubbleChart%0ASELECT%20%3FGenderLabel%20%28count%28distinct%28%3FA%29%29%20as%20%3Fcount%29%20WHERE%20%7B%0A%20%20%0A%20%20SELECT%20%3FA%20%3FALabel%20%3FADescription%20%3Ffamily_nameLabel%20%3FEntry%20%3FBnF_ID%20%3FDate_of_birth%20%3FGender%20%3FGenderLabel%20WHERE%20%7B%0A%20%20%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22.%20%7D%0A%20%20%20%20%3FA%20wdt%3AP300%20wd%3AQ255080.%0A%20%20%20%20OPTIONAL%20%7B%20%3FA%20%28p%3AP300%2Fpq%3AP49%29%20%3FEntry.%20%7D%0A%20%20%20%20OPTIONAL%20%7B%20%3FA%20wdt%3AP247%20%3Ffamily_name.%20%7D%0A%20%20%20%20%3FA%20wdt%3AP154%20%3FGender.%20%0A%7D%0A%20%20%0A%20%20%7D%20group%20by%20%3FGenderLabel The distribution of males and females who became followers of the early 18th-century "French Prophets"]
* [https://database.factgrid.de/query/index.html#%23defaultView%3ABarChart%0ASELECT%20%3FGenderLabel%20%28count%28distinct%28%3FA%29%29%20as%20%3Fcount%29%20WHERE%20%7B%0A%20%20%0A%20%20SELECT%20%3FA%20%3FALabel%20%3FADescription%20%3Ffamily_nameLabel%20%3FEntry%20%3FBnF_ID%20%3FDate_of_birth%20%3FGender%20%3FGenderLabel%20WHERE%20%7B%0A%20%20%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22.%20%7D%0A%20%20%20%20%3FA%20wdt%3AP300%20wd%3AQ255080.%0A%20%20%20%20%3FA%20wdt%3AP154%20%3FGender.%20%0A%7D%0A%20%20%0A%20%20%7D%20group%20by%20%3FGenderLabel Followers of the "French Prophets", gender ratio, bar chart]
* [https://database.factgrid.de/query/index.html#%23defaultView%3ABubbleChart%0ASELECT%20%3FReligionLabel%20%28count%28distinct%28%3FA%29%29%20as%20%3Fcount%29%20WHERE%20%7B%0A%20%20%0A%20%20SELECT%20%3FA%20%3FALabel%20%3FADescription%20%3Ffamily_nameLabel%20%3FEntry%20%3FBnF_ID%20%3FDate_of_birth%20%3FReligion%20%3FReligionLabel%20WHERE%20%7B%0A%20%20%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22.%20%7D%0A%20%20%20%20%3FA%20wdt%3AP300%20wd%3AQ255080.%0A%20%20%20%20OPTIONAL%20%7B%20%3FA%20%28p%3AP300%2Fpq%3AP49%29%20%3FEntry.%20%7D%0A%20%20%20%20OPTIONAL%20%7B%20%3FA%20wdt%3AP247%20%3Ffamily_name.%20%7D%0A%20%20%20%20%3FA%20wdt%3AP172%20%3FReligion.%20%0A%7D%0A%20%20%0A%20%20%7D%20group%20by%20%3FReligionLabel Adherents of the French Prophets and their religious affiliation]
* [https://database.factgrid.de/query/index.html#%23defaultView%3ABubbleChart%0ASELECT%20%3FReligionLabel%20%28count%28distinct%28%3FA%29%29%20as%20%3Fcount%29%20WHERE%20%7B%0A%20%20%0A%20%20SELECT%20%3FA%20%3FALabel%20%3FADescription%20%3Ffamily_nameLabel%20%3FEntry%20%3FBnF_ID%20%3FDate_of_birth%20%3FReligion%20%3FReligionLabel%20WHERE%20%7B%0A%20%20%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22.%20%7D%0A%20%20%20%20%3FA%20wdt%3AP300%20wd%3AQ255080.%0A%20%20%20%20OPTIONAL%20%7B%20%3FA%20%28p%3AP300%2Fpq%3AP49%29%20%3FEntry.%20%7D%0A%20%20%20%20OPTIONAL%20%7B%20%3FA%20wdt%3AP247%20%3Ffamily_name.%20%7D%0A%20%20%20%20%3FA%20wdt%3AP172%20%3FReligion.%20%0A%7D%0A%20%20%0A%20%20%7D%20group%20by%20%3FReligionLabel Adherents of the French Prophets and their religious affiliation]
* [https://database.factgrid.de/query/index.html#%23defaultView%3ABubbleChart%0ASELECT%20%3FSpracheLabel%20%28count%28distinct%28%3Fitem%29%29%20as%20%3Fcount%29%20WHERE%20%7B%0A%0ASELECT%20%3Fitem%20%3FitemLabel%20%3FFamiliennameLabel%20%3FitemDescription%20%3FGeschlechtLabel%20%3FSpracheLabel%20%3FFactGrid_Benutzerseite%20%3FDate%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%20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP163%20%3FFactGrid_Benutzerseite.%20%7D%0A%20%20OPTIONAL%20%7B%20%3Fitem%20%28p%3AP163%2Fpq%3AP49%29%20%3FDate.%20%7D%0A%20%20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP154%20%3FGeschlecht.%20%7D%0A%20%20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP247%20%3FFamilienname.%20%7D%0A%20%20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP460%20%3FSprache.%20%7D%0A%7D%0AORDER%20BY%20%28%3FFamiliennameLabel%29%0A%20%20%0A%20%20%20%20%7D%20group%20by%20%3FSpracheLabel Those with a FactGrid account - first languages]
* [https://database.factgrid.de/query/index.html#%23defaultView%3ABubbleChart%0ASELECT%20%3FSpracheLabel%20%28count%28distinct%28%3Fitem%29%29%20as%20%3Fcount%29%20WHERE%20%7B%0A%0ASELECT%20%3Fitem%20%3FitemLabel%20%3FFamiliennameLabel%20%3FitemDescription%20%3FGeschlechtLabel%20%3FSpracheLabel%20%3FFactGrid_Benutzerseite%20%3FDate%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%20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP163%20%3FFactGrid_Benutzerseite.%20%7D%0A%20%20OPTIONAL%20%7B%20%3Fitem%20%28p%3AP163%2Fpq%3AP49%29%20%3FDate.%20%7D%0A%20%20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP154%20%3FGeschlecht.%20%7D%0A%20%20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP247%20%3FFamilienname.%20%7D%0A%20%20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP460%20%3FSprache.%20%7D%0A%7D%0AORDER%20BY%20%28%3FFamiliennameLabel%29%0A%20%20%0A%20%20%20%20%7D%20group%20by%20%3FSpracheLabel Those with a FactGrid account - first languages]
Line 74: Line 96:


* [https://tinyurl.com/yhzquxwf Age at death of all human beings listed on FactGrid, diagram]<ref>Adapted from [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions#TIMEZONE_and_TZ here].</ref>
* [https://tinyurl.com/yhzquxwf Age at death of all human beings listed on FactGrid, diagram]<ref>Adapted from [https://en.wikibooks.org/wiki/SPARQL/Expressions_and_Functions#TIMEZONE_and_TZ here].</ref>
:* [https://tinyurl.com/2xzmdxw9 Age profile for the Strict Observance]
:* [https://tinyurl.com/2bf5w5ec Age profile for the Illuminati]
:* [https://database.factgrid.de/query/index.html#SELECT%20%3FPerson%20%3FPersonLabel%20%3FDatum%20%3FGebDat%20%3Fage%20WHERE%20%7B%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22de%22.%20%7D%0A%20%20%3FPerson%20wdt%3AP91%20wd%3AQ10677%3B%0A%20%20%20%20wdt%3AP91%20wd%3AQ10677%3B%0A%20%20%20%20p%3AP91%20%3Fstatement.%0A%20%20%3Fstatement%20ps%3AP91%20wd%3AQ10677.%0A%20%20OPTIONAL%20%7B%20%3Fstatement%20pq%3AP49%20%3FDatum.%20%7D%0A%20%20OPTIONAL%20%7B%20%3FPerson%20wdt%3AP77%20%3FGebDat.%20%7D%0A%20%20%20%20%20%20%20%20BIND%28%20year%28%3FDatum%29%20-%20year%28%3FGebDat%29%20-%20if%28month%28%3FDatum%29%3Cmonth%28%3FGebDat%29%20%7C%7C%20%28month%28%3FDatum%29%3Dmonth%28%3FGebDat%29%20%26%26%20day%28%3FDatum%29%3Cday%28%3FGebDat%29%29%2C1%2C0%29%20as%20%3Fage%20%29%0A%20%20%20%20%20%20%20%20%23%20calculate%20the%20age%2C%20precisely%20to%20the%20day%20%28times%20and%20timezones%20ignored%29%0A%7D%0AORDER%20BY%20%28%3FDatum%29 How old was the person when he became a member of the Illuminati?]


* [https://tinyurl.com/y2hoh8wq J.J.C. Bode's Library (1793), profile by date of publication of the copies]
* [https://database.factgrid.de/query/index.html#%23defaultView%3ALineChart%0ASELECT%20%3Fdate%20%20%28COUNT%20%28DISTINCT%20%3Fa%29%20AS%20%3Fcount%29%20%0AWHERE%20%7B%0A%20%20%20%20%20%20%20%20%20%20%3Fa%20wdt%3AP2%20wd%3AQ20%3B%0A%20%20%20%20%20%20%20%20%20%20%20wdt%3AP136%20wd%3AQ400628%3B%0A%20%20%20%20%20%20%20%20%20%20%20wdt%3AP222%20%3Fdate%20.%0A%20%20%20%20%20%20%20%20%20%20%20FILTER%20%28%20YEAR%28%3Fdate%29%20%3E%201700%20%29%0A%7D%0A%20GROUP%20BY%20%0A%3Fdate%0A%0A J.J.C. Bode's Library (1793), profile by date of publication of the copies]
* [https://database.factgrid.de/query/embed.html#%23defaultView%3ABarChart%0ASELECT%20%3Fitem%20%3Fcountry%20%3Fdecade%20%20(COUNT(%3Fitem)%20as%20%3Fproduction)%20%3FcountryLabel%0AWITH%0A%7B%0A%20%20%20%20SELECT%20%3Fitem%20%3Fdecade%20%3Fplace%0A%20%20%20%20WHERE%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%3Fitem%20wdt%3AP2%20wd%3AQ394362%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20wdt%3AP243%20wd%3AQ172203%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20wdt%3AP222%20%3Fdate%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20wdt%3AP241%20%3Fplace%20.%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20BIND(YEAR(%3Fdate)%20AS%20%3Fyear)%0A%20%20%20%20%20%20%20%20%20%20BIND(STR(ROUND(%3Fyear%2F10)*10)%20as%20%3Fdecade)%0A%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20GROUP%20BY%20%20%3Fitem%20%3Fdecade%20%3Fplace%0A%7D%20AS%20%25results%0AWHERE%0A%7B%0A%20%20%20%20INCLUDE%20%25results.%0A%20%20%20%20%20%3Fplace%20wdt%3AP297%20%3Fcountry%20.%0A%20%20%20%20%20%3Fcountry%20wdt%3AP2%20wd%3AQ21925%20.%0A%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D%0AGROUP%20BY%20%3Fdecade%20%3Fcountry%20%3FcountryLabel%20%3Fitem Bar chart of a historical book production by decade, script by Bruno Belhoste, books on Mesmerism by language]
* [https://database.factgrid.de/query/embed.html#%23defaultView%3AAreaChart%0ASELECT%20%3Fitem%20%3Fcountry%20%3Fdecade%20%20(COUNT(%3Fitem)%20as%20%3Fproduction)%20%3FcountryLabel%0AWITH%0A%7B%0A%20%20%20%20SELECT%20%3Fitem%20%3Fdecade%20%3Fplace%0A%20%20%20%20WHERE%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%3Fitem%20wdt%3AP2%20wd%3AQ394362%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20wdt%3AP243%20wd%3AQ172203%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20wdt%3AP222%20%3Fdate%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20wdt%3AP241%20%3Fplace%20.%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20BIND(YEAR(%3Fdate)%20AS%20%3Fyear)%0A%20%20%20%20%20%20%20%20%20%20BIND(STR(ROUND(%3Fyear%2F10)*10)%20as%20%3Fdecade)%0A%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20GROUP%20BY%20%20%3Fitem%20%3Fdecade%20%3Fplace%0A%7D%20AS%20%25results%0AWHERE%0A%7B%0A%20%20%20%20INCLUDE%20%25results.%0A%20%20%20%20%20%3Fplace%20wdt%3AP297%20%3Fcountry%20.%0A%20%20%20%20%20%3Fcountry%20wdt%3AP2%20wd%3AQ21925%20.%0A%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D%0AGROUP%20BY%20%3Fdecade%20%3Fcountry%20%3FcountryLabel%20%3Fitem Area chart of a historical book production by decade, script by Bruno Belhoste, books on Mesmerism by language]
*
[https://database.factgrid.de/query/#%23defaultView%3ABubbleChart%0ASELECT%20%3FpositionLabel%20%28COUNT%28%3Fitem%29%20AS%20%3Fcount%29%20%0AWHERE%20%0A%7B%20%3Fitem%20wdt%3AP2%20wd%3AQ20%3B%0A%20%20%20%20%20%20%20%20wdt%3AP243%20wd%3AQ172203%3B%0A%20%20%20%20%20%20%20%20wdt%3AP222%20%3Fdate%20.%0A%20OPTIONAL%20%7B%20%3Fitem%20%20%20p%3AP243%5Bpq%3AP823%20%3Fposition%5D%20%7D%20.%0A%20BIND%28COALESCE%28%3FpositionLabel%2C%20%22Indifferent%22%29%20AS%20%3FpositionLabel%29%0A%20BIND%28YEAR%28%3Fdate%29%20AS%20%3Fyear%29%20%0A%20FILTER%20%28%3Fyear%20%3E%3D1784%20%26%26%20%3Fyear%20%3C%3D%201785%20%29%20%23les%20bornes%20temporelles%20%28ici%201784%20et%201785%29%20peuvent%20%C3%AAtre%20modifi%C3%A9es%0A%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%20%7D%0A%20GROUP%20BY%20%3FpositionLabel%0A Bubble chart of books on animal magnetism in 1784-1785, pro, contra and indifferent; indifferent replacing empty value]


== Grammatically intricate searches ==
== Grammatically intricate searches ==
=== Wimimedia sources ===
=== Wimimedia sources ===
* [https://database.factgrid.de/query/#SELECT%20%3Fplace%20%3FplaceLabel%20%3Flink%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%3Fplace%20wdt%3AP2%20wd%3AQ8.%0A%20%20%3Flink%20schema%3Aabout%20%3Fplace%20%3B%20schema%3AisPartOf%20%3Chttps%3A%2F%2Fwww.wikidata.org%2F%3E%20.%0A%7D all places - with their respective Wikidata numbers]
* [https://database.factgrid.de/query/#SELECT%20%3Fplace%20%3FplaceLabel%20%3Flink%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%3Fplace%20wdt%3AP2%20wd%3AQ8.%0A%20%20%3Flink%20schema%3Aabout%20%3Fplace%20%3B%20schema%3AisPartOf%20%3Chttps%3A%2F%2Fwww.wikidata.org%2F%3E%20.%0A%7D all places - with their respective Wikidata numbers]
* [https://database.factgrid.de/query/#SELECT%20%3Fplace%20%3FplaceLabel%20%3Flink%20%3Fname%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%3Fplace%20wdt%3AP2%20wd%3AQ8.%0A%20%20%3Flink%20schema%3Aabout%20%3Fplace%20%3B%20schema%3AisPartOf%20%3Chttps%3A%2F%2Fuk.wikipedia.org%2F%3E%3B%0A%20%20%20%20%20%20%20%20schema%3Aname%20%3Fname%20.%0A%7D All places that have an article on the Ukrainian Wikipedia; link with the respective uk.wp lemma]
* [https://database.factgrid.de/query/#SELECT%20%3Fitem%20%3FitemLabel%20%3Flink%20%3Fis%20%3FisLabel%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%3Flink%20schema%3Aabout%20%3Fitem%3B%0A%20%20%20%20schema%3AisPartOf%20%3Chttps%3A%2F%2Fwww.wikidata.org%2F%3E.%0A%20%20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP2%20%3Fis.%20%7D%0A%20%20%20%20%20%20minus%20%7B%0A%20%20%20%20%20%20values%20%3Fis%20%7B%0A%20%20%20%20%20%20%20%20wd%3AQ7%20%0A%20%20%20%20%20%20%20%20wd%3AQ8%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%20%7D%0A%20%20%0A%7D All items with a Wikidata equivalent, without humans and localities]


=== Statements with sources ===
=== Statements with sources ===
* [https://database.factgrid.de/query/#%23Content%20of%20a%20reference%20for%20a%20specific%20statement%0A%23%20See%20also%20the%20SPARQL%20manual%0A%23%20https%3A%2F%2Fen.wikibooks.org%2Fwiki%2FSPARQL%2FWIKIDATA_Qualifiers%2C_References_and_Ranks%0A%23%20In%20this%20example%20we%20look%20for%20statements%20which%20assign%20a%20specific%20value%20%28Q38779%29%0A%23%20to%20the%20property%20P91%20and%20then%20look%20for%20references%20of%20that%20property%2C%20specifically%0A%23%20the%20string%20associated%20to%20P51%20for%20the%20reference.%20May%20actually%20bring%20up%20references%0A%23%20for%20other%20P1343%20statements%3B%20uses%20the%20shortened%20expression%20syntax%20with%20brackets.%0ASELECT%20%3Fitem%20%3FitemLabel%20%3Freference%20%3FreferenceLabel%20WHERE%20%7B%0A%20%20%3Fitem%20p%3AP91%20%3FpNode.%0A%20%20%3FpNode%20ps%3AP91%20wd%3AQ10677%3B%0A%20%20%20%20prov%3AwasDerivedFrom%20%3Freferences.%0A%20%20%3Freferences%20pr%3AP51%20%3Freference.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D Member of the Illuminati, state the primary document reference that we have for this statement]
* [https://database.factgrid.de/query/#%23Content%20of%20a%20reference%20for%20a%20specific%20statement%0A%23%20See%20also%20the%20SPARQL%20manual%0A%23%20https%3A%2F%2Fen.wikibooks.org%2Fwiki%2FSPARQL%2FWIKIDATA_Qualifiers%2C_References_and_Ranks%0A%23%20In%20this%20example%20we%20look%20for%20statements%20which%20assign%20a%20specific%20value%20%28Q38779%29%0A%23%20to%20the%20property%20P91%20and%20then%20look%20for%20references%20of%20that%20property%2C%20specifically%0A%23%20the%20string%20associated%20to%20P51%20for%20the%20reference.%20May%20actually%20bring%20up%20references%0A%23%20for%20other%20P1343%20statements%3B%20uses%20the%20shortened%20expression%20syntax%20with%20brackets.%0ASELECT%20%3Fitem%20%3FitemLabel%20%3Freference%20%3FreferenceLabel%20WHERE%20%7B%0A%20%20%3Fitem%20p%3AP91%20%3FpNode.%0A%20%20%3FpNode%20ps%3AP91%20wd%3AQ10677%3B%0A%20%20%20%20prov%3AwasDerivedFrom%20%3Freferences.%0A%20%20%3Freferences%20pr%3AP51%20%3Freference.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D Member of the Illuminati, state the primary document reference that we have for this statement]
=== Statements with unit information ===
* [https://database.factgrid.de/query/embed.html#%23Alle%20Testamente%20der%20L%C3%BCbecker%20B%C3%BCrger%20mit%20den%20jeweiligen%20Erbnehmern%0ASELECT%20%3Fitem%20%3FitemLabel%20%3Freceiver%20%3FreceiverLabel%20%3Fmonetaryvalue%20%3FunitLabel%0AWHERE%20%0A%7B%0A%20%20%3Fitem%20wdt%3AP131%20%20wd%3AQ452393.%0A%20%20%3Fitem%20wdt%3AP417%20%3Freceiver%0AOPTIONAL%20%7B%20%3Freceiver%20pq%3AP73%20%3FErbe_Notiz.%20%7D%0AOPTIONAL%20%7B%20%3Fitem%20p%3AP417%20%5B%20ps%3AP417%20%3Freceiver%3B%20pq%3AP545%20%3Fmonetaryvalue%20%3B%20%20pqv%3AP545%20%3Fmonetaryunit%20%5D%20.%20%3Fmonetaryunit%20wikibase%3AquantityUnit%20%3Funit%20%7D%0A%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cde%22.%20%7D%20%0A%7D%0A%0AORDER%20BY%20%3FerbnehmerLabel%0ALIMIT%2030 inherited sums of money, Lübeck late Middle Ages]
* [https://database.factgrid.de/query/#SELECT%20%3FMensch%20%3FMenschLabel%20%3FAdresse%20%3FAdresseLabel%20%3FGeokoordinaten%20%3FMiete%20%3FunitLabel%20%3FGramm_Silber%20%3FGramm_SilberGegenwert%20WHERE%20%7B%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2C%20en%22.%20%7D%0A%20%20%0A%20%20%3FMensch%20wdt%3AP2%20wd%3AQ7%3B%0A%20%20%20%20wdt%3AP83%20wd%3AQ10408%3B%0A%20%20%20%20wdt%3AP165%20wd%3AQ38388.%0A%20%20%0A%20%20OPTIONAL%20%7B%20%3FMensch%20wdt%3AP208%20%3FAdresse.%20%7D%0A%20%20OPTIONAL%20%7B%20%3FAdresse%20wdt%3AP48%20%3FGeokoordinaten.%20%7D%0A%20%20%0A%20%20OPTIONAL%20%7B%20%0A%20%20%20%20%3FMensch%20p%3AP208%20%5B%20ps%3AP208%20%3FAdresse%3B%20pq%3AP943%20%3FMiete%20%3B%20%20pqv%3AP943%20%3Fmonetaryunit%20%5D%20.%20%0A%20%20%20%20%3Fmonetaryunit%20wikibase%3AquantityUnit%20%3Funit.%20%0A%20%20%20%20%3Funit%20wdt%3AP680%20%3FGramm_Silber.%20%0A%20%20%20%20BIND%20%28%3FMiete%20%2a%20%3FGramm_Silber%20AS%20%3FGramm_SilberGegenwert%29%0A%20%20%7D%0A%0A%20%20%3FMensch%20wdt%3AP131%20wd%3AQ469500.%0A%7D get the silver-equivalent for a computation in Reichsthaler]


=== Get information from connected items ===
=== Get information from connected items ===
Line 91: Line 126:
* [https://tinyurl.com/yxbtatbw Authors writing satire and all its subclasses] (you just add /wdt:P3* to pq:P122)
* [https://tinyurl.com/yxbtatbw Authors writing satire and all its subclasses] (you just add /wdt:P3* to pq:P122)
* [https://tinyurl.com/y3ktcf38 The people writing all kind of satires (not necessarily authors)] (very simple: remove ps:P165 wd:Q23190)
* [https://tinyurl.com/y3ktcf38 The people writing all kind of satires (not necessarily authors)] (very simple: remove ps:P165 wd:Q23190)
=== Search for all the Qualifiers on Statements with the same property ===
* [https://tinyurl.com/2lgxe4ha all the qualifiers for the people holding position at the pastorates of the Duchy of Gotha-Anstalt] useful when you want to delete a specific qualifier in a batch of items (here the pastorates of the Duchy), because it is not possible to simply delete qualifiers with Quickstatements. You need to delete the statement with all its qualifiers and reinstall it without the qualifier you want to delete.


=== You already know one related value ===
=== You already know one related value ===
Line 100: Line 138:
  SELECT * WHERE {
  SELECT * WHERE {
   ?s wdt:P2 wd:Q7.
   ?s wdt:P2 wd:Q7.
   ?s p:P266 ?st. # ?s is the the statement node
   ?s p:P266 ?st. # ?st is the the statement node
   ?st ps:P266 ?o. # that simulates the predicate
   ?st ps:P266 ?o. # that simulates the predicate
   ?st ?qualifier ?value. # this is an attribute (a qualifier)
   ?st ?qualifier ?value. # this is an attribute (a qualifier)
  }
  }
== Missing Statements ==
These searches are most practical to see where work has to be done or where one has forgotten to make a certain statement.
* [https://database.factgrid.de/query/#SELECT%20DISTINCT%20%3Fitem%20%3FitemLabel%0AWHERE%20%7B%20%0A%20%20%3Fitem%20rdfs%3Alabel%20%3FitemLabel%3B%20%20%20%20%20%20%20%0A%20%0A%20FILTER%20NOT%20EXISTS%20%7B%20%3Fitem%20wdt%3AP2%20%5B%5D%20%7D.%0A%7D All the items that lack a P2 (instance of) statement] (2732 on 26 April 2023)
* [https://database.factgrid.de/query/#SELECT%20%3Fitem%20%3FitemLabel%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%3AP131%20wd%3AQ465031.%0A%20%20FILTER%20NOT%20EXISTS%20%7B%20%3Fitem%20wdt%3AP66%20%3Fval%20%7D%0A%7D%0A All the titles of a specific project, that lack a P66 statement]
* [https://database.factgrid.de/query/#SELECT%20%3FDocument%20%3FDocumentLabel%20%3FAuthor%20%3FAuthorLabel%20%3FGND%20%3FGND2%20%3FRecipient%20%3FRecipientLabel%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%3FDocument%20wdt%3AP2%20wd%3AQ10671.%0A%20%20%3FDocument%20wdt%3AP21%20%3FAuthor.%0A%20%20%20%20%20%20%20%20%20%20%3FAuthor%20wdt%3AP76%20%3FGND.%20%0A%20%20%20%20%3FDocument%20wdt%3AP28%20%3FRecipient.%0A%20%20%20%20%20%20FILTER%20NOT%20EXISTS%20%7B%20%3FRecipient%20wdt%3AP76%20%3Fval%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%7D All people who do not have a GND number but who receive mail from a person with such a number]
* [https://tinyurl.com/2m7zbyzt all types of non-literary genres that were not listed in Eckard Rolf's book of 1993, with their present position in Rolf's systematisation]
== Wildcards ==
* [https://database.factgrid.de/query/index.html#%23title%3A%20Personnes%20li%C3%A9es%20%C3%A0%20Rennes%0ASELECT%20DISTINCT%20%3Fpersonne%20%3FpersonneLabel%20%3Fpage%20WHERE%20%7B%0A%20%20%3Fpersonne%20%3Fprop%20wd%3AQ129672%20%3B%0A%20%20%20%20%20%20%20%20wdt%3AP2%20wd%3AQ7%20.%0A%20%20OPTIONAL%20%7B%20%3Fpage%20schema%3Aabout%20%3Fpersonne%20%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20schema%3AisPartOf%20%3Chttps%3A%2F%2Fwww.wikidata.org%2F%3E%20%7D%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D all  people linked to the French city of Renne]
== State all statements that are made on an item ==
* [https://database.factgrid.de/query/#SELECT%20%3Fitem%20%3FitemLabel%20%3FwdLabel%20%3Fps_Label%20%3Fwdpq%20%3FwdpqLabel%20%3Fpq_Label%20%7B%0A%20%20%23%20Ausgangsitem%20festlegen%0A%20%20VALUES%20%28%3Fitem%29%20%7B%28wd%3AQ95%29%7D%0A%0A%20%20%23%20alle%20statement%20nodes%20abgreifen%2C%20siehe%3A%20https%3A%2F%2Fen.wikibooks.org%2Fwiki%2FSPARQL%2FWIKIDATA_Qualifiers%2C_References_and_Ranks%0A%20%20%3Fitem%20%3Fp%20%3Fstatement%20.%0A%20%20%23%20object%20within%20statement%20node%20with%20ps%2C%20siehe%3A%20https%3A%2F%2Fen.wikibooks.org%2Fwiki%2FSPARQL%2FWIKIDATA_Qualifiers%2C_References_and_Ranks%0A%20%20%3Fstatement%20%3Fps%20%3Fps_%20.%0A%0A%20%20%23%20Property%20labels%0A%20%20%3Fwd%20wikibase%3Aclaim%20%3Fp.%0A%20%20%3Fwd%20wikibase%3AstatementProperty%20%3Fps.%0A%0A%20%20%23%20qualifiers%20mitnehmen%0A%20%20OPTIONAL%20%7B%0A%20%20%3Fstatement%20%3Fpq%20%3Fpq_%20.%0A%20%20%3Fwdpq%20wikibase%3Aqualifier%20%3Fpq%20.%0A%20%20%7D%0A%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22%20%7D%0A%7D%20ORDER%20BY%20%3Fwd%20%3Fstatement%20%3Fps_%0A State all statements that are made on an item] - the respective value has to be set in line 3.


== Filters ==
== Filters ==
Line 110: Line 162:
* [https://database.factgrid.de/query/#SELECT%20%3Fperson%20%3FpersonLabel%20%3Fdob%0AWHERE%0A%7B%0A%20%20%3Fperson%20wdt%3AP2%20wd%3AQ7%3B%0A%20%20%20%20%20%20%20%20%20%20wdt%3AP77%20%3Fdob.%0A%20%20FILTER%28%221700-01-01%22%5E%5Exsd%3AdateTime%20%3C%3D%20%3Fdob%20%26%26%20%3Fdob%20%3C%20%221710-01-01%22%5E%5Exsd%3AdateTime%29.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22.%20%7D%20%0A%7D all FactGrid people born between 1700 and 1710] A Filter that selects a time frame
* [https://database.factgrid.de/query/#SELECT%20%3Fperson%20%3FpersonLabel%20%3Fdob%0AWHERE%0A%7B%0A%20%20%3Fperson%20wdt%3AP2%20wd%3AQ7%3B%0A%20%20%20%20%20%20%20%20%20%20wdt%3AP77%20%3Fdob.%0A%20%20FILTER%28%221700-01-01%22%5E%5Exsd%3AdateTime%20%3C%3D%20%3Fdob%20%26%26%20%3Fdob%20%3C%20%221710-01-01%22%5E%5Exsd%3AdateTime%29.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22.%20%7D%20%0A%7D all FactGrid people born between 1700 and 1710] A Filter that selects a time frame
* [https://database.factgrid.de/query/#SELECT%20%3FPers%20%3FPersLabel%20%3FPrefecture%20%3FPrefectureLabel%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%3FPers%20wdt%3AP91%20wd%3AQ10679.%0A%20%20%20%20OPTIONAL%20%7B%20%3FPers%20%28p%3AP91%2Fpq%3AP419%29%20%3FPrefecture.%20%7D%0A%20%20%20%20FILTER%28%3FPrefecture%20IN%28wd%3AQ251652%29%20%29.%0A%7D All members of the strict Observance in Frankfurt's Prefecture] A Filter that selects an Item in a qualifying statement
* [https://database.factgrid.de/query/#SELECT%20%3FPers%20%3FPersLabel%20%3FPrefecture%20%3FPrefectureLabel%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%3FPers%20wdt%3AP91%20wd%3AQ10679.%0A%20%20%20%20OPTIONAL%20%7B%20%3FPers%20%28p%3AP91%2Fpq%3AP419%29%20%3FPrefecture.%20%7D%0A%20%20%20%20FILTER%28%3FPrefecture%20IN%28wd%3AQ251652%29%20%29.%0A%7D All members of the strict Observance in Frankfurt's Prefecture] A Filter that selects an Item in a qualifying statement
=== Filter based on strings ===
Filtering results containing certain strings (texts) can be archieved with `FILTER()`
* [https://database.factgrid.de/query/#%23%20Find%20all%20items%20containing%20%22CSD%22%20in%20the%20German%20label%0ASELECT%20DISTINCT%20%3Fitem%20%3Flabel%20WHERE%20%7B%0A%20%20%3Fitem%20wdt%3AP131%20wd%3AQ400012%3B%0A%20%20%20%20rdfs%3Alabel%20%3Flabel.%0A%20%20FILTER%28%28LANG%28%3Flabel%29%29%20%3D%20%22%5BAUTO_LANGUAGE%5D%22%29%0A%20%20FILTER%28CONTAINS%28%3Flabel%2C%20%22CSD%22%29%29%0A%7D Get all item with "CSD" in its labels within the Remove NA Project]
== SPARQL patterns for reuse ==
=== GROUP_CONCAT Bring several values in one cell (to avoid the repetition of lines) ===
* [https://database.factgrid.de/query/embed.html#SELECT%20%3FNr%20%3FSignatur%20%3Fitem%20%3FitemLabel%20%3FInhalt%20%28YEAR%28%3Fvon1%29%20AS%20%3Fvon%29%20%28YEAR%28%3Fbis1%29%20AS%20%3Fbis%29%20%28GROUP_CONCAT%28%3FPersonLabel%3B%20SEPARATOR%20%3D%20%22%20%E2%80%A2%20%22%29%20AS%20%3FPersonLabels%29%20WHERE%20%7B%0A%20%20%3Fitem%20wdt%3AP329%20wd%3AQ35000%3B%0A%20%20%20%20%20%20%20%20wdt%3AP2%20wd%3AQ10672.%0A%20%20%20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP49%20%3Fvon1.%20%7D%0A%20%20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP50%20%3Fbis1.%20%7D%0A%20%20OPTIONAL%20%7B%20%3Fitem%20%28p%3AP329%2Fpq%3AP10%29%20%3FSignatur.%20%7D%0A%20%20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP499%20%3FNr.%20%7D%0A%20%20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP724%20%3FInhalt.%20%7D%0A%20%20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP33%20%3FPerson.%20%7D%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%0A%20%20%20%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%0A%20%20%20%20%3FPerson%20rdfs%3Alabel%20%3FPersonLabel.%0A%20%20%20%20%3Fitem%20rdfs%3Alabel%20%3FitemLabel.%0A%20%20%7D%0A%7D%0AGROUP%20BY%20%3Fitem%20%3FitemLabel%20%3FNr%20%3FSignatur%20%3FInhalt%20%3Fvon1%20%3Fbis1%0AORDER%20BY%20%3FNr Table with names of persons mentioned collected in the last cells]
=== Count properties ===
==== Get all properties of an item ====
SELECT ?p ?o WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  wd:Q406029 ?p ?o
  }
==== count statements per item within a certain project ====
or within any other property-object relation
  SELECT DISTINCT ?item ?itemLabel ?statementcount WHERE {
    SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
    # change property item relation
    ?item wdt:P131 wd:Q400012 .
    ?item wikibase:statements ?statementcount.
  }
=== Get popular items ===
Considering outcoming, incoming and sitelinks as proxys for popularity, one can formulate this query.
E.g. for Lodges:
  SELECT ?item ?itemLabel ?outcoming ?sitelinks ?incoming {
      ?item wdt:P2 wd:Q11211.
      ?item wikibase:statements ?outcoming .
      ?item wikibase:sitelinks ?sitelinks .
        {
        SELECT (count(?s) AS ?incoming) ?item WHERE {
            ?item wdt:P2 wd:Q11211.
            ?s ?p ?item .
            [] wikibase:directClaim ?p
        } GROUP BY ?item
  }
    SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . }. 
  } ORDER BY DESC (?incoming)
== Federated Queries ==
Federated queries are those that gather data from multiple data sources. Factgrid can request data from Wikidata and DBpedia.
=== Get Factgrid IDs that don't have a Wikidata QID, but can be found in Wikidata via its Factgrid ID ===
[https://query.wikidata.org/#%20%20%23defaultView%3ATable%0A%0A%20%20%23%20Prefixes%0A%20%20PREFIX%20fg%3A%20%3Chttps%3A%2F%2Fdatabase.factgrid.de%2Fentity%2F%3E%0A%20%20PREFIX%20fgt%3A%20%3Chttps%3A%2F%2Fdatabase.factgrid.de%2Fprop%2Fdirect%2F%3E%0A%20%20PREFIX%20wdt%3A%20%3Chttp%3A%2F%2Fwww.wikidata.org%2Fprop%2Fdirect%2F%3E%0A%20%20PREFIX%20wd%3A%20%3Chttp%3A%2F%2Fwww.wikidata.org%2Fentity%2F%3E%0A%20%20PREFIX%20wikibase%3A%20%3Chttp%3A%2F%2Fwikiba.se%2Fontology%23%3E%0A%20%20PREFIX%20bd%3A%20%3Chttp%3A%2F%2Fwww.bigdata.com%2Frdf%23%3E%0A%20%20PREFIX%20schema%3A%20%3Chttp%3A%2F%2Fschema.org%2F%3E%0A%0A%20%20SELECT%20DISTINCT%20%3Ffg_item%20%3Ffg_itemLabel%20%3Ffg_item_as_string%20%3Fwd_item%20where%20%7B%0A%0A%20%20%20%20%23%20labels%20from%20Factgrid%0A%20%20%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%20%0A%20%20%20%20%23%20maybe%20filter%20to%20prevent%20timeout%0A%20%20%20%20%23%3Ffg_item%20fgt%3AP131%20fg%3AQ400012.%0A%20%20%20%20%23%20get%20those%20Factgrid%20IDs%20that%20don%27t%20have%20a%20Wikidata%20QID%0A%20%20%20%20FILTER%20NOT%20EXISTS%20%7B%0A%20%20%20%20%20%20%3Flink%20schema%3Aabout%20%3Ffg_item%20.%0A%20%20%20%20%20%20%3Flink%20schema%3AisPartOf%20%3Chttps%3A%2F%2Fwww.wikidata.org%2F%3E%20.%20%23Targeting%20Wikipedia%20language%20where%20subjects%20has%20no%20article.%0A%20%20%20%20%7D%0A%20%20%20%20%23%20Convert%20Factgrid%20ID%20from%20IRI%20to%20string%0A%20%20%20%20BIND%28REPLACE%28STR%28%3Ffg_item%29%2C%20%22https%3A%2F%2Fdatabase.factgrid.de%2Fentity%2F%22%2C%20%22%22%29%20as%20%3Ffg_item_as_string%29%20%0A%20%20%20%20%23%20get%20those%20Items%20from%20Wikidata%20that%20have%20that%20corresponding%20Factgrid%20ID%0A%20%20%20%20SERVICE%20%3Chttps%3A%2F%2Fquery.wikidata.org%2Fsparql%3E%20%7B%0A%20%20%20%20%20%20%3Fwd_item%20wdt%3AP8168%20%3Ffg_item_as_string%0A%20%20%20%20%7D%0A%20%20%7D Try it]
  #defaultView:Table
  # Prefixes
  PREFIX fg: <https://database.factgrid.de/entity/>
  PREFIX fgt: <https://database.factgrid.de/prop/direct/>
  PREFIX wdt: <http://www.wikidata.org/prop/direct/>
  PREFIX wd: <http://www.wikidata.org/entity/>
  PREFIX wikibase: <http://wikiba.se/ontology#>
  PREFIX bd: <http://www.bigdata.com/rdf#>
  PREFIX schema: <http://schema.org/>
  SELECT DISTINCT ?fg_item ?fg_itemLabel ?fg_item_as_string ?wd_item where {
    # labels from Factgrid
    SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
    # maybe filter to prevent timeout
    #?fg_item fgt:P131 fg:Q400012.
    # get those Factgrid IDs that don't have a Wikidata QID
    FILTER NOT EXISTS {
      ?link schema:about ?fg_item .
      ?link schema:isPartOf <https://www.wikidata.org/> . #Targeting Wikipedia language where subjects has no article.
    }
    # Convert Factgrid ID from IRI to string
    BIND(REPLACE(STR(?fg_item), "https://database.factgrid.de/entity/", "") as ?fg_item_as_string)
    # get those Items from Wikidata that have that corresponding Factgrid ID
    SERVICE <https://query.wikidata.org/sparql> {
      ?wd_item wdt:P8168 ?fg_item_as_string
    }
  }


== Wishful thinking ==
== Wishful thinking ==

Latest revision as of 13:46, 28 February 2024

Help:



Looking for people

  • Search all people of the same family name, sort by given names, state everyone with information about life dates and family details. Table
  • Name of people who ever were a residents of place with basic personal information. Table

Looking for documents

  • All documents written by N.N. with corresponding documents. Table
  • All documents sent to N.N. with corresponding documents. Table
  • All documents mentioning N.N. with corresponding documents. Table
  • All documents of a file listed in sequence. Table
  • All documents sent from (place) by date. Table
  • All documents of a specific archive and research interest by date. Table

Looking for dates

Dates are still a problem with wikibase. The manual input is very sophisticated. You can set the precision of date and you can define the calendar format. The QuickStatements mass input allows a definition of precision with a defining component on each date (for instance "/9" precision year, "/11" precision day...) but regular searches as formulated with the Query Service's Query Helper do not grab these additional details. A 1650 year input is downloaded as a "1 January 1650" value unless you specifically ask for the precision:

Maps

Dots

Lines

Tables

  • no functional query yet, but a first attempt is here, modeled after the "academic tree" graph in Scholia's author aspect

Graphs

Timelines

Statistics

Bubble chart of books on animal magnetism in 1784-1785, pro, contra and indifferent; indifferent replacing empty value

Grammatically intricate searches

Wimimedia sources

Statements with sources

Statements with unit information

Get information from connected items

Search for specific Qualifiers on a Statement

Search for all the Qualifiers on Statements with the same property

You already know one related value

  • all the lodges of Saint Domingue/Haiti the intricate part is, that the lodges only have information on places, the places have information on the territorial affiliation - we ask for Q176240 (Haiti) as the must have value. The bracket can also have more countries.

Looking for a statement - give it with all the qualifying statements

This search is especially useful if the data model needs to be changed. It searches the database for a particular statement and gives all the instances with the respective qualifying sub-statements:

SELECT * WHERE {
  ?s wdt:P2 wd:Q7.
  ?s p:P266 ?st. # ?st is the the statement node
  ?st ps:P266 ?o. # that simulates the predicate
  ?st ?qualifier ?value. # this is an attribute (a qualifier)
}

Missing Statements

These searches are most practical to see where work has to be done or where one has forgotten to make a certain statement.

Wildcards

State all statements that are made on an item

Filters

Filter based on strings

Filtering results containing certain strings (texts) can be archieved with `FILTER()`

SPARQL patterns for reuse

GROUP_CONCAT Bring several values in one cell (to avoid the repetition of lines)

Count properties

Get all properties of an item

SELECT ?p ?o WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  wd:Q406029 ?p ?o
 }

count statements per item within a certain project

or within any other property-object relation

 SELECT DISTINCT ?item ?itemLabel ?statementcount WHERE {
   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
   # change property item relation
   ?item wdt:P131 wd:Q400012 .
   ?item wikibase:statements ?statementcount.
 }

Get popular items

Considering outcoming, incoming and sitelinks as proxys for popularity, one can formulate this query.

E.g. for Lodges:

 SELECT ?item ?itemLabel ?outcoming ?sitelinks ?incoming {
     ?item wdt:P2 wd:Q11211.
     ?item wikibase:statements ?outcoming .
     ?item wikibase:sitelinks ?sitelinks .
        {
        SELECT (count(?s) AS ?incoming) ?item WHERE {
            ?item wdt:P2 wd:Q11211.
            ?s ?p ?item .
            [] wikibase:directClaim ?p 
        } GROUP BY ?item
  }
   SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . }.  
 } ORDER BY DESC (?incoming)

Federated Queries

Federated queries are those that gather data from multiple data sources. Factgrid can request data from Wikidata and DBpedia.


Get Factgrid IDs that don't have a Wikidata QID, but can be found in Wikidata via its Factgrid ID

Try it

 #defaultView:Table
 # Prefixes
 PREFIX fg: <https://database.factgrid.de/entity/>
 PREFIX fgt: <https://database.factgrid.de/prop/direct/>
 PREFIX wdt: <http://www.wikidata.org/prop/direct/>
 PREFIX wd: <http://www.wikidata.org/entity/>
 PREFIX wikibase: <http://wikiba.se/ontology#>
 PREFIX bd: <http://www.bigdata.com/rdf#>
 PREFIX schema: <http://schema.org/>
 SELECT DISTINCT ?fg_item ?fg_itemLabel ?fg_item_as_string ?wd_item where {
   # labels from Factgrid
   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } 
   # maybe filter to prevent timeout
   #?fg_item fgt:P131 fg:Q400012.
   # get those Factgrid IDs that don't have a Wikidata QID
   FILTER NOT EXISTS {
     ?link schema:about ?fg_item .
     ?link schema:isPartOf <https://www.wikidata.org/> . #Targeting Wikipedia language where subjects has no article.
   }
   # Convert Factgrid ID from IRI to string
   BIND(REPLACE(STR(?fg_item), "https://database.factgrid.de/entity/", "") as ?fg_item_as_string) 
   # get those Items from Wikidata that have that corresponding Factgrid ID
   SERVICE <https://query.wikidata.org/sparql> {
     ?wd_item wdt:P8168 ?fg_item_as_string
   }
 }

Wishful thinking

Notes

  1. Adapted from here.