Simple Question (Direct)
Simple Question
Q18710275
P551
Q515
USER
Where did Kenneth Riley live ?
(Q18710275,P551,c(Q515))
action filter_type
action find
entity Q18710275
relation P551
type Q515
['Q18710275', 'P551', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q515 . resource:Q18710275 property:P551 ?y }
Kenneth Riley
action filter_type
action find
entity Kenneth Riley
relation residence
type city
['Kenneth Riley', 'residence', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:city . resource:Kenneth_Riley property:residence ?y }
[]
city
Q18575
SYSTEM
Tucson
Q18575
(Q18710275,P551,c(Q515))
action filter_type
action find
entity Q18710275
relation P551
type Q515
Kenneth Riley lived in [ANSWER]
['Q18710275', 'P551', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q515 . resource:Q18710275 property:P551 ?y }
Tucson
Kenneth Riley lived in Tucson
Tucson
action filter_type
action find
entity Kenneth Riley
relation residence
type city
['Kenneth Riley', 'residence', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:city . resource:Kenneth_Riley property:residence ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18575
P190
Q15617994
USER
Which administrative territory is sister town of that city ?
(Q18575,P190,c(Q15617994))
action filter_type
action find
entity Q18575
relation P190
type Q15617994
['Q18575', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q18575 property:P190 ?f }
Tucson
action filter_type
action find
entity Tucson
relation sister city
type designation for an administrative territorial entity
['Tucson', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Tucson property:sister_city ?f }
[]
designation for an administrative territorial entity
Q82670
SYSTEM
Fiesole
Q82670
(Q18575,P190,c(Q15617994))
action filter_type
action find
entity Q18575
relation P190
type Q15617994
[ANSWER] is sister town of that city
['Q18575', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q18575 property:P190 ?f }
Fiesole
Fiesole is sister town of that city
Fiesole
action filter_type
action find
entity Tucson
relation sister city
type designation for an administrative territorial entity
['Tucson', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Tucson property:sister_city ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18575
P127
Q811430
USER
Which construction is under posessision of Tucson ?
(c(Q811430),P127,Q18575)
action filter_type
action find_reverse
entity Q18575
relation P127
type Q811430
[{'concept': 'Q811430'}, 'P127', 'Q18575']
SELECT DISTINCT ?o WHERE { ?o property:P127 resource:Q18575 . ?o rdf:type ontology:Q811430 }
Tucson
action filter_type
action find_reverse
entity Tucson
relation owned by
type construction
[{'concept': 'construction'}, 'owned by', 'Tucson']
SELECT DISTINCT ?o WHERE { ?o property:owned_by resource:Tucson . ?o rdf:type ontology:construction }
[]
construction
Q21016286
SYSTEM
Tucson House
Q21016286
(c(Q811430),P127,Q18575)
action filter_type
action find_reverse
entity Q18575
relation P127
type Q811430
[ANSWER] is under posessision of Tucson
[{'concept': 'Q811430'}, 'P127', 'Q18575']
SELECT DISTINCT ?o WHERE { ?o property:P127 resource:Q18575 . ?o rdf:type ontology:Q811430 }
Tucson House
Tucson House is under posessision of Tucson
Tucson House
action filter_type
action find_reverse
entity Tucson
relation owned by
type construction
[{'concept': 'construction'}, 'owned by', 'Tucson']
SELECT DISTINCT ?o WHERE { ?o property:owned_by resource:Tucson . ?o rdf:type ontology:construction }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q82670
P47
Q15617994
USER
Which administrative territories are adjacent to Fiesole ?
(Q82670,P47,c(Q15617994))
action filter_type
action find
entity Q82670
relation P47
type Q15617994
['Q82670', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q82670 property:P47 ?j . ?j rdf:type ontology:Q15617994 }
Fiesole
action filter_type
action find
entity Fiesole
relation shares border with
type designation for an administrative territorial entity
['Fiesole', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Fiesole property:shares_border_with ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q82612 Q82865 Q82791
SYSTEM
Bagno a Ripoli, Sesto Fiorentino, Pontassieve
Q82612 Q82865 Q82791
(Q82670,P47,c(Q15617994))
action filter_type
action find
entity Q82670
relation P47
type Q15617994
[ANSWERS] are adjacent to Fiesole
['Q82670', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q82670 property:P47 ?j . ?j rdf:type ontology:Q15617994 }
Bagno a Ripoli Sesto Fiorentino Pontassieve
Bagno a Ripoli, Sesto Fiorentino and Pontassieve are adjacent to Fiesole
Bagno a Ripoli Sesto Fiorentino Pontassieve
action filter_type
action find
entity Fiesole
relation shares border with
type designation for an administrative territorial entity
['Fiesole', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Fiesole property:shares_border_with ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q82612 Q82865 Q82791
P47
Q56061
USER
Which administrative territories have an adjacent border with those administrative territories ?
(c(Q56061),P47,Q82612) (c(Q56061),P47,Q82865) (c(Q56061),P47,Q82791)
action filter_type
action find
entity prev_answer
relation P47
type Q56061
[{'concept': 'Q56061'}, 'P47', 'Q82612'] [{'concept': 'Q56061'}, 'P47', 'Q82865'] [{'concept': 'Q56061'}, 'P47', 'Q82791']
SELECT DISTINCT ?c WHERE { ?m property:P47 ?c . VALUES ( ?m ) { ( resource:Q82612 ) ( resource:Q82865 ) ( resource:Q82791 ) } . ?c rdf:type ontology:Q56061 }
Bagno a Ripoli Sesto Fiorentino Pontassieve
action filter_type
action find
entity prev_answer
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Bagno a Ripoli'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Sesto Fiorentino'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Pontassieve']
SELECT DISTINCT ?c WHERE { ?m property:shares_border_with ?c . VALUES ( ?m ) { ( resource:Bagno_a_Ripoli ) ( resource:Sesto_Fiorentino ) ( resource:Pontassieve ) } . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2044 Q2044 Q82619
SYSTEM
Borgo San Lorenzo for 3rd, Florence for 1st, 2nd
Q2044 Q82876 Q2044 Q82880 Q82619
(c(Q56061),P47,Q82612) (c(Q56061),P47,Q82865) (c(Q56061),P47,Q82791)
action filter_type
action find
entity prev_answer
relation P47
type Q56061
[ANSWERS]
[{'concept': 'Q56061'}, 'P47', 'Q82612'] [{'concept': 'Q56061'}, 'P47', 'Q82865'] [{'concept': 'Q56061'}, 'P47', 'Q82791']
SELECT DISTINCT ?c WHERE { ?m property:P47 ?c . VALUES ( ?m ) { ( resource:Q82612 ) ( resource:Q82865 ) ( resource:Q82791 ) } . ?c rdf:type ontology:Q56061 }
Florence Vaglia Florence Vicchio Borgo San Lorenzo
Florence, Florence and Borgo San Lorenzo have an adjacent border with those administrative territories
Florence Florence Borgo San Lorenzo
action filter_type
action find
entity prev_answer
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Bagno a Ripoli'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Sesto Fiorentino'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Pontassieve']
SELECT DISTINCT ?c WHERE { ?m property:shares_border_with ?c . VALUES ( ?m ) { ( resource:Bagno_a_Ripoli ) ( resource:Sesto_Fiorentino ) ( resource:Pontassieve ) } . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q82865
P17
Q15617994
USER
Which administrative territory is Sesto Fiorentino present in ?
(Q82865,P17,c(Q15617994))
action filter_type
action find
entity Q82865
relation P17
type Q15617994
['Q82865', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q82865 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Sesto Fiorentino
action filter_type
action find
entity Sesto Fiorentino
relation country
type designation for an administrative territorial entity
['Sesto Fiorentino', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Sesto_Fiorentino property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q82865,P17,c(Q15617994))
action filter_type
action find
entity Q82865
relation P17
type Q15617994
Sesto Fiorentino is from [ANSWER]
['Q82865', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q82865 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Italy
Sesto Fiorentino is from Italy
Italy
action filter_type
action find
entity Sesto Fiorentino
relation country
type designation for an administrative territorial entity
['Sesto Fiorentino', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Sesto_Fiorentino property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6336881
Q15617994
USER
And how about KRMN-LP?
(Q6336881,P17,c(Q15617994))
action filter_type
action find
entity Q6336881
relation P17
type Q15617994
['Q6336881', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q6336881 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
KRMN-LP
action filter_type
action find
entity KRMN-LP
relation country
type designation for an administrative territorial entity
['KRMN-LP', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:KRMN-LP property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q6336881,P17,c(Q15617994))
action filter_type
action find
entity Q6336881
relation P17
type Q15617994
[ANSWER]
['Q6336881', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q6336881 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity KRMN-LP
relation country
type designation for an administrative territorial entity
['KRMN-LP', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:KRMN-LP property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q30 Q889 Q316758
P530
Q15617994
USER
Does United States of America have ambassadorial relations with Afghanistan and Delkenheim ?
(Q30,P530,Q889) (Q30,P530,Q316758)
action is_in
entity Q30
action intersection
action find_reverse
entity Q889
relation P530
action find_reverse
entity Q316758
relation P530
['Q30', 'P530', 'Q889'] ['Q30', 'P530', 'Q316758']
ASK WHERE { resource:Q30 property:P530 resource:Q889 . resource:Q30 property:P530 resource:Q316758 }
United States of America Afghanistan Delkenheim
action is_in
entity United States of America
action intersection
action find_reverse
entity Afghanistan
relation diplomatic relation
action find_reverse
entity Delkenheim
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Afghanistan'] ['United States of America', 'diplomatic relation', 'Delkenheim']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Afghanistan . resource:United_States_of_America property:diplomatic_relation resource:Delkenheim }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q30,P530,Q889) (Q30,P530,Q316758)
action is_in
entity Q30
action intersection
action find_reverse
entity Q889
relation P530
action find_reverse
entity Q316758
relation P530
[ANSWER]
['Q30', 'P530', 'Q889'] ['Q30', 'P530', 'Q316758']
ASK WHERE { resource:Q30 property:P530 resource:Q889 . resource:Q30 property:P530 resource:Q316758 }
YES and NO respectively
action is_in
entity United States of America
action intersection
action find_reverse
entity Afghanistan
relation diplomatic relation
action find_reverse
entity Delkenheim
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Afghanistan'] ['United States of America', 'diplomatic relation', 'Delkenheim']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Afghanistan . resource:United_States_of_America property:diplomatic_relation resource:Delkenheim }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q18575 Q5829115 Q3110920
P190
Q56061
USER
Is Tucson twin town of Shurab, Darzab and Ustikolina ?
(Q18575,P190,Q5829115) (Q18575,P190,Q3110920)
action is_in
entity Q18575
action intersection
action find_reverse
entity Q5829115
relation P190
action find_reverse
entity Q3110920
relation P190
['Q18575', 'P190', 'Q5829115'] ['Q18575', 'P190', 'Q3110920']
ASK WHERE { resource:Q18575 property:P190 resource:Q5829115 . resource:Q18575 property:P190 resource:Q3110920 }
Tucson Shurab, Darzab Ustikolina
action is_in
entity Tucson
action intersection
action find_reverse
entity Shurab, Darzab
relation sister city
action find_reverse
entity Ustikolina
relation sister city
['Tucson', 'sister city', 'Shurab, Darzab'] ['Tucson', 'sister city', 'Ustikolina']
ASK WHERE { resource:Tucson property:sister_city resource:Shurab,_Darzab . resource:Tucson property:sister_city resource:Ustikolina }
[]
administrative territorial entity
SYSTEM
NO
(Q18575,P190,Q5829115) (Q18575,P190,Q3110920)
action is_in
entity Q18575
action intersection
action find_reverse
entity Q5829115
relation P190
action find_reverse
entity Q3110920
relation P190
[ANSWER]
['Q18575', 'P190', 'Q5829115'] ['Q18575', 'P190', 'Q3110920']
ASK WHERE { resource:Q18575 property:P190 resource:Q5829115 . resource:Q18575 property:P190 resource:Q3110920 }
No
action is_in
entity Tucson
action intersection
action find_reverse
entity Shurab, Darzab
relation sister city
action find_reverse
entity Ustikolina
relation sister city
['Tucson', 'sister city', 'Shurab, Darzab'] ['Tucson', 'sister city', 'Ustikolina']
ASK WHERE { resource:Tucson property:sister_city resource:Shurab,_Darzab . resource:Tucson property:sister_city resource:Ustikolina }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q82791 Q646456
P47
Q15617994
USER
Is Schoden adjacent to Pontassieve ?
(Q82791,P47,Q646456)
action is_in
entity Q646456
action find
entity Q82791
relation P47
['Q82791', 'P47', 'Q646456']
ASK WHERE { resource:Q82791 property:P47 resource:Q646456 }
Pontassieve Schoden
action is_in
entity Schoden
action find
entity Pontassieve
relation shares border with
['Pontassieve', 'shares border with', 'Schoden']
ASK WHERE { resource:Pontassieve property:shares_border_with resource:Schoden }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q82791,P47,Q646456)
action is_in
entity Q646456
action find
entity Q82791
relation P47
[ANSWER]
['Q82791', 'P47', 'Q646456']
ASK WHERE { resource:Q82791 property:P47 resource:Q646456 }
No
action is_in
entity Schoden
action find
entity Pontassieve
relation shares border with
['Pontassieve', 'shares border with', 'Schoden']
ASK WHERE { resource:Pontassieve property:shares_border_with resource:Schoden }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5816346 Q18575
P17
Q15617994
USER
Which administrative territories are Tucson or Hesar-e Yazdan situated in ?
OR((Q18575,P17,c(Q15617994)), (Q5816346,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18575
relation P17
action find
entity Q5816346
relation P17
type Q15617994
{'OR': [['Q18575', 'P17', {'concept': 'Q15617994'}], ['Q5816346', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?h ) { ( resource:Q18575 ) ( resource:Q5816346 ) } . ?h property:P17 ?f } . ?f rdf:type ontology:Q15617994 }
Hesar-e Yazdan Tucson
action filter_type
action union
action find
entity Tucson
relation country
action find
entity Hesar-e Yazdan
relation country
type designation for an administrative territorial entity
{'OR': [['Tucson', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Hesar-e Yazdan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?h ) { ( resource:Tucson ) ( resource:Hesar-e_Yazdan ) } . ?h property:country ?f } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q794
SYSTEM
United States of America, Iran
Q30 Q794
OR((Q18575,P17,c(Q15617994)), (Q5816346,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18575
relation P17
action find
entity Q5816346
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q18575', 'P17', {'concept': 'Q15617994'}], ['Q5816346', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?h ) { ( resource:Q18575 ) ( resource:Q5816346 ) } . ?h property:P17 ?f } . ?f rdf:type ontology:Q15617994 }
United States of America Iran
Which administrative territories are Tucson or Hesar-e Yazdan situated in
United States of America Iran
action filter_type
action union
action find
entity Tucson
relation country
action find
entity Hesar-e Yazdan
relation country
type designation for an administrative territorial entity
{'OR': [['Tucson', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Hesar-e Yazdan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?h ) { ( resource:Tucson ) ( resource:Hesar-e_Yazdan ) } . ?h property:country ?f } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7182304
P27
Q502895
USER
Are Phil R. White a citizen of those administrative territories ?
(Q7182304,P27,Q30) (Q7182304,P27,Q794)
action is_in
entity prev_answer
action find
entity Q7182304
relation P27
['Q7182304', 'P27', 'Q30'] ['Q7182304', 'P27', 'Q794']
ASK WHERE { VALUES ( ?c ) { ( resource:Q30 ) ( resource:Q794 ) } . resource:Q7182304 property:P27 ?c }
Phil R. White
action is_in
entity prev_answer
action find
entity Phil R. White
relation country of citizenship
['Phil R. White', 'country of citizenship', 'United States of America'] ['Phil R. White', 'country of citizenship', 'Iran']
ASK WHERE { VALUES ( ?c ) { ( resource:United_States_of_America ) ( resource:Iran ) } . resource:Phil_R._White property:country_of_citizenship ?c }
[]
common name
SYSTEM
NO
(Q7182304,P27,Q30) (Q7182304,P27,Q794)
action is_in
entity prev_answer
action find
entity Q7182304
relation P27
[ANSWER]
['Q7182304', 'P27', 'Q30'] ['Q7182304', 'P27', 'Q794']
ASK WHERE { VALUES ( ?c ) { ( resource:Q30 ) ( resource:Q794 ) } . resource:Q7182304 property:P27 ?c }
No
action is_in
entity prev_answer
action find
entity Phil R. White
relation country of citizenship
['Phil R. White', 'country of citizenship', 'United States of America'] ['Phil R. White', 'country of citizenship', 'Iran']
ASK WHERE { VALUES ( ?c ) { ( resource:United_States_of_America ) ( resource:Iran ) } . resource:Phil_R._White property:country_of_citizenship ?c }
[]