Simple Question (Direct)
Simple Question
Q5541425
P241
Q781132
USER
Which military branch did George Krause belong to ?
(Q5541425,P241,c(Q781132))
action filter_type
action find
entity Q5541425
relation P241
type Q781132
['Q5541425', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q781132 . resource:Q5541425 property:P241 ?q }
George Krause
action filter_type
action find
entity George Krause
relation military branch
type military branch
['George Krause', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:military_branch . resource:George_Krause property:military_branch ?q }
[]
military branch
Q9212
SYSTEM
United States Army
Q9212
(Q5541425,P241,c(Q781132))
action filter_type
action find
entity Q5541425
relation P241
type Q781132
George Krause belonged to [ANSWER]
['Q5541425', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q781132 . resource:Q5541425 property:P241 ?q }
United States Army
George Krause belonged to United States Army
United States Army
action filter_type
action find
entity George Krause
relation military branch
type military branch
['George Krause', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:military_branch . resource:George_Krause property:military_branch ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5541425
P166
Q618779
USER
What was won by George Krause ?
(Q5541425,P166,c(Q618779))
action filter_type
action find
entity Q5541425
relation P166
type Q618779
['Q5541425', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?a WHERE { resource:Q5541425 property:P166 ?a . ?a rdf:type ontology:Q618779 }
George Krause
action filter_type
action find
entity George Krause
relation award received
type award
['George Krause', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?a WHERE { resource:George_Krause property:award_received ?a . ?a rdf:type ontology:award }
[]
award
Q3405483
SYSTEM
Rome Prize
Q3405483
(Q5541425,P166,c(Q618779))
action filter_type
action find
entity Q5541425
relation P166
type Q618779
[ANSWER] was won by George Krause
['Q5541425', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?a WHERE { resource:Q5541425 property:P166 ?a . ?a rdf:type ontology:Q618779 }
Rome Prize
Rome Prize was won by George Krause
Rome Prize
action filter_type
action find
entity George Krause
relation award received
type award
['George Krause', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?a WHERE { resource:George_Krause property:award_received ?a . ?a rdf:type ontology:award }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q459448
Q618779
USER
And also tell me about Christopher Lieven?
(Q459448,P166,c(Q618779))
action filter_type
action find
entity Q459448
relation P166
type Q618779
['Q459448', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?f WHERE { resource:Q459448 property:P166 ?f . ?f rdf:type ontology:Q618779 }
Christopher Lieven
action filter_type
action find
entity Christopher Lieven
relation award received
type award
['Christopher Lieven', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?f WHERE { resource:Christopher_Lieven property:award_received ?f . ?f rdf:type ontology:award }
[]
award
Q1331130 Q15972369 Q15972370
SYSTEM
Royal Order of the Seraphim, Order of Saint Anna, 1st class, Order of Saint Anna, 2nd class
Q27096841 Q1331130 Q15972369 Q15972370 Q21148942
(Q459448,P166,c(Q618779))
action filter_type
action find
entity Q459448
relation P166
type Q618779
[ANSWERS]
['Q459448', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?f WHERE { resource:Q459448 property:P166 ?f . ?f rdf:type ontology:Q618779 }
Order of St. Vladimir, 1st class Royal Order of the Seraphim Order of Saint Anna, 1st class Order of Saint Anna, 2nd class Order of St. Vladimir, 2nd class
Royal Order of the Seraphim Order of Saint Anna, 1st class Order of Saint Anna, 2nd class
action filter_type
action find
entity Christopher Lieven
relation award received
type award
['Christopher Lieven', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?f WHERE { resource:Christopher_Lieven property:award_received ?f . ?f rdf:type ontology:award }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P138
Q502895
USER
How many people are namesakes of that award ?
(Q15972369,P138,c(Q502895))
['Q15972369', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q15972369 property:P138 ?z . ?z rdf:type ontology:Q502895 }
['Order of Saint Anna, 1st class', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Order_of_Saint_Anna,_1st_class property:named_after ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q15972369
SYSTEM
Did you mean Order of Saint Anna, 1st class ?
(Q1331130,P138,c(Q502895)) (Q15972369,P138,c(Q502895)) (Q15972370,P138,c(Q502895))
[ANSWER]
['Q1331130', 'P138', {'concept': 'Q502895'}] ['Q15972369', 'P138', {'concept': 'Q502895'}] ['Q15972370', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q15972369 property:P138 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Order of Saint Anna, 1st class ?
Order of Saint Anna, 1st class
['Royal Order of the Seraphim', 'named after', {'concept': 'common name'}] ['Order of Saint Anna, 1st class', 'named after', {'concept': 'common name'}] ['Order of Saint Anna, 2nd class', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Order_of_Saint_Anna,_1st_class property:named_after ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q15972369,P138,c(Q502895))
['Q15972369', 'P138', {'concept': 'Q502895'}]
['Order of Saint Anna, 1st class', 'named after', {'concept': 'common name'}]
[]
SYSTEM
1
Q164294
(Q15972369,P138,c(Q502895))
[ANSWER]
['Q15972369', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q15972369 property:P138 ?z . ?z rdf:type ontology:Q502895 }
Saint Anna
1
['Order of Saint Anna, 1st class', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Order_of_Saint_Anna,_1st_class property:named_after ?z . ?z rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23926172 Q5541425
P27
Q15617994
USER
Which administrative territories are George Krause or Jean-Pierre Touchard a civilian of ?
OR((Q5541425,P27,c(Q15617994)), (Q23926172,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5541425
relation P27
action find
entity Q23926172
relation P27
type Q15617994
{'OR': [['Q5541425', 'P27', {'concept': 'Q15617994'}], ['Q23926172', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q5541425 property:P27 ?b } UNION { resource:Q23926172 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
Jean-Pierre Touchard George Krause
action filter_type
action union
action find
entity George Krause
relation country of citizenship
action find
entity Jean-Pierre Touchard
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['George Krause', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jean-Pierre Touchard', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:George_Krause property:country_of_citizenship ?b } UNION { resource:Jean-Pierre_Touchard property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q30
SYSTEM
France, United States of America
Q142 Q30
OR((Q5541425,P27,c(Q15617994)), (Q23926172,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5541425
relation P27
action find
entity Q23926172
relation P27
type Q15617994
[ANSWERS] are George Krause or Jean-Pierre Touchard a civilian of
{'OR': [['Q5541425', 'P27', {'concept': 'Q15617994'}], ['Q23926172', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q5541425 property:P27 ?b } UNION { resource:Q23926172 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
France United States of America
France and United States of America are George Krause or Jean-Pierre Touchard a civilian of
France United States of America
action filter_type
action union
action find
entity George Krause
relation country of citizenship
action find
entity Jean-Pierre Touchard
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['George Krause', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jean-Pierre Touchard', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:George_Krause property:country_of_citizenship ?b } UNION { resource:Jean-Pierre_Touchard property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2078287
P495
Q838948
USER
Did Staten Island originate in those administrative territories ?
(Q2078287,P495,Q142) (Q2078287,P495,Q30)
action is_in
entity prev_answer
action find
entity Q2078287
relation P495
['Q2078287', 'P495', 'Q142'] ['Q2078287', 'P495', 'Q30']
ASK WHERE { resource:Q2078287 property:P495 ?k . VALUES ( ?k ) { ( resource:Q142 ) ( resource:Q30 ) } }
Staten Island
action is_in
entity prev_answer
action find
entity Staten Island
relation country of origin
['Staten Island', 'country of origin', 'France'] ['Staten Island', 'country of origin', 'United States of America']
ASK WHERE { resource:Staten_Island property:country_of_origin ?k . VALUES ( ?k ) { ( resource:France ) ( resource:United_States_of_America ) } }
[]
work of art
SYSTEM
YES
(Q2078287,P495,Q142) (Q2078287,P495,Q30)
action is_in
entity prev_answer
action find
entity Q2078287
relation P495
[ANSWER]
['Q2078287', 'P495', 'Q142'] ['Q2078287', 'P495', 'Q30']
ASK WHERE { resource:Q2078287 property:P495 ?k . VALUES ( ?k ) { ( resource:Q142 ) ( resource:Q30 ) } }
Yes
action is_in
entity prev_answer
action find
entity Staten Island
relation country of origin
['Staten Island', 'country of origin', 'France'] ['Staten Island', 'country of origin', 'United States of America']
ASK WHERE { resource:Staten_Island property:country_of_origin ?k . VALUES ( ?k ) { ( resource:France ) ( resource:United_States_of_America ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4947442
P21
Q290
USER
Which sex does Claudia Fahlke have ?
(Q4947442,P21,c(Q290))
action filter_type
action find
entity Q4947442
relation P21
type Q290
['Q4947442', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q290 . resource:Q4947442 property:P21 ?k }
Claudia Fahlke
action filter_type
action find
entity Claudia Fahlke
relation gender
type sex
['Claudia Fahlke', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sex . resource:Claudia_Fahlke property:gender ?k }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q4947442,P21,c(Q290))
action filter_type
action find
entity Q4947442
relation P21
type Q290
Claudia Fahlke has a [ANSWER]
['Q4947442', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q290 . resource:Q4947442 property:P21 ?k }
female
Claudia Fahlke has a female
female
action filter_type
action find
entity Claudia Fahlke
relation gender
type sex
['Claudia Fahlke', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sex . resource:Claudia_Fahlke property:gender ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P6
Q502895
USER
What people are France the head of goverment of ?
(Q142,P6,c(Q502895))
action filter_type
action find
entity Q142
relation P6
type Q502895
['Q142', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q142 property:P6 ?k }
France
action filter_type
action find
entity France
relation head of government
type common name
['France', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:France property:head_of_government ?k }
[]
common name
Q10287 Q7711
SYSTEM
Manuel Valls, Jean-Marc Ayrault
Q10287 Q7711
(Q142,P6,c(Q502895))
action filter_type
action find
entity Q142
relation P6
type Q502895
[ANSWERS] are France the head of goverment of
['Q142', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q142 property:P6 ?k }
Manuel Valls Jean-Marc Ayrault
Manuel Valls and Jean-Marc Ayrault are France the head of goverment of
Manuel Valls Jean-Marc Ayrault
action filter_type
action find
entity France
relation head of government
type common name
['France', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:France property:head_of_government ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P3179
Q7275
USER
Which state has some of its area coinciding with that administrative territory ?
(c(Q7275),P3179,Q10287) (c(Q7275),P3179,Q7711)
action filter_type
action find_reverse
entity Q142
relation P3179
type Q7275
[{'concept': 'Q7275'}, 'P3179', 'Q10287'] [{'concept': 'Q7275'}, 'P3179', 'Q7711']
SELECT DISTINCT ?g WHERE { ?g property:P3179 resource:Q142 . ?g rdf:type ontology:Q7275 }
France
action filter_type
action find_reverse
entity France
relation territory overlaps
type state
[{'concept': 'state'}, 'territory overlaps', 'Manuel Valls'] [{'concept': 'state'}, 'territory overlaps', 'Jean-Marc Ayrault']
SELECT DISTINCT ?g WHERE { ?g property:territory_overlaps resource:France . ?g rdf:type ontology:state }
[]
state
Q70972
SYSTEM
Kingdom of France
Q70972
(c(Q7275),P3179,Q10287) (c(Q7275),P3179,Q7711)
action filter_type
action find_reverse
entity Q142
relation P3179
type Q7275
[ANSWER] has some of its area coinciding with that administrative territory
[{'concept': 'Q7275'}, 'P3179', 'Q10287'] [{'concept': 'Q7275'}, 'P3179', 'Q7711']
SELECT DISTINCT ?g WHERE { ?g property:P3179 resource:Q142 . ?g rdf:type ontology:Q7275 }
Kingdom of France
Kingdom of France has some of its area coinciding with that administrative territory
Kingdom of France
action filter_type
action find_reverse
entity France
relation territory overlaps
type state
[{'concept': 'state'}, 'territory overlaps', 'Manuel Valls'] [{'concept': 'state'}, 'territory overlaps', 'Jean-Marc Ayrault']
SELECT DISTINCT ?g WHERE { ?g property:territory_overlaps resource:France . ?g rdf:type ontology:state }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q70972 Q849
P27
Q502895
USER
Is François Villon a citizen of that state ?
(Q849,P27,Q70972)
action is_in
entity Q70972
action find
entity Q849
relation P27
['Q849', 'P27', 'Q70972']
ASK WHERE { resource:Q849 property:P27 resource:Q70972 }
Kingdom of France François Villon
action is_in
entity Kingdom of France
action find
entity François Villon
relation country of citizenship
['François Villon', 'country of citizenship', 'Kingdom of France']
ASK WHERE { resource:François_Villon property:country_of_citizenship resource:Kingdom_of_France }
[]
common name
SYSTEM
YES
(Q849,P27,Q70972)
action is_in
entity Q70972
action find
entity Q849
relation P27
[ANSWER]
['Q849', 'P27', 'Q70972']
ASK WHERE { resource:Q849 property:P27 resource:Q70972 }
Yes
action is_in
entity Kingdom of France
action find
entity François Villon
relation country of citizenship
['François Villon', 'country of citizenship', 'Kingdom of France']
ASK WHERE { resource:François_Villon property:country_of_citizenship resource:Kingdom_of_France }
[]