Simple Question (Direct)
Simple Question
Q61834
P607
Q198
USER
What was was Joachim Müncheberg a part of ?
(Q61834,P607,c(Q198))
action filter_type
action find
entity Q61834
relation P607
type Q198
['Q61834', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?i WHERE { resource:Q61834 property:P607 ?i . ?i rdf:type ontology:Q198 }
Joachim Müncheberg
action filter_type
action find
entity Joachim Müncheberg
relation conflict
type war
['Joachim Müncheberg', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?i WHERE { resource:Joachim_Müncheberg property:conflict ?i . ?i rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q61834,P607,c(Q198))
action filter_type
action find
entity Q61834
relation P607
type Q198
Joachim Müncheberg was a part of [ANSWER]
['Q61834', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?i WHERE { resource:Q61834 property:P607 ?i . ?i rdf:type ontology:Q198 }
World War II
Joachim Müncheberg was a part of World War II
World War II
action filter_type
action find
entity Joachim Müncheberg
relation conflict
type war
['Joachim Müncheberg', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?i WHERE { resource:Joachim_Müncheberg property:conflict ?i . ?i rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q61834
P410
Q4189293
USER
Which title was the military rank conferred upon that person ?
(Q362,P410,c(Q4189293))
action filter_type
action find
entity Q61834
relation P410
type Q4189293
['Q362', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?o WHERE { resource:Q61834 property:P410 ?o . ?o rdf:type ontology:Q4189293 }
Joachim Müncheberg
action filter_type
action find
entity Joachim Müncheberg
relation military rank
type title
['World War II', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?o WHERE { resource:Joachim_Müncheberg property:military_rank ?o . ?o rdf:type ontology:title }
[]
title
Q983927
SYSTEM
major
Q983927
(Q362,P410,c(Q4189293))
action filter_type
action find
entity Q61834
relation P410
type Q4189293
The [ANSWER] was the military rank conferred upon that person
['Q362', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?o WHERE { resource:Q61834 property:P410 ?o . ?o rdf:type ontology:Q4189293 }
major
The major was the military rank conferred upon that person
major
action filter_type
action find
entity Joachim Müncheberg
relation military rank
type title
['World War II', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?o WHERE { resource:Joachim_Müncheberg property:military_rank ?o . ?o rdf:type ontology:title }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P607
Q198 Q502895 Q2235308
USER
Which wars were atmost 12382 people or ship types a part of ?
(c(Q502895)|c(Q2235308),P607,c(Q198))
action atmost
action union
action find_reverse_tuple_counts
relation P607
type Q198
type Q502895
action find_reverse_tuple_counts
relation P607
type Q198
type Q2235308
value 12382
[[{'concept': 'Q502895'}, {'concept': 'Q2235308'}], 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) ?o WHERE { VALUES ( ?n ) { ( ontology:Q502895 ) ( ontology:Q2235308 ) } . ?e rdf:type ?n } GROUP BY ?o } . FILTER ( ?t <= 12382 ) }
action atmost
action union
action find_reverse_tuple_counts
relation conflict
type war
type common name
action find_reverse_tuple_counts
relation conflict
type war
type ship type
value 12382
[[{'concept': 'common name'}, {'concept': 'ship type'}], 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) ?o WHERE { VALUES ( ?n ) { ( ontology:common_name ) ( ontology:ship_type ) } . ?e rdf:type ?n } GROUP BY ?o } . FILTER ( ?t <= 12382 ) }
[]
war common name ship type
Q545449 Q17984356 Q163883
SYSTEM
Iraq War, Iraqi Civil War, Ten-Day War
Q8683 Q211855 Q1006311 Q795269 Q3067868 Q3778746 Q920894 Q81545 Q10859 Q163883 Q18121212 Q1021160 Q15860072 Q17984356 Q1072889 Q1980081 Q633862 Q209297 Q242352 Q2105495 Q178810 Q545449 Q2658255 Q16954835 Q208484 Q4971401 Q2086498 Q1049945 Q75984 Q1021172 Q1021175 Q1122110 Q43378 Q8676 Q1127302 Q1052332 Q1070890 Q188972 Q12302518 Q475678 Q213394 Q17183365 Q17507684 Q179975 Q18159629 Q2672972 Q243620 Q79911 Q142529
(c(Q502895)|c(Q2235308),P607,c(Q198))
action atmost
action union
action find_reverse_tuple_counts
relation P607
type Q198
type Q502895
action find_reverse_tuple_counts
relation P607
type Q198
type Q2235308
value 12382
[ANSWERS] were atmost 12382 people or ship types a part of
[[{'concept': 'Q502895'}, {'concept': 'Q2235308'}], 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) ?o WHERE { VALUES ( ?n ) { ( ontology:Q502895 ) ( ontology:Q2235308 ) } . ?e rdf:type ?n } GROUP BY ?o } . FILTER ( ?t <= 12382 ) }
Cold War Finnish Civil War war of national liberation Sierra Leone Civil War Colombian Civil War Sioux Wars First Italian War of Independence 2011 Libyan Civil War Spanish Civil War Ten-Day War American-led intervention in Syria Armagnac–Burgundian Civil War 2014–16 Russian military intervention in Ukraine Iraqi Civil War Chilean War of Independence Civil war in Afghanistan Cold War Farroupilha Revolution Yugoslav Wars 1383-85 Portuguese Interregnum Syrian Civil War Iraq War Byzantine civil war of 1341–1347 Nagorno-Karabakh conflict Lebanese Civil War British military intervention in the Sierra Leone Civil War First Barons' War Jacobite rising of 1745 Dirty War Republic of the Congo Civil War First Ivorian Civil War Civil war in Tajikistan Thousand Days' War American Civil War Estonian War of Independence War in Somalia Georgian Civil War Greek Civil War Civil war in Afghanistan Mexican Drug War Sri Lankan Civil War Sectarian violence in Iraq (2006–07) military intervention against ISIL Chinese Civil War American-led intervention in Iraq Uruguayan Civil War Somali Civil War Russian Civil War Algerian Civil War
Iraq War, Iraqi Civil War and Ten-Day War were atmost 12382 people or ship types a part of
Iraq War Iraqi Civil War Ten-Day War
action atmost
action union
action find_reverse_tuple_counts
relation conflict
type war
type common name
action find_reverse_tuple_counts
relation conflict
type war
type ship type
value 12382
[[{'concept': 'common name'}, {'concept': 'ship type'}], 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) ?o WHERE { VALUES ( ?n ) { ( ontology:common_name ) ( ontology:ship_type ) } . ?e rdf:type ?n } GROUP BY ?o } . FILTER ( ?t <= 12382 ) }
[]
Clarification
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 portion of as that war ?
(c(Q176799),P361,c(Q198))
[{'concept': 'Q176799'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q176799 . ?y rdf:type ontology:Q26883397 }
[{'concept': 'military unit'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:part_of ?y . ?z rdf:type ontology:military_unit . ?y rdf:type ontology:war }
[]
war military unit
Comparative|Count over More/Less|Single entity type|Clarification
Q545449
SYSTEM
Did you mean Iraq War ?
(c(Q176799),P361,c(Q198))
[ANSWER]
[{'concept': 'Q176799'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q176799 . ?y rdf:type ontology:Q26883397 }
Did you mean Iraq War ?
Iraq War
[{'concept': 'military unit'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:part_of ?y . ?z rdf:type ontology:military_unit . ?y rdf:type ontology:war }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Iraqi Civil War. Could you tell me the answer for that?
(c(Q176799),P361,c(Q198))
Q17984356
[{'concept': 'Q176799'}, 'P361', {'concept': 'Q198'}]
[{'concept': 'military unit'}, 'part of', {'concept': 'war'}]
[]
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))
[ANSWER]
[{'concept': 'Q176799'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q176799 . ?y rdf:type ontology:Q26883397 }
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
[{'concept': 'military unit'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:part_of ?y . ?z rdf:type ontology:military_unit . ?y rdf:type ontology:war }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P248
Q1752346 Q1209283 Q502895
USER
Which people have been recognized first in max number of assemblies and electronic medias ?
(c(Q502895),P248,c(Q1752346)|c(Q1209283))
action argmax
action union
action find_tuple_counts
relation P248
type Q502895
type Q1752346
action find_tuple_counts
relation P248
type Q502895
type Q1209283
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q1752346'}, {'concept': 'Q1209283'}]]
SELECT DISTINCT ?i WHERE { FILTER ( ?k = ?w ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?i WHERE { VALUES ( ?b ) { ( ontology:Q1752346 ) ( ontology:Q1209283 ) } . ?f rdf:type ?b } GROUP BY ?i } . { SELECT DISTINCT ( MAX ( ?v ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?m WHERE { { ?m property:P248 ?a . ?m rdf:type ontology:Q502895 . ?a rdf:type ontology:Q1752346 } UNION { ?m property:P248 ?a . ?m rdf:type ontology:Q502895 . ?a rdf:type ontology:Q1209283 } } GROUP BY ?m } } }
action argmax
action union
action find_tuple_counts
relation stated in
type common name
type assembly
action find_tuple_counts
relation stated in
type common name
type electronic media
[{'concept': 'common name'}, 'stated in', [{'concept': 'assembly'}, {'concept': 'electronic media'}]]
SELECT DISTINCT ?i WHERE { FILTER ( ?k = ?w ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?i WHERE { VALUES ( ?b ) { ( ontology:assembly ) ( ontology:electronic_media ) } . ?f rdf:type ?b } GROUP BY ?i } . { SELECT DISTINCT ( MAX ( ?v ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?m WHERE { { ?m property:stated_in ?a . ?m rdf:type ontology:common_name . ?a rdf:type ontology:assembly } UNION { ?m property:stated_in ?a . ?m rdf:type ontology:common_name . ?a rdf:type ontology:electronic_media } } GROUP BY ?m } } }
[]
assembly electronic media common name
Q5144961 Q6255184 Q6228764
SYSTEM
Colin Campbell, John Roberts, John Davies
Q6255164 Q5144961 Q8017696 Q6255184 Q6244753 Q6236108 Q5240345 Q16065533 Q1626914 Q6258326 Q11035229 Q8019373 Q6260653 Q6249871 Q6249873 Q6228764 Q6246935 Q5232854 Q15999511 Q5537308 Q6239285 Q16059754 Q5606270 Q6221420 Q17423413 Q8020387 Q16859222 Q4096102 Q5241194 Q6262978 Q5537317 Q6242859 Q6242044 Q5239888 Q14951093 Q16857661 Q1101329 Q17364116 Q8019368 Q6262700
(c(Q502895),P248,c(Q1752346)|c(Q1209283))
action argmax
action union
action find_tuple_counts
relation P248
type Q502895
type Q1752346
action find_tuple_counts
relation P248
type Q502895
type Q1209283
[ANSWERS] have been recognized first in max number of assemblies and electronic medias
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q1752346'}, {'concept': 'Q1209283'}]]
SELECT DISTINCT ?i WHERE { FILTER ( ?k = ?w ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?i WHERE { VALUES ( ?b ) { ( ontology:Q1752346 ) ( ontology:Q1209283 ) } . ?f rdf:type ?b } GROUP BY ?i } . { SELECT DISTINCT ( MAX ( ?v ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?m WHERE { { ?m property:P248 ?a . ?m rdf:type ontology:Q502895 . ?a rdf:type ontology:Q1752346 } UNION { ?m property:P248 ?a . ?m rdf:type ontology:Q502895 . ?a rdf:type ontology:Q1209283 } } GROUP BY ?m } } }
John Roberts Colin Campbell William Robinson John Roberts John Lewis John Gray David Thomas John Gray Greg Smith John Smith John Carter William Thompson John Thompson John Murphy John Murphy John Davies John Martin David Davies William Robinson George Brown John Hill James Brown Greg Smith John Bell James Brown William Williams Robert Williams James Brown David Wilson John Ward George Brown John Kennedy John Jones David Smith John Jackson John Hall John Rogers John Davies William Thompson John Walker
Colin Campbell, John Roberts and John Davies have been recognized first in max number of assemblies and electronic medias
Colin Campbell John Roberts John Davies
action argmax
action union
action find_tuple_counts
relation stated in
type common name
type assembly
action find_tuple_counts
relation stated in
type common name
type electronic media
[{'concept': 'common name'}, 'stated in', [{'concept': 'assembly'}, {'concept': 'electronic media'}]]
SELECT DISTINCT ?i WHERE { FILTER ( ?k = ?w ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?i WHERE { VALUES ( ?b ) { ( ontology:assembly ) ( ontology:electronic_media ) } . ?f rdf:type ?b } GROUP BY ?i } . { SELECT DISTINCT ( MAX ( ?v ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?m WHERE { { ?m property:stated_in ?a . ?m rdf:type ontology:common_name . ?a rdf:type ontology:assembly } UNION { ?m property:stated_in ?a . ?m rdf:type ontology:common_name . ?a rdf:type ontology:electronic_media } } GROUP BY ?m } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q847219
P725
Q502895 Q15961987
USER
How many television genres have been dubbed by around the same number of people as Pururun! Shizuku-chan ?
(c(Q15961987),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q847219
relation P725
type Q15961987
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?s ) WHERE { ?y rdf:type ontology:Q15961987 . ?o rdf:type ontology:Q502895 . ?y property:P725 ?o } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { resource:Q847219 property:P725 ?p . ?p rdf:type ontology:Q15961987 } } . FILTER ( ?s = ?k ) }
Pururun! Shizuku-chan
action count
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Pururun! Shizuku-chan
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?s ) WHERE { ?y rdf:type ontology:television_genre . ?o rdf:type ontology:common_name . ?y property:voice_actor ?o } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { resource:Pururun!_Shizuku-chan property:voice_actor ?p . ?p rdf:type ontology:television_genre } } . FILTER ( ?s = ?k ) }
[]
common name television genre
SYSTEM
8
Q11572 Q11296848 Q3235151 Q576501 Q847219 Q753848 Q917543 Q2750339
(c(Q15961987),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q847219
relation P725
type Q15961987
[ANSWER]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?s ) WHERE { ?y rdf:type ontology:Q15961987 . ?o rdf:type ontology:Q502895 . ?y property:P725 ?o } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { resource:Q847219 property:P725 ?p . ?p rdf:type ontology:Q15961987 } } . FILTER ( ?s = ?k ) }
Avatar: The Last Airbender Kiteretsu Daihyakka VeggieTales Garfield and Friends Pururun! Shizuku-chan TaleSpin The Garfield Show Hellsing Ultimate
8
action count
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Pururun! Shizuku-chan
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?s ) WHERE { ?y rdf:type ontology:television_genre . ?o rdf:type ontology:common_name . ?y property:voice_actor ?o } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { resource:Pururun!_Shizuku-chan property:voice_actor ?p . ?p rdf:type ontology:television_genre } } . FILTER ( ?s = ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q917543
P725
Q502895 Q15961987
USER
And how about The Garfield Show?
(c(Q15961987),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q917543
relation P725
type Q15961987
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { resource:Q917543 property:P725 ?z . ?z rdf:type ontology:Q15961987 } } . FILTER ( ?e = ?i ) . { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?e ) WHERE { ?j property:P725 ?q . ?j rdf:type ontology:Q15961987 . ?q rdf:type ontology:Q502895 } GROUP BY ?j } }
The Garfield Show
action count
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity The Garfield Show
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { resource:The_Garfield_Show property:voice_actor ?z . ?z rdf:type ontology:television_genre } } . FILTER ( ?e = ?i ) . { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?e ) WHERE { ?j property:voice_actor ?q . ?j rdf:type ontology:television_genre . ?q rdf:type ontology:common_name } GROUP BY ?j } }
[]
common name television genre
SYSTEM
8
Q11572 Q11296848 Q3235151 Q576501 Q847219 Q753848 Q917543 Q2750339
(c(Q15961987),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q917543
relation P725
type Q15961987
[ANSWER]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { resource:Q917543 property:P725 ?z . ?z rdf:type ontology:Q15961987 } } . FILTER ( ?e = ?i ) . { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?e ) WHERE { ?j property:P725 ?q . ?j rdf:type ontology:Q15961987 . ?q rdf:type ontology:Q502895 } GROUP BY ?j } }
Avatar: The Last Airbender Kiteretsu Daihyakka VeggieTales Garfield and Friends Pururun! Shizuku-chan TaleSpin The Garfield Show Hellsing Ultimate
8
action count
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity The Garfield Show
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { resource:The_Garfield_Show property:voice_actor ?z . ?z rdf:type ontology:television_genre } } . FILTER ( ?e = ?i ) . { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?e ) WHERE { ?j property:voice_actor ?q . ?j rdf:type ontology:television_genre . ?q rdf:type ontology:common_name } GROUP BY ?j } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q545449
P276
Q15617994
USER
Which administrative territory is the place where Iraq War is located ?
(Q545449,P276,c(Q15617994))
action filter_type
action find
entity Q545449
relation P276
type Q15617994
['Q545449', 'P276', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q545449 property:P276 ?c . ?c rdf:type ontology:Q15617994 }
Iraq War
action filter_type
action find
entity Iraq War
relation location
type designation for an administrative territorial entity
['Iraq War', 'location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Iraq_War property:location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q796
SYSTEM
Iraq
Q796
(Q545449,P276,c(Q15617994))
action filter_type
action find
entity Q545449
relation P276
type Q15617994
[ANSWER] is the place where [ANSWER] War is located
['Q545449', 'P276', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q545449 property:P276 ?c . ?c rdf:type ontology:Q15617994 }
Iraq
Iraq is the place where Iraq War is located
Iraq
action filter_type
action find
entity Iraq War
relation location
type designation for an administrative territorial entity
['Iraq War', 'location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Iraq_War property:location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q796
P30
Q2221906
USER
Which geographic location is that administrative territory situated in ?
(Q796,P30,c(Q2221906))
action filter_type
action find
entity Q796
relation P30
type Q2221906
['Q796', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2221906 . resource:Q796 property:P30 ?h }
Iraq
action filter_type
action find
entity Iraq
relation continent
type geographic location
['Iraq', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:geographic_location . resource:Iraq property:continent ?h }
[]
geographic location
Q48
SYSTEM
Asia
Q48
(Q796,P30,c(Q2221906))
action filter_type
action find
entity Q796
relation P30
type Q2221906
That administrative territory is situated in [ANSWER]
['Q796', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2221906 . resource:Q796 property:P30 ?h }
Asia
That administrative territory is situated in Asia
Asia
action filter_type
action find
entity Iraq
relation continent
type geographic location
['Iraq', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:geographic_location . resource:Iraq property:continent ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q48
P101
Q502895
USER
Who works in the domain of that geographic location ?
(c(Q502895),P101,Q48)
action filter_type
action find_reverse
entity Q48
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q48']
SELECT DISTINCT ?h WHERE { ?h property:P101 resource:Q48 . ?h rdf:type ontology:Q502895 }
Asia
action filter_type
action find_reverse
entity Asia
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Asia']
SELECT DISTINCT ?h WHERE { ?h property:field_of_work resource:Asia . ?h rdf:type ontology:common_name }
[]
common name
Q4181293
SYSTEM
Petra Procházková
Q4181293
(c(Q502895),P101,Q48)
action filter_type
action find_reverse
entity Q48
relation P101
type Q502895
[ANSWER] works in the domain of that geographic location
[{'concept': 'Q502895'}, 'P101', 'Q48']
SELECT DISTINCT ?h WHERE { ?h property:P101 resource:Q48 . ?h rdf:type ontology:Q502895 }
Petra Procházková
Petra Procházková works in the domain of that geographic location
Petra Procházková
action filter_type
action find_reverse
entity Asia
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Asia']
SELECT DISTINCT ?h WHERE { ?h property:field_of_work resource:Asia . ?h rdf:type ontology:common_name }
[]