Simple Question (Direct)
Simple Question
Q1457765
P607
Q198
USER
What battle were Friedrich-Georg Brinkmann a part of ?
(Q1457765,P607,c(Q198))
action filter_type
action find
entity Q1457765
relation P607
type Q198
['Q1457765', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?r WHERE { resource:Q1457765 property:P607 ?r . ?r rdf:type ontology:Q198 }
Friedrich-Georg Brinkmann
action filter_type
action find
entity Friedrich-Georg Brinkmann
relation conflict
type war
['Friedrich-Georg Brinkmann', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?r WHERE { resource:Friedrich-Georg_Brinkmann property:conflict ?r . ?r rdf:type ontology:war }
[]
war
Q362 Q361
SYSTEM
World War II, World War I
Q362 Q361
(Q1457765,P607,c(Q198))
action filter_type
action find
entity Q1457765
relation P607
type Q198
[ANSWERS]
['Q1457765', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?r WHERE { resource:Q1457765 property:P607 ?r . ?r rdf:type ontology:Q198 }
World War II World War I
World War II World War I
action filter_type
action find
entity Friedrich-Georg Brinkmann
relation conflict
type war
['Friedrich-Georg Brinkmann', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?r WHERE { resource:Friedrich-Georg_Brinkmann property:conflict ?r . ?r rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q362 Q361
P361
Q178561
USER
What are a component of World War II and World War I ?
(c(Q178561),P361,Q362) (c(Q178561),P361,Q361)
action union
action filter_type
action find_reverse
entity Q362
relation P361
type Q178561
action filter_type
action find_reverse
entity Q361
relation P361
type Q178561
[{'concept': 'Q178561'}, 'P361', 'Q362'] [{'concept': 'Q178561'}, 'P361', 'Q361']
SELECT DISTINCT ?e WHERE { { ?e property:P361 resource:Q362 . ?e rdf:type ontology:Q178561 } UNION { ?e property:P361 resource:Q361 . ?e rdf:type ontology:Q178561 } }
World War II World War I
action union
action filter_type
action find_reverse
entity World War II
relation part of
type battle
action filter_type
action find_reverse
entity World War I
relation part of
type battle
[{'concept': 'battle'}, 'part of', 'World War II'] [{'concept': 'battle'}, 'part of', 'World War I']
SELECT DISTINCT ?e WHERE { { ?e property:part_of resource:World_War_II . ?e rdf:type ontology:battle } UNION { ?e property:part_of resource:World_War_I . ?e rdf:type ontology:battle } }
[]
battle
Q157627 Q2657479 Q156554
SYSTEM
Battle of the Atlantic, raid on Scarborough, Hartlepool and Whitby, Battle of Jutland
Q1668495 Q157627 Q696607 Q2597051 Q1541340 Q696438 Q1636800 Q207165 Q701908 Q515168 Q544090 Q702096 Q610242 Q58459 Q1475679 Q715886 Q699411 Q263142 Q548819 Q2553656 Q263245 Q4677371 Q2657479 Q871617 Q2237192 Q2053006 Q677660 Q15076387 Q700864 Q156554 Q73194 Q160011 Q4871836 Q3090819 Q1034037 Q702255 Q2013772 Q4677411 Q766015 Q1778176
(c(Q178561),P361,Q362) (c(Q178561),P361,Q361)
action union
action filter_type
action find_reverse
entity Q362
relation P361
type Q178561
action filter_type
action find_reverse
entity Q361
relation P361
type Q178561
[ANSWERS]
[{'concept': 'Q178561'}, 'P361', 'Q362'] [{'concept': 'Q178561'}, 'P361', 'Q361']
SELECT DISTINCT ?e WHERE { { ?e property:P361 resource:Q362 . ?e rdf:type ontology:Q178561 } UNION { ?e property:P361 resource:Q361 . ?e rdf:type ontology:Q178561 } }
Battle of Kolombangara Battle of the Atlantic Battle of the Denmark Strait Battle of Blackett Strait Battle of Cape Spartivento Naval Battle of Guadalcanal Battle of Cape Spada Battle of the Coral Sea Naval Battle of Vella Lavella Battle off Horaniu Battle of Cape Matapan Battle of Kula Gulf Battle of Rennell Island Battle between HMAS Sydney and German auxiliary cruiser Kormoran Battle of Tassafaronga Battle of the North Cape Battle of the Barents Sea Battle of the Java Sea Battle of the Komandorski Islands Battle of the Tarigo Convoy Bombardment of Yarmouth and Lowestoft Action of 4 May 1917 raid on Scarborough, Hartlepool and Whitby Operation Albion Battle of Moon Sound pursuit of Goeben and Breslau Battle of Heligoland Bight (1914) Skirmish at Joncherey Zeebrugge Raid Battle of Jutland Battle of Dogger Bank Battle of the Falkland Islands Battle of Más a Tierra Battle of Dover Strait Battle of the Strait of Otranto Battle of the Gulf of Riga Battle of Dogger Bank Action off Lerwick Battle of Dover Strait Battle of Antivari
Battle of the Atlantic raid on Scarborough, Hartlepool and Whitby Battle of Jutland
action union
action filter_type
action find_reverse
entity World War II
relation part of
type battle
action filter_type
action find_reverse
entity World War I
relation part of
type battle
[{'concept': 'battle'}, 'part of', 'World War II'] [{'concept': 'battle'}, 'part of', 'World War I']
SELECT DISTINCT ?e WHERE { { ?e property:part_of resource:World_War_II . ?e rdf:type ontology:battle } UNION { ?e property:part_of resource:World_War_I . ?e rdf:type ontology:battle } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q157627 Q2657479 Q156554
P361
Q198
USER
Which wars are those battles a component of ?
(Q157627,P361,c(Q198)) (Q2657479,P361,c(Q198)) (Q156554,P361,c(Q198))
action filter_type
action find
entity prev_answer
relation P361
type Q198
['Q157627', 'P361', {'concept': 'Q198'}] ['Q2657479', 'P361', {'concept': 'Q198'}] ['Q156554', 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q198 . ?g property:P361 ?i . VALUES ( ?g ) { ( resource:Q1668495 ) ( resource:Q157627 ) ( resource:Q696607 ) } }
Battle of the Atlantic raid on Scarborough, Hartlepool and Whitby Battle of Jutland
action filter_type
action find
entity prev_answer
relation part of
type war
['Battle of the Atlantic', 'part of', {'concept': 'war'}] ['raid on Scarborough, Hartlepool and Whitby', 'part of', {'concept': 'war'}] ['Battle of Jutland', 'part of', {'concept': 'war'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:war . ?g property:part_of ?i . VALUES ( ?g ) { ( resource:Battle_of_Kolombangara ) ( resource:Battle_of_the_Atlantic ) ( resource:Battle_of_the_Denmark_Strait ) } }
[]
war
Q362 Q361 Q361
SYSTEM
World War II for 1st, World War I for 2nd, 3rd
Q362 Q361 Q361
(Q157627,P361,c(Q198)) (Q2657479,P361,c(Q198)) (Q156554,P361,c(Q198))
action filter_type
action find
entity prev_answer
relation P361
type Q198
[ANSWERS]
['Q157627', 'P361', {'concept': 'Q198'}] ['Q2657479', 'P361', {'concept': 'Q198'}] ['Q156554', 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q198 . ?g property:P361 ?i . VALUES ( ?g ) { ( resource:Q1668495 ) ( resource:Q157627 ) ( resource:Q696607 ) } }
World War II World War I World War I
World War II World War I World War I
action filter_type
action find
entity prev_answer
relation part of
type war
['Battle of the Atlantic', 'part of', {'concept': 'war'}] ['raid on Scarborough, Hartlepool and Whitby', 'part of', {'concept': 'war'}] ['Battle of Jutland', 'part of', {'concept': 'war'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:war . ?g property:part_of ?i . VALUES ( ?g ) { ( resource:Battle_of_Kolombangara ) ( resource:Battle_of_the_Atlantic ) ( resource:Battle_of_the_Denmark_Strait ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q157627
P276
Q15324
USER
Where are Battle of the Atlantic situated ?
(Q157627,P276,c(Q15324))
action filter_type
action find
entity Q157627
relation P276
type Q15324
['Q157627', 'P276', {'concept': 'Q15324'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15324 . resource:Q157627 property:P276 ?i }
Battle of the Atlantic
action filter_type
action find
entity Battle of the Atlantic
relation location
type body of water
['Battle of the Atlantic', 'location', {'concept': 'body of water'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:body_of_water . resource:Battle_of_the_Atlantic property:location ?i }
[]
body of water
Q41735 Q1247 Q1693
SYSTEM
Irish Sea, Caribbean Sea, North Sea
Q1247 Q12630 Q41735 Q184189 Q1693
(Q157627,P276,c(Q15324))
action filter_type
action find
entity Q157627
relation P276
type Q15324
[ANSWERS]
['Q157627', 'P276', {'concept': 'Q15324'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15324 . resource:Q157627 property:P276 ?i }
Caribbean Sea Gulf of Mexico Irish Sea Labrador Sea North Sea
Irish Sea Caribbean Sea North Sea
action filter_type
action find
entity Battle of the Atlantic
relation location
type body of water
['Battle of the Atlantic', 'location', {'concept': 'body of water'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:body_of_water . resource:Battle_of_the_Atlantic property:location ?i }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4565710
Q15324
USER
And also tell me about 1946 Australian National Airways DC-3 crash?
(Q4565710,P276,c(Q15324))
action filter_type
action find
entity Q4565710
relation P276
type Q15324
['Q4565710', 'P276', {'concept': 'Q15324'}]
SELECT DISTINCT ?e WHERE { resource:Q4565710 property:P276 ?e . ?e rdf:type ontology:Q15324 }
1946 Australian National Airways DC-3 crash
action filter_type
action find
entity 1946 Australian National Airways DC-3 crash
relation location
type body of water
['1946 Australian National Airways DC-3 crash', 'location', {'concept': 'body of water'}]
SELECT DISTINCT ?e WHERE { resource:1946_Australian_National_Airways_DC-3_crash property:location ?e . ?e rdf:type ontology:body_of_water }
[]
body of water
Q5497998
SYSTEM
Frederick Henry Bay
Q5497998
(Q4565710,P276,c(Q15324))
action filter_type
action find
entity Q4565710
relation P276
type Q15324
[ANSWER]
['Q4565710', 'P276', {'concept': 'Q15324'}]
SELECT DISTINCT ?e WHERE { resource:Q4565710 property:P276 ?e . ?e rdf:type ontology:Q15324 }
Frederick Henry Bay
Frederick Henry Bay
action filter_type
action find
entity 1946 Australian National Airways DC-3 crash
relation location
type body of water
['1946 Australian National Airways DC-3 crash', 'location', {'concept': 'body of water'}]
SELECT DISTINCT ?e WHERE { resource:1946_Australian_National_Airways_DC-3_crash property:location ?e . ?e rdf:type ontology:body_of_water }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P138
Q502895 Q271669 Q15324
USER
How many bodies of water are named after lesser number of people and landforms than that body of water ?
(c(Q15324),P138,c(Q502895)|c(Q271669))
action count
action less
action union
action find_tuple_counts
relation P138
type Q15324
type Q502895
action find_tuple_counts
relation P138
type Q15324
type Q271669
action count
action filter_multi_types
action find
entity Q5497998
relation P138
type Q502895
type Q271669
[{'concept': 'Q15324'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Q5497998 property:P138 ?g . { { ?g rdf:type ontology:Q271669 } UNION { ?g rdf:type ontology:Q502895 } } } } . FILTER ( ?b < ?t ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) ?d WHERE { { ?d rdf:type ontology:Q15324 . ?j rdf:type ontology:Q502895 . ?d property:P138 ?j } UNION { ?d property:P138 ?j . ?d rdf:type ontology:Q15324 . ?j rdf:type ontology:Q271669 } } GROUP BY ?d } }
action count
action less
action union
action find_tuple_counts
relation named after
type body of water
type common name
action find_tuple_counts
relation named after
type body of water
type landform
action count
action filter_multi_types
action find
entity Frederick Henry Bay
relation named after
type common name
type landform
[{'concept': 'body of water'}, 'named after', [{'concept': 'common name'}, {'concept': 'landform'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Frederick_Henry_Bay property:named_after ?g . { { ?g rdf:type ontology:landform } UNION { ?g rdf:type ontology:common_name } } } } . FILTER ( ?b < ?t ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) ?d WHERE { { ?d rdf:type ontology:body_of_water . ?j rdf:type ontology:common_name . ?d property:named_after ?j } UNION { ?d property:named_after ?j . ?d rdf:type ontology:body_of_water . ?j rdf:type ontology:landform } } GROUP BY ?d } }
[]
common name landform body of water
SYSTEM
46
Q1232282 Q393854 Q19758852 Q21857521 Q21856761 Q10688824 Q3108304 Q879971 Q2879789 Q10527306 Q1693 Q1655368 Q4892210 Q141061 Q174731 Q2203907 Q5917000 Q21823246 Q21823245 Q21855228 Q6486120 Q23906 Q271198 Q21855512 Q700309 Q317006 Q2393002 Q531060 Q21855782 Q37495 Q10515932 Q5210079 Q913418 Q2119446 Q812911 Q21855513 Q21897357 Q24037731 Q2392921 Q213367 Q21855225 Q21855510 Q21855223 Q21855514 Q18572539 Q12173630
(c(Q15324),P138,c(Q502895)|c(Q271669))
action count
action less
action union
action find_tuple_counts
relation P138
type Q15324
type Q502895
action find_tuple_counts
relation P138
type Q15324
type Q271669
action count
action filter_multi_types
action find
entity Q5497998
relation P138
type Q502895
type Q271669
[ANSWER]
[{'concept': 'Q15324'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Q5497998 property:P138 ?g . { { ?g rdf:type ontology:Q271669 } UNION { ?g rdf:type ontology:Q502895 } } } } . FILTER ( ?b < ?t ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) ?d WHERE { { ?d rdf:type ontology:Q15324 . ?j rdf:type ontology:Q502895 . ?d property:P138 ?j } UNION { ?d property:P138 ?j . ?d rdf:type ontology:Q15324 . ?j rdf:type ontology:Q271669 } } GROUP BY ?d } }
Djurgårdsbrunnsviken Narva Bay Sattahip Bay Soraner Glacier Pasterze Glacier Södertäljeviken Nimrod Glacier Dassower See Le Pouliguen Bay Husarviken North Sea Bounty Bay Berkovitsa Glacier Erebus and Terror Gulf Gulf of Riga Rügischer Bodden Hovde Glacier Aldebaran Glacier Sirius Glacier Linné Glacier Langhovde Glacier Merrick Glacier Årstaviken Jupiter Glacier Bay of Lübeck Bay of Mecklenburg Gulf of Odessa Bay of Wismar Iris Glacier Ionian Sea Hagaviken Dakshin Gangotri Glacier Thermaic Gulf Bay of Puck Beagle Gulf Mars Glacier Gammel Hellerup Glacier bay of Le Croisic Khadzhibey Estuary Gdańsk Bay Gully Glacier Orion Gletscher Krabbe Glacier Mercurius Glacier Linnébreen Gulf of Yalta
46
action count
action less
action union
action find_tuple_counts
relation named after
type body of water
type common name
action find_tuple_counts
relation named after
type body of water
type landform
action count
action filter_multi_types
action find
entity Frederick Henry Bay
relation named after
type common name
type landform
[{'concept': 'body of water'}, 'named after', [{'concept': 'common name'}, {'concept': 'landform'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { resource:Frederick_Henry_Bay property:named_after ?g . { { ?g rdf:type ontology:landform } UNION { ?g rdf:type ontology:common_name } } } } . FILTER ( ?b < ?t ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) ?d WHERE { { ?d rdf:type ontology:body_of_water . ?j rdf:type ontology:common_name . ?d property:named_after ?j } UNION { ?d property:named_after ?j . ?d rdf:type ontology:body_of_water . ?j rdf:type ontology:landform } } GROUP BY ?d } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5497998
P17
Q1048835
USER
Which political territory is Frederick Henry Bay a part of ?
(Q5497998,P17,c(Q1048835))
action filter_type
action find
entity Q5497998
relation P17
type Q1048835
['Q5497998', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1048835 . resource:Q5497998 property:P17 ?e }
Frederick Henry Bay
action filter_type
action find
entity Frederick Henry Bay
relation country
type political territorial entity
['Frederick Henry Bay', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:political_territorial_entity . resource:Frederick_Henry_Bay property:country ?e }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q5497998,P17,c(Q1048835))
action filter_type
action find
entity Q5497998
relation P17
type Q1048835
[ANSWER]
['Q5497998', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1048835 . resource:Q5497998 property:P17 ?e }
Australia
Australia
action filter_type
action find
entity Frederick Henry Bay
relation country
type political territorial entity
['Frederick Henry Bay', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:political_territorial_entity . resource:Frederick_Henry_Bay property:country ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5497998
P206
Q271669
USER
Which landform is situated in the neighbourhood of that body of water ?
(c(Q271669),P206,Q408)
action filter_type
action find_reverse
entity Q5497998
relation P206
type Q271669
[{'concept': 'Q271669'}, 'P206', 'Q408']
SELECT DISTINCT ?q WHERE { ?q property:P206 resource:Q5497998 . ?q rdf:type ontology:Q271669 }
Frederick Henry Bay
action filter_type
action find_reverse
entity Frederick Henry Bay
relation located next to body of water
type landform
[{'concept': 'landform'}, 'located next to body of water', 'Australia']
SELECT DISTINCT ?q WHERE { ?q property:located_next_to_body_of_water resource:Frederick_Henry_Bay . ?q rdf:type ontology:landform }
[]
landform
Q5876970
SYSTEM
Hog Island
Q5876970
(c(Q271669),P206,Q408)
action filter_type
action find_reverse
entity Q5497998
relation P206
type Q271669
[ANSWER]
[{'concept': 'Q271669'}, 'P206', 'Q408']
SELECT DISTINCT ?q WHERE { ?q property:P206 resource:Q5497998 . ?q rdf:type ontology:Q271669 }
Hog Island
Hog Island
action filter_type
action find_reverse
entity Frederick Henry Bay
relation located next to body of water
type landform
[{'concept': 'landform'}, 'located next to body of water', 'Australia']
SELECT DISTINCT ?q WHERE { ?q property:located_next_to_body_of_water resource:Frederick_Henry_Bay . ?q rdf:type ontology:landform }
[]