Simple Question (Direct)
Simple Question
Q3085218
P410
Q4189293
USER
Which title was the military rank held by François Louis Zaepffel ?
(Q3085218,P410,c(Q4189293))
action filter_type
action find
entity Q3085218
relation P410
type Q4189293
['Q3085218', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?j WHERE { resource:Q3085218 property:P410 ?j . ?j rdf:type ontology:Q4189293 }
François Louis Zaepffel
action filter_type
action find
entity François Louis Zaepffel
relation military rank
type title
['François Louis Zaepffel', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?j WHERE { resource:François_Louis_Zaepffel property:military_rank ?j . ?j rdf:type ontology:title }
[]
title
Q152956
SYSTEM
brigadier general
Q152956
(Q3085218,P410,c(Q4189293))
action filter_type
action find
entity Q3085218
relation P410
type Q4189293
General [ANSWER] was the military rank held by François Louis Zaepffel
['Q3085218', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?j WHERE { resource:Q3085218 property:P410 ?j . ?j rdf:type ontology:Q4189293 }
brigadier general
General brigadier general was the military rank held by François Louis Zaepffel
brigadier general
action filter_type
action find
entity François Louis Zaepffel
relation military rank
type title
['François Louis Zaepffel', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?j WHERE { resource:François_Louis_Zaepffel property:military_rank ?j . ?j rdf:type ontology:title }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q152956 Q1902886
P410
Q502895
USER
Does Mart Bax rank that title in military ranking ?
(Q1902886,P410,Q152956)
action is_in
entity Q1902886
action find
entity Q152956
relation P410
['Q1902886', 'P410', 'Q152956']
ASK WHERE { resource:Q152956 property:P410 resource:Q1902886 }
brigadier general Mart Bax
action is_in
entity Mart Bax
action find
entity brigadier general
relation military rank
['Mart Bax', 'military rank', 'brigadier general']
ASK WHERE { resource:brigadier_general property:military_rank resource:Mart_Bax }
[]
common name
SYSTEM
NO
(Q1902886,P410,Q152956)
action is_in
entity Q1902886
action find
entity Q152956
relation P410
[ANSWER]
['Q1902886', 'P410', 'Q152956']
ASK WHERE { resource:Q152956 property:P410 resource:Q1902886 }
No
action is_in
entity Mart Bax
action find
entity brigadier general
relation military rank
['Mart Bax', 'military rank', 'brigadier general']
ASK WHERE { resource:brigadier_general property:military_rank resource:Mart_Bax }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3085218
P21
Q290
USER
Which sex does François Louis Zaepffel belong to ?
(Q3085218,P21,c(Q290))
action filter_type
action find
entity Q3085218
relation P21
type Q290
['Q3085218', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q3085218 property:P21 ?c . ?c rdf:type ontology:Q290 }
François Louis Zaepffel
action filter_type
action find
entity François Louis Zaepffel
relation gender
type sex
['François Louis Zaepffel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:François_Louis_Zaepffel property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3085218,P21,c(Q290))
action filter_type
action find
entity Q3085218
relation P21
type Q290
François Louis Zaepffel belongs to [ANSWER]
['Q3085218', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q3085218 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
François Louis Zaepffel belongs to male
male
action filter_type
action find
entity François Louis Zaepffel
relation gender
type sex
['François Louis Zaepffel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:François_Louis_Zaepffel property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3085218
P27
Q15617994
USER
Which administrative territory does François Louis Zaepffel belong to ?
(Q3085218,P27,c(Q15617994))
action filter_type
action find
entity Q3085218
relation P27
type Q15617994
['Q3085218', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q3085218 property:P27 ?q }
François Louis Zaepffel
action filter_type
action find
entity François Louis Zaepffel
relation country of citizenship
type designation for an administrative territorial entity
['François Louis Zaepffel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:François_Louis_Zaepffel property:country_of_citizenship ?q }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3085218,P27,c(Q15617994))
action filter_type
action find
entity Q3085218
relation P27
type Q15617994
François Louis Zaepffel belongs to [ANSWER]
['Q3085218', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q3085218 property:P27 ?q }
France
François Louis Zaepffel belongs to France
France
action filter_type
action find
entity François Louis Zaepffel
relation country of citizenship
type designation for an administrative territorial entity
['François Louis Zaepffel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:François_Louis_Zaepffel property:country_of_citizenship ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3085218
P20
Q515
USER
Where did the expiration of François Louis Zaepffel occur ?
(Q3085218,P20,c(Q515))
action filter_type
action find
entity Q3085218
relation P20
type Q515
['Q3085218', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { resource:Q3085218 property:P20 ?j . ?j rdf:type ontology:Q515 }
François Louis Zaepffel
action filter_type
action find
entity François Louis Zaepffel
relation place of death
type city
['François Louis Zaepffel', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { resource:François_Louis_Zaepffel property:place_of_death ?j . ?j rdf:type ontology:city }
[]
city
Q6602
SYSTEM
Strasbourg
Q6602
(Q3085218,P20,c(Q515))
action filter_type
action find
entity Q3085218
relation P20
type Q515
The expiration of François Louis Zaepffel occurred in [ANSWER]
['Q3085218', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { resource:Q3085218 property:P20 ?j . ?j rdf:type ontology:Q515 }
Strasbourg
The expiration of François Louis Zaepffel occurred in Strasbourg
Strasbourg
action filter_type
action find
entity François Louis Zaepffel
relation place of death
type city
['François Louis Zaepffel', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { resource:François_Louis_Zaepffel property:place_of_death ?j . ?j rdf:type ontology:city }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1511251
Q515
USER
And how about Gerhardt Arndt?
(Q1511251,P20,c(Q515))
action filter_type
action find
entity Q1511251
relation P20
type Q515
['Q1511251', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?f WHERE { resource:Q1511251 property:P20 ?f . ?f rdf:type ontology:Q515 }
Gerhardt Arndt
action filter_type
action find
entity Gerhardt Arndt
relation place of death
type city
['Gerhardt Arndt', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?f WHERE { resource:Gerhardt_Arndt property:place_of_death ?f . ?f rdf:type ontology:city }
[]
city
Q2119
SYSTEM
Mannheim
Q2119
(Q1511251,P20,c(Q515))
action filter_type
action find
entity Q1511251
relation P20
type Q515
[ANSWER]
['Q1511251', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?f WHERE { resource:Q1511251 property:P20 ?f . ?f rdf:type ontology:Q515 }
Mannheim
Mannheim
action filter_type
action find
entity Gerhardt Arndt
relation place of death
type city
['Gerhardt Arndt', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?f WHERE { resource:Gerhardt_Arndt property:place_of_death ?f . ?f rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2119
P206
Q355304
USER
How many watercourses are located next to Mannheim ?
(Q2119,P206,c(Q355304))
action count
action filter_type
action find
entity Q2119
relation P206
type Q355304
['Q2119', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { resource:Q2119 property:P206 ?z . ?z rdf:type ontology:Q355304 }
Mannheim
action count
action filter_type
action find
entity Mannheim
relation located next to body of water
type watercourse
['Mannheim', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { resource:Mannheim property:located_next_to_body_of_water ?z . ?z rdf:type ontology:watercourse }
[]
watercourse
SYSTEM
2
Q1673 Q584
(Q2119,P206,c(Q355304))
action count
action filter_type
action find
entity Q2119
relation P206
type Q355304
[ANSWER]
['Q2119', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { resource:Q2119 property:P206 ?z . ?z rdf:type ontology:Q355304 }
Neckar Rhine
2
action count
action filter_type
action find
entity Mannheim
relation located next to body of water
type watercourse
['Mannheim', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { resource:Mannheim property:located_next_to_body_of_water ?z . ?z rdf:type ontology:watercourse }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q7042
Q355304
USER
And also tell me about Amberg?
(Q7042,P206,c(Q355304))
action count
action filter_type
action find
entity Q7042
relation P206
type Q355304
['Q7042', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Q7042 property:P206 ?t . ?t rdf:type ontology:Q355304 }
Amberg
action count
action filter_type
action find
entity Amberg
relation located next to body of water
type watercourse
['Amberg', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Amberg property:located_next_to_body_of_water ?t . ?t rdf:type ontology:watercourse }
[]
watercourse
SYSTEM
1
(Q7042,P206,c(Q355304))
action count
action filter_type
action find
entity Q7042
relation P206
type Q355304
[ANSWER]
['Q7042', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Q7042 property:P206 ?t . ?t rdf:type ontology:Q355304 }
1
action count
action filter_type
action find
entity Amberg
relation located next to body of water
type watercourse
['Amberg', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Amberg property:located_next_to_body_of_water ?t . ?t rdf:type ontology:watercourse }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q264868 Q2119
P170 P6
Q502895
USER
Which people have Mannheim as their heads of government or are the creaters of Oregon Pioneer ?
OR((Q2119,P6,c(Q502895)), (Q264868,P170,c(Q502895)))
action filter_type
action union
action find
entity Q2119
relation P6
action find
entity Q264868
relation P170
type Q502895
{'OR': [['Q2119', 'P6', {'concept': 'Q502895'}], ['Q264868', 'P170', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . { { resource:Q2119 property:P6 ?y } UNION { resource:Q264868 property:P170 ?y } } }
Oregon Pioneer Mannheim
action filter_type
action union
action find
entity Mannheim
relation head of government
action find
entity Oregon Pioneer
relation creator
type common name
{'OR': [['Mannheim', 'head of government', {'concept': 'common name'}], ['Oregon Pioneer', 'creator', {'concept': 'common name'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . { { resource:Mannheim property:head_of_government ?y } UNION { resource:Oregon_Pioneer property:creator ?y } } }
[]
common name
Q2076493 Q1512753 Q7879774 Q2575485
SYSTEM
Peter Kurz, Gerhard Widder, Ulric Ellerhusen, Wilhelm Varnholt
Q2076493 Q1512753 Q7879774 Q2575485
OR((Q2119,P6,c(Q502895)), (Q264868,P170,c(Q502895)))
action filter_type
action union
action find
entity Q2119
relation P6
action find
entity Q264868
relation P170
type Q502895
[ANSWERS] have Mannheim as their heads of government or are the creaters of Oregon Pioneer
{'OR': [['Q2119', 'P6', {'concept': 'Q502895'}], ['Q264868', 'P170', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . { { resource:Q2119 property:P6 ?y } UNION { resource:Q264868 property:P170 ?y } } }
Peter Kurz Gerhard Widder Ulric Ellerhusen Wilhelm Varnholt
Peter Kurz, Gerhard Widder, Ulric Ellerhusen and Wilhelm Varnholt have Mannheim as their heads of government or are the creaters of Oregon Pioneer
Peter Kurz Gerhard Widder Ulric Ellerhusen Wilhelm Varnholt
action filter_type
action union
action find
entity Mannheim
relation head of government
action find
entity Oregon Pioneer
relation creator
type common name
{'OR': [['Mannheim', 'head of government', {'concept': 'common name'}], ['Oregon Pioneer', 'creator', {'concept': 'common name'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . { { resource:Mannheim property:head_of_government ?y } UNION { resource:Oregon_Pioneer property:creator ?y } } }
[]