Simple Question (Direct)
Simple Question
Q1048016
P937
Q486972
USER
Which is the work location of Caspar Ruetz ?
(Q1048016,P937,c(Q486972))
action filter_type
action find
entity Q1048016
relation P937
type Q486972
['Q1048016', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?z WHERE { resource:Q1048016 property:P937 ?z . ?z rdf:type ontology:Q486972 }
Caspar Ruetz
action filter_type
action find
entity Caspar Ruetz
relation work location
type human settlement
['Caspar Ruetz', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?z WHERE { resource:Caspar_Ruetz property:work_location ?z . ?z rdf:type ontology:human_settlement }
[]
human settlement
Q2843
SYSTEM
Lübeck
Q2843
(Q1048016,P937,c(Q486972))
action filter_type
action find
entity Q1048016
relation P937
type Q486972
The work location of Caspar Ruetz is in [ANSWER]
['Q1048016', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?z WHERE { resource:Q1048016 property:P937 ?z . ?z rdf:type ontology:Q486972 }
Lübeck
The work location of Caspar Ruetz is in Lübeck
Lübeck
action filter_type
action find
entity Caspar Ruetz
relation work location
type human settlement
['Caspar Ruetz', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?z WHERE { resource:Caspar_Ruetz property:work_location ?z . ?z rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1048016
P20
Q486972
USER
Which human settlement is the place of death of Caspar Ruetz ?
(Q1048016,P20,c(Q486972))
action filter_type
action find
entity Q1048016
relation P20
type Q486972
['Q1048016', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?a WHERE { resource:Q1048016 property:P20 ?a . ?a rdf:type ontology:Q486972 }
Caspar Ruetz
action filter_type
action find
entity Caspar Ruetz
relation place of death
type human settlement
['Caspar Ruetz', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?a WHERE { resource:Caspar_Ruetz property:place_of_death ?a . ?a rdf:type ontology:human_settlement }
[]
human settlement
Q2843
SYSTEM
Lübeck
Q2843
(Q1048016,P20,c(Q486972))
action filter_type
action find
entity Q1048016
relation P20
type Q486972
[ANSWER] is the place of death of Caspar Ruetz
['Q1048016', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?a WHERE { resource:Q1048016 property:P20 ?a . ?a rdf:type ontology:Q486972 }
Lübeck
Lübeck is the place of death of Caspar Ruetz
Lübeck
action filter_type
action find
entity Caspar Ruetz
relation place of death
type human settlement
['Caspar Ruetz', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?a WHERE { resource:Caspar_Ruetz property:place_of_death ?a . ?a rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2843
P206
Q355304
USER
Which watercourses are located next to that human settlement ?
(Q2843,P206,c(Q355304))
action filter_type
action find
entity Q2843
relation P206
type Q355304
['Q2843', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?k WHERE { resource:Q2843 property:P206 ?k . ?k rdf:type ontology:Q355304 }
Lübeck
action filter_type
action find
entity Lübeck
relation located next to body of water
type watercourse
['Lübeck', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?k WHERE { resource:Lübeck property:located_next_to_body_of_water ?k . ?k rdf:type ontology:watercourse }
[]
watercourse
Q686569 Q3302
SYSTEM
Elbe–Lübeck Canal, Trave
Q686569 Q3302
(Q2843,P206,c(Q355304))
action filter_type
action find
entity Q2843
relation P206
type Q355304
[ANSWERS] are located next to that human settlement
['Q2843', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?k WHERE { resource:Q2843 property:P206 ?k . ?k rdf:type ontology:Q355304 }
Elbe–Lübeck Canal Trave
Elbe–Lübeck Canal and Trave are located next to that human settlement
Elbe–Lübeck Canal Trave
action filter_type
action find
entity Lübeck
relation located next to body of water
type watercourse
['Lübeck', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?k WHERE { resource:Lübeck property:located_next_to_body_of_water ?k . ?k rdf:type ontology:watercourse }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P206
Q486972
USER
How many human settlements are located next to that watercourse ?
(c(Q486972),P206,Q686569)
[{'concept': 'Q486972'}, 'P206', 'Q686569']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P206 resource:Q686569 . ?z rdf:type ontology:Q486972 }
[{'concept': 'human settlement'}, 'located next to body of water', 'Elbe–Lübeck Canal']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:located_next_to_body_of_water resource:Elbe–Lübeck_Canal . ?z rdf:type ontology:human_settlement }
[]
human settlement
Quantitative|Count|Single entity type|Clarification
Q3302
SYSTEM
Did you mean Trave ?
(c(Q486972),P206,Q686569) (c(Q486972),P206,Q3302)
[ANSWER]
[{'concept': 'Q486972'}, 'P206', 'Q686569'] [{'concept': 'Q486972'}, 'P206', 'Q3302']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P206 resource:Q686569 . ?z rdf:type ontology:Q486972 }
Did you mean Trave ?
Trave
[{'concept': 'human settlement'}, 'located next to body of water', 'Elbe–Lübeck Canal'] [{'concept': 'human settlement'}, 'located next to body of water', 'Trave']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:located_next_to_body_of_water resource:Elbe–Lübeck_Canal . ?z rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Elbe–Lübeck Canal. Could you tell me the answer for that?
(c(Q486972),P206,Q686569)
Q686569
[{'concept': 'Q486972'}, 'P206', 'Q686569']
[{'concept': 'human settlement'}, 'located next to body of water', 'Elbe–Lübeck Canal']
[]
SYSTEM
1
Q2843
(c(Q486972),P206,Q686569)
[ANSWER]
[{'concept': 'Q486972'}, 'P206', 'Q686569']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P206 resource:Q686569 . ?z rdf:type ontology:Q486972 }
Lübeck
1
[{'concept': 'human settlement'}, 'located next to body of water', 'Elbe–Lübeck Canal']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:located_next_to_body_of_water resource:Elbe–Lübeck_Canal . ?z rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2843
P190
Q56061
USER
How many administrative territories are the sister cities of Lübeck ?
(Q2843,P190,c(Q56061))
action count
action filter_type
action find
entity Q2843
relation P190
type Q56061
['Q2843', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { resource:Q2843 property:P190 ?i . ?i rdf:type ontology:Q56061 }
Lübeck
action count
action filter_type
action find
entity Lübeck
relation sister city
type administrative territorial entity
['Lübeck', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { resource:Lübeck property:sister_city ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
7
Q7030 Q641 Q192155 Q26793 Q776965 Q393 Q54757
(Q2843,P190,c(Q56061))
action count
action filter_type
action find
entity Q2843
relation P190
type Q56061
[ANSWER]
['Q2843', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { resource:Q2843 property:P190 ?i . ?i rdf:type ontology:Q56061 }
Wismar Venice Kotka Bergen Klaipėda Szczecin Visby
7
action count
action filter_type
action find
entity Lübeck
relation sister city
type administrative territorial entity
['Lübeck', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { resource:Lübeck property:sister_city ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q27678
Q56061
USER
And how about Holstebro?
(Q27678,P190,c(Q56061))
action count
action filter_type
action find
entity Q27678
relation P190
type Q56061
['Q27678', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { resource:Q27678 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Holstebro
action count
action filter_type
action find
entity Holstebro
relation sister city
type administrative territorial entity
['Holstebro', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { resource:Holstebro property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
13
(Q27678,P190,c(Q56061))
action count
action filter_type
action find
entity Q27678
relation P190
type Q56061
[ANSWER]
['Q27678', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { resource:Q27678 property:P190 ?z . ?z rdf:type ontology:Q56061 }
13
action count
action filter_type
action find
entity Holstebro
relation sister city
type administrative territorial entity
['Holstebro', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { resource:Holstebro property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P403
Q15324 Q355304
USER
Which bodies of water do atleast 30 watercourses drain into ?
(c(Q355304),P403,c(Q15324))
action atleast
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
value 30
[{'concept': 'Q355304'}, 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?s ) AS ?i ) WHERE { ?s property:P403 ?f . ?f rdf:type ontology:Q15324 . ?s rdf:type ontology:Q355304 } GROUP BY ?f } . FILTER ( ?i >= 30 ) }
action atleast
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
value 30
[{'concept': 'watercourse'}, 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?s ) AS ?i ) WHERE { ?s property:mouth_of_the_watercourse ?f . ?f rdf:type ontology:body_of_water . ?s rdf:type ontology:watercourse } GROUP BY ?f } . FILTER ( ?i >= 30 ) }
[]
body of water watercourse
Q33254 Q1693 Q1247
SYSTEM
Tasman Sea, North Sea, Caribbean Sea
Q12630 Q1693 Q1247 Q33254 Q82931 Q38882 Q13924 Q223810
(c(Q355304),P403,c(Q15324))
action atleast
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
value 30
[ANSWERS]
[{'concept': 'Q355304'}, 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?s ) AS ?i ) WHERE { ?s property:P403 ?f . ?f rdf:type ontology:Q15324 . ?s rdf:type ontology:Q355304 } GROUP BY ?f } . FILTER ( ?i >= 30 ) }
Gulf of Mexico North Sea Caribbean Sea Tasman Sea Coral Sea Tyrrhenian Sea Adriatic Sea James Bay
Which bodies of water atleast 30 watercourses drain into
Tasman Sea North Sea Caribbean Sea
action atleast
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
value 30
[{'concept': 'watercourse'}, 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?s ) AS ?i ) WHERE { ?s property:mouth_of_the_watercourse ?f . ?f rdf:type ontology:body_of_water . ?s rdf:type ontology:watercourse } GROUP BY ?f } . FILTER ( ?i >= 30 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q33254 Q1693 Q1247
P361
Q15324
USER
What are a component of Tasman Sea, North Sea and Caribbean Sea ?
(c(Q15324),P361,Q33254) (c(Q15324),P361,Q1693) (c(Q15324),P361,Q1247)
action union
action filter_type
action find_reverse
entity Q33254
relation P361
type Q15324
action filter_type
action find_reverse
entity Q1693
relation P361
type Q15324
action filter_type
action find_reverse
entity Q1247
relation P361
type Q15324
[{'concept': 'Q15324'}, 'P361', 'Q33254'] [{'concept': 'Q15324'}, 'P361', 'Q1693'] [{'concept': 'Q15324'}, 'P361', 'Q1247']
SELECT DISTINCT ?i WHERE { { ?i property:P361 resource:Q1693 . ?i rdf:type ontology:Q15324 } UNION { ?i property:P361 resource:Q33254 . ?i rdf:type ontology:Q15324 } }
Tasman Sea North Sea Caribbean Sea
action union
action filter_type
action find_reverse
entity Tasman Sea
relation part of
type body of water
action filter_type
action find_reverse
entity North Sea
relation part of
type body of water
action filter_type
action find_reverse
entity Caribbean Sea
relation part of
type body of water
[{'concept': 'body of water'}, 'part of', 'Tasman Sea'] [{'concept': 'body of water'}, 'part of', 'North Sea'] [{'concept': 'body of water'}, 'part of', 'Caribbean Sea']
SELECT DISTINCT ?i WHERE { { ?i property:part_of resource:North_Sea . ?i rdf:type ontology:body_of_water } UNION { ?i property:part_of resource:Tasman_Sea . ?i rdf:type ontology:body_of_water } }
[]
body of water
Q218377 Q795608 Q4936151
SYSTEM
Dollart, Gulf of Honduras, Bocas del Dragón
Q925649 Q894682 Q1801605 Q504571 Q218377 Q20613 Q1360927 Q795608 Q844799 Q4936151 Q683504 Q210305
(c(Q15324),P361,Q33254) (c(Q15324),P361,Q1693) (c(Q15324),P361,Q1247)
action union
action filter_type
action find_reverse
entity Q33254
relation P361
type Q15324
action filter_type
action find_reverse
entity Q1693
relation P361
type Q15324
action filter_type
action find_reverse
entity Q1247
relation P361
type Q15324
A component of Tasman Sea , North Sea and Caribbean Sea are the [ANSWERS]
[{'concept': 'Q15324'}, 'P361', 'Q33254'] [{'concept': 'Q15324'}, 'P361', 'Q1693'] [{'concept': 'Q15324'}, 'P361', 'Q1247']
SELECT DISTINCT ?i WHERE { { ?i property:P361 resource:Q1693 . ?i rdf:type ontology:Q15324 } UNION { ?i property:P361 resource:Q33254 . ?i rdf:type ontology:Q15324 } }
Broken Bay Botany Bay Lammefjord Jade Bight Dollart Meldorf Bay Moray Firth Gulf of Honduras Gulf of Paria Bocas del Dragón Gulf of Darién Gulf of Venezuela
A component of Tasman Sea , North Sea and Caribbean Sea are the Dollart, Gulf of Honduras and Bocas del Dragón
Dollart Gulf of Honduras Bocas del Dragón
action union
action filter_type
action find_reverse
entity Tasman Sea
relation part of
type body of water
action filter_type
action find_reverse
entity North Sea
relation part of
type body of water
action filter_type
action find_reverse
entity Caribbean Sea
relation part of
type body of water
[{'concept': 'body of water'}, 'part of', 'Tasman Sea'] [{'concept': 'body of water'}, 'part of', 'North Sea'] [{'concept': 'body of water'}, 'part of', 'Caribbean Sea']
SELECT DISTINCT ?i WHERE { { ?i property:part_of resource:North_Sea . ?i rdf:type ontology:body_of_water } UNION { ?i property:part_of resource:Tasman_Sea . ?i rdf:type ontology:body_of_water } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q218377 Q795608 Q4936151
P17
Q15617994
USER
Which administrative territories are those bodies of water a part of ?
(Q218377,P17,c(Q15617994)) (Q795608,P17,c(Q15617994)) (Q4936151,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q218377', 'P17', {'concept': 'Q15617994'}] ['Q795608', 'P17', {'concept': 'Q15617994'}] ['Q4936151', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?p ) { ( resource:Q925649 ) ( resource:Q894682 ) ( resource:Q1801605 ) } . ?u rdf:type ontology:Q15617994 . ?p property:P17 ?u }
Dollart Gulf of Honduras Bocas del Dragón
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Dollart', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Gulf of Honduras', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Bocas del Dragón', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?p ) { ( resource:Broken_Bay ) ( resource:Botany_Bay ) ( resource:Lammefjord ) } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:country ?u }
[]
designation for an administrative territorial entity
Q55 Q717 Q754
SYSTEM
Netherlands, Venezuela, Trinidad and Tobago
Q55 Q783 Q242 Q774 Q754 Q717
(Q218377,P17,c(Q15617994)) (Q795608,P17,c(Q15617994)) (Q4936151,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
[ANSWERS]
['Q218377', 'P17', {'concept': 'Q15617994'}] ['Q795608', 'P17', {'concept': 'Q15617994'}] ['Q4936151', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?p ) { ( resource:Q925649 ) ( resource:Q894682 ) ( resource:Q1801605 ) } . ?u rdf:type ontology:Q15617994 . ?p property:P17 ?u }
Netherlands Honduras Belize Guatemala Trinidad and Tobago Venezuela
Which administrative territories are those bodies of water a part of
Netherlands Venezuela Trinidad and Tobago
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Dollart', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Gulf of Honduras', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Bocas del Dragón', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?p ) { ( resource:Broken_Bay ) ( resource:Botany_Bay ) ( resource:Lammefjord ) } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:country ?u }
[]