Simple Question (Direct)
Simple Question
Q843571
P241
Q781132
USER
Which military branch did Denver Randleman belong to ?
(Q843571,P241,c(Q781132))
action filter_type
action find
entity Q843571
relation P241
type Q781132
['Q843571', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?q WHERE { resource:Q843571 property:P241 ?q . ?q rdf:type ontology:Q781132 }
Denver Randleman
action filter_type
action find
entity Denver Randleman
relation military branch
type military branch
['Denver Randleman', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?q WHERE { resource:Denver_Randleman property:military_branch ?q . ?q rdf:type ontology:military_branch }
[]
military branch
Q9212
SYSTEM
United States Army
Q9212
(Q843571,P241,c(Q781132))
action filter_type
action find
entity Q843571
relation P241
type Q781132
Denver Randleman belonged to [ANSWER]
['Q843571', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?q WHERE { resource:Q843571 property:P241 ?q . ?q rdf:type ontology:Q781132 }
United States Army
Denver Randleman belonged to United States Army
United States Army
action filter_type
action find
entity Denver Randleman
relation military branch
type military branch
['Denver Randleman', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?q WHERE { resource:Denver_Randleman property:military_branch ?q . ?q rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q843571
P1196
Q1931388
USER
What situation did that person die in ?
(Q9212,P1196,c(Q1931388))
action filter_type
action find
entity Q843571
relation P1196
type Q1931388
['Q9212', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1931388 . resource:Q843571 property:P1196 ?y }
Denver Randleman
action filter_type
action find
entity Denver Randleman
relation manner of death
type cause of death
['United States Army', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:cause_of_death . resource:Denver_Randleman property:manner_of_death ?y }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q9212,P1196,c(Q1931388))
action filter_type
action find
entity Q843571
relation P1196
type Q1931388
That person died in [ANSWER]
['Q9212', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1931388 . resource:Q843571 property:P1196 ?y }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity Denver Randleman
relation manner of death
type cause of death
['United States Army', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:cause_of_death . resource:Denver_Randleman property:manner_of_death ?y }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1750688
P361
Q781132 Q781132 Q12737077
USER
How many military branches are lesser number of military branches or occupations a component of than Brazilian Navy ?
(c(Q781132)|c(Q12737077),P361,c(Q781132))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q781132
action find_reverse_tuple_counts
relation P361
type Q781132
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q1750688
relation P361
type Q781132
type Q12737077
[[{'concept': 'Q781132'}, {'concept': 'Q12737077'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?g ) WHERE { { ?v property:P361 ?n . ?n rdf:type ontology:Q781132 . ?v rdf:type ontology:Q12737077 } UNION { ?v property:P361 ?n . ?n rdf:type ontology:Q781132 . ?v rdf:type ontology:Q781132 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:P361 resource:Q1750688 . { { ?x rdf:type ontology:Q781132 } UNION { ?x rdf:type ontology:Q12737077 } } } } . FILTER ( ?g < ?q ) }
Brazilian Navy
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type military branch
type military branch
action find_reverse_tuple_counts
relation part of
type military branch
type occupation
action count
action filter_multi_types
action find_reverse
entity Brazilian Navy
relation part of
type military branch
type occupation
[[{'concept': 'military branch'}, {'concept': 'occupation'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?g ) WHERE { { ?v property:part_of ?n . ?n rdf:type ontology:military_branch . ?v rdf:type ontology:occupation } UNION { ?v property:part_of ?n . ?n rdf:type ontology:military_branch . ?v rdf:type ontology:military_branch } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:part_of resource:Brazilian_Navy . { { ?x rdf:type ontology:military_branch } UNION { ?x rdf:type ontology:occupation } } } } . FILTER ( ?g < ?q ) }
[]
military branch military branch occupation
SYSTEM
82
Q16056518 Q23905126 Q222595 Q56015 Q210606 Q1799545 Q2328515 Q483268 Q1114493 Q1815399 Q3068744 Q11220 Q1046947 Q172771 Q701923 Q1078222 Q2078095 Q676404 Q5555333 Q313422 Q9160892 Q2558747 Q19344622 Q311689 Q248989 Q642932 Q1038047 Q833040 Q4117226 Q217406 Q2575188 Q488756 Q156649 Q1546449 Q1067064 Q889751 Q781360 Q2492012 Q2862927 Q2749588 Q4447359 Q1652708 Q19247539 Q1951484 Q276535 Q276538 Q272110 Q796411 Q56012 Q7275540 Q25387 Q208711 Q1076619 Q897614 Q6479134 Q741691 Q11322507 Q2292358 Q151701 Q11218 Q2301347 Q167682 Q2383264 Q18643350 Q465283 Q2384177 Q1124986 Q25436 Q1358152 Q2258261 Q4447363 Q9212 Q355771 Q18129370 Q1753805 Q731647 Q706042 Q2630039 Q219712 Q706996 Q1674702 Q1370395
(c(Q781132)|c(Q12737077),P361,c(Q781132))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q781132
action find_reverse_tuple_counts
relation P361
type Q781132
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q1750688
relation P361
type Q781132
type Q12737077
[ANSWER]
[[{'concept': 'Q781132'}, {'concept': 'Q12737077'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?g ) WHERE { { ?v property:P361 ?n . ?n rdf:type ontology:Q781132 . ?v rdf:type ontology:Q12737077 } UNION { ?v property:P361 ?n . ?n rdf:type ontology:Q781132 . ?v rdf:type ontology:Q781132 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:P361 resource:Q1750688 . { { ?x rdf:type ontology:Q781132 } UNION { ?x rdf:type ontology:Q12737077 } } } } . FILTER ( ?g < ?q ) }
Nepalese Army Slovak Army British Army German Navy 2nd Marine Division Philippine Army Belize Defence Force Republic of Korea Army Roman army South African Army Syrian Arab Army United States Navy Royal Marines Royal Navy German Army Imperial Russian Army Pakistan Army Spanish Navy Ghana Army German Army fortress artillery Romanian Land Forces naval reserve force Royal Hungarian Army Polish Land Forces Indian Army Irish Army Italian Navy Royal Jordanian Land Force French Navy Royal Danish Army Republic of Korea Navy Imperial German Navy Hellenic Army United States Special Operations Command Japan Ground Self-Defense Force Australian Army Swedish Army Indonesian Army Royal Thai Army Austrian Land Forces South African Navy Ottoman Army Georgian Land Forces Imperial Japanese Army Eurocorps Yugoslav People's Army Italian Army German Army RAF Regiment Royal Canadian Navy Chilean Navy French Army Iraqi Army Egyptian Army Royal Australian Navy German Army Brazilian Army Kriegsmarine United States Marine Corps Argentine Army rocket artillery Finnish Army Islamic Republic of Iran Ground Force Russian Navy Norwegian Army Confederate States Navy Canadian Army Korean People's Army Ground Force Pakistan Navy Lebanese Ground Forces United States Army Indian Army Philippine Commonwealth Army Croatian Army Japan Maritime Self-Defense Force Prussian Army New Zealand Army Imperial Japanese Navy Southern Expeditionary Army Group GOC Army Headquarters Estonian Land Forces
82
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type military branch
type military branch
action find_reverse_tuple_counts
relation part of
type military branch
type occupation
action count
action filter_multi_types
action find_reverse
entity Brazilian Navy
relation part of
type military branch
type occupation
[[{'concept': 'military branch'}, {'concept': 'occupation'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?g ) WHERE { { ?v property:part_of ?n . ?n rdf:type ontology:military_branch . ?v rdf:type ontology:occupation } UNION { ?v property:part_of ?n . ?n rdf:type ontology:military_branch . ?v rdf:type ontology:military_branch } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:part_of resource:Brazilian_Navy . { { ?x rdf:type ontology:military_branch } UNION { ?x rdf:type ontology:occupation } } } } . FILTER ( ?g < ?q ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q843571
P166
Q618779
USER
What were won by Denver Randleman ?
(Q843571,P166,c(Q618779))
action filter_type
action find
entity Q843571
relation P166
type Q618779
['Q843571', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q843571 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Denver Randleman
action filter_type
action find
entity Denver Randleman
relation award received
type award
['Denver Randleman', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Denver_Randleman property:award_received ?s . ?s rdf:type ontology:award }
[]
award
Q145752 Q928314
SYSTEM
Purple Heart, Bronze Star Medal
Q145752 Q928314
(Q843571,P166,c(Q618779))
action filter_type
action find
entity Q843571
relation P166
type Q618779
Denver [ANSWERS] were won by Denver Randleman
['Q843571', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q843571 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Purple Heart Bronze Star Medal
Denver Purple Heart and Bronze Star Medal were won by Denver Randleman
Purple Heart Bronze Star Medal
action filter_type
action find
entity Denver Randleman
relation award received
type award
['Denver Randleman', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Denver_Randleman property:award_received ?s . ?s rdf:type ontology:award }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q145752 Q163700
P166
Q502895
USER
How many people received the award titled Purple Heart and Legion of Honour ?
(c(Q502895),P166,Q145752) (c(Q502895),P166,Q163700)
action count
action intersection
action filter_type
action find_reverse
entity Q145752
relation P166
type Q502895
action filter_type
action find_reverse
entity Q163700
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q145752'] [{'concept': 'Q502895'}, 'P166', 'Q163700']
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { ?k property:P166 resource:Q145752 . ?k rdf:type ontology:Q502895 . ?k property:P166 resource:Q163700 . ?k rdf:type ontology:Q502895 }
Purple Heart Legion of Honour
action count
action intersection
action filter_type
action find_reverse
entity Purple Heart
relation award received
type common name
action filter_type
action find_reverse
entity Legion of Honour
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Purple Heart'] [{'concept': 'common name'}, 'award received', 'Legion of Honour']
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { ?k property:award_received resource:Purple_Heart . ?k rdf:type ontology:common_name . ?k property:award_received resource:Legion_of_Honour . ?k rdf:type ontology:common_name }
[]
common name
SYSTEM
25
Q15997805 Q7381740 Q313972 Q6834059 Q5443850 Q6990617 Q310188 Q490171 Q3048261 Q713462 Q329784 Q716991 Q11338080 Q4155287 Q5497295 Q5368348 Q7344225 Q6167298 Q17421741 Q4383539 Q728855 Q5343291 Q5082595 Q186492 Q4800204
(c(Q502895),P166,Q145752) (c(Q502895),P166,Q163700)
action count
action intersection
action filter_type
action find_reverse
entity Q145752
relation P166
type Q502895
action filter_type
action find_reverse
entity Q163700
relation P166
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P166', 'Q145752'] [{'concept': 'Q502895'}, 'P166', 'Q163700']
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { ?k property:P166 resource:Q145752 . ?k rdf:type ontology:Q502895 . ?k property:P166 resource:Q163700 . ?k rdf:type ontology:Q502895 }
Barnwell R. Legge Russell Reeder Maxwell Davenpolt Taylor Michael S. Davison Ferdinand J. Chesarek Nelson M. Holderman Norman Schwarzkopf, Jr. James Van Fleet Edson Raff Lesley J. McNair Charles Durning Terry de la Mesa Allen Horatio Nelson Jackson Wayne A. Downing Frederick Augustus Muhlenberg Elwood Richard Quesada Robert F. Travis Jay W. MacKelvie Paul McDonald Robinett Lafayette G. Pool Maurice Rose Edward Hamilton Charles Spofford George S. Patton Arthur S. Champeny
25
action count
action intersection
action filter_type
action find_reverse
entity Purple Heart
relation award received
type common name
action filter_type
action find_reverse
entity Legion of Honour
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Purple Heart'] [{'concept': 'common name'}, 'award received', 'Legion of Honour']
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { ?k property:award_received resource:Purple_Heart . ?k rdf:type ontology:common_name . ?k property:award_received resource:Legion_of_Honour . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q843571
P19
Q56061
USER
Where was Denver Randleman born ?
(Q843571,P19,c(Q56061))
action filter_type
action find
entity Q843571
relation P19
type Q56061
['Q843571', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q843571 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Denver Randleman
action filter_type
action find
entity Denver Randleman
relation place of birth
type administrative territorial entity
['Denver Randleman', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Denver_Randleman property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q79382
SYSTEM
Rector
Q79382
(Q843571,P19,c(Q56061))
action filter_type
action find
entity Q843571
relation P19
type Q56061
Denver Randleman was born to [ANSWER]
['Q843571', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q843571 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Rector
Denver Randleman was born to Rector
Rector
action filter_type
action find
entity Denver Randleman
relation place of birth
type administrative territorial entity
['Denver Randleman', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Denver_Randleman property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q79382 Q908345
P19
Q502895
USER
How many people were born at Rector or Rubí ?
(c(Q502895),P19,Q79382) (c(Q502895),P19,Q908345)
action count
action union
action filter_type
action find_reverse
entity Q79382
relation P19
type Q502895
action filter_type
action find_reverse
entity Q908345
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q79382'] [{'concept': 'Q502895'}, 'P19', 'Q908345']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { ?z property:P19 resource:Q79382 . ?z rdf:type ontology:Q502895 } UNION { ?z property:P19 resource:Q908345 . ?z rdf:type ontology:Q502895 } }
Rector Rubí
action count
action union
action filter_type
action find_reverse
entity Rector
relation place of birth
type common name
action filter_type
action find_reverse
entity Rubí
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Rector'] [{'concept': 'common name'}, 'place of birth', 'Rubí']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { ?z property:place_of_birth resource:Rector . ?z rdf:type ontology:common_name } UNION { ?z property:place_of_birth resource:Rubí . ?z rdf:type ontology:common_name } }
[]
common name
SYSTEM
4
Q6792973 Q5346181 Q843571 Q316487
(c(Q502895),P19,Q79382) (c(Q502895),P19,Q908345)
action count
action union
action filter_type
action find_reverse
entity Q79382
relation P19
type Q502895
action filter_type
action find_reverse
entity Q908345
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q79382'] [{'concept': 'Q502895'}, 'P19', 'Q908345']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { ?z property:P19 resource:Q79382 . ?z rdf:type ontology:Q502895 } UNION { ?z property:P19 resource:Q908345 . ?z rdf:type ontology:Q502895 } }
Maurice Copeland Edwin A. Doss Denver Randleman Víctor Sánchez Mata
4
action count
action union
action filter_type
action find_reverse
entity Rector
relation place of birth
type common name
action filter_type
action find_reverse
entity Rubí
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Rector'] [{'concept': 'common name'}, 'place of birth', 'Rubí']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { ?z property:place_of_birth resource:Rector . ?z rdf:type ontology:common_name } UNION { ?z property:place_of_birth resource:Rubí . ?z rdf:type ontology:common_name } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q7261348 Q843571
P607 P921
Q198
USER
Which wars did Denver Randleman take part in and were the main subjects of Purnell's History of the Second World War 's work ?
AND((Q843571,P607,c(Q198)), (Q7261348,P921,c(Q198)))
action filter_type
action intersection
action find
entity Q843571
relation P607
action find
entity Q7261348
relation P921
type Q198
{'AND': [['Q843571', 'P607', {'concept': 'Q198'}], ['Q7261348', 'P921', {'concept': 'Q198'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q198 . resource:Q843571 property:P607 ?d . resource:Q7261348 property:P921 ?d }
Purnell's History of the Second World War Denver Randleman
action filter_type
action intersection
action find
entity Denver Randleman
relation conflict
action find
entity Purnell's History of the Second World War
relation main subject
type war
{'AND': [['Denver Randleman', 'conflict', {'concept': 'war'}], ["Purnell's History of the Second World War", 'main subject', {'concept': 'war'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:war . resource:Denver_Randleman property:conflict ?d . resource:Purnell's_History_of_the_Second_World_War property:main_subject ?d }
[]
war
Q362
SYSTEM
World War II
Q362
AND((Q843571,P607,c(Q198)), (Q7261348,P921,c(Q198)))
action filter_type
action intersection
action find
entity Q843571
relation P607
action find
entity Q7261348
relation P921
type Q198
Denver Randleman took part and were the main subjects of Purnell's History of the Second World War's work in [ANSWER]
{'AND': [['Q843571', 'P607', {'concept': 'Q198'}], ['Q7261348', 'P921', {'concept': 'Q198'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q198 . resource:Q843571 property:P607 ?d . resource:Q7261348 property:P921 ?d }
World War II
Denver Randleman took part and were the main subjects of Purnell's History of the Second World War's work in World War II
World War II
action filter_type
action intersection
action find
entity Denver Randleman
relation conflict
action find
entity Purnell's History of the Second World War
relation main subject
type war
{'AND': [['Denver Randleman', 'conflict', {'concept': 'war'}], ["Purnell's History of the Second World War", 'main subject', {'concept': 'war'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:war . resource:Denver_Randleman property:conflict ?d . resource:Purnell's_History_of_the_Second_World_War property:main_subject ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q362
P710
Q15617994 Q1048835
USER
How many administrative territories or political territories attended World War II ?
(Q362,P710,c(Q15617994)) (Q362,P710,c(Q1048835))
action count
action union
action filter_type
action find
entity Q362
relation P710
type Q15617994
action filter_type
action find
entity Q362
relation P710
type Q1048835
['Q362', 'P710', {'concept': 'Q15617994'}] ['Q362', 'P710', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } }
World War II
action count
action union
action filter_type
action find
entity World War II
relation participant
type designation for an administrative territorial entity
action filter_type
action find
entity World War II
relation participant
type political territorial entity
['World War II', 'participant', {'concept': 'designation for an administrative territorial entity'}] ['World War II', 'participant', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
6
Q142 Q145 Q183 Q17 Q30 Q38
(Q362,P710,c(Q15617994)) (Q362,P710,c(Q1048835))
action count
action union
action filter_type
action find
entity Q362
relation P710
type Q15617994
action filter_type
action find
entity Q362
relation P710
type Q1048835
[ANSWER]
['Q362', 'P710', {'concept': 'Q15617994'}] ['Q362', 'P710', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } }
France United Kingdom Germany Japan United States of America Italy
6
action count
action union
action filter_type
action find
entity World War II
relation participant
type designation for an administrative territorial entity
action filter_type
action find
entity World War II
relation participant
type political territorial entity
['World War II', 'participant', {'concept': 'designation for an administrative territorial entity'}] ['World War II', 'participant', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q618779 Q1047113 Q618779
USER
How many awards are a component of around 1 awards and special fields ?
(c(Q618779),P361,c(Q618779)|c(Q1047113))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q618779
type Q618779
action find_tuple_counts
relation P361
type Q618779
type Q1047113
value 1
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q618779'}, {'concept': 'Q1047113'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) ?m WHERE { { ?m property:P361 ?z . ?m rdf:type ontology:Q618779 . ?z rdf:type ontology:Q618779 } UNION { ?m property:P361 ?z . ?m rdf:type ontology:Q618779 . ?z rdf:type ontology:Q1047113 } } GROUP BY ?m } . FILTER ( ?p = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation part of
type award
type award
action find_tuple_counts
relation part of
type award
type special field
value 1
[{'concept': 'award'}, 'part of', [{'concept': 'award'}, {'concept': 'special field'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) ?m WHERE { { ?m property:part_of ?z . ?m rdf:type ontology:award . ?z rdf:type ontology:award } UNION { ?m property:part_of ?z . ?m rdf:type ontology:award . ?z rdf:type ontology:special_field } } GROUP BY ?m } . FILTER ( ?p = 1 ) }
[]
award special field award
SYSTEM
40
Q15463524 Q16218137 Q26079956 Q24231374 Q23061993 Q372370 Q1086189 Q23059849 Q266012 Q20857709 Q16395246 Q7600545 Q5579156 Q26084288 Q267950 Q11288429 Q1549393 Q20857713 Q3405076 Q20857717 Q20857715 Q15284630 Q4120984 Q14941844 Q3405797 Q3405795 Q3405792 Q37922 Q3405790 Q23062015 Q13377517 Q15464509 Q20857721 Q26481897 Q936683 Q610903 Q23061860 Q4120948 Q15464524 Q11593374
(c(Q618779),P361,c(Q618779)|c(Q1047113))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q618779
type Q618779
action find_tuple_counts
relation P361
type Q618779
type Q1047113
value 1
[ANSWER]
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q618779'}, {'concept': 'Q1047113'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) ?m WHERE { { ?m property:P361 ?z . ?m rdf:type ontology:Q618779 . ?z rdf:type ontology:Q618779 } UNION { ?m property:P361 ?z . ?m rdf:type ontology:Q618779 . ?z rdf:type ontology:Q1047113 } } GROUP BY ?m } . FILTER ( ?p = 1 ) }
Knight of the National Order of Quebec Seumas McNally Grand Prize Tony Award for Best Sound Design of a Play Ingeborg Bachmann Award 2016 Charles Veillon prize in the Italian language Knight's Cross Nebula Award for Best Novella Hans Christian Andersen Award for illustration Nebula Award for Best Novel Grand Cordon of the National Order of the Cedar‎ Ridenhour Truth-Telling Prize Gullspiran Golden Ariel Tony Award for Best Sound Design of a Musical Empire Gallantry Medal Grand Cordon of the Order of the Paulownia Flowers Grand Officer Grand Officer of the National Order of the Cedar Prix Médicis for foreign literature Officer of the National Order of the Cedar Commander of the National Order of the Cedar Grand Officer of the Order of Saints Maurice and Lazarus Magritte Award for Best Director Prix Médicis essai Governor General's Award for French-language children's literature Governor General's Award for French-language children's illustration Governor General's Award for English-language children's literature Nobel Prize in Literature Governor General's Award for English-language children's illustration Charles Veillon prize in the German language Knight Grand Cross with Collar of the Order of St. Olav‎ Grand Officer of the National Order of Quebec Knight of the National Order of the Cedar octave d'honneur Nebula Award for Best Novelette Nebula Award for Best Short Story Charles Veillon prize in the French language Magritte Award for Best Film Officer of the National Order of Quebec Knight of the Royal and Military Order of Saint Louis
40
action count
action approx
action union
action find_tuple_counts
relation part of
type award
type award
action find_tuple_counts
relation part of
type award
type special field
value 1
[{'concept': 'award'}, 'part of', [{'concept': 'award'}, {'concept': 'special field'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) ?m WHERE { { ?m property:part_of ?z . ?m rdf:type ontology:award . ?z rdf:type ontology:award } UNION { ?m property:part_of ?z . ?m rdf:type ontology:award . ?z rdf:type ontology:special_field } } GROUP BY ?m } . FILTER ( ?p = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q843571
P106
Q12737077
USER
Which occupation is the profession of Denver Randleman ?
(Q843571,P106,c(Q12737077))
action filter_type
action find
entity Q843571
relation P106
type Q12737077
['Q843571', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q843571 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Denver Randleman
action filter_type
action find
entity Denver Randleman
relation occupation
type occupation
['Denver Randleman', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Denver_Randleman property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q4991371
SYSTEM
soldier
Q4991371
(Q843571,P106,c(Q12737077))
action filter_type
action find
entity Q843571
relation P106
type Q12737077
The [ANSWER] is the profession of Denver Randleman
['Q843571', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q843571 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
soldier
The soldier is the profession of Denver Randleman
soldier
action filter_type
action find
entity Denver Randleman
relation occupation
type occupation
['Denver Randleman', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Denver_Randleman property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q843571
P20
Q56061
USER
Where did Denver Randleman expire ?
(Q843571,P20,c(Q56061))
action filter_type
action find
entity Q843571
relation P20
type Q56061
['Q843571', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q843571 property:P20 ?o }
Denver Randleman
action filter_type
action find
entity Denver Randleman
relation place of death
type administrative territorial entity
['Denver Randleman', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Denver_Randleman property:place_of_death ?o }
[]
administrative territorial entity
Q79438
SYSTEM
Texarkana
Q79438
(Q843571,P20,c(Q56061))
action filter_type
action find
entity Q843571
relation P20
type Q56061
Denver Randleman expired in [ANSWER]
['Q843571', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q843571 property:P20 ?o }
Texarkana
Denver Randleman expired in Texarkana
Texarkana
action filter_type
action find
entity Denver Randleman
relation place of death
type administrative territorial entity
['Denver Randleman', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Denver_Randleman property:place_of_death ?o }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1360562
Q56061
USER
And what about Ernst Wenck?
(Q1360562,P20,c(Q56061))
action filter_type
action find
entity Q1360562
relation P20
type Q56061
['Q1360562', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q1360562 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Ernst Wenck
action filter_type
action find
entity Ernst Wenck
relation place of death
type administrative territorial entity
['Ernst Wenck', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Ernst_Wenck property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q1360562,P20,c(Q56061))
action filter_type
action find
entity Q1360562
relation P20
type Q56061
[ANSWER]
['Q1360562', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q1360562 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Berlin
Berlin
action filter_type
action find
entity Ernst Wenck
relation place of death
type administrative territorial entity
['Ernst Wenck', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Ernst_Wenck property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]