Simple Question (Direct)
Simple Question
Q3114275
P19
Q56061
USER
Where was Nelly van Doesburg born ?
(Q3114275,P19,c(Q56061))
action filter_type
action find
entity Q3114275
relation P19
type Q56061
['Q3114275', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q3114275 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Nelly van Doesburg
action filter_type
action find
entity Nelly van Doesburg
relation place of birth
type administrative territorial entity
['Nelly van Doesburg', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Nelly_van_Doesburg property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q36600
SYSTEM
The Hague
Q36600
(Q3114275,P19,c(Q56061))
action filter_type
action find
entity Q3114275
relation P19
type Q56061
Nelly van Doesburg was born in [ANSWER]
['Q3114275', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q3114275 property:P19 ?u . ?u rdf:type ontology:Q56061 }
The Hague
Nelly van Doesburg was born in The Hague
The Hague
action filter_type
action find
entity Nelly van Doesburg
relation place of birth
type administrative territorial entity
['Nelly van Doesburg', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Nelly_van_Doesburg property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3114275
P20
Q20667921
USER
Where did the expiration of Nelly van Doesburg occur ?
(Q3114275,P20,c(Q20667921))
action filter_type
action find
entity Q3114275
relation P20
type Q20667921
['Q3114275', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q20667921 . resource:Q3114275 property:P20 ?u }
Nelly van Doesburg
action filter_type
action find
entity Nelly van Doesburg
relation place of death
type type of french administrative division
['Nelly van Doesburg', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:type_of_french_administrative_division . resource:Nelly_van_Doesburg property:place_of_death ?u }
[]
type of french administrative division
Q234735
SYSTEM
Meudon
Q234735
(Q3114275,P20,c(Q20667921))
action filter_type
action find
entity Q3114275
relation P20
type Q20667921
The expiration of Nelly van Doesburg occurred de [ANSWER]
['Q3114275', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q20667921 . resource:Q3114275 property:P20 ?u }
Meudon
The expiration of Nelly van Doesburg occurred de Meudon
Meudon
action filter_type
action find
entity Nelly van Doesburg
relation place of death
type type of french administrative division
['Nelly van Doesburg', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:type_of_french_administrative_division . resource:Nelly_van_Doesburg property:place_of_death ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q234735
P190
Q56061
USER
Which administrative territory is twin city of that french administrative division ?
(c(Q56061),P190,Q234735)
action filter_type
action find
entity Q234735
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q234735']
SELECT DISTINCT ?g WHERE { resource:Q234735 property:P190 ?g . ?g rdf:type ontology:Q56061 }
Meudon
action filter_type
action find
entity Meudon
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Meudon']
SELECT DISTINCT ?g WHERE { resource:Meudon property:sister_city ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1914736
SYSTEM
Mazkeret Batya
Q1914736
(c(Q56061),P190,Q234735)
action filter_type
action find
entity Q234735
relation P190
type Q56061
[ANSWER] is twin city of that french administrative division
[{'concept': 'Q56061'}, 'P190', 'Q234735']
SELECT DISTINCT ?g WHERE { resource:Q234735 property:P190 ?g . ?g rdf:type ontology:Q56061 }
Mazkeret Batya
Mazkeret Batya is twin city of that french administrative division
Mazkeret Batya
action filter_type
action find
entity Meudon
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Meudon']
SELECT DISTINCT ?g WHERE { resource:Meudon property:sister_city ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3114275
P26
Q502895
USER
Which person is the life partner of Nelly van Doesburg ?
(c(Q502895),P26,Q3114275)
action filter_type
action find
entity Q3114275
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q3114275']
SELECT DISTINCT ?j WHERE { resource:Q3114275 property:P26 ?j . ?j rdf:type ontology:Q502895 }
Nelly van Doesburg
action filter_type
action find
entity Nelly van Doesburg
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Nelly van Doesburg']
SELECT DISTINCT ?j WHERE { resource:Nelly_van_Doesburg property:spouse ?j . ?j rdf:type ontology:common_name }
[]
common name
Q160422
SYSTEM
Theo van Doesburg
Q160422
(c(Q502895),P26,Q3114275)
action filter_type
action find
entity Q3114275
relation P26
type Q502895
[ANSWER] is the life partner of Nelly van Doesburg
[{'concept': 'Q502895'}, 'P26', 'Q3114275']
SELECT DISTINCT ?j WHERE { resource:Q3114275 property:P26 ?j . ?j rdf:type ontology:Q502895 }
Theo van Doesburg
Theo van Doesburg is the life partner of Nelly van Doesburg
Theo van Doesburg
action filter_type
action find
entity Nelly van Doesburg
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Nelly van Doesburg']
SELECT DISTINCT ?j WHERE { resource:Nelly_van_Doesburg property:spouse ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3114275
P135
Q968159
USER
Which art movement was Nelly van Doesburg linked with ?
(Q3114275,P135,c(Q968159))
action filter_type
action find
entity Q3114275
relation P135
type Q968159
['Q3114275', 'P135', {'concept': 'Q968159'}]
SELECT DISTINCT ?y WHERE { resource:Q3114275 property:P135 ?y . ?y rdf:type ontology:Q968159 }
Nelly van Doesburg
action filter_type
action find
entity Nelly van Doesburg
relation movement
type art movement
['Nelly van Doesburg', 'movement', {'concept': 'art movement'}]
SELECT DISTINCT ?y WHERE { resource:Nelly_van_Doesburg property:movement ?y . ?y rdf:type ontology:art_movement }
[]
art movement
Q6034
SYSTEM
dadaism
Q6034
(Q3114275,P135,c(Q968159))
action filter_type
action find
entity Q3114275
relation P135
type Q968159
Nelly van Doesburg was linked to [ANSWER]
['Q3114275', 'P135', {'concept': 'Q968159'}]
SELECT DISTINCT ?y WHERE { resource:Q3114275 property:P135 ?y . ?y rdf:type ontology:Q968159 }
dadaism
Nelly van Doesburg was linked to dadaism
dadaism
action filter_type
action find
entity Nelly van Doesburg
relation movement
type art movement
['Nelly van Doesburg', 'movement', {'concept': 'art movement'}]
SELECT DISTINCT ?y WHERE { resource:Nelly_van_Doesburg property:movement ?y . ?y rdf:type ontology:art_movement }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P135
Q502895
USER
How many people are associated with that art movement ?
(c(Q502895),P135,Q6034)
action count
action filter_type
action find_reverse
entity Q6034
relation P135
type Q502895
[{'concept': 'Q502895'}, 'P135', 'Q6034']
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:P135 resource:Q6034 . ?a rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity dadaism
relation movement
type common name
[{'concept': 'common name'}, 'movement', 'dadaism']
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:movement resource:dadaism . ?a rdf:type ontology:common_name }
[]
common name
SYSTEM
26
Q67897 Q459378 Q76815 Q4489860 Q14628976 Q76853 Q168671 Q152176 Q213597 Q158099 Q155158 Q5912 Q284769 Q153739 Q538288 Q3778863 Q553259 Q157321 Q154842 Q84503 Q16409 Q713288 Q3114275 Q463411 Q107194 Q70989
(c(Q502895),P135,Q6034)
action count
action filter_type
action find_reverse
entity Q6034
relation P135
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P135', 'Q6034']
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:P135 resource:Q6034 . ?a rdf:type ontology:Q502895 }
Johannes Baader Beatrice Wood Emmy Hennings Antony Kok René Purnal Richard Huelsenbeck John Heartfield Paul Éluard Hans Richter Antoni Tàpies Kurt Schwitters Marcel Duchamp Benjamin Péret Jean Arp Pierre Pinoncelli Guglielmo Achille Cavellini Marsden Hartley Francis Picabia Max Ernst Raoul Hausmann Tristan Tzara René Crevel Nelly van Doesburg Hannah Höch George Grosz Hugo Ball
26
action count
action filter_type
action find_reverse
entity dadaism
relation movement
type common name
[{'concept': 'common name'}, 'movement', 'dadaism']
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:movement resource:dadaism . ?a rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6126516 Q3114275
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of Nelly van Doesburg or are Jalan Sungai Ayer Tawar a part of ?
OR((Q3114275,P27,c(Q15617994)), (Q6126516,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3114275
relation P27
action find
entity Q6126516
relation P17
type Q15617994
{'OR': [['Q3114275', 'P27', {'concept': 'Q15617994'}], ['Q6126516', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q3114275 property:P27 ?v } UNION { resource:Q6126516 property:P17 ?v } } . ?v rdf:type ontology:Q15617994 }
Jalan Sungai Ayer Tawar Nelly van Doesburg
action filter_type
action union
action find
entity Nelly van Doesburg
relation country of citizenship
action find
entity Jalan Sungai Ayer Tawar
relation country
type designation for an administrative territorial entity
{'OR': [['Nelly van Doesburg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jalan Sungai Ayer Tawar', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Nelly_van_Doesburg property:country_of_citizenship ?v } UNION { resource:Jalan_Sungai_Ayer_Tawar property:country ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q833 Q29999
SYSTEM
Malaysia, Kingdom of the Netherlands
Q833 Q29999
OR((Q3114275,P27,c(Q15617994)), (Q6126516,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3114275
relation P27
action find
entity Q6126516
relation P17
type Q15617994
[ANSWERS] are the countries of citizenship of Nelly van Doesburg or are Jalan Sungai Ayer Tawar a part of
{'OR': [['Q3114275', 'P27', {'concept': 'Q15617994'}], ['Q6126516', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q3114275 property:P27 ?v } UNION { resource:Q6126516 property:P17 ?v } } . ?v rdf:type ontology:Q15617994 }
Malaysia Kingdom of the Netherlands
Malaysia and Kingdom of the Netherlands are the countries of citizenship of Nelly van Doesburg or are Jalan Sungai Ayer Tawar a part of
Malaysia Kingdom of the Netherlands
action filter_type
action union
action find
entity Nelly van Doesburg
relation country of citizenship
action find
entity Jalan Sungai Ayer Tawar
relation country
type designation for an administrative territorial entity
{'OR': [['Nelly van Doesburg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jalan Sungai Ayer Tawar', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Nelly_van_Doesburg property:country_of_citizenship ?v } UNION { resource:Jalan_Sungai_Ayer_Tawar property:country ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q833 Q29999
P17
Q43229
USER
Which organizations are located in Malaysia and Kingdom of the Netherlands ?
(c(Q43229),P17,Q833) (c(Q43229),P17,Q29999)
action union
action filter_type
action find_reverse
entity Q833
relation P17
type Q43229
action filter_type
action find_reverse
entity Q29999
relation P17
type Q43229
[{'concept': 'Q43229'}, 'P17', 'Q833'] [{'concept': 'Q43229'}, 'P17', 'Q29999']
SELECT DISTINCT ?e WHERE { { ?e property:P17 resource:Q833 . ?e rdf:type ontology:Q43229 } UNION { ?e property:P17 resource:Q29999 . ?e rdf:type ontology:Q43229 } }
Malaysia Kingdom of the Netherlands
action union
action filter_type
action find_reverse
entity Malaysia
relation country
type organization
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation country
type organization
[{'concept': 'organization'}, 'country', 'Malaysia'] [{'concept': 'organization'}, 'country', 'Kingdom of the Netherlands']
SELECT DISTINCT ?e WHERE { { ?e property:country resource:Malaysia . ?e rdf:type ontology:organization } UNION { ?e property:country resource:Kingdom_of_the_Netherlands . ?e rdf:type ontology:organization } }
[]
organization
Q17103499 Q20751454 Q2382166
SYSTEM
MedicAlert, Lazada Group, Ziggo
Q17006400 Q17103499 Q18359006 Q5091837 Q17055811 Q19760735 Q5577597 Q16964871 Q7171282 Q7406951 Q17053378 Q7249622 Q4986912 Q19962148 Q20751454 Q1640639 Q6335962 Q5039316 Q17007289 Q7680649 Q8509985 Q6441515 Q3268530 Q7852934 Q7676344 Q836827 Q7876226 Q1207082 Q7040128 Q17017067 Q8052735 Q6741959 Q987598 Q7036839 Q13528917 Q4734631 Q27681937 Q27851516 Q27851401 Q27855500 Q27851682 Q2382166 Q27850763
(c(Q43229),P17,Q833) (c(Q43229),P17,Q29999)
action union
action filter_type
action find_reverse
entity Q833
relation P17
type Q43229
action filter_type
action find_reverse
entity Q29999
relation P17
type Q43229
[ANSWERS] are located in Malaysia and Kingdom of the Netherlands
[{'concept': 'Q43229'}, 'P17', 'Q833'] [{'concept': 'Q43229'}, 'P17', 'Q29999']
SELECT DISTINCT ?e WHERE { { ?e property:P17 resource:Q833 . ?e rdf:type ontology:Q43229 } UNION { ?e property:P17 resource:Q29999 . ?e rdf:type ontology:Q43229 } }
Jalan Ampang Muslim Cemetery MedicAlert Singapore Red Cross Youth Cheras Christian Cemetery Shah Alam Cemetery Solaire Gohtong Memorial Park Syarikat Air Johor Perwaja Steel Dutch Graveyard Malaysia Mental Literacy Movement Prolintas Bukit Kiara Muslim Cemetery Tilu Lazada Group Telekom Malaysia KPUM Cari Internet Kwong Tong Cemetery Taman Selatan Old Protestant Cemetery, George Town Kuching Heroes Cemetery DiGi Telecommunications Tune Talk Taiping War Cemetery Celcom U Mobile Dewan Bahasa dan Pustaka Nirvana Memorial Park Samariang Muslim Cemetery Yes 4G Malaysian Esperanto Association RapidKL Light Rail Transit Nilai Memorial Park Cheras War Cemetery Alor Gajah British Graveyard Foundation for Christian Secundary Education in Southwestern Friesland Stifting Frysk Akademyfûns Stichting Juckema Siderius Fonds S.E. Wendelaar Bonga Stifting Stifting Kristlik Frysk Folksboek Ziggo Boersma Adema Stichting
MedicAlert, Lazada Group and Ziggo are located in Malaysia and Kingdom of the Netherlands
MedicAlert Lazada Group Ziggo
action union
action filter_type
action find_reverse
entity Malaysia
relation country
type organization
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation country
type organization
[{'concept': 'organization'}, 'country', 'Malaysia'] [{'concept': 'organization'}, 'country', 'Kingdom of the Netherlands']
SELECT DISTINCT ?e WHERE { { ?e property:country resource:Malaysia . ?e rdf:type ontology:organization } UNION { ?e property:country resource:Kingdom_of_the_Netherlands . ?e rdf:type ontology:organization } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q833
P37
Q34770
USER
What is the official language of Malaysia ?
(Q833,P37,c(Q34770))
action filter_type
action find
entity Q833
relation P37
type Q34770
['Q833', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q833 property:P37 ?q . ?q rdf:type ontology:Q34770 }
Malaysia
action filter_type
action find
entity Malaysia
relation official language
type language
['Malaysia', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Malaysia property:official_language ?q . ?q rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q833,P37,c(Q34770))
action filter_type
action find
entity Q833
relation P37
type Q34770
The official language of Malaysia is the [ANSWER]
['Q833', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q833 property:P37 ?q . ?q rdf:type ontology:Q34770 }
English
The official language of Malaysia is the English
English
action filter_type
action find
entity Malaysia
relation official language
type language
['Malaysia', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Malaysia property:official_language ?q . ?q rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q67109
Q34770
USER
And what about Agno?
(Q67109,P37,c(Q34770))
action filter_type
action find
entity Q67109
relation P37
type Q34770
['Q67109', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q67109 property:P37 ?h . ?h rdf:type ontology:Q34770 }
Agno
action filter_type
action find
entity Agno
relation official language
type language
['Agno', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:Agno property:official_language ?h . ?h rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q67109,P37,c(Q34770))
action filter_type
action find
entity Q67109
relation P37
type Q34770
[ANSWER]
['Q67109', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q67109 property:P37 ?h . ?h rdf:type ontology:Q34770 }
Italian
Italian
action filter_type
action find
entity Agno
relation official language
type language
['Agno', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:Agno property:official_language ?h . ?h rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q183 Q29999
P27
Q502895
USER
Which people are a citizen of Kingdom of the Netherlands and Germany ?
AND((c(Q502895),P27,Q29999), (c(Q502895),P27,Q183))
action filter_type
action intersection
action find_reverse
entity Q29999
relation P27
action find_reverse
entity Q183
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q29999'], [{'concept': 'Q502895'}, 'P27', 'Q183']]}
SELECT DISTINCT ?t WHERE { ?t property:P27 resource:Q29999 . ?t property:P27 resource:Q183 . ?t rdf:type ontology:Q502895 }
Germany Kingdom of the Netherlands
action filter_type
action intersection
action find_reverse
entity Kingdom of the Netherlands
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Kingdom of the Netherlands'], [{'concept': 'common name'}, 'country of citizenship', 'Germany']]}
SELECT DISTINCT ?t WHERE { ?t property:country_of_citizenship resource:Kingdom_of_the_Netherlands . ?t property:country_of_citizenship resource:Germany . ?t rdf:type ontology:common_name }
[]
common name
Q106433 Q76661 Q1717261 Q690043 Q2392331 Q112883 Q110272 Q23666213 Q19884159 Q91118
SYSTEM
Some of them are Riekele Borger, Heinrich Boere, Jürgen Heinrichs, Tobias Levels, Georg Lambert, Edith Bülbring, Johannes Franziskus Klomp, Martha van Ophemert-Schwenke, Frans Hermesdorf, Carl Heinrich Stratz
Q1467311 Q92201 Q105457 Q71451 Q99231 Q690043 Q96009 Q1363677 Q75306 Q104107 Q63037 Q1992776 Q97046 Q104369 Q1612549 Q77983 Q112883 Q2392331 Q77506 Q98657 Q2645598 Q2589650 Q99217 Q57304 Q119644 Q104580 Q20734171 Q1840401 Q553606 Q91118 Q832039 Q68582 Q90059 Q2285018 Q1818635 Q18705704 Q108514 Q316166 Q23001580 Q325806 Q763343 Q18508162 Q106433 Q73160 Q67425 Q76703 Q110272 Q2390370 Q27074653 Q69984 Q78318 Q61606 Q76661 Q89260 Q1133341 Q23666213 Q7339 Q14943723 Q7337 Q7336 Q102159 Q106580 Q62352 Q21128842 Q97977 Q72241 Q1603744 Q1717261 Q955674 Q19884159 Q1850306 Q1251338 Q76750 Q69185 Q159609 Q57664 Q78112 Q4256516 Q109642 Q25712442 Q4583
AND((c(Q502895),P27,Q29999), (c(Q502895),P27,Q183))
action filter_type
action intersection
action find_reverse
entity Q29999
relation P27
action find_reverse
entity Q183
relation P27
type Q502895
[ANSWERS] are a citizen of Kingdom of the Netherlands and Germany
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q29999'], [{'concept': 'Q502895'}, 'P27', 'Q183']]}
SELECT DISTINCT ?t WHERE { ?t property:P27 resource:Q29999 . ?t property:P27 resource:Q183 . ?t rdf:type ontology:Q502895 }
Fritz Levisohn Fritz Mannheimer Johannes Andreas Jolles Franke Sloothaak Stefan Radt Tobias Levels Sven Rothenberger Ery Bos Walter Süskind Jan Bender Klaas Carel Faber Nina Gorter Herbertus Bikker Ernst Laqueur Hermann Salmang Hans Keilson Edith Bülbring Georg Lambert Hans Freudenthal Werner Janssen Alfred Nourney Wolfgang Frommel Friedl Baruch Prince Bernhard of the Netherlands Ilse Meudtner Eduard Fimmen Wilhelm Knolle Alfred Herrmann Kleinknecht Mitja Zastrow Carl Heinrich Stratz Dirk Matschenz Ilse Werner Oswalt Kolle Sigmund Seeligmann Max Moszkowicz Erna Westhelle Menachem Pinkhof Arie van Lent Joanna Wichmann Dirk van der Ven August Paul Brenninkmeijer Ferdinand Bernhard Höppe Riekele Borger Hermann Otto Sleumer James Kwast Anthony Fokker Johannes Franziskus Klomp Talja Blokland Klaus Oppenheimer Peter van Pels Hajo Meyer Laura Dekker Heinrich Boere Franz Koenigs Cornelia Harte Martha van Ophemert-Schwenke Margot Frank Kees de Vries Edith Frank Otto Frank Kurt Vyth C. E. A. Wichmann Johannes Heesters Johan Herman Kloos Kurt Baschwitz Christian Kum Horst Gerson Jürgen Heinrichs Hans Reicher Frans Hermesdorf Herbert Fiedler Eva van Hoboken Gustav Heinrich Ralph von Koenigswald Gerard Kleisterlee Prince Claus of the Netherlands Emma of Waldeck and Pyrmont Britta Böhler Auguste van Pels Sarah Kim Gries Sönke Rothenberger Anne Frank
Riekele Borger, Heinrich Boere, Jürgen Heinrichs, Tobias Levels, Georg Lambert, Edith Bülbring, Johannes Franziskus Klomp, Martha van Ophemert-Schwenke, Frans Hermesdorf and Carl Heinrich Stratz are a citizen of Kingdom of the Netherlands and Germany
Riekele Borger Heinrich Boere Jürgen Heinrichs Tobias Levels Georg Lambert Edith Bülbring Johannes Franziskus Klomp Martha van Ophemert-Schwenke Frans Hermesdorf Carl Heinrich Stratz
action filter_type
action intersection
action find_reverse
entity Kingdom of the Netherlands
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Kingdom of the Netherlands'], [{'concept': 'common name'}, 'country of citizenship', 'Germany']]}
SELECT DISTINCT ?t WHERE { ?t property:country_of_citizenship resource:Kingdom_of_the_Netherlands . ?t property:country_of_citizenship resource:Germany . ?t rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories are that person a civilian of ?
(Q1717261,P27,c(Q15617994))
['Q1717261', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1717261 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
['Jürgen Heinrichs', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Jürgen_Heinrichs property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q2392331
SYSTEM
Did you mean Georg Lambert ?
(Q106433,P27,c(Q15617994)) (Q76661,P27,c(Q15617994)) (Q1717261,P27,c(Q15617994)) (Q690043,P27,c(Q15617994)) (Q2392331,P27,c(Q15617994)) (Q112883,P27,c(Q15617994)) (Q110272,P27,c(Q15617994)) (Q23666213,P27,c(Q15617994)) (Q19884159,P27,c(Q15617994)) (Q91118,P27,c(Q15617994))
[ANSWER]
['Q106433', 'P27', {'concept': 'Q15617994'}] ['Q76661', 'P27', {'concept': 'Q15617994'}] ['Q1717261', 'P27', {'concept': 'Q15617994'}] ['Q690043', 'P27', {'concept': 'Q15617994'}] ['Q2392331', 'P27', {'concept': 'Q15617994'}] ['Q112883', 'P27', {'concept': 'Q15617994'}] ['Q110272', 'P27', {'concept': 'Q15617994'}] ['Q23666213', 'P27', {'concept': 'Q15617994'}] ['Q19884159', 'P27', {'concept': 'Q15617994'}] ['Q91118', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1717261 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Georg Lambert ?
Georg Lambert
['Riekele Borger', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Heinrich Boere', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Jürgen Heinrichs', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Tobias Levels', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Georg Lambert', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Edith Bülbring', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Johannes Franziskus Klomp', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Martha van Ophemert-Schwenke', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Frans Hermesdorf', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Carl Heinrich Stratz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Jürgen_Heinrichs property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Jürgen Heinrichs. Could you tell me the answer for that?
(Q1717261,P27,c(Q15617994))
Q1717261
['Q1717261', 'P27', {'concept': 'Q15617994'}]
['Jürgen Heinrichs', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q29999
(Q1717261,P27,c(Q15617994))
[ANSWER]
['Q1717261', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1717261 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Kingdom of the Netherlands
1
['Jürgen Heinrichs', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Jürgen_Heinrichs property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q8192 Q9779 Q34770
USER
Which languages use atmost 2 writing systems and alphabets as the writing system ?
(c(Q34770),P282,c(Q8192)|c(Q9779))
action atmost
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
value 2
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?s ) WHERE { { ?q property:P282 ?c . ?c rdf:type ontology:Q8192 . ?q rdf:type ontology:Q34770 } UNION { ?q property:P282 ?c . ?q rdf:type ontology:Q34770 . ?c rdf:type ontology:Q9779 } } GROUP BY ?q } . FILTER ( ?s <= 2 ) }
action atmost
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?s ) WHERE { { ?q property:writing_system ?c . ?c rdf:type ontology:writing_system . ?q rdf:type ontology:language } UNION { ?q property:writing_system ?c . ?q rdf:type ontology:language . ?c rdf:type ontology:alphabet } } GROUP BY ?q } . FILTER ( ?s <= 2 ) }
[]
writing system alphabet language
Q29572 Q1860 Q447117
SYSTEM
Avestan, English, Old Egyptian
Q7102906 Q182695 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q13211 Q36741 Q35499 Q35668 Q1669994 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q2705672 Q33879 Q7362035 Q36795 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q20972034 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q36790 Q1860 Q36116 Q36751 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q8192)|c(Q9779))
action atmost
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
value 2
[ANSWERS] use atmost 2 writing systems and alphabets as the writing system
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?s ) WHERE { { ?q property:P282 ?c . ?c rdf:type ontology:Q8192 . ?q rdf:type ontology:Q34770 } UNION { ?q property:P282 ?c . ?q rdf:type ontology:Q34770 . ?c rdf:type ontology:Q9779 } } GROUP BY ?q } . FILTER ( ?s <= 2 ) }
Orizaba Nahuatl Late Old Japanese Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Ruthenian Polabian Old Church Slavonic Hittite Minoan language Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Paeonian language Pangasinan language Roman Khowar Tartessian Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Classic Greek Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish Sumerian English Middle Irish Phrygian language Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
Avestan, English and Old Egyptian use atmost 2 writing systems and alphabets as the writing system
Avestan English Old Egyptian
action atmost
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?s ) WHERE { { ?q property:writing_system ?c . ?c rdf:type ontology:writing_system . ?q rdf:type ontology:language } UNION { ?q property:writing_system ?c . ?q rdf:type ontology:language . ?c rdf:type ontology:alphabet } } GROUP BY ?q } . FILTER ( ?s <= 2 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1860
P495
Q2031291
USER
What are that language a country of origin of ?
(c(Q2031291),P495,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P495
type Q2031291
[{'concept': 'Q2031291'}, 'P495', 'Q1860']
SELECT DISTINCT ?n WHERE { ?n property:P495 resource:Q1860 . ?n rdf:type ontology:Q2031291 }
English
action filter_type
action find_reverse
entity English
relation country of origin
type release
[{'concept': 'release'}, 'country of origin', 'English']
SELECT DISTINCT ?n WHERE { ?n property:country_of_origin resource:English . ?n rdf:type ontology:release }
[]
release
Clarification for simple ques.
Q29572
SYSTEM
Did you mean Avestan ?
Q29572 Q1860 Q447117
(c(Q2031291),P495,Q29572) (c(Q2031291),P495,Q1860) (c(Q2031291),P495,Q447117)
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', 'Q29572'] [{'concept': 'Q2031291'}, 'P495', 'Q1860'] [{'concept': 'Q2031291'}, 'P495', 'Q447117']
SELECT DISTINCT ?n WHERE { ?n property:P495 resource:Q1860 . ?n rdf:type ontology:Q2031291 }
Avestan English Old Egyptian
Did you mean Avestan ?
Avestan
[{'concept': 'release'}, 'country of origin', 'Avestan'] [{'concept': 'release'}, 'country of origin', 'English'] [{'concept': 'release'}, 'country of origin', 'Old Egyptian']
SELECT DISTINCT ?n WHERE { ?n property:country_of_origin resource:English . ?n rdf:type ontology:release }
[]
Simple Question (Coreferenced)
USER
No, I meant English. Could you tell me the answer for that?
(c(Q2031291),P495,Q1860)
Q1860
[{'concept': 'Q2031291'}, 'P495', 'Q1860']
[{'concept': 'release'}, 'country of origin', 'English']
[]
Q17544704 Q19852570
SYSTEM
Kära vinter, Marry Me, Or Not
Q17544704 Q19852570
(c(Q2031291),P495,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P495
type Q2031291
[ANSWERS]
[{'concept': 'Q2031291'}, 'P495', 'Q1860']
SELECT DISTINCT ?n WHERE { ?n property:P495 resource:Q1860 . ?n rdf:type ontology:Q2031291 }
Kära vinter Marry Me, Or Not
That language a country of origin of are the Kära vinter and Marry Me, Or Not
Kära vinter Marry Me, Or Not
action filter_type
action find_reverse
entity English
relation country of origin
type release
[{'concept': 'release'}, 'country of origin', 'English']
SELECT DISTINCT ?n WHERE { ?n property:country_of_origin resource:English . ?n rdf:type ontology:release }
[]