Simple Question (Direct)
Simple Question
Q4798985
P607
Q198
USER
What was was Arthur Hartshorne a part of ?
(Q4798985,P607,c(Q198))
action filter_type
action find
entity Q4798985
relation P607
type Q198
['Q4798985', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q198 . resource:Q4798985 property:P607 ?r }
Arthur Hartshorne
action filter_type
action find
entity Arthur Hartshorne
relation conflict
type war
['Arthur Hartshorne', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:war . resource:Arthur_Hartshorne property:conflict ?r }
[]
war
Q361
SYSTEM
World War I
Q361
(Q4798985,P607,c(Q198))
action filter_type
action find
entity Q4798985
relation P607
type Q198
Arthur Hartshorne was a part of [ANSWER]
['Q4798985', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q198 . resource:Q4798985 property:P607 ?r }
World War I
Arthur Hartshorne was a part of World War I
World War I
action filter_type
action find
entity Arthur Hartshorne
relation conflict
type war
['Arthur Hartshorne', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:war . resource:Arthur_Hartshorne property:conflict ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4798985
P21
Q290
USER
What is the sex of that person ?
(Q361,P21,c(Q290))
action filter_type
action find
entity Q4798985
relation P21
type Q290
['Q361', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q4798985 property:P21 ?z . ?z rdf:type ontology:Q290 }
Arthur Hartshorne
action filter_type
action find
entity Arthur Hartshorne
relation gender
type sex
['World War I', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Arthur_Hartshorne property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q361,P21,c(Q290))
action filter_type
action find
entity Q4798985
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q361', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q4798985 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Arthur Hartshorne
relation gender
type sex
['World War I', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Arthur_Hartshorne property:gender ?z . ?z rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q79911
P361
Q198 Q176799 Q618779
USER
How many wars are less number of military units and awards a portion of than Russian Civil War ?
(c(Q176799)|c(Q618779),P361,c(Q198))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q198
type Q176799
action find_reverse_tuple_counts
relation P361
type Q198
type Q618779
action count
action filter_multi_types
action find_reverse
entity Q79911
relation P361
type Q176799
type Q618779
[[{'concept': 'Q176799'}, {'concept': 'Q618779'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?h ) WHERE { { ?i property:P361 ?e . ?e rdf:type ontology:Q198 . ?i rdf:type ontology:Q176799 } UNION { ?i property:P361 ?e . ?e rdf:type ontology:Q198 . ?i rdf:type ontology:Q618779 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { { ?f rdf:type ontology:Q176799 } UNION { ?f rdf:type ontology:Q618779 } } . ?f property:P361 resource:Q79911 } } . FILTER ( ?h < ?k ) }
Russian Civil War
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type war
type military unit
action find_reverse_tuple_counts
relation part of
type war
type award
action count
action filter_multi_types
action find_reverse
entity Russian Civil War
relation part of
type military unit
type award
[[{'concept': 'military unit'}, {'concept': 'award'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?h ) WHERE { { ?i property:part_of ?e . ?e rdf:type ontology:war . ?i rdf:type ontology:military_unit } UNION { ?i property:part_of ?e . ?e rdf:type ontology:war . ?i rdf:type ontology:award } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { { ?f rdf:type ontology:military_unit } UNION { ?f rdf:type ontology:award } } . ?f property:part_of resource:Russian_Civil_War } } . FILTER ( ?h < ?k ) }
[]
war military unit award
SYSTEM
39
Q8683 Q211855 Q4783165 Q795269 Q3778746 Q920894 Q81545 Q10859 Q18121212 Q361 Q1021160 Q17984356 Q1072889 Q1758829 Q209297 Q242352 Q2105495 Q5334383 Q178810 Q545449 Q2658255 Q16954835 Q208484 Q1432624 Q2086498 Q1238338 Q15059994 Q1049945 Q8676 Q1127302 Q1052332 Q475678 Q743768 Q213394 Q17507684 Q179975 Q18159629 Q2672972 Q243620
(c(Q176799)|c(Q618779),P361,c(Q198))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q198
type Q176799
action find_reverse_tuple_counts
relation P361
type Q198
type Q618779
action count
action filter_multi_types
action find_reverse
entity Q79911
relation P361
type Q176799
type Q618779
[ANSWER]
[[{'concept': 'Q176799'}, {'concept': 'Q618779'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?h ) WHERE { { ?i property:P361 ?e . ?e rdf:type ontology:Q198 . ?i rdf:type ontology:Q176799 } UNION { ?i property:P361 ?e . ?e rdf:type ontology:Q198 . ?i rdf:type ontology:Q618779 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { { ?f rdf:type ontology:Q176799 } UNION { ?f rdf:type ontology:Q618779 } } . ?f property:P361 resource:Q79911 } } . FILTER ( ?h < ?k ) }
Cold War Finnish Civil War Arab Cold War Sierra Leone Civil War Sioux Wars First Italian War of Independence 2011 Libyan Civil War Spanish Civil War American-led intervention in Syria World War I Armagnac–Burgundian Civil War Iraqi Civil War Chilean War of Independence urban guerrilla warfare Farroupilha Revolution Yugoslav Wars 1383-85 Portuguese Interregnum Ecuadorian War of Independence Syrian Civil War Iraq War Byzantine civil war of 1341–1347 Nagorno-Karabakh conflict Lebanese Civil War Genkō War First Barons' War Caesar's Civil War Iran–Israel proxy conflict Jacobite rising of 1745 American Civil War Estonian War of Independence War in Somalia Mexican Drug War The Anarchy Sri Lankan Civil War military intervention against ISIL Chinese Civil War American-led intervention in Iraq Uruguayan Civil War Somali Civil War
39
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type war
type military unit
action find_reverse_tuple_counts
relation part of
type war
type award
action count
action filter_multi_types
action find_reverse
entity Russian Civil War
relation part of
type military unit
type award
[[{'concept': 'military unit'}, {'concept': 'award'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?h ) WHERE { { ?i property:part_of ?e . ?e rdf:type ontology:war . ?i rdf:type ontology:military_unit } UNION { ?i property:part_of ?e . ?e rdf:type ontology:war . ?i rdf:type ontology:award } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { { ?f rdf:type ontology:military_unit } UNION { ?f rdf:type ontology:award } } . ?f property:part_of resource:Russian_Civil_War } } . FILTER ( ?h < ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q362
P361
Q198 Q176799 Q618779
USER
And how about World War II?
(c(Q176799)|c(Q618779),P361,c(Q198))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q198
type Q176799
action find_reverse_tuple_counts
relation P361
type Q198
type Q618779
action count
action filter_multi_types
action find_reverse
entity Q362
relation P361
type Q176799
type Q618779
[[{'concept': 'Q176799'}, {'concept': 'Q618779'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?f WHERE { VALUES ( ?g ) { ( ontology:Q176799 ) ( ontology:Q618779 ) } . ?w rdf:type ?g } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { ?o property:P361 resource:Q362 . { { ?o rdf:type ontology:Q176799 } UNION { ?o rdf:type ontology:Q618779 } } } } . FILTER ( ?j < ?c ) }
World War II
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type war
type military unit
action find_reverse_tuple_counts
relation part of
type war
type award
action count
action filter_multi_types
action find_reverse
entity World War II
relation part of
type military unit
type award
[[{'concept': 'military unit'}, {'concept': 'award'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?f WHERE { VALUES ( ?g ) { ( ontology:military_unit ) ( ontology:award ) } . ?w rdf:type ?g } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { ?o property:part_of resource:World_War_II . { { ?o rdf:type ontology:military_unit } UNION { ?o rdf:type ontology:award } } } } . FILTER ( ?j < ?c ) }
[]
war military unit award
SYSTEM
39
Q8683 Q211855 Q4783165 Q795269 Q3778746 Q920894 Q81545 Q10859 Q18121212 Q361 Q1021160 Q17984356 Q1072889 Q1758829 Q209297 Q242352 Q2105495 Q5334383 Q178810 Q545449 Q2658255 Q16954835 Q208484 Q1432624 Q2086498 Q1238338 Q15059994 Q1049945 Q8676 Q1127302 Q1052332 Q475678 Q743768 Q213394 Q17507684 Q179975 Q18159629 Q2672972 Q243620
(c(Q176799)|c(Q618779),P361,c(Q198))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q198
type Q176799
action find_reverse_tuple_counts
relation P361
type Q198
type Q618779
action count
action filter_multi_types
action find_reverse
entity Q362
relation P361
type Q176799
type Q618779
[ANSWER]
[[{'concept': 'Q176799'}, {'concept': 'Q618779'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?f WHERE { VALUES ( ?g ) { ( ontology:Q176799 ) ( ontology:Q618779 ) } . ?w rdf:type ?g } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { ?o property:P361 resource:Q362 . { { ?o rdf:type ontology:Q176799 } UNION { ?o rdf:type ontology:Q618779 } } } } . FILTER ( ?j < ?c ) }
Cold War Finnish Civil War Arab Cold War Sierra Leone Civil War Sioux Wars First Italian War of Independence 2011 Libyan Civil War Spanish Civil War American-led intervention in Syria World War I Armagnac–Burgundian Civil War Iraqi Civil War Chilean War of Independence urban guerrilla warfare Farroupilha Revolution Yugoslav Wars 1383-85 Portuguese Interregnum Ecuadorian War of Independence Syrian Civil War Iraq War Byzantine civil war of 1341–1347 Nagorno-Karabakh conflict Lebanese Civil War Genkō War First Barons' War Caesar's Civil War Iran–Israel proxy conflict Jacobite rising of 1745 American Civil War Estonian War of Independence War in Somalia Mexican Drug War The Anarchy Sri Lankan Civil War military intervention against ISIL Chinese Civil War American-led intervention in Iraq Uruguayan Civil War Somali Civil War
39
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type war
type military unit
action find_reverse_tuple_counts
relation part of
type war
type award
action count
action filter_multi_types
action find_reverse
entity World War II
relation part of
type military unit
type award
[[{'concept': 'military unit'}, {'concept': 'award'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?f WHERE { VALUES ( ?g ) { ( ontology:military_unit ) ( ontology:award ) } . ?w rdf:type ?g } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { ?o property:part_of resource:World_War_II . { { ?o rdf:type ontology:military_unit } UNION { ?o rdf:type ontology:award } } } } . FILTER ( ?j < ?c ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4798985
P641
Q349
USER
Which sport did Arthur Hartshorne participate in ?
(Q4798985,P641,c(Q349))
action filter_type
action find
entity Q4798985
relation P641
type Q349
['Q4798985', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q349 . resource:Q4798985 property:P641 ?z }
Arthur Hartshorne
action filter_type
action find
entity Arthur Hartshorne
relation sport
type sport
['Arthur Hartshorne', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sport . resource:Arthur_Hartshorne property:sport ?z }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4798985,P641,c(Q349))
action filter_type
action find
entity Q4798985
relation P641
type Q349
Arthur Hartshorne participated in [ANSWER]
['Q4798985', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q349 . resource:Q4798985 property:P641 ?z }
association football
Arthur Hartshorne participated in association football
association football
action filter_type
action find
entity Arthur Hartshorne
relation sport
type sport
['Arthur Hartshorne', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sport . resource:Arthur_Hartshorne property:sport ?z }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2065589
Q349
USER
And also tell me about Koen van Steensel?
(Q2065589,P641,c(Q349))
action filter_type
action find
entity Q2065589
relation P641
type Q349
['Q2065589', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q2065589 property:P641 ?x . ?x rdf:type ontology:Q349 }
Koen van Steensel
action filter_type
action find
entity Koen van Steensel
relation sport
type sport
['Koen van Steensel', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Koen_van_Steensel property:sport ?x . ?x rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2065589,P641,c(Q349))
action filter_type
action find
entity Q2065589
relation P641
type Q349
[ANSWER]
['Q2065589', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q2065589 property:P641 ?x . ?x rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity Koen van Steensel
relation sport
type sport
['Koen van Steensel', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Koen_van_Steensel property:sport ?x . ?x rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q3019152 Q4798985
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Arthur Hartshorne and Davinia Taylor ?
AND((Q4798985,P27,c(Q15617994)), (Q3019152,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q4798985
relation P27
action find
entity Q3019152
relation P27
type Q15617994
{'AND': [['Q4798985', 'P27', {'concept': 'Q15617994'}], ['Q3019152', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { resource:Q4798985 property:P27 ?e . resource:Q3019152 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Davinia Taylor Arthur Hartshorne
action filter_type
action intersection
action find
entity Arthur Hartshorne
relation country of citizenship
action find
entity Davinia Taylor
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Arthur Hartshorne', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Davinia Taylor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:Arthur_Hartshorne property:country_of_citizenship ?e . resource:Davinia_Taylor property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
AND((Q4798985,P27,c(Q15617994)), (Q3019152,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q4798985
relation P27
action find
entity Q3019152
relation P27
type Q15617994
[ANSWER] is the countries of citizenship of Arthur Hartshorne and Davinia Taylor
{'AND': [['Q4798985', 'P27', {'concept': 'Q15617994'}], ['Q3019152', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { resource:Q4798985 property:P27 ?e . resource:Q3019152 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the countries of citizenship of Arthur Hartshorne and Davinia Taylor
United Kingdom
action filter_type
action intersection
action find
entity Arthur Hartshorne
relation country of citizenship
action find
entity Davinia Taylor
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Arthur Hartshorne', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Davinia Taylor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:Arthur_Hartshorne property:country_of_citizenship ?e . resource:Davinia_Taylor property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3019152
P19
Q56061
USER
Which administrative territory was Davinia Taylor born in ?
(Q145,P19,c(Q56061))
action filter_type
action find
entity Q3019152
relation P19
type Q56061
['Q145', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q3019152 property:P19 ?p }
Davinia Taylor
action filter_type
action find
entity Davinia Taylor
relation place of birth
type administrative territorial entity
['United Kingdom', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Davinia_Taylor property:place_of_birth ?p }
[]
administrative territorial entity
Q208143
SYSTEM
Wigan
Q208143
(Q145,P19,c(Q56061))
action filter_type
action find
entity Q3019152
relation P19
type Q56061
Davinia Taylor was born in [ANSWER]
['Q145', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q3019152 property:P19 ?p }
Wigan
Davinia Taylor was born in Wigan
Wigan
action filter_type
action find
entity Davinia Taylor
relation place of birth
type administrative territorial entity
['United Kingdom', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Davinia_Taylor property:place_of_birth ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q208143
P206
Q355304
USER
Which watercourse is situated close to that administrative territory ?
(Q208143,P206,c(Q355304))
action filter_type
action find
entity Q208143
relation P206
type Q355304
['Q208143', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?m WHERE { resource:Q208143 property:P206 ?m . ?m rdf:type ontology:Q355304 }
Wigan
action filter_type
action find
entity Wigan
relation located next to body of water
type watercourse
['Wigan', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?m WHERE { resource:Wigan property:located_next_to_body_of_water ?m . ?m rdf:type ontology:watercourse }
[]
watercourse
Q2014071
SYSTEM
River Douglas
Q2014071
(Q208143,P206,c(Q355304))
action filter_type
action find
entity Q208143
relation P206
type Q355304
Of [ANSWER] is situated close to that administrative territory
['Q208143', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?m WHERE { resource:Q208143 property:P206 ?m . ?m rdf:type ontology:Q355304 }
River Douglas
Of River Douglas is situated close to that administrative territory
River Douglas
action filter_type
action find
entity Wigan
relation located next to body of water
type watercourse
['Wigan', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?m WHERE { resource:Wigan property:located_next_to_body_of_water ?m . ?m rdf:type ontology:watercourse }
[]