Simple Question (Direct)
Simple Question
Q1696278
P19
Q515
USER
Where was Johannes Spreng born ?
(Q1696278,P19,c(Q515))
action filter_type
action find
entity Q1696278
relation P19
type Q515
['Q1696278', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { resource:Q1696278 property:P19 ?g . ?g rdf:type ontology:Q515 }
Johannes Spreng
action filter_type
action find
entity Johannes Spreng
relation place of birth
type city
['Johannes Spreng', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { resource:Johannes_Spreng property:place_of_birth ?g . ?g rdf:type ontology:city }
[]
city
Q2749
SYSTEM
Augsburg
Q2749
(Q1696278,P19,c(Q515))
action filter_type
action find
entity Q1696278
relation P19
type Q515
Johannes Spreng was born in [ANSWER]
['Q1696278', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { resource:Q1696278 property:P19 ?g . ?g rdf:type ontology:Q515 }
Augsburg
Johannes Spreng was born in Augsburg
Augsburg
action filter_type
action find
entity Johannes Spreng
relation place of birth
type city
['Johannes Spreng', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { resource:Johannes_Spreng property:place_of_birth ?g . ?g rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2749
P740
Q43229
USER
Which organizations were formed at that city ?
(c(Q43229),P740,Q2749)
action filter_type
action find_reverse
entity Q2749
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q2749']
SELECT DISTINCT ?z WHERE { ?z property:P740 resource:Q2749 . ?z rdf:type ontology:Q43229 }
Augsburg
action filter_type
action find_reverse
entity Augsburg
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Augsburg']
SELECT DISTINCT ?z WHERE { ?z property:location_of_formation resource:Augsburg . ?z rdf:type ontology:organization }
[]
organization
Q154470 Q659651 Q1881126
SYSTEM
Messerschmitt, MAN Diesel SE, MAN Diesel & Turbo SE
Q659651 Q1881126 Q154470 Q760558
(c(Q43229),P740,Q2749)
action filter_type
action find_reverse
entity Q2749
relation P740
type Q43229
[ANSWERS] were formed at that city
[{'concept': 'Q43229'}, 'P740', 'Q2749']
SELECT DISTINCT ?z WHERE { ?z property:P740 resource:Q2749 . ?z rdf:type ontology:Q43229 }
MAN Diesel SE MAN Diesel & Turbo SE Messerschmitt Augsburger Puppenkiste
Messerschmitt, MAN Diesel SE and MAN Diesel & Turbo SE were formed at that city
Messerschmitt MAN Diesel SE MAN Diesel & Turbo SE
action filter_type
action find_reverse
entity Augsburg
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Augsburg']
SELECT DISTINCT ?z WHERE { ?z property:location_of_formation resource:Augsburg . ?z rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q190117 Q2749
P452 P740
Q43229
USER
Which organizations originated at Augsburg and are part of the industry automotive industry ?
AND((c(Q43229),P740,Q2749), (c(Q43229),P452,Q190117))
action filter_type
action intersection
action find_reverse
entity Q2749
relation P740
action find_reverse
entity Q190117
relation P452
type Q43229
{'AND': [[{'concept': 'Q43229'}, 'P740', 'Q2749'], [{'concept': 'Q43229'}, 'P452', 'Q190117']]}
SELECT DISTINCT ?i WHERE { ?i property:P740 resource:Q2749 . ?i property:P452 resource:Q190117 . ?i rdf:type ontology:Q43229 }
automotive industry Augsburg
action filter_type
action intersection
action find_reverse
entity Augsburg
relation location of formation
action find_reverse
entity automotive industry
relation industry
type organization
{'AND': [[{'concept': 'organization'}, 'location of formation', 'Augsburg'], [{'concept': 'organization'}, 'industry', 'automotive industry']]}
SELECT DISTINCT ?i WHERE { ?i property:location_of_formation resource:Augsburg . ?i property:industry resource:automotive_industry . ?i rdf:type ontology:organization }
[]
organization
Q154470
SYSTEM
Messerschmitt
Q154470
AND((c(Q43229),P740,Q2749), (c(Q43229),P452,Q190117))
action filter_type
action intersection
action find_reverse
entity Q2749
relation P740
action find_reverse
entity Q190117
relation P452
type Q43229
[ANSWER] originated at Augsburg and are part of the industry automotive industry
{'AND': [[{'concept': 'Q43229'}, 'P740', 'Q2749'], [{'concept': 'Q43229'}, 'P452', 'Q190117']]}
SELECT DISTINCT ?i WHERE { ?i property:P740 resource:Q2749 . ?i property:P452 resource:Q190117 . ?i rdf:type ontology:Q43229 }
Messerschmitt
Messerschmitt originated at Augsburg and are part of the industry automotive industry
Messerschmitt
action filter_type
action intersection
action find_reverse
entity Augsburg
relation location of formation
action find_reverse
entity automotive industry
relation industry
type organization
{'AND': [[{'concept': 'organization'}, 'location of formation', 'Augsburg'], [{'concept': 'organization'}, 'industry', 'automotive industry']]}
SELECT DISTINCT ?i WHERE { ?i property:location_of_formation resource:Augsburg . ?i property:industry resource:automotive_industry . ?i rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q154470
P17
Q1048835
USER
How many political territories are Messerschmitt present in ?
(Q154470,P17,c(Q1048835))
action count
action filter_type
action find
entity Q154470
relation P17
type Q1048835
['Q154470', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { resource:Q154470 property:P17 ?z . ?z rdf:type ontology:Q1048835 }
Messerschmitt
action count
action filter_type
action find
entity Messerschmitt
relation country
type political territorial entity
['Messerschmitt', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { resource:Messerschmitt property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q154470,P17,c(Q1048835))
action count
action filter_type
action find
entity Q154470
relation P17
type Q1048835
[ANSWER]
['Q154470', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { resource:Q154470 property:P17 ?z . ?z rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Messerschmitt
relation country
type political territorial entity
['Messerschmitt', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { resource:Messerschmitt property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q5594786
Q1048835
USER
And also tell me about Grand Marais Trail?
(Q5594786,P17,c(Q1048835))
action count
action filter_type
action find
entity Q5594786
relation P17
type Q1048835
['Q5594786', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:Q5594786 property:P17 ?o . ?o rdf:type ontology:Q1048835 }
Grand Marais Trail
action count
action filter_type
action find
entity Grand Marais Trail
relation country
type political territorial entity
['Grand Marais Trail', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:Grand_Marais_Trail property:country ?o . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
(Q5594786,P17,c(Q1048835))
action count
action filter_type
action find
entity Q5594786
relation P17
type Q1048835
[ANSWER]
['Q5594786', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:Q5594786 property:P17 ?o . ?o rdf:type ontology:Q1048835 }
1
action count
action filter_type
action find
entity Grand Marais Trail
relation country
type political territorial entity
['Grand Marais Trail', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:Grand_Marais_Trail property:country ?o . ?o rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2749
P206
Q355304
USER
Which watercourses are located in the neighbourhood of Augsburg ?
(Q2749,P206,c(Q355304))
action filter_type
action find
entity Q2749
relation P206
type Q355304
['Q2749', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?b WHERE { resource:Q2749 property:P206 ?b . ?b rdf:type ontology:Q355304 }
Augsburg
action filter_type
action find
entity Augsburg
relation located next to body of water
type watercourse
['Augsburg', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?b WHERE { resource:Augsburg property:located_next_to_body_of_water ?b . ?b rdf:type ontology:watercourse }
[]
watercourse
Q701650 Q155841 Q882520
SYSTEM
Wertach, Lech, Singold
Q701650 Q155841 Q882520
(Q2749,P206,c(Q355304))
action filter_type
action find
entity Q2749
relation P206
type Q355304
[ANSWERS] are located in the neighbourhood of Augsburg
['Q2749', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?b WHERE { resource:Q2749 property:P206 ?b . ?b rdf:type ontology:Q355304 }
Wertach Lech Singold
Wertach, Lech and Singold are located in the neighbourhood of Augsburg
Wertach Lech Singold
action filter_type
action find
entity Augsburg
relation located next to body of water
type watercourse
['Augsburg', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?b WHERE { resource:Augsburg property:located_next_to_body_of_water ?b . ?b rdf:type ontology:watercourse }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155841
P974
Q355304
USER
Which watercourse is Lech a tributary of ?
(c(Q355304),P974,Q155841)
action filter_type
action find_reverse
entity Q155841
relation P974
type Q355304
[{'concept': 'Q355304'}, 'P974', 'Q155841']
SELECT DISTINCT ?x WHERE { ?x property:P974 resource:Q155841 . ?x rdf:type ontology:Q355304 }
Lech
action filter_type
action find_reverse
entity Lech
relation tributary
type watercourse
[{'concept': 'watercourse'}, 'tributary', 'Lech']
SELECT DISTINCT ?x WHERE { ?x property:tributary resource:Lech . ?x rdf:type ontology:watercourse }
[]
watercourse
Q1653
SYSTEM
Danube
Q1653
(c(Q355304),P974,Q155841)
action filter_type
action find_reverse
entity Q155841
relation P974
type Q355304
Which watercourse is Lech a tributary of
[{'concept': 'Q355304'}, 'P974', 'Q155841']
SELECT DISTINCT ?x WHERE { ?x property:P974 resource:Q155841 . ?x rdf:type ontology:Q355304 }
Danube
Which watercourse is Lech a tributary of
Danube
action filter_type
action find_reverse
entity Lech
relation tributary
type watercourse
[{'concept': 'watercourse'}, 'tributary', 'Lech']
SELECT DISTINCT ?x WHERE { ?x property:tributary resource:Lech . ?x rdf:type ontology:watercourse }
[]