Simple Question (Direct)
Simple Question
Q5079913
P241
Q781132
USER
Which military branch did Charles L. Bolte belong to ?
(Q5079913,P241,c(Q781132))
action filter_type
action find
entity Q5079913
relation P241
type Q781132
['Q5079913', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q781132 . resource:Q5079913 property:P241 ?r }
Charles L. Bolte
action filter_type
action find
entity Charles L. Bolte
relation military branch
type military branch
['Charles L. Bolte', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:military_branch . resource:Charles_L._Bolte property:military_branch ?r }
[]
military branch
Q9212
SYSTEM
United States Army
Q9212
(Q5079913,P241,c(Q781132))
action filter_type
action find
entity Q5079913
relation P241
type Q781132
Charles L. Bolte belonged to the [ANSWER]
['Q5079913', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q781132 . resource:Q5079913 property:P241 ?r }
United States Army
Charles L. Bolte belonged to the United States Army
United States Army
action filter_type
action find
entity Charles L. Bolte
relation military branch
type military branch
['Charles L. Bolte', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:military_branch . resource:Charles_L._Bolte property:military_branch ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5079913
P607
Q198
USER
What were the wars that that person took part in
(Q9212,P607,c(Q198))
action filter_type
action find
entity Q5079913
relation P607
type Q198
['Q9212', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?c WHERE { resource:Q5079913 property:P607 ?c . ?c rdf:type ontology:Q198 }
Charles L. Bolte
action filter_type
action find
entity Charles L. Bolte
relation conflict
type war
['United States Army', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?c WHERE { resource:Charles_L._Bolte property:conflict ?c . ?c rdf:type ontology:war }
[]
war
Q362 Q361
SYSTEM
World War II, World War I
Q362 Q361
(Q9212,P607,c(Q198))
action filter_type
action find
entity Q5079913
relation P607
type Q198
The wars that person took part in were between [ANSWERS]
['Q9212', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?c WHERE { resource:Q5079913 property:P607 ?c . ?c rdf:type ontology:Q198 }
World War II World War I
The wars that person took part in were between World War II and World War I
World War II World War I
action filter_type
action find
entity Charles L. Bolte
relation conflict
type war
['United States Army', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?c WHERE { resource:Charles_L._Bolte property:conflict ?c . ?c rdf:type ontology:war }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q452860 Q5079913
P19
Q56061
USER
Which administrative territories were Charles L. Bolte or Amma Darko born at ?
OR((Q5079913,P19,c(Q56061)), (Q452860,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5079913
relation P19
action find
entity Q452860
relation P19
type Q56061
{'OR': [['Q5079913', 'P19', {'concept': 'Q56061'}], ['Q452860', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?h WHERE { { ?t property:P19 ?h . VALUES ( ?t ) { ( resource:Q5079913 ) ( resource:Q452860 ) } } . ?h rdf:type ontology:Q56061 }
Amma Darko Charles L. Bolte
action filter_type
action union
action find
entity Charles L. Bolte
relation place of birth
action find
entity Amma Darko
relation place of birth
type administrative territorial entity
{'OR': [['Charles L. Bolte', 'place of birth', {'concept': 'administrative territorial entity'}], ['Amma Darko', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { ?t property:place_of_birth ?h . VALUES ( ?t ) { ( resource:Charles_L._Bolte ) ( resource:Amma_Darko ) } } . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q406358 Q1297
SYSTEM
Koforidua, Chicago
Q406358 Q1297
OR((Q5079913,P19,c(Q56061)), (Q452860,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5079913
relation P19
action find
entity Q452860
relation P19
type Q56061
[ANSWERS]
{'OR': [['Q5079913', 'P19', {'concept': 'Q56061'}], ['Q452860', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?h WHERE { { ?t property:P19 ?h . VALUES ( ?t ) { ( resource:Q5079913 ) ( resource:Q452860 ) } } . ?h rdf:type ontology:Q56061 }
Koforidua Chicago
Which administrative territories were Charles L. Bolte or Amma Darko born at
Koforidua Chicago
action filter_type
action union
action find
entity Charles L. Bolte
relation place of birth
action find
entity Amma Darko
relation place of birth
type administrative territorial entity
{'OR': [['Charles L. Bolte', 'place of birth', {'concept': 'administrative territorial entity'}], ['Amma Darko', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { ?t property:place_of_birth ?h . VALUES ( ?t ) { ( resource:Charles_L._Bolte ) ( resource:Amma_Darko ) } } . ?h rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P607
Q198 Q2235308 Q502895
USER
Which wars were atleast 18433 ship types or people a part of ?
(c(Q2235308)|c(Q502895),P607,c(Q198))
action atleast
action union
action find_reverse_tuple_counts
relation P607
type Q198
type Q2235308
action find_reverse_tuple_counts
relation P607
type Q198
type Q502895
value 18433
[[{'concept': 'Q2235308'}, {'concept': 'Q502895'}], 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) ?h WHERE { { ?h rdf:type ontology:Q198 . ?n rdf:type ontology:Q2235308 . ?n property:P607 ?h } UNION { ?n property:P607 ?h . ?n rdf:type ontology:Q502895 . ?h rdf:type ontology:Q198 } } GROUP BY ?h } . FILTER ( ?t >= 18433 ) }
action atleast
action union
action find_reverse_tuple_counts
relation conflict
type war
type ship type
action find_reverse_tuple_counts
relation conflict
type war
type common name
value 18433
[[{'concept': 'ship type'}, {'concept': 'common name'}], 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) ?h WHERE { { ?h rdf:type ontology:war . ?n rdf:type ontology:ship_type . ?n property:conflict ?h } UNION { ?n property:conflict ?h . ?n rdf:type ontology:common_name . ?h rdf:type ontology:war } } GROUP BY ?h } . FILTER ( ?t >= 18433 ) }
[]
war ship type common name
Q362 Q361
SYSTEM
World War II, World War I
Q362 Q361
(c(Q2235308)|c(Q502895),P607,c(Q198))
action atleast
action union
action find_reverse_tuple_counts
relation P607
type Q198
type Q2235308
action find_reverse_tuple_counts
relation P607
type Q198
type Q502895
value 18433
[ANSWERS] were atleast 18433 ship types or people a part of
[[{'concept': 'Q2235308'}, {'concept': 'Q502895'}], 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) ?h WHERE { { ?h rdf:type ontology:Q198 . ?n rdf:type ontology:Q2235308 . ?n property:P607 ?h } UNION { ?n property:P607 ?h . ?n rdf:type ontology:Q502895 . ?h rdf:type ontology:Q198 } } GROUP BY ?h } . FILTER ( ?t >= 18433 ) }
World War II World War I
World War II and World War I were atleast 18433 ship types or people a part of
World War II World War I
action atleast
action union
action find_reverse_tuple_counts
relation conflict
type war
type ship type
action find_reverse_tuple_counts
relation conflict
type war
type common name
value 18433
[[{'concept': 'ship type'}, {'concept': 'common name'}], 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) ?h WHERE { { ?h rdf:type ontology:war . ?n rdf:type ontology:ship_type . ?n property:conflict ?h } UNION { ?n property:conflict ?h . ?n rdf:type ontology:common_name . ?h rdf:type ontology:war } } GROUP BY ?h } . FILTER ( ?t >= 18433 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q23771385
P607
Q502895
USER
Did those wars fight in Joshua Callan ?
(Q23771385,P607,Q362) (Q23771385,P607,Q361)
action is_in
entity prev_answer
action find
entity Q23771385
relation P607
['Q23771385', 'P607', 'Q362'] ['Q23771385', 'P607', 'Q361']
ASK WHERE { resource:Q23771385 property:P607 ?b . VALUES ( ?b ) { ( resource:Q362 ) ( resource:Q361 ) } }
Joshua Callan
action is_in
entity prev_answer
action find
entity Joshua Callan
relation conflict
['Joshua Callan', 'conflict', 'World War II'] ['Joshua Callan', 'conflict', 'World War I']
ASK WHERE { resource:Joshua_Callan property:conflict ?b . VALUES ( ?b ) { ( resource:World_War_II ) ( resource:World_War_I ) } }
[]
common name
SYSTEM
NO
(Q23771385,P607,Q362) (Q23771385,P607,Q361)
action is_in
entity prev_answer
action find
entity Q23771385
relation P607
[ANSWER]
['Q23771385', 'P607', 'Q362'] ['Q23771385', 'P607', 'Q361']
ASK WHERE { resource:Q23771385 property:P607 ?b . VALUES ( ?b ) { ( resource:Q362 ) ( resource:Q361 ) } }
No
action is_in
entity prev_answer
action find
entity Joshua Callan
relation conflict
['Joshua Callan', 'conflict', 'World War II'] ['Joshua Callan', 'conflict', 'World War I']
ASK WHERE { resource:Joshua_Callan property:conflict ?b . VALUES ( ?b ) { ( resource:World_War_II ) ( resource:World_War_I ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q452860
P1412
Q34770
USER
Which language is Amma Darko capable of writing ?
(Q452860,P1412,c(Q34770))
action filter_type
action find
entity Q452860
relation P1412
type Q34770
['Q452860', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q452860 property:P1412 ?j . ?j rdf:type ontology:Q34770 }
Amma Darko
action filter_type
action find
entity Amma Darko
relation languages spoken, written or signed
type language
['Amma Darko', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Amma_Darko property:languages_spoken,_written_or_signed ?j . ?j rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q452860,P1412,c(Q34770))
action filter_type
action find
entity Q452860
relation P1412
type Q34770
[ANSWER] is Amma Darko capable of writing
['Q452860', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q452860 property:P1412 ?j . ?j rdf:type ontology:Q34770 }
English
English is Amma Darko capable of writing
English
action filter_type
action find
entity Amma Darko
relation languages spoken, written or signed
type language
['Amma Darko', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Amma_Darko property:languages_spoken,_written_or_signed ?j . ?j rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q452860
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q1860,P27,c(Q15617994))
action filter_type
action find
entity Q452860
relation P27
type Q15617994
['Q1860', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q452860 property:P27 ?h }
Amma Darko
action filter_type
action find
entity Amma Darko
relation country of citizenship
type designation for an administrative territorial entity
['English', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Amma_Darko property:country_of_citizenship ?h }
[]
designation for an administrative territorial entity
Q117
SYSTEM
Ghana
Q117
(Q1860,P27,c(Q15617994))
action filter_type
action find
entity Q452860
relation P27
type Q15617994
To [ANSWER] is the country of citizenship of that person
['Q1860', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q452860 property:P27 ?h }
Ghana
To Ghana is the country of citizenship of that person
Ghana
action filter_type
action find
entity Amma Darko
relation country of citizenship
type designation for an administrative territorial entity
['English', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Amma_Darko property:country_of_citizenship ?h }
[]