Simple Question (Direct)
Simple Question
Q1054522
P21
Q290
USER
Which sex does Alessandro Tuia possess ?
(Q1054522,P21,c(Q290))
action filter_type
action find
entity Q1054522
relation P21
type Q290
['Q1054522', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1054522 property:P21 ?n . ?n rdf:type ontology:Q290 }
Alessandro Tuia
action filter_type
action find
entity Alessandro Tuia
relation gender
type sex
['Alessandro Tuia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Alessandro_Tuia property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1054522,P21,c(Q290))
action filter_type
action find
entity Q1054522
relation P21
type Q290
Alessandro Tuia possesses un [ANSWER]
['Q1054522', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1054522 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
Alessandro Tuia possesses un male
male
action filter_type
action find
entity Alessandro Tuia
relation gender
type sex
['Alessandro Tuia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Alessandro_Tuia property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1054522
P19
Q15617994
USER
Which administrative territory was that person born at ?
(Q6581097,P19,c(Q15617994))
action filter_type
action find
entity Q1054522
relation P19
type Q15617994
['Q6581097', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q1054522 property:P19 ?z . ?z rdf:type ontology:Q15617994 }
Alessandro Tuia
action filter_type
action find
entity Alessandro Tuia
relation place of birth
type designation for an administrative territorial entity
['male', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Alessandro_Tuia property:place_of_birth ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q160954
SYSTEM
Civita Castellana
Q160954
(Q6581097,P19,c(Q15617994))
action filter_type
action find
entity Q1054522
relation P19
type Q15617994
That person was born in [ANSWER]
['Q6581097', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q1054522 property:P19 ?z . ?z rdf:type ontology:Q15617994 }
Civita Castellana
That person was born in Civita Castellana
Civita Castellana
action filter_type
action find
entity Alessandro Tuia
relation place of birth
type designation for an administrative territorial entity
['male', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Alessandro_Tuia property:place_of_birth ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q160954 Q243182
P47
Q15617994
USER
Does Ponzano Romano share border with Civita Castellana ?
(Q160954,P47,Q243182)
action is_in
entity Q243182
action find
entity Q160954
relation P47
['Q160954', 'P47', 'Q243182']
ASK WHERE { resource:Q160954 property:P47 resource:Q243182 }
Civita Castellana Ponzano Romano
action is_in
entity Ponzano Romano
action find
entity Civita Castellana
relation shares border with
['Civita Castellana', 'shares border with', 'Ponzano Romano']
ASK WHERE { resource:Civita_Castellana property:shares_border_with resource:Ponzano_Romano }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q160954,P47,Q243182)
action is_in
entity Q243182
action find
entity Q160954
relation P47
[ANSWER]
['Q160954', 'P47', 'Q243182']
ASK WHERE { resource:Q160954 property:P47 resource:Q243182 }
Yes
action is_in
entity Ponzano Romano
action find
entity Civita Castellana
relation shares border with
['Civita Castellana', 'shares border with', 'Ponzano Romano']
ASK WHERE { resource:Civita_Castellana property:shares_border_with resource:Ponzano_Romano }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1054522 Q4925499
P27
Q15617994
USER
Is Alessandro Tuia a civilian of Blatchbridge ?
(Q1054522,P27,Q4925499)
action is_in
entity Q4925499
action find
entity Q1054522
relation P27
['Q1054522', 'P27', 'Q4925499']
ASK WHERE { resource:Q1054522 property:P27 resource:Q4925499 }
Alessandro Tuia Blatchbridge
action is_in
entity Blatchbridge
action find
entity Alessandro Tuia
relation country of citizenship
['Alessandro Tuia', 'country of citizenship', 'Blatchbridge']
ASK WHERE { resource:Alessandro_Tuia property:country_of_citizenship resource:Blatchbridge }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1054522,P27,Q4925499)
action is_in
entity Q4925499
action find
entity Q1054522
relation P27
[ANSWER]
['Q1054522', 'P27', 'Q4925499']
ASK WHERE { resource:Q1054522 property:P27 resource:Q4925499 }
No
action is_in
entity Blatchbridge
action find
entity Alessandro Tuia
relation country of citizenship
['Alessandro Tuia', 'country of citizenship', 'Blatchbridge']
ASK WHERE { resource:Alessandro_Tuia property:country_of_citizenship resource:Blatchbridge }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q15617994 Q56061 Q486972
USER
Which administrative territories have exactly 2 administrative territories or human settlements as their county seat ?
(c(Q56061)|c(Q486972),P1376,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
value 2
[[{'concept': 'Q56061'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?w ) WHERE { { ?a property:P1376 ?q . ?a rdf:type ontology:Q56061 . ?q rdf:type ontology:Q15617994 } UNION { ?a property:P1376 ?q . ?q rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q486972 } } GROUP BY ?q } . FILTER ( ?w = 2 ) }
action equal
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
value 2
[[{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?w ) WHERE { { ?a property:capital_of ?q . ?a rdf:type ontology:administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?a property:capital_of ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:human_settlement } } GROUP BY ?q } . FILTER ( ?w = 2 ) }
[]
designation for an administrative territorial entity administrative territorial entity human settlement
Q38 Q30 Q805
SYSTEM
Italy, United States of America, Yemen
Q805 Q258 Q1020 Q41 Q30 Q38 Q199688 Q517333
(c(Q56061)|c(Q486972),P1376,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
value 2
[ANSWERS] have exactly 2 administrative territories or human settlements as their county seat
[[{'concept': 'Q56061'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?w ) WHERE { { ?a property:P1376 ?q . ?a rdf:type ontology:Q56061 . ?q rdf:type ontology:Q15617994 } UNION { ?a property:P1376 ?q . ?q rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q486972 } } GROUP BY ?q } . FILTER ( ?w = 2 ) }
Yemen South Africa Malawi Greece United States of America Italy Almohad Principality of Polotsk
Italy, United States of America and Yemen have exactly 2 administrative territories or human settlements as their county seat
Italy United States of America Yemen
action equal
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
value 2
[[{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?w ) WHERE { { ?a property:capital_of ?q . ?a rdf:type ontology:administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?a property:capital_of ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:human_settlement } } GROUP BY ?q } . FILTER ( ?w = 2 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q801
P530
Q15617994
USER
Do Israel have ambassadorial relations with those ones ?
(Q801,P530,Q38) (Q801,P530,Q30) (Q801,P530,Q805)
action is_in
entity prev_answer
action find
entity Q801
relation P530
['Q801', 'P530', 'Q38'] ['Q801', 'P530', 'Q30'] ['Q801', 'P530', 'Q805']
ASK WHERE { resource:Q801 property:P530 ?d . VALUES ( ?d ) { ( resource:Q805 ) ( resource:Q258 ) ( resource:Q1020 ) } }
Israel
action is_in
entity prev_answer
action find
entity Israel
relation diplomatic relation
['Israel', 'diplomatic relation', 'Italy'] ['Israel', 'diplomatic relation', 'United States of America'] ['Israel', 'diplomatic relation', 'Yemen']
ASK WHERE { resource:Israel property:diplomatic_relation ?d . VALUES ( ?d ) { ( resource:Yemen ) ( resource:South_Africa ) ( resource:Malawi ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q801,P530,Q38) (Q801,P530,Q30) (Q801,P530,Q805)
action is_in
entity prev_answer
action find
entity Q801
relation P530
[ANSWER]
['Q801', 'P530', 'Q38'] ['Q801', 'P530', 'Q30'] ['Q801', 'P530', 'Q805']
ASK WHERE { resource:Q801 property:P530 ?d . VALUES ( ?d ) { ( resource:Q805 ) ( resource:Q258 ) ( resource:Q1020 ) } }
Yes
action is_in
entity prev_answer
action find
entity Israel
relation diplomatic relation
['Israel', 'diplomatic relation', 'Italy'] ['Israel', 'diplomatic relation', 'United States of America'] ['Israel', 'diplomatic relation', 'Yemen']
ASK WHERE { resource:Israel property:diplomatic_relation ?d . VALUES ( ?d ) { ( resource:Yemen ) ( resource:South_Africa ) ( resource:Malawi ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q805
P137
Q2424752
USER
Which product was operated by Yemen ?
(c(Q2424752),P137,Q805)
action filter_type
action find_reverse
entity Q805
relation P137
type Q2424752
[{'concept': 'Q2424752'}, 'P137', 'Q805']
SELECT DISTINCT ?i WHERE { ?i property:P137 resource:Q805 . ?i rdf:type ontology:Q2424752 }
Yemen
action filter_type
action find_reverse
entity Yemen
relation operator
type product
[{'concept': 'product'}, 'operator', 'Yemen']
SELECT DISTINCT ?i WHERE { ?i property:operator resource:Yemen . ?i rdf:type ontology:product }
[]
product
Q19915011
SYSTEM
Il-76TD
Q19915011
(c(Q2424752),P137,Q805)
action filter_type
action find_reverse
entity Q805
relation P137
type Q2424752
[ANSWER] was operated by Yemen
[{'concept': 'Q2424752'}, 'P137', 'Q805']
SELECT DISTINCT ?i WHERE { ?i property:P137 resource:Q805 . ?i rdf:type ontology:Q2424752 }
Il-76TD
Il-76TD was operated by Yemen
Il-76TD
action filter_type
action find_reverse
entity Yemen
relation operator
type product
[{'concept': 'product'}, 'operator', 'Yemen']
SELECT DISTINCT ?i WHERE { ?i property:operator resource:Yemen . ?i rdf:type ontology:product }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19915011
P121
Q1875621
USER
Which aircraft class operates that product ?
(c(Q1875621),P121,Q19915011)
action filter_type
action find_reverse
entity Q19915011
relation P121
type Q1875621
[{'concept': 'Q1875621'}, 'P121', 'Q19915011']
SELECT DISTINCT ?i WHERE { ?i property:P121 resource:Q19915011 . ?i rdf:type ontology:Q1875621 }
Il-76TD
action filter_type
action find_reverse
entity Il-76TD
relation item operated
type aircraft class
[{'concept': 'aircraft class'}, 'item operated', 'Il-76TD']
SELECT DISTINCT ?i WHERE { ?i property:item_operated resource:Il-76TD . ?i rdf:type ontology:aircraft_class }
[]
aircraft class
Q19915025
SYSTEM
Il-76 in Yemeni service
Q19915025
(c(Q1875621),P121,Q19915011)
action filter_type
action find_reverse
entity Q19915011
relation P121
type Q1875621
[ANSWER] operates that product
[{'concept': 'Q1875621'}, 'P121', 'Q19915011']
SELECT DISTINCT ?i WHERE { ?i property:P121 resource:Q19915011 . ?i rdf:type ontology:Q1875621 }
Il-76 in Yemeni service
Il-76 in Yemeni service operates that product
Il-76 in Yemeni service
action filter_type
action find_reverse
entity Il-76TD
relation item operated
type aircraft class
[{'concept': 'aircraft class'}, 'item operated', 'Il-76TD']
SELECT DISTINCT ?i WHERE { ?i property:item_operated resource:Il-76TD . ?i rdf:type ontology:aircraft_class }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q19915025 Q805
P17
Q15617994
USER
Does that aircraft class belong to Yemen ?
(Q19915025,P17,Q805)
action is_in
entity Q805
action find
entity Q19915025
relation P17
['Q19915025', 'P17', 'Q805']
ASK WHERE { resource:Q19915025 property:P17 resource:Q805 }
Il-76 in Yemeni service Yemen
action is_in
entity Yemen
action find
entity Il-76 in Yemeni service
relation country
['Il-76 in Yemeni service', 'country', 'Yemen']
ASK WHERE { resource:Il-76_in_Yemeni_service property:country resource:Yemen }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q19915025,P17,Q805)
action is_in
entity Q805
action find
entity Q19915025
relation P17
[ANSWER]
['Q19915025', 'P17', 'Q805']
ASK WHERE { resource:Q19915025 property:P17 resource:Q805 }
Yes
action is_in
entity Yemen
action find
entity Il-76 in Yemeni service
relation country
['Il-76 in Yemeni service', 'country', 'Yemen']
ASK WHERE { resource:Il-76_in_Yemeni_service property:country resource:Yemen }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q30 Q12325
P6
Q502895
USER
Is James Buchanan the head of the government of United States of America ?
(Q30,P6,Q12325)
action is_in
entity Q12325
action find
entity Q30
relation P6
['Q30', 'P6', 'Q12325']
ASK WHERE { resource:Q30 property:P6 resource:Q12325 }
United States of America James Buchanan
action is_in
entity James Buchanan
action find
entity United States of America
relation head of government
['United States of America', 'head of government', 'James Buchanan']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:James_Buchanan }
[]
common name
SYSTEM
YES
(Q30,P6,Q12325)
action is_in
entity Q12325
action find
entity Q30
relation P6
[ANSWER]
['Q30', 'P6', 'Q12325']
ASK WHERE { resource:Q30 property:P6 resource:Q12325 }
Yes
action is_in
entity James Buchanan
action find
entity United States of America
relation head of government
['United States of America', 'head of government', 'James Buchanan']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:James_Buchanan }
[]