Simple Question (Direct)
Simple Question
Q3955753
P27
Q15617994
USER
Which administrative territory is Serafino Romani a civilian of ?
(Q3955753,P27,c(Q15617994))
action filter_type
action find
entity Q3955753
relation P27
type Q15617994
['Q3955753', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q3955753 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Serafino Romani
action filter_type
action find
entity Serafino Romani
relation country of citizenship
type designation for an administrative territorial entity
['Serafino Romani', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Serafino_Romani property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3955753,P27,c(Q15617994))
action filter_type
action find
entity Q3955753
relation P27
type Q15617994
[ANSWER] is Serafino Romani a civilian of
['Q3955753', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q3955753 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Italy
Italy is Serafino Romani a civilian of
Italy
action filter_type
action find
entity Serafino Romani
relation country of citizenship
type designation for an administrative territorial entity
['Serafino Romani', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Serafino_Romani property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3955753
P21
Q290
USER
Which sex does that person possess ?
(Q38,P21,c(Q290))
action filter_type
action find
entity Q3955753
relation P21
type Q290
['Q38', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q3955753 property:P21 ?s . ?s rdf:type ontology:Q290 }
Serafino Romani
action filter_type
action find
entity Serafino Romani
relation gender
type sex
['Italy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Serafino_Romani property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q38,P21,c(Q290))
action filter_type
action find
entity Q3955753
relation P21
type Q290
That person possesses a [ANSWER]
['Q38', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q3955753 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Serafino Romani
relation gender
type sex
['Italy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Serafino_Romani property:gender ?s . ?s rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q25189622 Q3955753
P21
Q290
USER
Or Randy Neufeld?
OR((Q3955753,P21,c(Q290)), (Q25189622,P21,c(Q290)))
action filter_type
action union
action find
entity Q3955753
relation P21
action find
entity Q25189622
relation P21
type Q290
{'OR': [['Q3955753', 'P21', {'concept': 'Q290'}], ['Q25189622', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?y ) { ( resource:Q25189622 ) ( resource:Q3955753 ) } . ?y property:P21 ?k } . ?k rdf:type ontology:Q290 }
Randy Neufeld Serafino Romani
action filter_type
action union
action find
entity Serafino Romani
relation gender
action find
entity Randy Neufeld
relation gender
type sex
{'OR': [['Serafino Romani', 'gender', {'concept': 'sex'}], ['Randy Neufeld', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?y ) { ( resource:Randy_Neufeld ) ( resource:Serafino_Romani ) } . ?y property:gender ?k } . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q3955753,P21,c(Q290)), (Q25189622,P21,c(Q290)))
action filter_type
action union
action find
entity Q3955753
relation P21
action find
entity Q25189622
relation P21
type Q290
[ANSWER]
{'OR': [['Q3955753', 'P21', {'concept': 'Q290'}], ['Q25189622', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?y ) { ( resource:Q25189622 ) ( resource:Q3955753 ) } . ?y property:P21 ?k } . ?k rdf:type ontology:Q290 }
male
male
action filter_type
action union
action find
entity Serafino Romani
relation gender
action find
entity Randy Neufeld
relation gender
type sex
{'OR': [['Serafino Romani', 'gender', {'concept': 'sex'}], ['Randy Neufeld', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?y ) { ( resource:Randy_Neufeld ) ( resource:Serafino_Romani ) } . ?y property:gender ?k } . ?k rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3955753
P106
Q12737077
USER
What do Serafino Romani do for a living ?
(Q3955753,P106,c(Q12737077))
action filter_type
action find
entity Q3955753
relation P106
type Q12737077
['Q3955753', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q3955753 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Serafino Romani
action filter_type
action find
entity Serafino Romani
relation occupation
type occupation
['Serafino Romani', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Serafino_Romani property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q3955753,P106,c(Q12737077))
action filter_type
action find
entity Q3955753
relation P106
type Q12737077
[ANSWERS] Serafino Romani do for a living
['Q3955753', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q3955753 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
association football manager association football player
Association football manager and association football player Serafino Romani do for a living
association football manager association football player
action filter_type
action find
entity Serafino Romani
relation occupation
type occupation
['Serafino Romani', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Serafino_Romani property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19571760
Q12737077
USER
And what about Lucie Záleská?
(Q19571760,P106,c(Q12737077))
action filter_type
action find
entity Q19571760
relation P106
type Q12737077
['Q19571760', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q19571760 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Lucie Záleská
action filter_type
action find
entity Lucie Záleská
relation occupation
type occupation
['Lucie Záleská', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Lucie_Záleská property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q15117395 Q2309784
SYSTEM
track cyclist, sport cyclist
Q15117395 Q2309784
(Q19571760,P106,c(Q12737077))
action filter_type
action find
entity Q19571760
relation P106
type Q12737077
[ANSWERS]
['Q19571760', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q19571760 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
track cyclist sport cyclist
track cyclist sport cyclist
action filter_type
action find
entity Lucie Záleská
relation occupation
type occupation
['Lucie Záleská', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Lucie_Záleská property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12135736 Q38
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relations with Italy or are Oleșești present in ?
OR((Q38,P530,c(Q15617994)), (Q12135736,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q12135736
relation P17
type Q15617994
{'OR': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q12135736', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . { { resource:Q38 property:P530 ?q } UNION { resource:Q12135736 property:P17 ?q } } }
Oleșești Italy
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Oleșești
relation country
type designation for an administrative territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Oleșești', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Italy property:diplomatic_relation ?q } UNION { resource:Oleșești property:country ?q } } }
[]
designation for an administrative territorial entity
Q96 Q252 Q229 Q77 Q29 Q733 Q155 Q230 Q145 Q191
SYSTEM
Some of them are Mexico, Indonesia, Cyprus, Uruguay, Spain, Paraguay, Brazil, Georgia, United Kingdom, Estonia
Q805 Q219 Q869 Q801 Q189 Q843 Q184 Q423 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q31 Q229 Q228 Q33 Q32 Q17 Q30 Q37 Q36 Q79 Q34 Q77 Q39 Q1016 Q739 Q227 Q948 Q191 Q733 Q928 Q298 Q45 Q252 Q114 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q215 Q155 Q218 Q41 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q881
OR((Q38,P530,c(Q15617994)), (Q12135736,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q12135736
relation P17
type Q15617994
[ANSWERS] have diplomatic relations with Italy or are Oleșești present in
{'OR': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q12135736', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . { { resource:Q38 property:P530 ?q } UNION { resource:Q12135736 property:P17 ?q } } }
Yemen Bulgaria Thailand Israel Iceland Pakistan Belarus North Korea Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Belgium Cyprus Andorra Finland Luxembourg Japan United States of America Lithuania Poland Egypt Sweden Uruguay Switzerland Libya Colombia Azerbaijan Tunisia Estonia Paraguay Philippines Chile Portugal Indonesia Kenya Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Slovenia Brazil Romania Greece San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea Vietnam
Mexico, Indonesia, Cyprus, Uruguay, Spain, Paraguay, Brazil, Georgia, United Kingdom and Estonia have diplomatic relations with Italy or are Oleșești present in
Mexico Indonesia Cyprus Uruguay Spain Paraguay Brazil Georgia United Kingdom Estonia
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Oleșești
relation country
type designation for an administrative territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Oleșești', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Italy property:diplomatic_relation ?q } UNION { resource:Oleșești property:country ?q } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q96 Q252 Q229 Q77 Q29 Q733 Q155 Q230 Q145 Q191
P163
Q14660
USER
Which flags are associated with those administrative territories ?
(Q96,P163,c(Q14660)) (Q252,P163,c(Q14660)) (Q229,P163,c(Q14660)) (Q77,P163,c(Q14660)) (Q29,P163,c(Q14660)) (Q733,P163,c(Q14660)) (Q155,P163,c(Q14660)) (Q230,P163,c(Q14660)) (Q145,P163,c(Q14660)) (Q191,P163,c(Q14660))
action filter_type
action find
entity prev_answer
relation P163
type Q14660
['Q96', 'P163', {'concept': 'Q14660'}] ['Q252', 'P163', {'concept': 'Q14660'}] ['Q229', 'P163', {'concept': 'Q14660'}] ['Q77', 'P163', {'concept': 'Q14660'}] ['Q29', 'P163', {'concept': 'Q14660'}] ['Q733', 'P163', {'concept': 'Q14660'}] ['Q155', 'P163', {'concept': 'Q14660'}] ['Q230', 'P163', {'concept': 'Q14660'}] ['Q145', 'P163', {'concept': 'Q14660'}] ['Q191', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q14660 . VALUES ( ?a ) { ( resource:Q805 ) ( resource:Q219 ) ( resource:Q869 ) } . ?a property:P163 ?g }
Mexico Indonesia Cyprus Uruguay Spain Paraguay Brazil Georgia United Kingdom Estonia
action filter_type
action find
entity prev_answer
relation flag
type flag
['Mexico', 'flag', {'concept': 'flag'}] ['Indonesia', 'flag', {'concept': 'flag'}] ['Cyprus', 'flag', {'concept': 'flag'}] ['Uruguay', 'flag', {'concept': 'flag'}] ['Spain', 'flag', {'concept': 'flag'}] ['Paraguay', 'flag', {'concept': 'flag'}] ['Brazil', 'flag', {'concept': 'flag'}] ['Georgia', 'flag', {'concept': 'flag'}] ['United Kingdom', 'flag', {'concept': 'flag'}] ['Estonia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:flag . VALUES ( ?a ) { ( resource:Yemen ) ( resource:Bulgaria ) ( resource:Thailand ) } . ?a property:flag ?g }
[]
flag
Q82194 Q83278 Q4633
SYSTEM
flag of Brazil, flag of the United Kingdom, Flag of Cyprus
Q122462 Q101472 Q4633 Q171103 Q121688 Q170465 Q82194 Q26491 Q83278 Q81471
(Q96,P163,c(Q14660)) (Q252,P163,c(Q14660)) (Q229,P163,c(Q14660)) (Q77,P163,c(Q14660)) (Q29,P163,c(Q14660)) (Q733,P163,c(Q14660)) (Q155,P163,c(Q14660)) (Q230,P163,c(Q14660)) (Q145,P163,c(Q14660)) (Q191,P163,c(Q14660))
action filter_type
action find
entity prev_answer
relation P163
type Q14660
[ANSWERS] are associated with those administrative territories
['Q96', 'P163', {'concept': 'Q14660'}] ['Q252', 'P163', {'concept': 'Q14660'}] ['Q229', 'P163', {'concept': 'Q14660'}] ['Q77', 'P163', {'concept': 'Q14660'}] ['Q29', 'P163', {'concept': 'Q14660'}] ['Q733', 'P163', {'concept': 'Q14660'}] ['Q155', 'P163', {'concept': 'Q14660'}] ['Q230', 'P163', {'concept': 'Q14660'}] ['Q145', 'P163', {'concept': 'Q14660'}] ['Q191', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q14660 . VALUES ( ?a ) { ( resource:Q805 ) ( resource:Q219 ) ( resource:Q869 ) } . ?a property:P163 ?g }
flag of Mexico Flag of Indonesia Flag of Cyprus Flag of Uruguay flag of Spain flag of Paraguay flag of Brazil Flag of Georgia flag of the United Kingdom Flag of Estonia
Flag of Brazil, flag of the United Kingdom and Flag of Cyprus are associated with those administrative territories
flag of Brazil flag of the United Kingdom Flag of Cyprus
action filter_type
action find
entity prev_answer
relation flag
type flag
['Mexico', 'flag', {'concept': 'flag'}] ['Indonesia', 'flag', {'concept': 'flag'}] ['Cyprus', 'flag', {'concept': 'flag'}] ['Uruguay', 'flag', {'concept': 'flag'}] ['Spain', 'flag', {'concept': 'flag'}] ['Paraguay', 'flag', {'concept': 'flag'}] ['Brazil', 'flag', {'concept': 'flag'}] ['Georgia', 'flag', {'concept': 'flag'}] ['United Kingdom', 'flag', {'concept': 'flag'}] ['Estonia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:flag . VALUES ( ?a ) { ( resource:Yemen ) ( resource:Bulgaria ) ( resource:Thailand ) } . ?a property:flag ?g }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q82194 Q83278 Q4633
P462
Q1075
USER
What are the colors that those flags are associated with ?
(Q82194,P462,c(Q1075)) (Q83278,P462,c(Q1075)) (Q4633,P462,c(Q1075))
action filter_type
action find
entity prev_answer
relation P462
type Q1075
['Q82194', 'P462', {'concept': 'Q1075'}] ['Q83278', 'P462', {'concept': 'Q1075'}] ['Q4633', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?e WHERE { ?z property:P462 ?e . ?e rdf:type ontology:Q1075 . VALUES ( ?z ) { ( resource:Q122462 ) ( resource:Q101472 ) ( resource:Q4633 ) } }
flag of Brazil flag of the United Kingdom Flag of Cyprus
action filter_type
action find
entity prev_answer
relation color
type color
['flag of Brazil', 'color', {'concept': 'color'}] ['flag of the United Kingdom', 'color', {'concept': 'color'}] ['Flag of Cyprus', 'color', {'concept': 'color'}]
SELECT DISTINCT ?e WHERE { ?z property:color ?e . ?e rdf:type ontology:color . VALUES ( ?z ) { ( resource:flag_of_Mexico ) ( resource:Flag_of_Indonesia ) ( resource:Flag_of_Cyprus ) } }
[]
color
Q943 Q1088 Q3133
SYSTEM
yellow, blue, green
Q943 Q1088 Q3133 Q3142 Q1088 Q3133
(Q82194,P462,c(Q1075)) (Q83278,P462,c(Q1075)) (Q4633,P462,c(Q1075))
action filter_type
action find
entity prev_answer
relation P462
type Q1075
The colors that those flags are associated with are [ANSWERS]
['Q82194', 'P462', {'concept': 'Q1075'}] ['Q83278', 'P462', {'concept': 'Q1075'}] ['Q4633', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?e WHERE { ?z property:P462 ?e . ?e rdf:type ontology:Q1075 . VALUES ( ?z ) { ( resource:Q122462 ) ( resource:Q101472 ) ( resource:Q4633 ) } }
yellow blue green red blue green
The colors that those flags are associated with are yellow, blue and green
yellow blue green
action filter_type
action find
entity prev_answer
relation color
type color
['flag of Brazil', 'color', {'concept': 'color'}] ['flag of the United Kingdom', 'color', {'concept': 'color'}] ['Flag of Cyprus', 'color', {'concept': 'color'}]
SELECT DISTINCT ?e WHERE { ?z property:color ?e . ?e rdf:type ontology:color . VALUES ( ?z ) { ( resource:flag_of_Mexico ) ( resource:Flag_of_Indonesia ) ( resource:Flag_of_Cyprus ) } }
[]