Simple Question (Direct)
Simple Question
Q23775588
P19
Q486972
USER
Which human settlement was Jörn Klare born at ?
(Q23775588,P19,c(Q486972))
action filter_type
action find
entity Q23775588
relation P19
type Q486972
['Q23775588', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?o WHERE { resource:Q23775588 property:P19 ?o . ?o rdf:type ontology:Q486972 }
Jörn Klare
action filter_type
action find
entity Jörn Klare
relation place of birth
type human settlement
['Jörn Klare', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?o WHERE { resource:Jörn_Klare property:place_of_birth ?o . ?o rdf:type ontology:human_settlement }
[]
human settlement
Q314439
SYSTEM
Hohenlimburg
Q314439
(Q23775588,P19,c(Q486972))
action filter_type
action find
entity Q23775588
relation P19
type Q486972
Jörn Klare was born in [ANSWER]
['Q23775588', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?o WHERE { resource:Q23775588 property:P19 ?o . ?o rdf:type ontology:Q486972 }
Hohenlimburg
Jörn Klare was born in Hohenlimburg
Hohenlimburg
action filter_type
action find
entity Jörn Klare
relation place of birth
type human settlement
['Jörn Klare', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?o WHERE { resource:Jörn_Klare property:place_of_birth ?o . ?o rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23775588
P166
Q618779
USER
What was won by Jörn Klare ?
(Q23775588,P166,c(Q618779))
action filter_type
action find
entity Q23775588
relation P166
type Q618779
['Q23775588', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?i WHERE { resource:Q23775588 property:P166 ?i . ?i rdf:type ontology:Q618779 }
Jörn Klare
action filter_type
action find
entity Jörn Klare
relation award received
type award
['Jörn Klare', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?i WHERE { resource:Jörn_Klare property:award_received ?i . ?i rdf:type ontology:award }
[]
award
Q2156219
SYSTEM
Robert Geisendörfer Award
Q2156219
(Q23775588,P166,c(Q618779))
action filter_type
action find
entity Q23775588
relation P166
type Q618779
[ANSWER] was won by Jörn Klare
['Q23775588', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?i WHERE { resource:Q23775588 property:P166 ?i . ?i rdf:type ontology:Q618779 }
Robert Geisendörfer Award
Robert Geisendörfer Award was won by Jörn Klare
Robert Geisendörfer Award
action filter_type
action find
entity Jörn Klare
relation award received
type award
['Jörn Klare', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?i WHERE { resource:Jörn_Klare property:award_received ?i . ?i rdf:type ontology:award }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q162676
Q618779
USER
And what about Alexander Marinesko?
(Q162676,P166,c(Q618779))
action filter_type
action find
entity Q162676
relation P166
type Q618779
['Q162676', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?p WHERE { resource:Q162676 property:P166 ?p . ?p rdf:type ontology:Q618779 }
Alexander Marinesko
action filter_type
action find
entity Alexander Marinesko
relation award received
type award
['Alexander Marinesko', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?p WHERE { resource:Alexander_Marinesko property:award_received ?p . ?p rdf:type ontology:award }
[]
award
Q185493 Q1915961 Q337463
SYSTEM
Order of Lenin, Medal for Battle Merit, Order of the Red Banner
Q1915961 Q185493 Q178473 Q337463
(Q162676,P166,c(Q618779))
action filter_type
action find
entity Q162676
relation P166
type Q618779
[ANSWERS]
['Q162676', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?p WHERE { resource:Q162676 property:P166 ?p . ?p rdf:type ontology:Q618779 }
Medal for Battle Merit Order of Lenin Hero of the Soviet Union Order of the Red Banner
Order of Lenin Medal for Battle Merit Order of the Red Banner
action filter_type
action find
entity Alexander Marinesko
relation award received
type award
['Alexander Marinesko', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?p WHERE { resource:Alexander_Marinesko property:award_received ?p . ?p rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q162676
P27
Q7275
USER
Which state is that person an inhabitant of ?
(Q185493,P27,c(Q7275)) (Q1915961,P27,c(Q7275)) (Q337463,P27,c(Q7275))
action filter_type
action find
entity Q162676
relation P27
type Q7275
['Q185493', 'P27', {'concept': 'Q7275'}] ['Q1915961', 'P27', {'concept': 'Q7275'}] ['Q337463', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?h WHERE { resource:Q162676 property:P27 ?h . ?h rdf:type ontology:Q7275 }
Alexander Marinesko
action filter_type
action find
entity Alexander Marinesko
relation country of citizenship
type state
['Order of Lenin', 'country of citizenship', {'concept': 'state'}] ['Medal for Battle Merit', 'country of citizenship', {'concept': 'state'}] ['Order of the Red Banner', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?h WHERE { resource:Alexander_Marinesko property:country_of_citizenship ?h . ?h rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q185493,P27,c(Q7275)) (Q1915961,P27,c(Q7275)) (Q337463,P27,c(Q7275))
action filter_type
action find
entity Q162676
relation P27
type Q7275
[ANSWER] is that person an inhabitant of
['Q185493', 'P27', {'concept': 'Q7275'}] ['Q1915961', 'P27', {'concept': 'Q7275'}] ['Q337463', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?h WHERE { resource:Q162676 property:P27 ?h . ?h rdf:type ontology:Q7275 }
Soviet Union
Soviet Union is that person an inhabitant of
Soviet Union
action filter_type
action find
entity Alexander Marinesko
relation country of citizenship
type state
['Order of Lenin', 'country of citizenship', {'concept': 'state'}] ['Medal for Battle Merit', 'country of citizenship', {'concept': 'state'}] ['Order of the Red Banner', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?h WHERE { resource:Alexander_Marinesko property:country_of_citizenship ?h . ?h rdf:type ontology:state }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q486972 Q355304 Q486972
USER
How many human settlements have exactly 1 human settlements and watercourses as their toponym ?
(c(Q486972),P138,c(Q486972)|c(Q355304))
action count
action equal
action union
action find_tuple_counts
relation P138
type Q486972
type Q486972
action find_tuple_counts
relation P138
type Q486972
type Q355304
value 1
[{'concept': 'Q486972'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?r WHERE { { ?r property:P138 ?k . ?r rdf:type ontology:Q486972 . ?k rdf:type ontology:Q486972 } UNION { ?r rdf:type ontology:Q486972 . ?k rdf:type ontology:Q355304 . ?r property:P138 ?k } } GROUP BY ?r } . FILTER ( ?s = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation named after
type human settlement
type human settlement
action find_tuple_counts
relation named after
type human settlement
type watercourse
value 1
[{'concept': 'human settlement'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?r WHERE { { ?r property:named_after ?k . ?r rdf:type ontology:human_settlement . ?k rdf:type ontology:human_settlement } UNION { ?r rdf:type ontology:human_settlement . ?k rdf:type ontology:watercourse . ?r property:named_after ?k } } GROUP BY ?r } . FILTER ( ?s = 1 ) }
[]
human settlement watercourse human settlement
SYSTEM
12
Q1743366 Q198164 Q1737863 Q2614306 Q8962067 Q15058273 Q48256 Q2230782 Q7899414 Q2015206 Q3306377 Q3306376
(c(Q486972),P138,c(Q486972)|c(Q355304))
action count
action equal
action union
action find_tuple_counts
relation P138
type Q486972
type Q486972
action find_tuple_counts
relation P138
type Q486972
type Q355304
value 1
[ANSWER]
[{'concept': 'Q486972'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?r WHERE { { ?r property:P138 ?k . ?r rdf:type ontology:Q486972 . ?k rdf:type ontology:Q486972 } UNION { ?r rdf:type ontology:Q486972 . ?k rdf:type ontology:Q355304 . ?r property:P138 ?k } } GROUP BY ?r } . FILTER ( ?s = 1 ) }
Kirchrarbach Bullewijk Nierbachtal Ilissia Fort Knox Oderbrück Dnipro Schambach Uptown Oese Mercier-Est Mercier-Ouest
12
action count
action equal
action union
action find_tuple_counts
relation named after
type human settlement
type human settlement
action find_tuple_counts
relation named after
type human settlement
type watercourse
value 1
[{'concept': 'human settlement'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?r WHERE { { ?r property:named_after ?k . ?r rdf:type ontology:human_settlement . ?k rdf:type ontology:human_settlement } UNION { ?r rdf:type ontology:human_settlement . ?k rdf:type ontology:watercourse . ?r property:named_after ?k } } GROUP BY ?r } . FILTER ( ?s = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q162676
P607
Q198
USER
What was was Alexander Marinesko a part of ?
(Q162676,P607,c(Q198))
action filter_type
action find
entity Q162676
relation P607
type Q198
['Q162676', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?w WHERE { resource:Q162676 property:P607 ?w . ?w rdf:type ontology:Q198 }
Alexander Marinesko
action filter_type
action find
entity Alexander Marinesko
relation conflict
type war
['Alexander Marinesko', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?w WHERE { resource:Alexander_Marinesko property:conflict ?w . ?w rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q162676,P607,c(Q198))
action filter_type
action find
entity Q162676
relation P607
type Q198
Alexander Marinesko was a part of [ANSWER]
['Q162676', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?w WHERE { resource:Q162676 property:P607 ?w . ?w rdf:type ontology:Q198 }
World War II
Alexander Marinesko was a part of World War II
World War II
action filter_type
action find
entity Alexander Marinesko
relation conflict
type war
['Alexander Marinesko', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?w WHERE { resource:Alexander_Marinesko property:conflict ?w . ?w rdf:type ontology:war }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P361
Q198 Q176799
USER
How many wars are around the same number of military units a part of as that war ?
(c(Q176799),P361,c(Q198))
action count
action approx
action find_reverse_tuple_counts
relation P361
type Q198
type Q176799
action count
action filter_type
action find
entity Q362
relation P361
type Q198
[{'concept': 'Q176799'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:P361 ?w . ?w rdf:type ontology:Q198 . ?i rdf:type ontology:Q176799 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Q362 property:P361 ?e . ?e rdf:type ontology:Q198 } } . FILTER ( ?j = ?b ) }
action count
action approx
action find_reverse_tuple_counts
relation part of
type war
type military unit
action count
action filter_type
action find
entity World War II
relation part of
type war
[{'concept': 'military unit'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:part_of ?w . ?w rdf:type ontology:war . ?i rdf:type ontology:military_unit } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:World_War_II property:part_of ?e . ?e rdf:type ontology:war } } . FILTER ( ?j = ?b ) }
[]
war military unit
SYSTEM
40
Q8683 Q211855 Q4783165 Q795269 Q3778746 Q920894 Q81545 Q10859 Q362 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),P361,c(Q198))
action count
action approx
action find_reverse_tuple_counts
relation P361
type Q198
type Q176799
action count
action filter_type
action find
entity Q362
relation P361
type Q198
[ANSWER]
[{'concept': 'Q176799'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:P361 ?w . ?w rdf:type ontology:Q198 . ?i rdf:type ontology:Q176799 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Q362 property:P361 ?e . ?e rdf:type ontology:Q198 } } . FILTER ( ?j = ?b ) }
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 World War II 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
40
action count
action approx
action find_reverse_tuple_counts
relation part of
type war
type military unit
action count
action filter_type
action find
entity World War II
relation part of
type war
[{'concept': 'military unit'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?j ) WHERE { ?i property:part_of ?w . ?w rdf:type ontology:war . ?i rdf:type ontology:military_unit } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:World_War_II property:part_of ?e . ?e rdf:type ontology:war } } . FILTER ( ?j = ?b ) }
[]