Simple Question (Direct)
Simple Question
Q7660119
P607
Q350604
USER
What was the armed conflict that Sydney Rowell took part in
(Q7660119,P607,c(Q350604))
action filter_type
action find
entity Q7660119
relation P607
type Q350604
['Q7660119', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q350604 . resource:Q7660119 property:P607 ?f }
Sydney Rowell
action filter_type
action find
entity Sydney Rowell
relation conflict
type armed conflict
['Sydney Rowell', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:armed_conflict . resource:Sydney_Rowell property:conflict ?f }
[]
armed conflict
Q8663
SYSTEM
Korean War
Q8663
(Q7660119,P607,c(Q350604))
action filter_type
action find
entity Q7660119
relation P607
type Q350604
The armed conflict that Sydney Rowell took part in was the [ANSWER]
['Q7660119', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q350604 . resource:Q7660119 property:P607 ?f }
Korean War
The armed conflict that Sydney Rowell took part in was the Korean War
Korean War
action filter_type
action find
entity Sydney Rowell
relation conflict
type armed conflict
['Sydney Rowell', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:armed_conflict . resource:Sydney_Rowell property:conflict ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7660119
P20
Q15700808
USER
Where did that person die ?
(Q8663,P20,c(Q15700808))
action filter_type
action find
entity Q7660119
relation P20
type Q15700808
['Q8663', 'P20', {'concept': 'Q15700808'}]
SELECT DISTINCT ?l WHERE { resource:Q7660119 property:P20 ?l . ?l rdf:type ontology:Q15700808 }
Sydney Rowell
action filter_type
action find
entity Sydney Rowell
relation place of death
type urban unit definition
['Korean War', 'place of death', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?l WHERE { resource:Sydney_Rowell property:place_of_death ?l . ?l rdf:type ontology:urban_unit_definition }
[]
urban unit definition
Q2304617
SYSTEM
South Yarra
Q2304617
(Q8663,P20,c(Q15700808))
action filter_type
action find
entity Q7660119
relation P20
type Q15700808
That person died in [ANSWER]
['Q8663', 'P20', {'concept': 'Q15700808'}]
SELECT DISTINCT ?l WHERE { resource:Q7660119 property:P20 ?l . ?l rdf:type ontology:Q15700808 }
South Yarra
That person died in South Yarra
South Yarra
action filter_type
action find
entity Sydney Rowell
relation place of death
type urban unit definition
['Korean War', 'place of death', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?l WHERE { resource:Sydney_Rowell property:place_of_death ?l . ?l rdf:type ontology:urban_unit_definition }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q7660119
P607
Q198 Q350604
USER
How many wars or armed conflicts were Sydney Rowell a part of ?
(Q7660119,P607,c(Q198)) (Q7660119,P607,c(Q350604))
action count
action union
action filter_type
action find
entity Q7660119
relation P607
type Q198
action filter_type
action find
entity Q7660119
relation P607
type Q350604
['Q7660119', 'P607', {'concept': 'Q198'}] ['Q7660119', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { resource:Q7660119 property:P607 ?e . ?e rdf:type ontology:Q198 } UNION { resource:Q7660119 property:P607 ?e . ?e rdf:type ontology:Q350604 } }
Sydney Rowell
action count
action union
action filter_type
action find
entity Sydney Rowell
relation conflict
type war
action filter_type
action find
entity Sydney Rowell
relation conflict
type armed conflict
['Sydney Rowell', 'conflict', {'concept': 'war'}] ['Sydney Rowell', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { resource:Sydney_Rowell property:conflict ?e . ?e rdf:type ontology:war } UNION { resource:Sydney_Rowell property:conflict ?e . ?e rdf:type ontology:armed_conflict } }
[]
war armed conflict
SYSTEM
2
Q8663 Q361
(Q7660119,P607,c(Q198)) (Q7660119,P607,c(Q350604))
action count
action union
action filter_type
action find
entity Q7660119
relation P607
type Q198
action filter_type
action find
entity Q7660119
relation P607
type Q350604
[ANSWER]
['Q7660119', 'P607', {'concept': 'Q198'}] ['Q7660119', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { resource:Q7660119 property:P607 ?e . ?e rdf:type ontology:Q198 } UNION { resource:Q7660119 property:P607 ?e . ?e rdf:type ontology:Q350604 } }
Korean War World War I
2
action count
action union
action filter_type
action find
entity Sydney Rowell
relation conflict
type war
action filter_type
action find
entity Sydney Rowell
relation conflict
type armed conflict
['Sydney Rowell', 'conflict', {'concept': 'war'}] ['Sydney Rowell', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { resource:Sydney_Rowell property:conflict ?e . ?e rdf:type ontology:war } UNION { resource:Sydney_Rowell property:conflict ?e . ?e rdf:type ontology:armed_conflict } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8663
P276
Q1267889
USER
Which waterway is the location of Korean War ?
(Q8663,P276,c(Q1267889))
action filter_type
action find
entity Q8663
relation P276
type Q1267889
['Q8663', 'P276', {'concept': 'Q1267889'}]
SELECT DISTINCT ?u WHERE { resource:Q8663 property:P276 ?u . ?u rdf:type ontology:Q1267889 }
Korean War
action filter_type
action find
entity Korean War
relation location
type waterway
['Korean War', 'location', {'concept': 'waterway'}]
SELECT DISTINCT ?u WHERE { resource:Korean_War property:location ?u . ?u rdf:type ontology:waterway }
[]
waterway
Q52052
SYSTEM
Korea Strait
Q52052
(Q8663,P276,c(Q1267889))
action filter_type
action find
entity Q8663
relation P276
type Q1267889
The location of Korean War is in [ANSWER]
['Q8663', 'P276', {'concept': 'Q1267889'}]
SELECT DISTINCT ?u WHERE { resource:Q8663 property:P276 ?u . ?u rdf:type ontology:Q1267889 }
Korea Strait
The location of Korean War is in Korea Strait
Korea Strait
action filter_type
action find
entity Korean War
relation location
type waterway
['Korean War', 'location', {'concept': 'waterway'}]
SELECT DISTINCT ?u WHERE { resource:Korean_War property:location ?u . ?u rdf:type ontology:waterway }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20035725
Q1267889
USER
And how about Waterside House?
(Q20035725,P276,c(Q1267889))
action filter_type
action find
entity Q20035725
relation P276
type Q1267889
['Q20035725', 'P276', {'concept': 'Q1267889'}]
SELECT DISTINCT ?f WHERE { resource:Q20035725 property:P276 ?f . ?f rdf:type ontology:Q1267889 }
Waterside House
action filter_type
action find
entity Waterside House
relation location
type waterway
['Waterside House', 'location', {'concept': 'waterway'}]
SELECT DISTINCT ?f WHERE { resource:Waterside_House property:location ?f . ?f rdf:type ontology:waterway }
[]
waterway
Q7123324
SYSTEM
Paddington Basin
Q7123324
(Q20035725,P276,c(Q1267889))
action filter_type
action find
entity Q20035725
relation P276
type Q1267889
[ANSWER]
['Q20035725', 'P276', {'concept': 'Q1267889'}]
SELECT DISTINCT ?f WHERE { resource:Q20035725 property:P276 ?f . ?f rdf:type ontology:Q1267889 }
Paddington Basin
Paddington Basin
action filter_type
action find
entity Waterside House
relation location
type waterway
['Waterside House', 'location', {'concept': 'waterway'}]
SELECT DISTINCT ?f WHERE { resource:Waterside_House property:location ?f . ?f rdf:type ontology:waterway }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q7123324 Q1006201 Q5306306
P17
Q15617994
USER
Is that waterway located in Prillimäe and Posen-Robbins School District 143½ ?
(Q7123324,P17,Q1006201) (Q7123324,P17,Q5306306)
action is_in
entity Q7123324
action intersection
action find_reverse
entity Q1006201
relation P17
action find_reverse
entity Q5306306
relation P17
['Q7123324', 'P17', 'Q1006201'] ['Q7123324', 'P17', 'Q5306306']
ASK WHERE { resource:Q7123324 property:P17 resource:Q1006201 . resource:Q7123324 property:P17 resource:Q5306306 }
Paddington Basin Prillimäe Posen-Robbins School District 143½
action is_in
entity Paddington Basin
action intersection
action find_reverse
entity Prillimäe
relation country
action find_reverse
entity Posen-Robbins School District 143½
relation country
['Paddington Basin', 'country', 'Prillimäe'] ['Paddington Basin', 'country', 'Posen-Robbins School District 143½']
ASK WHERE { resource:Paddington_Basin property:country resource:Prillimäe . resource:Paddington_Basin property:country resource:Posen-Robbins_School_District_143½ }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q7123324,P17,Q1006201) (Q7123324,P17,Q5306306)
action is_in
entity Q7123324
action intersection
action find_reverse
entity Q1006201
relation P17
action find_reverse
entity Q5306306
relation P17
[ANSWER]
['Q7123324', 'P17', 'Q1006201'] ['Q7123324', 'P17', 'Q5306306']
ASK WHERE { resource:Q7123324 property:P17 resource:Q1006201 . resource:Q7123324 property:P17 resource:Q5306306 }
No
action is_in
entity Paddington Basin
action intersection
action find_reverse
entity Prillimäe
relation country
action find_reverse
entity Posen-Robbins School District 143½
relation country
['Paddington Basin', 'country', 'Prillimäe'] ['Paddington Basin', 'country', 'Posen-Robbins School District 143½']
ASK WHERE { resource:Paddington_Basin property:country resource:Prillimäe . resource:Paddington_Basin property:country resource:Posen-Robbins_School_District_143½ }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q8663 Q16990
P921
Q191067
USER
How many articles are Korean War or Mount Etna a main subject of ?
(c(Q191067),P921,Q8663) (c(Q191067),P921,Q16990)
action count
action union
action filter_type
action find_reverse
entity Q8663
relation P921
type Q191067
action filter_type
action find_reverse
entity Q16990
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q8663'] [{'concept': 'Q191067'}, 'P921', 'Q16990']
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { ?u property:P921 resource:Q8663 . ?u rdf:type ontology:Q191067 } UNION { ?u property:P921 resource:Q16990 . ?u rdf:type ontology:Q191067 } }
Korean War Mount Etna
action count
action union
action filter_type
action find_reverse
entity Korean War
relation main subject
type article
action filter_type
action find_reverse
entity Mount Etna
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Korean War'] [{'concept': 'article'}, 'main subject', 'Mount Etna']
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { ?u property:main_subject resource:Korean_War . ?u rdf:type ontology:article } UNION { ?u property:main_subject resource:Mount_Etna . ?u rdf:type ontology:article } }
[]
article
SYSTEM
2
Q24052937 Q24052938
(c(Q191067),P921,Q8663) (c(Q191067),P921,Q16990)
action count
action union
action filter_type
action find_reverse
entity Q8663
relation P921
type Q191067
action filter_type
action find_reverse
entity Q16990
relation P921
type Q191067
[ANSWER]
[{'concept': 'Q191067'}, 'P921', 'Q8663'] [{'concept': 'Q191067'}, 'P921', 'Q16990']
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { ?u property:P921 resource:Q8663 . ?u rdf:type ontology:Q191067 } UNION { ?u property:P921 resource:Q16990 . ?u rdf:type ontology:Q191067 } }
NSRW / Ætna, Mount NSRW / Etna
2
action count
action union
action filter_type
action find_reverse
entity Korean War
relation main subject
type article
action filter_type
action find_reverse
entity Mount Etna
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Korean War'] [{'concept': 'article'}, 'main subject', 'Mount Etna']
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { ?u property:main_subject resource:Korean_War . ?u rdf:type ontology:article } UNION { ?u property:main_subject resource:Mount_Etna . ?u rdf:type ontology:article } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P206
Q1267889 Q20667921 Q107425
USER
Which waterways are situated nearby max number of french administrative divisions or landscapes ?
(c(Q20667921)|c(Q107425),P206,c(Q1267889))
action argmax
action union
action find_reverse_tuple_counts
relation P206
type Q1267889
type Q20667921
action find_reverse_tuple_counts
relation P206
type Q1267889
type Q107425
[[{'concept': 'Q20667921'}, {'concept': 'Q107425'}], 'P206', {'concept': 'Q1267889'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?d ) WHERE { { ?s property:P206 ?n . ?n rdf:type ontology:Q1267889 . ?s rdf:type ontology:Q107425 } UNION { ?s property:P206 ?n . ?n rdf:type ontology:Q1267889 . ?s rdf:type ontology:Q20667921 } } GROUP BY ?n } . FILTER ( ?d = ?h ) . { SELECT DISTINCT ( MAX ( ?o ) AS ?h ) { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?o ) WHERE { VALUES ( ?u ) { ( ontology:Q107425 ) ( ontology:Q20667921 ) } . ?j rdf:type ?u } GROUP BY ?r } } }
action argmax
action union
action find_reverse_tuple_counts
relation located next to body of water
type waterway
type type of french administrative division
action find_reverse_tuple_counts
relation located next to body of water
type waterway
type landscape
[[{'concept': 'type of french administrative division'}, {'concept': 'landscape'}], 'located next to body of water', {'concept': 'waterway'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?d ) WHERE { { ?s property:located_next_to_body_of_water ?n . ?n rdf:type ontology:waterway . ?s rdf:type ontology:landscape } UNION { ?s property:located_next_to_body_of_water ?n . ?n rdf:type ontology:waterway . ?s rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?n } . FILTER ( ?d = ?h ) . { SELECT DISTINCT ( MAX ( ?o ) AS ?h ) { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?o ) WHERE { VALUES ( ?u ) { ( ontology:landscape ) ( ontology:type_of_french_administrative_division ) } . ?j rdf:type ?u } GROUP BY ?r } } }
[]
waterway type of french administrative division landscape
Q34640
SYSTEM
English Channel
Q34640
(c(Q20667921)|c(Q107425),P206,c(Q1267889))
action argmax
action union
action find_reverse_tuple_counts
relation P206
type Q1267889
type Q20667921
action find_reverse_tuple_counts
relation P206
type Q1267889
type Q107425
[ANSWER] is situated nearby max number of french administrative divisions or landscapes
[[{'concept': 'Q20667921'}, {'concept': 'Q107425'}], 'P206', {'concept': 'Q1267889'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?d ) WHERE { { ?s property:P206 ?n . ?n rdf:type ontology:Q1267889 . ?s rdf:type ontology:Q107425 } UNION { ?s property:P206 ?n . ?n rdf:type ontology:Q1267889 . ?s rdf:type ontology:Q20667921 } } GROUP BY ?n } . FILTER ( ?d = ?h ) . { SELECT DISTINCT ( MAX ( ?o ) AS ?h ) { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?o ) WHERE { VALUES ( ?u ) { ( ontology:Q107425 ) ( ontology:Q20667921 ) } . ?j rdf:type ?u } GROUP BY ?r } } }
English Channel
English Channel is situated nearby max number of french administrative divisions or landscapes
English Channel
action argmax
action union
action find_reverse_tuple_counts
relation located next to body of water
type waterway
type type of french administrative division
action find_reverse_tuple_counts
relation located next to body of water
type waterway
type landscape
[[{'concept': 'type of french administrative division'}, {'concept': 'landscape'}], 'located next to body of water', {'concept': 'waterway'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?d ) WHERE { { ?s property:located_next_to_body_of_water ?n . ?n rdf:type ontology:waterway . ?s rdf:type ontology:landscape } UNION { ?s property:located_next_to_body_of_water ?n . ?n rdf:type ontology:waterway . ?s rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?n } . FILTER ( ?d = ?h ) . { SELECT DISTINCT ( MAX ( ?o ) AS ?h ) { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?o ) WHERE { VALUES ( ?u ) { ( ontology:landscape ) ( ontology:type_of_french_administrative_division ) } . ?j rdf:type ?u } GROUP BY ?r } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17000555 Q20035725
P17
Q15617994
USER
Which administrative territories are Waterside House or Mazraeh-ye Jalil Mohammadi a part of ?
OR((Q20035725,P17,c(Q15617994)), (Q17000555,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q20035725
relation P17
action find
entity Q17000555
relation P17
type Q15617994
{'OR': [['Q20035725', 'P17', {'concept': 'Q15617994'}], ['Q17000555', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q20035725 property:P17 ?f } UNION { resource:Q17000555 property:P17 ?f } } . ?f rdf:type ontology:Q15617994 }
Mazraeh-ye Jalil Mohammadi Waterside House
action filter_type
action union
action find
entity Waterside House
relation country
action find
entity Mazraeh-ye Jalil Mohammadi
relation country
type designation for an administrative territorial entity
{'OR': [['Waterside House', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Mazraeh-ye Jalil Mohammadi', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Waterside_House property:country ?f } UNION { resource:Mazraeh-ye_Jalil_Mohammadi property:country ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145 Q794
SYSTEM
United Kingdom, Iran
Q145 Q794
OR((Q20035725,P17,c(Q15617994)), (Q17000555,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q20035725
relation P17
action find
entity Q17000555
relation P17
type Q15617994
[ANSWERS] are Waterside House or Mazraeh-ye Jalil Mohammadi a part of
{'OR': [['Q20035725', 'P17', {'concept': 'Q15617994'}], ['Q17000555', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q20035725 property:P17 ?f } UNION { resource:Q17000555 property:P17 ?f } } . ?f rdf:type ontology:Q15617994 }
United Kingdom Iran
United Kingdom and Iran are Waterside House or Mazraeh-ye Jalil Mohammadi a part of
United Kingdom Iran
action filter_type
action union
action find
entity Waterside House
relation country
action find
entity Mazraeh-ye Jalil Mohammadi
relation country
type designation for an administrative territorial entity
{'OR': [['Waterside House', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Mazraeh-ye Jalil Mohammadi', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Waterside_House property:country ?f } UNION { resource:Mazraeh-ye_Jalil_Mohammadi property:country ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]