Simple Question (Direct)
Simple Question
Q108807
P734
Q82799
USER
Who is associated with Bent Larsen ?
(Q108807,P734,c(Q82799))
action filter_type
action find
entity Q108807
relation P734
type Q82799
['Q108807', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q108807 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Bent Larsen
action filter_type
action find
entity Bent Larsen
relation family name
type name
['Bent Larsen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Bent_Larsen property:family_name ?n . ?n rdf:type ontology:name }
[]
name
Q13099004
SYSTEM
Larsen
Q13099004
(Q108807,P734,c(Q82799))
action filter_type
action find
entity Q108807
relation P734
type Q82799
[ANSWER] is associated with Bent [ANSWER]
['Q108807', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q108807 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Larsen
Larsen is associated with Bent Larsen
Larsen
action filter_type
action find
entity Bent Larsen
relation family name
type name
['Bent Larsen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Bent_Larsen property:family_name ?n . ?n rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q108807
P1196
Q1931388
USER
What manner did that person die ?
(Q13099004,P1196,c(Q1931388))
action filter_type
action find
entity Q108807
relation P1196
type Q1931388
['Q13099004', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?p WHERE { resource:Q108807 property:P1196 ?p . ?p rdf:type ontology:Q1931388 }
Bent Larsen
action filter_type
action find
entity Bent Larsen
relation manner of death
type cause of death
['Larsen', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?p WHERE { resource:Bent_Larsen property:manner_of_death ?p . ?p rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q13099004,P1196,c(Q1931388))
action filter_type
action find
entity Q108807
relation P1196
type Q1931388
That person died in [ANSWER]
['Q13099004', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?p WHERE { resource:Q108807 property:P1196 ?p . ?p rdf:type ontology:Q1931388 }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity Bent Larsen
relation manner of death
type cause of death
['Larsen', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?p WHERE { resource:Bent_Larsen property:manner_of_death ?p . ?p rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q108807
P20
Q515
USER
Where did Bent Larsen die ?
(Q108807,P20,c(Q515))
action filter_type
action find
entity Q108807
relation P20
type Q515
['Q108807', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { resource:Q108807 property:P20 ?i . ?i rdf:type ontology:Q515 }
Bent Larsen
action filter_type
action find
entity Bent Larsen
relation place of death
type city
['Bent Larsen', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { resource:Bent_Larsen property:place_of_death ?i . ?i rdf:type ontology:city }
[]
city
Q1486
SYSTEM
Buenos Aires
Q1486
(Q108807,P20,c(Q515))
action filter_type
action find
entity Q108807
relation P20
type Q515
Bent Larsen died in [ANSWER]
['Q108807', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { resource:Q108807 property:P20 ?i . ?i rdf:type ontology:Q515 }
Buenos Aires
Bent Larsen died in Buenos Aires
Buenos Aires
action filter_type
action find
entity Bent Larsen
relation place of death
type city
['Bent Larsen', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { resource:Bent_Larsen property:place_of_death ?i . ?i rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1486
P291
Q21114848
USER
Which magazine genre has that city as its publication place ?
(c(Q21114848),P291,Q1486)
action filter_type
action find_reverse
entity Q1486
relation P291
type Q21114848
[{'concept': 'Q21114848'}, 'P291', 'Q1486']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q21114848 . ?f property:P291 resource:Q1486 }
Buenos Aires
action filter_type
action find_reverse
entity Buenos Aires
relation place of publication
type magazine genre
[{'concept': 'magazine genre'}, 'place of publication', 'Buenos Aires']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:magazine_genre . ?f property:place_of_publication resource:Buenos_Aires }
[]
magazine genre
Q17771532
SYSTEM
Revista de la  Unión Matemática Argentina
Q17771532
(c(Q21114848),P291,Q1486)
action filter_type
action find_reverse
entity Q1486
relation P291
type Q21114848
Revista de la Unión Matemática Argentina has that city as its publication place
[{'concept': 'Q21114848'}, 'P291', 'Q1486']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q21114848 . ?f property:P291 resource:Q1486 }
Revista de la  Unión Matemática Argentina
Revista de la Unión Matemática Argentina has that city as its publication place
Revista de la  Unión Matemática Argentina
action filter_type
action find_reverse
entity Buenos Aires
relation place of publication
type magazine genre
[{'concept': 'magazine genre'}, 'place of publication', 'Buenos Aires']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:magazine_genre . ?f property:place_of_publication resource:Buenos_Aires }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1486
P551
Q502895
USER
Which people live in that city ?
(c(Q502895),P551,Q17771532)
action filter_type
action find_reverse
entity Q1486
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q17771532']
SELECT DISTINCT ?r WHERE { ?r property:P551 resource:Q1486 . ?r rdf:type ontology:Q502895 }
Buenos Aires
action filter_type
action find_reverse
entity Buenos Aires
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Revista de la  Unión Matemática Argentina']
SELECT DISTINCT ?r WHERE { ?r property:residence resource:Buenos_Aires . ?r rdf:type ontology:common_name }
[]
common name
Q171363 Q450675 Q523995
SYSTEM
Viggo Mortensen, Francis, Andrés Calamaro
Q1220458 Q5836737 Q6735786 Q440880 Q4083859 Q717463 Q2879046 Q269636 Q299377 Q703815 Q1042901 Q5402547 Q5881250 Q523995 Q511678 Q730200 Q4760270 Q5904441 Q284037 Q3436835 Q1160223 Q299930 Q448278 Q455165 Q294888 Q4784172 Q515034 Q171363 Q4717011 Q299652 Q717438 Q7818330 Q512651 Q5621518 Q461468 Q9070700 Q3811139 Q105868 Q2316401 Q280765 Q1340151 Q1161965 Q3048155 Q24359450 Q6298739 Q229474 Q440468 Q4521413 Q336862 Q450675 Q554406 Q2045142 Q283642 Q5913275 Q1055200 Q1348554 Q33249 Q2888478 Q1076636 Q4487 Q297134 Q6756572 Q310384 Q275949 Q961140 Q5274812 Q3187791 Q229132 Q201515 Q299960 Q5829654 Q960539 Q1365324 Q3185500 Q6299411 Q3106519 Q5186277
(c(Q502895),P551,Q17771532)
action filter_type
action find_reverse
entity Q1486
relation P551
type Q502895
[ANSWERS] live in that city
[{'concept': 'Q502895'}, 'P551', 'Q17771532']
SELECT DISTINCT ?r WHERE { ?r property:P551 resource:Q1486 . ?r rdf:type ontology:Q502895 }
Diego Hartfield Ernesto Aguilar Mailen Auroux Jorgelina Cravero Amelia Bence Diego Junqueira Edgardo Massa Paula Ormaechea Juan Ignacio Chela Sergio Roitman Carlos Franzetti Sebastián Decoud Gloria Guzmán Andrés Calamaro María José Gaidano Franco Squillari Andrés Schneiter Hugo Dellien Roberto Argüello Roberto Azar Daniel Burman José Acasuso Mariano Zabaleta Florencia Labat Juan Mónaco Aranza Salut Flavia Company Viggo Mortensen Alex Fox Estela Barnes de Carlotto Brian Dabul Tomas Tenconi Horacio Zeballos Gustavo Tiberti Frederica Piedade Rosa María Bianchi Julieta Lanteri Gabriela Sabatini Guido Andreozzi Agustín Calleri Hernán Gumy Daniel Orsanic Juan Pablo Brzezicki Alberto Nadra Juan-Martín Aranguren Paola Suárez Carlos Berlocq Thierry Guichoux Guido Pella Francis Alberto Manguel Pablo Albano Mariano Puerta Ignacio González King Ettore Panizza Martín Jaite Leonardo Mayer Nilda Urquiza Luis Caffarelli Federico Gamboa Hipólito Yrigoyen Marcelo Ingaramo Guillermo Cañas Natalia Verbeke Horacio de la Peña Diego Schwartzman Juan Diego Solanas Gisela Dulko Guillermo Vilas Gastón Gaudio Elizabeth Azcona Cranwell Christian Miniussi Gastón Etlis Joseph Pleyber Juan Carlos Stekelman Juan Pablo Guzmán Cristian Villagrán
Viggo Mortensen, Francis and Andrés Calamaro live in that city
Viggo Mortensen Francis Andrés Calamaro
action filter_type
action find_reverse
entity Buenos Aires
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Revista de la  Unión Matemática Argentina']
SELECT DISTINCT ?r WHERE { ?r property:residence resource:Buenos_Aires . ?r rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q49581 Q1486
P190
Q56061
USER
Which administrative territories are twin cities of Buenos Aires but not Jaca ?
AND((Q1486,P190,c(Q56061)), NOT((Q49581,P190,c(Q56061))))
action filter_type
action difference
action find
entity Q1486
relation P190
action find
entity Q49581
relation P190
type Q56061
{'AND': [['Q1486', 'P190', {'concept': 'Q56061'}], {'NOT': [['Q49581', 'P190', {'concept': 'Q56061'}]]}]}
SELECT DISTINCT ?i WHERE { resource:Q1486 property:P190 ?i . MINUS { resource:Q49581 property:P190 ?i } . ?i rdf:type ontology:Q56061 }
Jaca Buenos Aires
action filter_type
action difference
action find
entity Buenos Aires
relation sister city
action find
entity Jaca
relation sister city
type administrative territorial entity
{'AND': [['Buenos Aires', 'sister city', {'concept': 'administrative territorial entity'}], {'NOT': [['Jaca', 'sister city', {'concept': 'administrative territorial entity'}]]}]}
SELECT DISTINCT ?i WHERE { resource:Buenos_Aires property:sister_city ?i . MINUS { resource:Jaca property:sister_city ?i } . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3766 Q1492 Q1897 Q1489 Q1085 Q5465 Q1218 Q628 Q518431 Q244324
SYSTEM
Some of them are Damascus, Barcelona, Cagliari, Mexico City, Prague, Cape Town, Jerusalem, Bergamo, Chimbote, Guadix
Q8678 Q3766 Q628 Q649 Q8745 Q270 Q13678 Q34820 Q25395 Q15695 Q1524 Q2634 Q1489 Q71 Q8717 Q8692 Q518431 Q3711 Q2868 Q33935 Q2656 Q84 Q85 Q34370 Q7880 Q1449 Q40269 Q406 Q1930 Q174 Q244324 Q14314 Q15682 Q490 Q2807 Q597 Q956 Q1335 Q1492 Q64 Q1218 Q3820 Q5465 Q1085 Q1897
AND((Q1486,P190,c(Q56061)), NOT((Q49581,P190,c(Q56061))))
action filter_type
action difference
action find
entity Q1486
relation P190
action find
entity Q49581
relation P190
type Q56061
[ANSWERS] are twin cities of Buenos Aires but not Jaca
{'AND': [['Q1486', 'P190', {'concept': 'Q56061'}], {'NOT': [['Q49581', 'P190', {'concept': 'Q56061'}]]}]}
SELECT DISTINCT ?i WHERE { resource:Q1486 property:P190 ?i . MINUS { resource:Q49581 property:P190 ?i } . ?i rdf:type ontology:Q56061 }
Rio de Janeiro Damascus Bergamo Moscow Vigo Warsaw Agrigento Santo Domingo Newark Salamanca Athens Naples Mexico City Geneva Seville Bilbao Chimbote Belgrade Lima Tel Aviv Palermo London Cairo Rotterdam Toulouse Genoa Porto Alegre Istanbul Ottawa São Paulo Guadix Santiago de Compostela Cádiz Milan Madrid Lisbon Beijing Montevideo Barcelona Berlin Jerusalem Beirut Cape Town Prague Cagliari
Damascus, Barcelona, Cagliari, Mexico City, Prague, Cape Town, Jerusalem, Bergamo, Chimbote and Guadix are twin cities of Buenos Aires but not Jaca
Damascus Barcelona Cagliari Mexico City Prague Cape Town Jerusalem Bergamo Chimbote Guadix
action filter_type
action difference
action find
entity Buenos Aires
relation sister city
action find
entity Jaca
relation sister city
type administrative territorial entity
{'AND': [['Buenos Aires', 'sister city', {'concept': 'administrative territorial entity'}], {'NOT': [['Jaca', 'sister city', {'concept': 'administrative territorial entity'}]]}]}
SELECT DISTINCT ?i WHERE { resource:Buenos_Aires property:sister_city ?i . MINUS { resource:Jaca property:sister_city ?i } . ?i rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3766
P17
Q15617994
USER
Which administrative territory is that administrative territory present in ?
(Q3766,P17,c(Q15617994))
action filter_type
action find
entity Q3766
relation P17
type Q15617994
['Q3766', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q3766 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Damascus
action filter_type
action find
entity Damascus
relation country
type designation for an administrative territorial entity
['Damascus', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Damascus property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q518431
SYSTEM
Did you mean Chimbote ?
Q3766 Q1492 Q1897 Q1489 Q1085 Q5465 Q1218 Q628 Q518431 Q244324
(Q3766,P17,c(Q15617994)) (Q1492,P17,c(Q15617994)) (Q1897,P17,c(Q15617994)) (Q1489,P17,c(Q15617994)) (Q1085,P17,c(Q15617994)) (Q5465,P17,c(Q15617994)) (Q1218,P17,c(Q15617994)) (Q628,P17,c(Q15617994)) (Q518431,P17,c(Q15617994)) (Q244324,P17,c(Q15617994))
[ANSWER]
['Q3766', 'P17', {'concept': 'Q15617994'}] ['Q1492', 'P17', {'concept': 'Q15617994'}] ['Q1897', 'P17', {'concept': 'Q15617994'}] ['Q1489', 'P17', {'concept': 'Q15617994'}] ['Q1085', 'P17', {'concept': 'Q15617994'}] ['Q5465', 'P17', {'concept': 'Q15617994'}] ['Q1218', 'P17', {'concept': 'Q15617994'}] ['Q628', 'P17', {'concept': 'Q15617994'}] ['Q518431', 'P17', {'concept': 'Q15617994'}] ['Q244324', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q3766 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Damascus Barcelona Cagliari Mexico City Prague Cape Town Jerusalem Bergamo Chimbote Guadix
Did you mean Chimbote ?
Chimbote
['Damascus', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Barcelona', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cagliari', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Mexico City', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Prague', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cape Town', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Jerusalem', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Bergamo', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Chimbote', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Guadix', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Damascus property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Damascus. Could you tell me the answer for that?
(Q3766,P17,c(Q15617994))
Q3766
['Q3766', 'P17', {'concept': 'Q15617994'}]
['Damascus', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q858
SYSTEM
Syria
Q858
(Q3766,P17,c(Q15617994))
action filter_type
action find
entity Q3766
relation P17
type Q15617994
That administrative territory is in [ANSWER]
['Q3766', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q3766 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Syria
That administrative territory is in Syria
Syria
action filter_type
action find
entity Damascus
relation country
type designation for an administrative territorial entity
['Damascus', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Damascus property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q858 Q3784979 Q5570070
P6
Q502895
USER
Does that administrative territory have Henry Molinari and Alexander Bengtsson as its head of government ?
(Q858,P6,Q3784979) (Q858,P6,Q5570070)
action is_in
entity Q858
action intersection
action find_reverse
entity Q3784979
relation P6
action find_reverse
entity Q5570070
relation P6
['Q858', 'P6', 'Q3784979'] ['Q858', 'P6', 'Q5570070']
ASK WHERE { resource:Q858 property:P6 resource:Q3784979 . resource:Q858 property:P6 resource:Q5570070 }
Syria Henry Molinari Alexander Bengtsson
action is_in
entity Syria
action intersection
action find_reverse
entity Henry Molinari
relation head of government
action find_reverse
entity Alexander Bengtsson
relation head of government
['Syria', 'head of government', 'Henry Molinari'] ['Syria', 'head of government', 'Alexander Bengtsson']
ASK WHERE { resource:Syria property:head_of_government resource:Henry_Molinari . resource:Syria property:head_of_government resource:Alexander_Bengtsson }
[]
common name
SYSTEM
NO
(Q858,P6,Q3784979) (Q858,P6,Q5570070)
action is_in
entity Q858
action intersection
action find_reverse
entity Q3784979
relation P6
action find_reverse
entity Q5570070
relation P6
[ANSWER]
['Q858', 'P6', 'Q3784979'] ['Q858', 'P6', 'Q5570070']
ASK WHERE { resource:Q858 property:P6 resource:Q3784979 . resource:Q858 property:P6 resource:Q5570070 }
No
action is_in
entity Syria
action intersection
action find_reverse
entity Henry Molinari
relation head of government
action find_reverse
entity Alexander Bengtsson
relation head of government
['Syria', 'head of government', 'Henry Molinari'] ['Syria', 'head of government', 'Alexander Bengtsson']
ASK WHERE { resource:Syria property:head_of_government resource:Henry_Molinari . resource:Syria property:head_of_government resource:Alexander_Bengtsson }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q450675
P551
Q515
USER
How many cities were the places of residence of Francis ?
(Q450675,P551,c(Q515))
action count
action filter_type
action find
entity Q450675
relation P551
type Q515
['Q450675', 'P551', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { ?s rdf:type ontology:Q515 . resource:Q450675 property:P551 ?s }
Francis
action count
action filter_type
action find
entity Francis
relation residence
type city
['Francis', 'residence', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { ?s rdf:type ontology:city . resource:Francis property:residence ?s }
[]
city
SYSTEM
1
Q1486
(Q450675,P551,c(Q515))
action count
action filter_type
action find
entity Q450675
relation P551
type Q515
[ANSWER]
['Q450675', 'P551', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { ?s rdf:type ontology:Q515 . resource:Q450675 property:P551 ?s }
Buenos Aires
1
action count
action filter_type
action find
entity Francis
relation residence
type city
['Francis', 'residence', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { ?s rdf:type ontology:city . resource:Francis property:residence ?s }
[]