Simple Question (Direct)
Simple Question
Q7336532
P21
Q290
USER
Which sex does Rita Hosking possess ?
(Q7336532,P21,c(Q290))
action filter_type
action find
entity Q7336532
relation P21
type Q290
['Q7336532', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q7336532 property:P21 ?s . ?s rdf:type ontology:Q290 }
Rita Hosking
action filter_type
action find
entity Rita Hosking
relation gender
type sex
['Rita Hosking', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Rita_Hosking property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q7336532,P21,c(Q290))
action filter_type
action find
entity Q7336532
relation P21
type Q290
Rita Hosking possesses a [ANSWER]
['Q7336532', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q7336532 property:P21 ?s . ?s rdf:type ontology:Q290 }
female
Rita Hosking possesses a female
female
action filter_type
action find
entity Rita Hosking
relation gender
type sex
['Rita Hosking', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Rita_Hosking property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7336532
P19
Q56061
USER
Which administrative territory is the birthplace of Rita Hosking ?
(Q7336532,P19,c(Q56061))
action filter_type
action find
entity Q7336532
relation P19
type Q56061
['Q7336532', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q7336532 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Rita Hosking
action filter_type
action find
entity Rita Hosking
relation place of birth
type administrative territorial entity
['Rita Hosking', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Rita_Hosking property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q668546
SYSTEM
Davis
Q668546
(Q7336532,P19,c(Q56061))
action filter_type
action find
entity Q7336532
relation P19
type Q56061
[ANSWER] is the birthplace of Rita Hosking
['Q7336532', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q7336532 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Davis
Davis is the birthplace of Rita Hosking
Davis
action filter_type
action find
entity Rita Hosking
relation place of birth
type administrative territorial entity
['Rita Hosking', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Rita_Hosking property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q668546
P1408
Q4830453
USER
Which business enterprises are licensed to broadcast to that administrative territory ?
(c(Q4830453),P1408,Q668546)
action filter_type
action find_reverse
entity Q668546
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q668546']
SELECT DISTINCT ?x WHERE { ?x property:P1408 resource:Q668546 . ?x rdf:type ontology:Q4830453 }
Davis
action filter_type
action find_reverse
entity Davis
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Davis']
SELECT DISTINCT ?x WHERE { ?x property:licensed_to_broadcast_to resource:Davis . ?x rdf:type ontology:business_enterprise }
[]
business enterprise
Q6328160 Q14682856
SYSTEM
KDVS, KXSE
Q6328160 Q14682856
(c(Q4830453),P1408,Q668546)
action filter_type
action find_reverse
entity Q668546
relation P1408
type Q4830453
[ANSWERS] are licensed to broadcast to that administrative territory
[{'concept': 'Q4830453'}, 'P1408', 'Q668546']
SELECT DISTINCT ?x WHERE { ?x property:P1408 resource:Q668546 . ?x rdf:type ontology:Q4830453 }
KDVS KXSE
KDVS and KXSE are licensed to broadcast to that administrative territory
KDVS KXSE
action filter_type
action find_reverse
entity Davis
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Davis']
SELECT DISTINCT ?x WHERE { ?x property:licensed_to_broadcast_to resource:Davis . ?x rdf:type ontology:business_enterprise }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q37836
P1408
Q5119 Q4830453
USER
Which capitals did more number of business enterprises get a license to broadcast to than Milwaukee ?
(c(Q4830453),P1408,c(Q5119))
action greater
action find_reverse_tuple_counts
relation P1408
type Q5119
type Q4830453
action count
action filter_type
action find
entity Q37836
relation P1408
type Q5119
[{'concept': 'Q4830453'}, 'P1408', {'concept': 'Q5119'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:P1408 ?r . ?r rdf:type ontology:Q5119 . ?s rdf:type ontology:Q4830453 } GROUP BY ?r } . FILTER ( ?a > ?z ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:Q37836 property:P1408 ?c . ?c rdf:type ontology:Q5119 } } }
Milwaukee
action greater
action find_reverse_tuple_counts
relation licensed to broadcast to
type capital
type business enterprise
action count
action filter_type
action find
entity Milwaukee
relation licensed to broadcast to
type capital
[{'concept': 'business enterprise'}, 'licensed to broadcast to', {'concept': 'capital'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:licensed_to_broadcast_to ?r . ?r rdf:type ontology:capital . ?s rdf:type ontology:business_enterprise } GROUP BY ?r } . FILTER ( ?a > ?z ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:Milwaukee property:licensed_to_broadcast_to ?c . ?c rdf:type ontology:capital } } }
[]
capital business enterprise
Q1342 Q18013 Q159288
SYSTEM
Pittsburgh, Sacramento, Santa Barbara
Q163132 Q234061 Q142811 Q159288 Q485708 Q236713 Q25893 Q38453 Q1342 Q39042 Q320514 Q166304 Q237896 Q18013
(c(Q4830453),P1408,c(Q5119))
action greater
action find_reverse_tuple_counts
relation P1408
type Q5119
type Q4830453
action count
action filter_type
action find
entity Q37836
relation P1408
type Q5119
[ANSWERS] more number of business enterprises got a license to broadcast to than Milwaukee
[{'concept': 'Q4830453'}, 'P1408', {'concept': 'Q5119'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:P1408 ?r . ?r rdf:type ontology:Q5119 . ?s rdf:type ontology:Q4830453 } GROUP BY ?r } . FILTER ( ?a > ?z ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:Q37836 property:P1408 ?c . ?c rdf:type ontology:Q5119 } } }
Akron Erie Allentown Santa Barbara Duluth Aberdeen Rutland Columbia Pittsburgh Cheyenne Lancaster Billings Reading Sacramento
Pittsburgh, Sacramento and Santa Barbara more number of business enterprises got a license to broadcast to than Milwaukee
Pittsburgh Sacramento Santa Barbara
action greater
action find_reverse_tuple_counts
relation licensed to broadcast to
type capital
type business enterprise
action count
action filter_type
action find
entity Milwaukee
relation licensed to broadcast to
type capital
[{'concept': 'business enterprise'}, 'licensed to broadcast to', {'concept': 'capital'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:licensed_to_broadcast_to ?r . ?r rdf:type ontology:capital . ?s rdf:type ontology:business_enterprise } GROUP BY ?r } . FILTER ( ?a > ?z ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:Milwaukee property:licensed_to_broadcast_to ?c . ?c rdf:type ontology:capital } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4298365 Q668546
P19 P190
Q515
USER
Which cities are the sister cities of Davis or were Jeanne Abdullah born at ?
OR((Q668546,P190,c(Q515)), (Q4298365,P19,c(Q515)))
action filter_type
action union
action find
entity Q668546
relation P190
action find
entity Q4298365
relation P19
type Q515
{'OR': [['Q668546', 'P190', {'concept': 'Q515'}], ['Q4298365', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q4298365 property:P19 ?y } UNION { resource:Q668546 property:P190 ?y } } . ?y rdf:type ontology:Q515 }
Jeanne Abdullah Davis
action filter_type
action union
action find
entity Davis
relation sister city
action find
entity Jeanne Abdullah
relation place of birth
type city
{'OR': [['Davis', 'sister city', {'concept': 'city'}], ['Jeanne Abdullah', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Jeanne_Abdullah property:place_of_birth ?y } UNION { resource:Davis property:sister_city ?y } } . ?y rdf:type ontology:city }
[]
city
Q55597 Q42651 Q1865
SYSTEM
Muñoz, Wuxi, Kuala Lumpur
Q55597 Q42651 Q1865
OR((Q668546,P190,c(Q515)), (Q4298365,P19,c(Q515)))
action filter_type
action union
action find
entity Q668546
relation P190
action find
entity Q4298365
relation P19
type Q515
[ANSWERS]
{'OR': [['Q668546', 'P190', {'concept': 'Q515'}], ['Q4298365', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q4298365 property:P19 ?y } UNION { resource:Q668546 property:P190 ?y } } . ?y rdf:type ontology:Q515 }
Muñoz Wuxi Kuala Lumpur
Which cities are the sister cities of Davis or were Jeanne Abdullah born at
Muñoz Wuxi Kuala Lumpur
action filter_type
action union
action find
entity Davis
relation sister city
action find
entity Jeanne Abdullah
relation place of birth
type city
{'OR': [['Davis', 'sister city', {'concept': 'city'}], ['Jeanne Abdullah', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Jeanne_Abdullah property:place_of_birth ?y } UNION { resource:Davis property:sister_city ?y } } . ?y rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q6223032
P20
Q56061
USER
How many administrative territories did John Breckinridge Castleman die ?
(Q6223032,P20,c(Q56061))
action count
action filter_type
action find
entity Q6223032
relation P20
type Q56061
['Q6223032', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Q6223032 property:P20 ?p . ?p rdf:type ontology:Q56061 }
John Breckinridge Castleman
action count
action filter_type
action find
entity John Breckinridge Castleman
relation place of death
type administrative territorial entity
['John Breckinridge Castleman', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:John_Breckinridge_Castleman property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q43668
(Q6223032,P20,c(Q56061))
action count
action filter_type
action find
entity Q6223032
relation P20
type Q56061
[ANSWER]
['Q6223032', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Q6223032 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Louisville
1
action count
action filter_type
action find
entity John Breckinridge Castleman
relation place of death
type administrative territorial entity
['John Breckinridge Castleman', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:John_Breckinridge_Castleman property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q984131
Q56061
USER
And what about Tu'i Pelehake?
(Q984131,P20,c(Q56061))
action count
action filter_type
action find
entity Q984131
relation P20
type Q56061
['Q984131', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:Q984131 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Tu'i Pelehake
action count
action filter_type
action find
entity Tu'i Pelehake
relation place of death
type administrative territorial entity
["Tu'i Pelehake", 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:Tu'i_Pelehake property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q984131,P20,c(Q56061))
action count
action filter_type
action find
entity Q984131
relation P20
type Q56061
[ANSWER]
['Q984131', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:Q984131 property:P20 ?y . ?y rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Tu'i Pelehake
relation place of death
type administrative territorial entity
["Tu'i Pelehake", 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:Tu'i_Pelehake property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q984131
P40
Q502895
USER
Which person is an offspring of that one ?
action filter_type
action find
entity Q984131
relation P40
type Q502895
SELECT DISTINCT ?d WHERE { resource:Q984131 property:P40 ?d . ?d rdf:type ontology:Q502895 }
Tu'i Pelehake
action filter_type
action find
entity Tu'i Pelehake
relation child
type common name
SELECT DISTINCT ?d WHERE { resource:Tu'i_Pelehake property:child ?d . ?d rdf:type ontology:common_name }
[]
common name
Q4540460
SYSTEM
'Elisiva Fusipala Vaha'i
Q4540460
action filter_type
action find
entity Q984131
relation P40
type Q502895
[ANSWER] is an offspring of that one
SELECT DISTINCT ?d WHERE { resource:Q984131 property:P40 ?d . ?d rdf:type ontology:Q502895 }
'Elisiva Fusipala Vaha'i
'Elisiva Fusipala Vaha'i is an offspring of that one
'Elisiva Fusipala Vaha'i
action filter_type
action find
entity Tu'i Pelehake
relation child
type common name
SELECT DISTINCT ?d WHERE { resource:Tu'i_Pelehake property:child ?d . ?d rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12968596 Q4298365
P27
Q15617994
USER
Which administrative territories do Jeanne Abdullah or Nene Tamayo belong to ?
OR((Q4298365,P27,c(Q15617994)), (Q12968596,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4298365
relation P27
action find
entity Q12968596
relation P27
type Q15617994
{'OR': [['Q4298365', 'P27', {'concept': 'Q15617994'}], ['Q12968596', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?d ) { ( resource:Q12968596 ) ( resource:Q4298365 ) } . ?d property:P27 ?p } . ?p rdf:type ontology:Q15617994 }
Nene Tamayo Jeanne Abdullah
action filter_type
action union
action find
entity Jeanne Abdullah
relation country of citizenship
action find
entity Nene Tamayo
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jeanne Abdullah', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nene Tamayo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?d ) { ( resource:Nene_Tamayo ) ( resource:Jeanne_Abdullah ) } . ?d property:country_of_citizenship ?p } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q928 Q833
SYSTEM
Philippines, Malaysia
Q928 Q833
OR((Q4298365,P27,c(Q15617994)), (Q12968596,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4298365
relation P27
action find
entity Q12968596
relation P27
type Q15617994
Jeanne Abdullah or Nene Tamayo belong to the [ANSWERS]
{'OR': [['Q4298365', 'P27', {'concept': 'Q15617994'}], ['Q12968596', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?d ) { ( resource:Q12968596 ) ( resource:Q4298365 ) } . ?d property:P27 ?p } . ?p rdf:type ontology:Q15617994 }
Philippines Malaysia
Jeanne Abdullah or Nene Tamayo belong to the Philippines and Malaysia
Philippines Malaysia
action filter_type
action union
action find
entity Jeanne Abdullah
relation country of citizenship
action find
entity Nene Tamayo
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jeanne Abdullah', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nene Tamayo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?d ) { ( resource:Nene_Tamayo ) ( resource:Jeanne_Abdullah ) } . ?d property:country_of_citizenship ?p } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2756775 Q42651
P17
Q15617994
USER
Which administrative territories are Wuxi or Chijgam situated in ?
OR((Q42651,P17,c(Q15617994)), (Q2756775,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q42651
relation P17
action find
entity Q2756775
relation P17
type Q15617994
{'OR': [['Q42651', 'P17', {'concept': 'Q15617994'}], ['Q2756775', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q42651 property:P17 ?n } UNION { resource:Q2756775 property:P17 ?n } } . ?n rdf:type ontology:Q15617994 }
Chijgam Wuxi
action filter_type
action union
action find
entity Wuxi
relation country
action find
entity Chijgam
relation country
type designation for an administrative territorial entity
{'OR': [['Wuxi', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Chijgam', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Wuxi property:country ?n } UNION { resource:Chijgam property:country ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148 Q668
SYSTEM
People's Republic of China, India
Q148 Q668
OR((Q42651,P17,c(Q15617994)), (Q2756775,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q42651
relation P17
action find
entity Q2756775
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q42651', 'P17', {'concept': 'Q15617994'}], ['Q2756775', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q42651 property:P17 ?n } UNION { resource:Q2756775 property:P17 ?n } } . ?n rdf:type ontology:Q15617994 }
People's Republic of China India
Which administrative territories are Wuxi or Chijgam situated in
People's Republic of China India
action filter_type
action union
action find
entity Wuxi
relation country
action find
entity Chijgam
relation country
type designation for an administrative territorial entity
{'OR': [['Wuxi', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Chijgam', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Wuxi property:country ?n } UNION { resource:Chijgam property:country ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q953
P530
Q15617994
USER
Are Zambia known to have diplomatic connections with those ones ?
(Q953,P530,Q148) (Q953,P530,Q668)
action is_in
entity prev_answer
action find
entity Q953
relation P530
['Q953', 'P530', 'Q148'] ['Q953', 'P530', 'Q668']
ASK WHERE { VALUES ( ?d ) { ( resource:Q148 ) ( resource:Q668 ) } . resource:Q953 property:P530 ?d }
Zambia
action is_in
entity prev_answer
action find
entity Zambia
relation diplomatic relation
['Zambia', 'diplomatic relation', "People's Republic of China"] ['Zambia', 'diplomatic relation', 'India']
ASK WHERE { VALUES ( ?d ) { ( resource:People's_Republic_of_China ) ( resource:India ) } . resource:Zambia property:diplomatic_relation ?d }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q953,P530,Q148) (Q953,P530,Q668)
action is_in
entity prev_answer
action find
entity Q953
relation P530
[ANSWER]
['Q953', 'P530', 'Q148'] ['Q953', 'P530', 'Q668']
ASK WHERE { VALUES ( ?d ) { ( resource:Q148 ) ( resource:Q668 ) } . resource:Q953 property:P530 ?d }
Yes
action is_in
entity prev_answer
action find
entity Zambia
relation diplomatic relation
['Zambia', 'diplomatic relation', "People's Republic of China"] ['Zambia', 'diplomatic relation', 'India']
ASK WHERE { VALUES ( ?d ) { ( resource:People's_Republic_of_China ) ( resource:India ) } . resource:Zambia property:diplomatic_relation ?d }
[]