Simple Question (Direct)
Simple Question
Q640630
P734
Q82799
USER
Who is associated with Ira Hayes ?
(Q640630,P734,c(Q82799))
action filter_type
action find
entity Q640630
relation P734
type Q82799
['Q640630', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q640630 property:P734 ?e . ?e rdf:type ontology:Q82799 }
Ira Hayes
action filter_type
action find
entity Ira Hayes
relation family name
type name
['Ira Hayes', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:Ira_Hayes property:family_name ?e . ?e rdf:type ontology:name }
[]
name
Q1591888
SYSTEM
Hayes
Q1591888
(Q640630,P734,c(Q82799))
action filter_type
action find
entity Q640630
relation P734
type Q82799
Was [ANSWER] is associated with Ira [ANSWER]
['Q640630', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q640630 property:P734 ?e . ?e rdf:type ontology:Q82799 }
Hayes
Was Hayes is associated with Ira Hayes
Hayes
action filter_type
action find
entity Ira Hayes
relation family name
type name
['Ira Hayes', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:Ira_Hayes property:family_name ?e . ?e rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q640630
P410
Q4189293
USER
Which title was the military rank held by that person ?
(Q1591888,P410,c(Q4189293))
action filter_type
action find
entity Q640630
relation P410
type Q4189293
['Q1591888', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?u WHERE { resource:Q640630 property:P410 ?u . ?u rdf:type ontology:Q4189293 }
Ira Hayes
action filter_type
action find
entity Ira Hayes
relation military rank
type title
['Hayes', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?u WHERE { resource:Ira_Hayes property:military_rank ?u . ?u rdf:type ontology:title }
[]
title
Q17378201
SYSTEM
corporal
Q17378201
(Q1591888,P410,c(Q4189293))
action filter_type
action find
entity Q640630
relation P410
type Q4189293
[ANSWER] was the military rank held by that person
['Q1591888', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?u WHERE { resource:Q640630 property:P410 ?u . ?u rdf:type ontology:Q4189293 }
corporal
Corporal was the military rank held by that person
corporal
action filter_type
action find
entity Ira Hayes
relation military rank
type title
['Hayes', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?u WHERE { resource:Ira_Hayes property:military_rank ?u . ?u rdf:type ontology:title }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q640630
P241
Q781132
USER
Which military branch did Ira Hayes belong to ?
(Q640630,P241,c(Q781132))
action filter_type
action find
entity Q640630
relation P241
type Q781132
['Q640630', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?t WHERE { resource:Q640630 property:P241 ?t . ?t rdf:type ontology:Q781132 }
Ira Hayes
action filter_type
action find
entity Ira Hayes
relation military branch
type military branch
['Ira Hayes', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?t WHERE { resource:Ira_Hayes property:military_branch ?t . ?t rdf:type ontology:military_branch }
[]
military branch
Q11218
SYSTEM
United States Marine Corps
Q11218
(Q640630,P241,c(Q781132))
action filter_type
action find
entity Q640630
relation P241
type Q781132
Ira Hayes belonged to [ANSWER]
['Q640630', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?t WHERE { resource:Q640630 property:P241 ?t . ?t rdf:type ontology:Q781132 }
United States Marine Corps
Ira Hayes belonged to United States Marine Corps
United States Marine Corps
action filter_type
action find
entity Ira Hayes
relation military branch
type military branch
['Ira Hayes', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?t WHERE { resource:Ira_Hayes property:military_branch ?t . ?t rdf:type ontology:military_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q640630
P607
Q198
USER
What was was Ira Hayes a part of ?
(Q640630,P607,c(Q198))
action filter_type
action find
entity Q640630
relation P607
type Q198
['Q640630', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?l WHERE { resource:Q640630 property:P607 ?l . ?l rdf:type ontology:Q198 }
Ira Hayes
action filter_type
action find
entity Ira Hayes
relation conflict
type war
['Ira Hayes', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?l WHERE { resource:Ira_Hayes property:conflict ?l . ?l rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q640630,P607,c(Q198))
action filter_type
action find
entity Q640630
relation P607
type Q198
Ira Hayes was a part of [ANSWER]
['Q640630', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?l WHERE { resource:Q640630 property:P607 ?l . ?l rdf:type ontology:Q198 }
World War II
Ira Hayes was a part of World War II
World War II
action filter_type
action find
entity Ira Hayes
relation conflict
type war
['Ira Hayes', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?l WHERE { resource:Ira_Hayes property:conflict ?l . ?l rdf:type ontology:war }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7365286
Q198
USER
And what about Ronald Skirth?
(Q7365286,P607,c(Q198))
action filter_type
action find
entity Q7365286
relation P607
type Q198
['Q7365286', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?n WHERE { resource:Q7365286 property:P607 ?n . ?n rdf:type ontology:Q198 }
Ronald Skirth
action filter_type
action find
entity Ronald Skirth
relation conflict
type war
['Ronald Skirth', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?n WHERE { resource:Ronald_Skirth property:conflict ?n . ?n rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q7365286,P607,c(Q198))
action filter_type
action find
entity Q7365286
relation P607
type Q198
[ANSWER]
['Q7365286', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?n WHERE { resource:Q7365286 property:P607 ?n . ?n rdf:type ontology:Q198 }
World War I
World War I
action filter_type
action find
entity Ronald Skirth
relation conflict
type war
['Ronald Skirth', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?n WHERE { resource:Ronald_Skirth property:conflict ?n . ?n rdf:type ontology:war }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q362
P793
Q502895 Q1190554
USER
How many people and events have World War II as a significant event ?
(c(Q502895),P793,Q362) (c(Q1190554),P793,Q362)
action count
action union
action filter_type
action find_reverse
entity Q362
relation P793
type Q502895
action filter_type
action find_reverse
entity Q362
relation P793
type Q1190554
[{'concept': 'Q502895'}, 'P793', 'Q362'] [{'concept': 'Q1190554'}, 'P793', 'Q362']
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { { ?m rdf:type ontology:Q502895 . ?m property:P793 resource:Q362 } UNION { ?m property:P793 resource:Q362 . ?m rdf:type ontology:Q1190554 } }
World War II
action count
action union
action filter_type
action find_reverse
entity World War II
relation significant event
type common name
action filter_type
action find_reverse
entity World War II
relation significant event
type event
[{'concept': 'common name'}, 'significant event', 'World War II'] [{'concept': 'event'}, 'significant event', 'World War II']
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { { ?m rdf:type ontology:common_name . ?m property:significant_event resource:World_War_II } UNION { ?m property:significant_event resource:World_War_II . ?m rdf:type ontology:event } }
[]
common name event
SYSTEM
3 people and 1 events
Q1557389 Q830166 Q84942 Q15852257
(c(Q502895),P793,Q362) (c(Q1190554),P793,Q362)
action count
action union
action filter_type
action find_reverse
entity Q362
relation P793
type Q502895
action filter_type
action find_reverse
entity Q362
relation P793
type Q1190554
[ANSWER]
[{'concept': 'Q502895'}, 'P793', 'Q362'] [{'concept': 'Q1190554'}, 'P793', 'Q362']
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { { ?m rdf:type ontology:Q502895 . ?m property:P793 resource:Q362 } UNION { ?m property:P793 resource:Q362 . ?m rdf:type ontology:Q1190554 } }
Aleksander Tytus Kulisiewicz Ohi Day Herbert Hupka Ursula Koschinsky
3 people and 1 events
action count
action union
action filter_type
action find_reverse
entity World War II
relation significant event
type common name
action filter_type
action find_reverse
entity World War II
relation significant event
type event
[{'concept': 'common name'}, 'significant event', 'World War II'] [{'concept': 'event'}, 'significant event', 'World War II']
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { { ?m rdf:type ontology:common_name . ?m property:significant_event resource:World_War_II } UNION { ?m property:significant_event resource:World_War_II . ?m rdf:type ontology:event } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q361
P1344
Q1048835
USER
Who participated in World War I ?
(c(Q1048835),P1344,Q361)
action filter_type
action find_reverse
entity Q361
relation P1344
type Q1048835
[{'concept': 'Q1048835'}, 'P1344', 'Q361']
SELECT DISTINCT ?z WHERE { ?z property:P1344 resource:Q361 . ?z rdf:type ontology:Q1048835 }
World War I
action filter_type
action find_reverse
entity World War I
relation participant of
type political territorial entity
[{'concept': 'political territorial entity'}, 'participant of', 'World War I']
SELECT DISTINCT ?z WHERE { ?z property:participant_of resource:World_War_I . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(c(Q1048835),P1344,Q361)
action filter_type
action find_reverse
entity Q361
relation P1344
type Q1048835
[ANSWER] participated in World War I
[{'concept': 'Q1048835'}, 'P1344', 'Q361']
SELECT DISTINCT ?z WHERE { ?z property:P1344 resource:Q361 . ?z rdf:type ontology:Q1048835 }
Australia
Australia participated in World War I
Australia
action filter_type
action find_reverse
entity World War I
relation participant of
type political territorial entity
[{'concept': 'political territorial entity'}, 'participant of', 'World War I']
SELECT DISTINCT ?z WHERE { ?z property:participant_of resource:World_War_I . ?z rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q408
P1001
Q874405
USER
Which social group has jurisdiction over that political territory ?
(c(Q874405),P1001,Q408)
action filter_type
action find_reverse
entity Q408
relation P1001
type Q874405
[{'concept': 'Q874405'}, 'P1001', 'Q408']
SELECT DISTINCT ?u WHERE { ?u property:P1001 resource:Q408 . ?u rdf:type ontology:Q874405 }
Australia
action filter_type
action find_reverse
entity Australia
relation applies to jurisdiction
type social group
[{'concept': 'social group'}, 'applies to jurisdiction', 'Australia']
SELECT DISTINCT ?u WHERE { ?u property:applies_to_jurisdiction resource:Australia . ?u rdf:type ontology:social_group }
[]
social group
Q2991162
SYSTEM
Government of Australia
Q2991162
(c(Q874405),P1001,Q408)
action filter_type
action find_reverse
entity Q408
relation P1001
type Q874405
[ANSWER] has jurisdiction over that political territory
[{'concept': 'Q874405'}, 'P1001', 'Q408']
SELECT DISTINCT ?u WHERE { ?u property:P1001 resource:Q408 . ?u rdf:type ontology:Q874405 }
Government of Australia
Government of Australia has jurisdiction over that political territory
Government of Australia
action filter_type
action find_reverse
entity Australia
relation applies to jurisdiction
type social group
[{'concept': 'social group'}, 'applies to jurisdiction', 'Australia']
SELECT DISTINCT ?u WHERE { ?u property:applies_to_jurisdiction resource:Australia . ?u rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2991162
P127
Q2668072
USER
Which collection is under posessision of that social group ?
(c(Q2668072),P127,Q2991162)
action filter_type
action find_reverse
entity Q2991162
relation P127
type Q2668072
[{'concept': 'Q2668072'}, 'P127', 'Q2991162']
SELECT DISTINCT ?l WHERE { ?l property:P127 resource:Q2991162 . ?l rdf:type ontology:Q2668072 }
Government of Australia
action filter_type
action find_reverse
entity Government of Australia
relation owned by
type collection
[{'concept': 'collection'}, 'owned by', 'Government of Australia']
SELECT DISTINCT ?l WHERE { ?l property:owned_by resource:Government_of_Australia . ?l rdf:type ontology:collection }
[]
collection
Q4348847
SYSTEM
Military Museum of Tasmania
Q4348847
(c(Q2668072),P127,Q2991162)
action filter_type
action find_reverse
entity Q2991162
relation P127
type Q2668072
[ANSWER] is under posessision of that social group
[{'concept': 'Q2668072'}, 'P127', 'Q2991162']
SELECT DISTINCT ?l WHERE { ?l property:P127 resource:Q2991162 . ?l rdf:type ontology:Q2668072 }
Military Museum of Tasmania
Military Museum of Tasmania is under posessision of that social group
Military Museum of Tasmania
action filter_type
action find_reverse
entity Government of Australia
relation owned by
type collection
[{'concept': 'collection'}, 'owned by', 'Government of Australia']
SELECT DISTINCT ?l WHERE { ?l property:owned_by resource:Government_of_Australia . ?l rdf:type ontology:collection }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4348847
P17
Q1048835
USER
Which political territory is that collection situated in ?
(Q4348847,P17,c(Q1048835))
action filter_type
action find
entity Q4348847
relation P17
type Q1048835
['Q4348847', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q4348847 property:P17 ?i . ?i rdf:type ontology:Q1048835 }
Military Museum of Tasmania
action filter_type
action find
entity Military Museum of Tasmania
relation country
type political territorial entity
['Military Museum of Tasmania', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Military_Museum_of_Tasmania property:country ?i . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q4348847,P17,c(Q1048835))
action filter_type
action find
entity Q4348847
relation P17
type Q1048835
That collection is situated in [ANSWER]
['Q4348847', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q4348847 property:P17 ?i . ?i rdf:type ontology:Q1048835 }
Australia
That collection is situated in Australia
Australia
action filter_type
action find
entity Military Museum of Tasmania
relation country
type political territorial entity
['Military Museum of Tasmania', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Military_Museum_of_Tasmania property:country ?i . ?i rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q1267889 Q355304 Q1048835
USER
How many political territories are located nearby around 6 waterways and watercourses ?
(c(Q1048835),P206,c(Q1267889)|c(Q355304))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
action find_tuple_counts
relation P206
type Q1048835
type Q355304
value 6
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { FILTER ( ?j = 6 ) . { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?j ) WHERE { { ?y rdf:type ontology:Q1267889 . ?b rdf:type ontology:Q1048835 . ?b property:P206 ?y } UNION { ?b property:P206 ?y . ?y rdf:type ontology:Q355304 . ?b rdf:type ontology:Q1048835 } } GROUP BY ?b } }
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type political territorial entity
type watercourse
value 6
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { FILTER ( ?j = 6 ) . { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?j ) WHERE { { ?y rdf:type ontology:waterway . ?b rdf:type ontology:political_territorial_entity . ?b property:located_next_to_body_of_water ?y } UNION { ?b property:located_next_to_body_of_water ?y . ?y rdf:type ontology:watercourse . ?b rdf:type ontology:political_territorial_entity } } GROUP BY ?b } }
[]
waterway watercourse political territorial entity
SYSTEM
1
Q40
(c(Q1048835),P206,c(Q1267889)|c(Q355304))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
action find_tuple_counts
relation P206
type Q1048835
type Q355304
value 6
[ANSWER]
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { FILTER ( ?j = 6 ) . { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?j ) WHERE { { ?y rdf:type ontology:Q1267889 . ?b rdf:type ontology:Q1048835 . ?b property:P206 ?y } UNION { ?b property:P206 ?y . ?y rdf:type ontology:Q355304 . ?b rdf:type ontology:Q1048835 } } GROUP BY ?b } }
Austria
1
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type political territorial entity
type watercourse
value 6
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { FILTER ( ?j = 6 ) . { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?j ) WHERE { { ?y rdf:type ontology:waterway . ?b rdf:type ontology:political_territorial_entity . ?b property:located_next_to_body_of_water ?y } UNION { ?b property:located_next_to_body_of_water ?y . ?y rdf:type ontology:watercourse . ?b rdf:type ontology:political_territorial_entity } } GROUP BY ?b } }
[]