Simple Question (Direct)
Simple Question
Q8014210
P69
Q1935049
USER
What is the military school where William L. Shelton was educated ?
(Q8014210,P69,c(Q1935049))
action filter_type
action find
entity Q8014210
relation P69
type Q1935049
['Q8014210', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?t WHERE { resource:Q8014210 property:P69 ?t . ?t rdf:type ontology:Q1935049 }
William L. Shelton
action filter_type
action find
entity William L. Shelton
relation educated at
type military school
['William L. Shelton', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?t WHERE { resource:William_L._Shelton property:educated_at ?t . ?t rdf:type ontology:military_school }
[]
military school
Q1331280
SYSTEM
United States Air Force Academy
Q1331280
(Q8014210,P69,c(Q1935049))
action filter_type
action find
entity Q8014210
relation P69
type Q1935049
The military school William L. is a [ANSWER]
['Q8014210', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?t WHERE { resource:Q8014210 property:P69 ?t . ?t rdf:type ontology:Q1935049 }
United States Air Force Academy
The military school William L. is a United States Air Force Academy
United States Air Force Academy
action filter_type
action find
entity William L. Shelton
relation educated at
type military school
['William L. Shelton', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?t WHERE { resource:William_L._Shelton property:educated_at ?t . ?t rdf:type ontology:military_school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8014210
P106
Q12737077
USER
What is the profession of that person ?
(Q1331280,P106,c(Q12737077))
action filter_type
action find
entity Q8014210
relation P106
type Q12737077
['Q1331280', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q8014210 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
William L. Shelton
action filter_type
action find
entity William L. Shelton
relation occupation
type occupation
['United States Air Force Academy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:William_L._Shelton property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q189290
SYSTEM
officer
Q189290
(Q1331280,P106,c(Q12737077))
action filter_type
action find
entity Q8014210
relation P106
type Q12737077
The profession of that person is an [ANSWER]
['Q1331280', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q8014210 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
officer
The profession of that person is an officer
officer
action filter_type
action find
entity William L. Shelton
relation occupation
type occupation
['United States Air Force Academy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:William_L._Shelton property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26607216 Q1331280
P17
Q15617994
USER
Which administrative territories are United States Air Force Academy or Temple Farmhouse located in ?
OR((Q1331280,P17,c(Q15617994)), (Q26607216,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1331280
relation P17
action find
entity Q26607216
relation P17
type Q15617994
{'OR': [['Q1331280', 'P17', {'concept': 'Q15617994'}], ['Q26607216', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . { { resource:Q1331280 property:P17 ?h } UNION { resource:Q26607216 property:P17 ?h } } }
Temple Farmhouse United States Air Force Academy
action filter_type
action union
action find
entity United States Air Force Academy
relation country
action find
entity Temple Farmhouse
relation country
type designation for an administrative territorial entity
{'OR': [['United States Air Force Academy', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Temple Farmhouse', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:United_States_Air_Force_Academy property:country ?h } UNION { resource:Temple_Farmhouse property:country ?h } } }
[]
designation for an administrative territorial entity
Q30 Q145
SYSTEM
United States of America, United Kingdom
Q30 Q145
OR((Q1331280,P17,c(Q15617994)), (Q26607216,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1331280
relation P17
action find
entity Q26607216
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q1331280', 'P17', {'concept': 'Q15617994'}], ['Q26607216', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . { { resource:Q1331280 property:P17 ?h } UNION { resource:Q26607216 property:P17 ?h } } }
United States of America United Kingdom
Which administrative territories are United States Air Force Academy or Temple Farmhouse located in
United States of America United Kingdom
action filter_type
action union
action find
entity United States Air Force Academy
relation country
action find
entity Temple Farmhouse
relation country
type designation for an administrative territorial entity
{'OR': [['United States Air Force Academy', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Temple Farmhouse', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:United_States_Air_Force_Academy property:country ?h } UNION { resource:Temple_Farmhouse property:country ?h } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q167608
P495
Q201658
USER
Did Nora originate in those administrative territories ?
(Q167608,P495,Q30) (Q167608,P495,Q145)
action is_in
entity prev_answer
action find
entity Q167608
relation P495
['Q167608', 'P495', 'Q30'] ['Q167608', 'P495', 'Q145']
ASK WHERE { VALUES ( ?w ) { ( resource:Q30 ) ( resource:Q145 ) } . resource:Q167608 property:P495 ?w }
Nora
action is_in
entity prev_answer
action find
entity Nora
relation country of origin
['Nora', 'country of origin', 'United States of America'] ['Nora', 'country of origin', 'United Kingdom']
ASK WHERE { VALUES ( ?w ) { ( resource:United_States_of_America ) ( resource:United_Kingdom ) } . resource:Nora property:country_of_origin ?w }
[]
film genre
SYSTEM
YES
(Q167608,P495,Q30) (Q167608,P495,Q145)
action is_in
entity prev_answer
action find
entity Q167608
relation P495
[ANSWER]
['Q167608', 'P495', 'Q30'] ['Q167608', 'P495', 'Q145']
ASK WHERE { VALUES ( ?w ) { ( resource:Q30 ) ( resource:Q145 ) } . resource:Q167608 property:P495 ?w }
Yes
action is_in
entity prev_answer
action find
entity Nora
relation country of origin
['Nora', 'country of origin', 'United States of America'] ['Nora', 'country of origin', 'United Kingdom']
ASK WHERE { VALUES ( ?w ) { ( resource:United_States_of_America ) ( resource:United_Kingdom ) } . resource:Nora property:country_of_origin ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P530
Q1048835
USER
Which political territories have diplomatic relations with United Kingdom ?
(Q145,P530,c(Q1048835))
action filter_type
action find
entity Q145
relation P530
type Q1048835
['Q145', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q145 property:P530 ?u . ?u rdf:type ontology:Q1048835 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type political territorial entity
['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:United_Kingdom property:diplomatic_relation ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q408 Q183
SYSTEM
Canada, Australia, Germany
Q16 Q408 Q183
(Q145,P530,c(Q1048835))
action filter_type
action find
entity Q145
relation P530
type Q1048835
[ANSWERS] have diplomatic relations with United Kingdom
['Q145', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q145 property:P530 ?u . ?u rdf:type ontology:Q1048835 }
Canada Australia Germany
Canada, Australia and Germany have diplomatic relations with United Kingdom
Canada Australia Germany
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type political territorial entity
['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:United_Kingdom property:diplomatic_relation ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q16 Q408 Q183
P17
Q1190554
USER
Which events are present in those political territories ?
(c(Q1190554),P17,Q16) (c(Q1190554),P17,Q408) (c(Q1190554),P17,Q183)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q1190554
[{'concept': 'Q1190554'}, 'P17', 'Q16'] [{'concept': 'Q1190554'}, 'P17', 'Q408'] [{'concept': 'Q1190554'}, 'P17', 'Q183']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1190554 . VALUES ( ?x ) { ( resource:Q16 ) ( resource:Q408 ) ( resource:Q183 ) } . ?k property:P17 ?x }
Canada Australia Germany
action filter_type
action find_reverse
entity prev_answer
relation country
type event
[{'concept': 'event'}, 'country', 'Canada'] [{'concept': 'event'}, 'country', 'Australia'] [{'concept': 'event'}, 'country', 'Germany']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:event . VALUES ( ?x ) { ( resource:Canada ) ( resource:Australia ) ( resource:Germany ) } . ?k property:country ?x }
[]
event
Q154635 Q327052 Q3088701
SYSTEM
Battle of Blenheim, Battle of Aachen, Germany–Netherlands border
Q2887928 Q365640 Q4871043 Q7638339 Q1810895 Q233356 Q2888338 Q7581128 Q6363295 Q1247957 Q963444 Q16208754 Q20006925 Q5934341 Q5899474 Q4955670 Q2889080 Q4659995 Q1416369 Q2206926 Q1793109 Q1361990 Q315310 Q5421310 Q4610706 Q364322 Q7269858 Q7309105 Q7304840 Q311726 Q177470 Q16950569 Q4967593 Q7687708 Q24476315 Q1752783 Q7283737 Q7283742 Q2890920 Q6153608 Q857399 Q1390639 Q2493223 Q2741064 Q7687670 Q2502388 Q16253194 Q7278284 Q16968638 Q25182908 Q7069019 Q8021140 Q16822556 Q7687390 Q7376851 Q5554795 Q19874872 Q8037324 Q5037024 Q4870372 Q7514280 Q18167646 Q4871300 Q2339149 Q170265 Q36749 Q490223 Q3088701 Q875884 Q154182 Q1567931 Q262648 Q1494286 Q154635 Q1434874 Q835869 Q708574 Q3628839 Q541647 Q477592 Q10938842 Q555463 Q653561 Q688986 Q2281429 Q705813 Q819634 Q315135 Q479979 Q151349 Q877777 Q895686 Q27849294 Q698045 Q677892 Q656190 Q481466 Q661764 Q1568334 Q629302 Q820192 Q551247 Q1053025 Q26836511 Q154426 Q1792594 Q2639377 Q875526 Q617781 Q205379 Q7879625 Q833962 Q2889935 Q160721 Q610150 Q327052 Q327056 Q1700886
(c(Q1190554),P17,Q16) (c(Q1190554),P17,Q408) (c(Q1190554),P17,Q183)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q1190554
[ANSWERS] are present in those political territories
[{'concept': 'Q1190554'}, 'P17', 'Q16'] [{'concept': 'Q1190554'}, 'P17', 'Q408'] [{'concept': 'Q1190554'}, 'P17', 'Q183']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1190554 . VALUES ( ?x ) { ( resource:Q16 ) ( resource:Q408 ) ( resource:Q183 ) } . ?k property:P17 ?x }
Battle of Eccles Hill Battle of Beaver Dams Battle of Fort Erie Sun Indalex Finance, LLC v. United Steelworkers Dartchery at the 1976 Summer Paralympics Battle of Lacolle Mills Battle of Cook's Mills Springhill mining disaster Kanitz v Rogers Cable Inc Battle of Trois-Rivières Battle of Cut Knife Battle of the Lake of Two Mountains Station Square collapse Raid on Chignecto Hope Slide Braidwood Inquiry Battle of Lacolle A Taste of Edmonton Battle of Crysler's Farm Shooting at the 1976 Summer Paralympics Battle of Chippawa Battle of Lacolle Mills Battle of Restigouche Exploits Valley Salmon Festival 2008 Canada listeriosis outbreak Battle of Lundy's Lane Quebec rockslide Regional Municipality of Peel v Canada Red River Exhibition Battle of the Plains of Abraham Battle of Stoney Creek Marc Hall v Durham Catholic School Board Brighton Applefest Taste of the Danforth Atlantic No. 3 wild well Battle of the Chateauguay Raid on Dartmouth Raid on Dartmouth Battle of Duck Lake Janet Smith case Canadian National Exhibition Battle of Frenchman's Creek Wheelchair fencing at the 2000 Summer Paralympics Judo at the 2000 Summer Paralympics Taste of Tasmania Shooting at the 2000 Summer Paralympics Bankstown Bites Food Festival R v Kirby; Ex parte Boilermakers' Society of Australia Roadshow Films v iiNet Vegfest Nulyarimma v Thompson Williams v The Queen Battle for No.3 Post Tasman Bridge disaster Ruddock v Vadarlis Getup Ltd v Electoral Commissioner Keech v Metropolitan Health Service Wotjobaluk, Jaadwa, Jadawadjali, Wergaia and Jupagulk Peoples v Victoria Capture of Jisr ed Damieh Battle of Ayun Kara Silberberg v The Builders Collective of Australia Inc. Shotter v Westpac Banking Corporation Battle of Jaffa Archery at the 2000 Summer Paralympics Battle of Bautzen Beer Hall Putsch Battle of Bornhöved Germany–Netherlands border Vollmer Battle of Berlin Hafengeburtstag Battle of Höchstädt Ries-Steinheim impact event Battle of Blenheim Battle of Sankelmark Battle of Wiesloch Battle of Stadtlohn Lathen train collision Battle of the Göhrde Battle of Drakenburg NSU Trial Battle at the Harzhorn Battle of Wolgast Battle of Hoyerswerda Dartchery at the 1972 Summer Paralympics Battle of Hohenlinden Bergfest Rhein in Flammen Battle of Abensberg Berlin Blockade Battle of Gammelsdorf Battle of Sievershausen landslide at Kikedal near Brunkensen, Lower Saxonx, Germany Sack of Magdeburg Battle of Freiberg Battle of Hemmingstedt Battle of Amberg Battle of Wimpfen Hailstorm in Munich Battle of Lutter Judges' Trial Battle of Lübeck Trialogue of Celle 2016 Cittadino Challenger Battle of Jena-Auerstedt Frankfurt art theft Siege of Kolberg Crusade aganst the Stedinger Second Battle of Heligoland Bight Battle of Breitenfeld (1631) Battle of the Seelow Heights Long Night of the Sciences Battle of Saarbrücken Doctors' Trial Siege of Dresden Battle of Aachen 2011 Germany E. coli O104:H4 outbreak Battle of Soltau
Battle of Blenheim, Battle of Aachen and Germany–Netherlands border are present in those political territories
Battle of Blenheim Battle of Aachen Germany–Netherlands border
action filter_type
action find_reverse
entity prev_answer
relation country
type event
[{'concept': 'event'}, 'country', 'Canada'] [{'concept': 'event'}, 'country', 'Australia'] [{'concept': 'event'}, 'country', 'Germany']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:event . VALUES ( ?x ) { ( resource:Canada ) ( resource:Australia ) ( resource:Germany ) } . ?k property:country ?x }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q154635 Q327052 Q3088701
P17
Q1048835
USER
Which political territories are Battle of Blenheim, Battle of Aachen and Germany–Netherlands border a part of ?
(Q154635,P17,c(Q1048835)) (Q327052,P17,c(Q1048835)) (Q3088701,P17,c(Q1048835))
action union
action filter_type
action find
entity Q154635
relation P17
type Q1048835
action filter_type
action find
entity Q327052
relation P17
type Q1048835
action filter_type
action find
entity Q3088701
relation P17
type Q1048835
['Q154635', 'P17', {'concept': 'Q1048835'}] ['Q327052', 'P17', {'concept': 'Q1048835'}] ['Q3088701', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?w ) { ( resource:Q154635 ) ( resource:Q327052 ) } . ?w property:P17 ?j }
Battle of Blenheim Battle of Aachen Germany–Netherlands border
action union
action filter_type
action find
entity Battle of Blenheim
relation country
type political territorial entity
action filter_type
action find
entity Battle of Aachen
relation country
type political territorial entity
action filter_type
action find
entity Germany–Netherlands border
relation country
type political territorial entity
['Battle of Blenheim', 'country', {'concept': 'political territorial entity'}] ['Battle of Aachen', 'country', {'concept': 'political territorial entity'}] ['Germany–Netherlands border', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?w ) { ( resource:Battle_of_Blenheim ) ( resource:Battle_of_Aachen ) } . ?w property:country ?j }
[]
political territorial entity
Q183 Q183 Q183
SYSTEM
Germany
Q183 Q183 Q183
(Q154635,P17,c(Q1048835)) (Q327052,P17,c(Q1048835)) (Q3088701,P17,c(Q1048835))
action union
action filter_type
action find
entity Q154635
relation P17
type Q1048835
action filter_type
action find
entity Q327052
relation P17
type Q1048835
action filter_type
action find
entity Q3088701
relation P17
type Q1048835
[ANSWER], [ANSWER] and [ANSWER] are Battle of Blenheim, Battle of Aachen and [ANSWER]–Netherlands border a part of
['Q154635', 'P17', {'concept': 'Q1048835'}] ['Q327052', 'P17', {'concept': 'Q1048835'}] ['Q3088701', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?w ) { ( resource:Q154635 ) ( resource:Q327052 ) } . ?w property:P17 ?j }
Germany Germany Germany
Germany, Germany and Germany are Battle of Blenheim, Battle of Aachen and Germany–Netherlands border a part of
Germany Germany Germany
action union
action filter_type
action find
entity Battle of Blenheim
relation country
type political territorial entity
action filter_type
action find
entity Battle of Aachen
relation country
type political territorial entity
action filter_type
action find
entity Germany–Netherlands border
relation country
type political territorial entity
['Battle of Blenheim', 'country', {'concept': 'political territorial entity'}] ['Battle of Aachen', 'country', {'concept': 'political territorial entity'}] ['Germany–Netherlands border', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?w ) { ( resource:Battle_of_Blenheim ) ( resource:Battle_of_Aachen ) } . ?w property:country ?j }
[]