Simple Question (Direct)
Simple Question
Q3936
P237
Q17335294
USER
Which coat of arms serves as the ensign for Bamberg ?
(Q3936,P237,c(Q17335294))
action filter_type
action find
entity Q3936
relation P237
type Q17335294
['Q3936', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?t WHERE { resource:Q3936 property:P237 ?t . ?t rdf:type ontology:Q17335294 }
Bamberg
action filter_type
action find
entity Bamberg
relation coat of arms
type flag or coat of arms
['Bamberg', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?t WHERE { resource:Bamberg property:coat_of_arms ?t . ?t rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q1496305
SYSTEM
Coat of arms of the city of Bamberg
Q1496305
(Q3936,P237,c(Q17335294))
action filter_type
action find
entity Q3936
relation P237
type Q17335294
The [ANSWER] serves as the ensign for Bamberg
['Q3936', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?t WHERE { resource:Q3936 property:P237 ?t . ?t rdf:type ontology:Q17335294 }
Coat of arms of the city of Bamberg
The Coat of arms of the city of Bamberg serves as the ensign for Bamberg
Coat of arms of the city of Bamberg
action filter_type
action find
entity Bamberg
relation coat of arms
type flag or coat of arms
['Bamberg', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?t WHERE { resource:Bamberg property:coat_of_arms ?t . ?t rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3936
P206
Q355304
USER
Which watercourses are situated nearby Bamberg ?
(Q3936,P206,c(Q355304))
action filter_type
action find
entity Q3936
relation P206
type Q355304
['Q3936', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?j WHERE { resource:Q3936 property:P206 ?j . ?j rdf:type ontology:Q355304 }
Bamberg
action filter_type
action find
entity Bamberg
relation located next to body of water
type watercourse
['Bamberg', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?j WHERE { resource:Bamberg property:located_next_to_body_of_water ?j . ?j rdf:type ontology:watercourse }
[]
watercourse
Q643525 Q153085
SYSTEM
Regnitz, Rhine-Main-Danube Canal
Q643525 Q153085
(Q3936,P206,c(Q355304))
action filter_type
action find
entity Q3936
relation P206
type Q355304
[ANSWERS] are situated nearby Bamberg
['Q3936', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?j WHERE { resource:Q3936 property:P206 ?j . ?j rdf:type ontology:Q355304 }
Regnitz Rhine-Main-Danube Canal
Regnitz and Rhine-Main-Danube Canal are situated nearby Bamberg
Regnitz Rhine-Main-Danube Canal
action filter_type
action find
entity Bamberg
relation located next to body of water
type watercourse
['Bamberg', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?j WHERE { resource:Bamberg property:located_next_to_body_of_water ?j . ?j rdf:type ontology:watercourse }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q643525 Q153085
P206
Q515
USER
Which cities are situated in the neighbourhood of those watercourses ?
(c(Q515),P206,Q643525) (c(Q515),P206,Q153085)
action filter_type
action find_reverse
entity prev_answer
relation P206
type Q515
[{'concept': 'Q515'}, 'P206', 'Q643525'] [{'concept': 'Q515'}, 'P206', 'Q153085']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q515 . ?i property:P206 ?u . VALUES ( ?u ) { ( resource:Q643525 ) ( resource:Q153085 ) } }
Regnitz Rhine-Main-Danube Canal
action filter_type
action find_reverse
entity prev_answer
relation located next to body of water
type city
[{'concept': 'city'}, 'located next to body of water', 'Regnitz'] [{'concept': 'city'}, 'located next to body of water', 'Rhine-Main-Danube Canal']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:city . ?i property:located_next_to_body_of_water ?u . VALUES ( ?u ) { ( resource:Regnitz ) ( resource:Rhine-Main-Danube_Canal ) } }
[]
city
Q3126 Q3075 Q3075
SYSTEM
Erlangen for 1st, Fürth for 2nd, 3rd
Q3936 Q3075 Q3126 Q3936 Q3075
(c(Q515),P206,Q643525) (c(Q515),P206,Q153085)
action filter_type
action find_reverse
entity prev_answer
relation P206
type Q515
[ANSWERS]
[{'concept': 'Q515'}, 'P206', 'Q643525'] [{'concept': 'Q515'}, 'P206', 'Q153085']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q515 . ?i property:P206 ?u . VALUES ( ?u ) { ( resource:Q643525 ) ( resource:Q153085 ) } }
Bamberg Fürth Erlangen Bamberg Fürth
Erlangen, Fürth and Fürth are situated in the neighbourhood of those watercourses
Erlangen Fürth Fürth
action filter_type
action find_reverse
entity prev_answer
relation located next to body of water
type city
[{'concept': 'city'}, 'located next to body of water', 'Regnitz'] [{'concept': 'city'}, 'located next to body of water', 'Rhine-Main-Danube Canal']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:city . ?i property:located_next_to_body_of_water ?u . VALUES ( ?u ) { ( resource:Regnitz ) ( resource:Rhine-Main-Danube_Canal ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q643525
P403
Q355304
USER
Where does the drainage of Regnitz end ?
(Q3126,P403,c(Q355304)) (Q3075,P403,c(Q355304)) (Q3075,P403,c(Q355304))
action filter_type
action find
entity Q643525
relation P403
type Q355304
['Q3126', 'P403', {'concept': 'Q355304'}] ['Q3075', 'P403', {'concept': 'Q355304'}] ['Q3075', 'P403', {'concept': 'Q355304'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q355304 . resource:Q643525 property:P403 ?z }
Regnitz
action filter_type
action find
entity Regnitz
relation mouth of the watercourse
type watercourse
['Erlangen', 'mouth of the watercourse', {'concept': 'watercourse'}] ['Fürth', 'mouth of the watercourse', {'concept': 'watercourse'}] ['Fürth', 'mouth of the watercourse', {'concept': 'watercourse'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:watercourse . resource:Regnitz property:mouth_of_the_watercourse ?z }
[]
watercourse
Q1670
SYSTEM
Main
Q1670
(Q3126,P403,c(Q355304)) (Q3075,P403,c(Q355304)) (Q3075,P403,c(Q355304))
action filter_type
action find
entity Q643525
relation P403
type Q355304
The drainage of Regnitz ends at [ANSWER]
['Q3126', 'P403', {'concept': 'Q355304'}] ['Q3075', 'P403', {'concept': 'Q355304'}] ['Q3075', 'P403', {'concept': 'Q355304'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q355304 . resource:Q643525 property:P403 ?z }
Main
The drainage of Regnitz ends at Main
Main
action filter_type
action find
entity Regnitz
relation mouth of the watercourse
type watercourse
['Erlangen', 'mouth of the watercourse', {'concept': 'watercourse'}] ['Fürth', 'mouth of the watercourse', {'concept': 'watercourse'}] ['Fürth', 'mouth of the watercourse', {'concept': 'watercourse'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:watercourse . resource:Regnitz property:mouth_of_the_watercourse ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q486577
P17
Q1048835
USER
Which political territory does Lennep belong to ?
(Q486577,P17,c(Q1048835))
action filter_type
action find
entity Q486577
relation P17
type Q1048835
['Q486577', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q486577 property:P17 ?o . ?o rdf:type ontology:Q1048835 }
Lennep
action filter_type
action find
entity Lennep
relation country
type political territorial entity
['Lennep', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Lennep property:country ?o . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q486577,P17,c(Q1048835))
action filter_type
action find
entity Q486577
relation P17
type Q1048835
Lennep belongs to [ANSWER]
['Q486577', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q486577 property:P17 ?o . ?o rdf:type ontology:Q1048835 }
Germany
Lennep belongs to Germany
Germany
action filter_type
action find
entity Lennep
relation country
type political territorial entity
['Lennep', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Lennep property:country ?o . ?o rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1670
P974
Q355304
USER
What is the watercourse that Main is a tributary of ?
(c(Q355304),P974,Q1670)
action filter_type
action find_reverse
entity Q1670
relation P974
type Q355304
[{'concept': 'Q355304'}, 'P974', 'Q1670']
SELECT DISTINCT ?r WHERE { ?r property:P974 resource:Q1670 . ?r rdf:type ontology:Q355304 }
Main
action filter_type
action find_reverse
entity Main
relation tributary
type watercourse
[{'concept': 'watercourse'}, 'tributary', 'Main']
SELECT DISTINCT ?r WHERE { ?r property:tributary resource:Main . ?r rdf:type ontology:watercourse }
[]
watercourse
Q584
SYSTEM
Rhine
Q584
(c(Q355304),P974,Q1670)
action filter_type
action find_reverse
entity Q1670
relation P974
type Q355304
The watercourse that Main is a tributary of is the [ANSWER]
[{'concept': 'Q355304'}, 'P974', 'Q1670']
SELECT DISTINCT ?r WHERE { ?r property:P974 resource:Q1670 . ?r rdf:type ontology:Q355304 }
Rhine
The watercourse that Main is a tributary of is the Rhine
Rhine
action filter_type
action find_reverse
entity Main
relation tributary
type watercourse
[{'concept': 'watercourse'}, 'tributary', 'Main']
SELECT DISTINCT ?r WHERE { ?r property:tributary resource:Main . ?r rdf:type ontology:watercourse }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q584
P469
Q337567
USER
Which still waters does that watercourse flow through ?
(Q584,P469,c(Q337567))
action filter_type
action find
entity Q584
relation P469
type Q337567
['Q584', 'P469', {'concept': 'Q337567'}]
SELECT DISTINCT ?v WHERE { resource:Q584 property:P469 ?v . ?v rdf:type ontology:Q337567 }
Rhine
action filter_type
action find
entity Rhine
relation lakes on river
type still waters
['Rhine', 'lakes on river', {'concept': 'still waters'}]
SELECT DISTINCT ?v WHERE { resource:Rhine property:lakes_on_river ?v . ?v rdf:type ontology:still_waters }
[]
still waters
Q4127
SYSTEM
Lake Constance
Q4127
(Q584,P469,c(Q337567))
action filter_type
action find
entity Q584
relation P469
type Q337567
That watercourse flows into [ANSWER]
['Q584', 'P469', {'concept': 'Q337567'}]
SELECT DISTINCT ?v WHERE { resource:Q584 property:P469 ?v . ?v rdf:type ontology:Q337567 }
Lake Constance
That watercourse flows into Lake Constance
Lake Constance
action filter_type
action find
entity Rhine
relation lakes on river
type still waters
['Rhine', 'lakes on river', {'concept': 'still waters'}]
SELECT DISTINCT ?v WHERE { resource:Rhine property:lakes_on_river ?v . ?v rdf:type ontology:still_waters }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q22657 Q584
P186 P177
Q12280
USER
Which bridges cross Rhine and use concrete as material for their making ?
AND((c(Q12280),P177,Q584), (c(Q12280),P186,Q22657))
action filter_type
action intersection
action find_reverse
entity Q584
relation P177
action find_reverse
entity Q22657
relation P186
type Q12280
{'AND': [[{'concept': 'Q12280'}, 'P177', 'Q584'], [{'concept': 'Q12280'}, 'P186', 'Q22657']]}
SELECT DISTINCT ?y WHERE { ?y property:P177 resource:Q584 . ?y property:P186 resource:Q22657 . ?y rdf:type ontology:Q12280 }
concrete Rhine
action filter_type
action intersection
action find_reverse
entity Rhine
relation crosses
action find_reverse
entity concrete
relation material used
type bridge
{'AND': [[{'concept': 'bridge'}, 'crosses', 'Rhine'], [{'concept': 'bridge'}, 'material used', 'concrete']]}
SELECT DISTINCT ?y WHERE { ?y property:crosses resource:Rhine . ?y property:material_used resource:concrete . ?y rdf:type ontology:bridge }
[]
bridge
Q696762
SYSTEM
Hohenzollern Bridge
Q696762
AND((c(Q12280),P177,Q584), (c(Q12280),P186,Q22657))
action filter_type
action intersection
action find_reverse
entity Q584
relation P177
action find_reverse
entity Q22657
relation P186
type Q12280
Bridge [ANSWER] cross Rhine and use concrete as material for their making
{'AND': [[{'concept': 'Q12280'}, 'P177', 'Q584'], [{'concept': 'Q12280'}, 'P186', 'Q22657']]}
SELECT DISTINCT ?y WHERE { ?y property:P177 resource:Q584 . ?y property:P186 resource:Q22657 . ?y rdf:type ontology:Q12280 }
Hohenzollern Bridge
Bridge Hohenzollern Bridge cross Rhine and use concrete as material for their making
Hohenzollern Bridge
action filter_type
action intersection
action find_reverse
entity Rhine
relation crosses
action find_reverse
entity concrete
relation material used
type bridge
{'AND': [[{'concept': 'bridge'}, 'crosses', 'Rhine'], [{'concept': 'bridge'}, 'material used', 'concrete']]}
SELECT DISTINCT ?y WHERE { ?y property:crosses resource:Rhine . ?y property:material_used resource:concrete . ?y rdf:type ontology:bridge }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q22657
P186
Q79529 Q10675206
USER
How many chemical substances and ingredients are used to manufacture concrete ?
(Q22657,P186,c(Q79529)) (Q22657,P186,c(Q10675206))
action count
action union
action filter_type
action find
entity Q22657
relation P186
type Q79529
action filter_type
action find
entity Q22657
relation P186
type Q10675206
['Q22657', 'P186', {'concept': 'Q79529'}] ['Q22657', 'P186', {'concept': 'Q10675206'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { resource:Q22657 property:P186 ?x . ?x rdf:type ontology:Q79529 } UNION { resource:Q22657 property:P186 ?x . ?x rdf:type ontology:Q10675206 } }
concrete
action count
action union
action filter_type
action find
entity concrete
relation material used
type chemical substance
action filter_type
action find
entity concrete
relation material used
type ingredient
['concrete', 'material used', {'concept': 'chemical substance'}] ['concrete', 'material used', {'concept': 'ingredient'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { resource:concrete property:material_used ?x . ?x rdf:type ontology:chemical_substance } UNION { resource:concrete property:material_used ?x . ?x rdf:type ontology:ingredient } }
[]
chemical substance ingredient
SYSTEM
1 chemical substances and 1 ingredients
Q45190 Q283
(Q22657,P186,c(Q79529)) (Q22657,P186,c(Q10675206))
action count
action union
action filter_type
action find
entity Q22657
relation P186
type Q79529
action filter_type
action find
entity Q22657
relation P186
type Q10675206
[ANSWER]
['Q22657', 'P186', {'concept': 'Q79529'}] ['Q22657', 'P186', {'concept': 'Q10675206'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { resource:Q22657 property:P186 ?x . ?x rdf:type ontology:Q79529 } UNION { resource:Q22657 property:P186 ?x . ?x rdf:type ontology:Q10675206 } }
cement water
1 chemical substances and 1 ingredients
action count
action union
action filter_type
action find
entity concrete
relation material used
type chemical substance
action filter_type
action find
entity concrete
relation material used
type ingredient
['concrete', 'material used', {'concept': 'chemical substance'}] ['concrete', 'material used', {'concept': 'ingredient'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { { resource:concrete property:material_used ?x . ?x rdf:type ontology:chemical_substance } UNION { resource:concrete property:material_used ?x . ?x rdf:type ontology:ingredient } }
[]