Simple Question (Direct)
Simple Question
Q2202885
P937
Q56061
USER
What are the work locations of Rötger Groß ?
(Q2202885,P937,c(Q56061))
action filter_type
action find
entity Q2202885
relation P937
type Q56061
['Q2202885', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q2202885 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Rötger Groß
action filter_type
action find
entity Rötger Groß
relation work location
type administrative territorial entity
['Rötger Groß', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Rötger_Groß property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q586 Q1715
SYSTEM
Bonn, Hanover
Q586 Q1715
(Q2202885,P937,c(Q56061))
action filter_type
action find
entity Q2202885
relation P937
type Q56061
The work locations of Rötger Groß are in [ANSWERS]
['Q2202885', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q2202885 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Bonn Hanover
The work locations of Rötger Groß are in Bonn and Hanover
Bonn Hanover
action filter_type
action find
entity Rötger Groß
relation work location
type administrative territorial entity
['Rötger Groß', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Rötger_Groß property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q586
P47
Q1048835
USER
Which political territory is next to the border of Bonn ?
(c(Q1048835),P47,Q586)
action filter_type
action find
entity Q586
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q586']
SELECT DISTINCT ?r WHERE { resource:Q586 property:P47 ?r . ?r rdf:type ontology:Q1048835 }
Bonn
action filter_type
action find
entity Bonn
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Bonn']
SELECT DISTINCT ?r WHERE { resource:Bonn property:shares_border_with ?r . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q8596
SYSTEM
Ahrweiler
Q8596
(c(Q1048835),P47,Q586)
action filter_type
action find
entity Q586
relation P47
type Q1048835
[ANSWER] is next to the border of Bonn
[{'concept': 'Q1048835'}, 'P47', 'Q586']
SELECT DISTINCT ?r WHERE { resource:Q586 property:P47 ?r . ?r rdf:type ontology:Q1048835 }
Ahrweiler
Ahrweiler is next to the border of Bonn
Ahrweiler
action filter_type
action find
entity Bonn
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Bonn']
SELECT DISTINCT ?r WHERE { resource:Bonn property:shares_border_with ?r . ?r rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q586
P138
Q19335303
USER
Which German business organization has Bonn as its namesake ?
(c(Q19335303),P138,Q586)
action filter_type
action find_reverse
entity Q586
relation P138
type Q19335303
[{'concept': 'Q19335303'}, 'P138', 'Q586']
SELECT DISTINCT ?b WHERE { ?b property:P138 resource:Q586 . ?b rdf:type ontology:Q19335303 }
Bonn
action filter_type
action find_reverse
entity Bonn
relation named after
type type of business entity in Germany
[{'concept': 'type of business entity in Germany'}, 'named after', 'Bonn']
SELECT DISTINCT ?b WHERE { ?b property:named_after resource:Bonn . ?b rdf:type ontology:type_of_business_entity_in_Germany }
[]
type of business entity in Germany
Q169552
SYSTEM
Haribo
Q169552
(c(Q19335303),P138,Q586)
action filter_type
action find_reverse
entity Q586
relation P138
type Q19335303
[ANSWER] has Bonn as its namesake
[{'concept': 'Q19335303'}, 'P138', 'Q586']
SELECT DISTINCT ?b WHERE { ?b property:P138 resource:Q586 . ?b rdf:type ontology:Q19335303 }
Haribo
Haribo has Bonn as its namesake
Haribo
action filter_type
action find_reverse
entity Bonn
relation named after
type type of business entity in Germany
[{'concept': 'type of business entity in Germany'}, 'named after', 'Bonn']
SELECT DISTINCT ?b WHERE { ?b property:named_after resource:Bonn . ?b rdf:type ontology:type_of_business_entity_in_Germany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q169552
P452
Q268592
USER
Which economic branch is the industry to which that German business organization belongs ?
(Q169552,P452,c(Q268592))
action filter_type
action find
entity Q169552
relation P452
type Q268592
['Q169552', 'P452', {'concept': 'Q268592'}]
SELECT DISTINCT ?z WHERE { resource:Q169552 property:P452 ?z . ?z rdf:type ontology:Q268592 }
Haribo
action filter_type
action find
entity Haribo
relation industry
type economic branch
['Haribo', 'industry', {'concept': 'economic branch'}]
SELECT DISTINCT ?z WHERE { resource:Haribo property:industry ?z . ?z rdf:type ontology:economic_branch }
[]
economic branch
Q540912
SYSTEM
food industry
Q540912
(Q169552,P452,c(Q268592))
action filter_type
action find
entity Q169552
relation P452
type Q268592
[ANSWER] is the industry to which that German business organization belongs
['Q169552', 'P452', {'concept': 'Q268592'}]
SELECT DISTINCT ?z WHERE { resource:Q169552 property:P452 ?z . ?z rdf:type ontology:Q268592 }
food industry
Food industry is the industry to which that German business organization belongs
food industry
action filter_type
action find
entity Haribo
relation industry
type economic branch
['Haribo', 'industry', {'concept': 'economic branch'}]
SELECT DISTINCT ?z WHERE { resource:Haribo property:industry ?z . ?z rdf:type ontology:economic_branch }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P805
Q994895 Q268592
USER
How many technical systems are exactly 1 economic branch a subject of ?
(c(Q268592),P805,c(Q994895))
action count
action equal
action find_reverse_tuple_counts
relation P805
type Q994895
type Q268592
value 1
[{'concept': 'Q268592'}, 'P805', {'concept': 'Q994895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:P805 ?d . ?d rdf:type ontology:Q994895 . ?k rdf:type ontology:Q268592 } GROUP BY ?d } . FILTER ( ?p = 1 ) }
action count
action equal
action find_reverse_tuple_counts
relation subject of
type technical system
type economic branch
value 1
[{'concept': 'economic branch'}, 'subject of', {'concept': 'technical system'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:subject_of ?d . ?d rdf:type ontology:technical_system . ?k rdf:type ontology:economic_branch } GROUP BY ?d } . FILTER ( ?p = 1 ) }
[]
technical system economic branch
SYSTEM
2
Q1172582 Q1172584
(c(Q268592),P805,c(Q994895))
action count
action equal
action find_reverse_tuple_counts
relation P805
type Q994895
type Q268592
value 1
[ANSWER]
[{'concept': 'Q268592'}, 'P805', {'concept': 'Q994895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:P805 ?d . ?d rdf:type ontology:Q994895 . ?k rdf:type ontology:Q268592 } GROUP BY ?d } . FILTER ( ?p = 1 ) }
Datex-L Datex-M
2
action count
action equal
action find_reverse_tuple_counts
relation subject of
type technical system
type economic branch
value 1
[{'concept': 'economic branch'}, 'subject of', {'concept': 'technical system'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:subject_of ?d . ?d rdf:type ontology:technical_system . ?k rdf:type ontology:economic_branch } GROUP BY ?d } . FILTER ( ?p = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q8596
P47
Q56061
USER
How many administrative territories share border with Ahrweiler ?
(c(Q56061),P47,Q8596)
action count
action filter_type
action find_reverse
entity Q8596
relation P47
type Q56061
[{'concept': 'Q56061'}, 'P47', 'Q8596']
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { ?l property:P47 resource:Q8596 . ?l rdf:type ontology:Q56061 }
Ahrweiler
action count
action filter_type
action find_reverse
entity Ahrweiler
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Ahrweiler']
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { ?l property:shares_border_with resource:Ahrweiler . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q586
(c(Q56061),P47,Q8596)
action count
action filter_type
action find_reverse
entity Q8596
relation P47
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P47', 'Q8596']
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { ?l property:P47 resource:Q8596 . ?l rdf:type ontology:Q56061 }
Bonn
1
action count
action filter_type
action find_reverse
entity Ahrweiler
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Ahrweiler']
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { ?l property:shares_border_with resource:Ahrweiler . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8596
P19
Q502895
USER
Who has location of birth at that political territory ?
action filter_type
action find_reverse
entity Q8596
relation P19
type Q502895
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P19 resource:Q8596 }
Ahrweiler
action filter_type
action find_reverse
entity Ahrweiler
relation place of birth
type common name
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:place_of_birth resource:Ahrweiler }
[]
common name
Q77951
SYSTEM
Cyrillus Jarre
Q77951
action filter_type
action find_reverse
entity Q8596
relation P19
type Q502895
[ANSWER] has location of birth at that political territory
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P19 resource:Q8596 }
Cyrillus Jarre
Cyrillus Jarre has location of birth at that political territory
Cyrillus Jarre
action filter_type
action find_reverse
entity Ahrweiler
relation place of birth
type common name
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:place_of_birth resource:Ahrweiler }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q77951
P734
Q82799
USER
Who is associated with that person ?
(Q77951,P734,c(Q82799))
action filter_type
action find
entity Q77951
relation P734
type Q82799
['Q77951', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q77951 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Cyrillus Jarre
action filter_type
action find
entity Cyrillus Jarre
relation family name
type name
['Cyrillus Jarre', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Cyrillus_Jarre property:family_name ?q . ?q rdf:type ontology:name }
[]
name
Q14639613
SYSTEM
Jarre
Q14639613
(Q77951,P734,c(Q82799))
action filter_type
action find
entity Q77951
relation P734
type Q82799
[ANSWER] is associated with that person
['Q77951', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q77951 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Jarre
Jarre is associated with that person
Jarre
action filter_type
action find
entity Cyrillus Jarre
relation family name
type name
['Cyrillus Jarre', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Cyrillus_Jarre property:family_name ?q . ?q rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q2073478 Q586
P27 P1376
Q1048835
USER
Which political territories have Bonn as their county seat and are the countries of citizenship of Peter-Paul Zahl ?
AND((Q586,P1376,c(Q1048835)), (Q2073478,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q586
relation P1376
action find
entity Q2073478
relation P27
type Q1048835
{'AND': [['Q586', 'P1376', {'concept': 'Q1048835'}], ['Q2073478', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { resource:Q586 property:P1376 ?n . resource:Q2073478 property:P27 ?n . ?n rdf:type ontology:Q1048835 }
Peter-Paul Zahl Bonn
action filter_type
action intersection
action find
entity Bonn
relation capital of
action find
entity Peter-Paul Zahl
relation country of citizenship
type political territorial entity
{'AND': [['Bonn', 'capital of', {'concept': 'political territorial entity'}], ['Peter-Paul Zahl', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { resource:Bonn property:capital_of ?n . resource:Peter-Paul_Zahl property:country_of_citizenship ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q586,P1376,c(Q1048835)), (Q2073478,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q586
relation P1376
action find
entity Q2073478
relation P27
type Q1048835
[ANSWER] have Bonn as their county seat and are the countries of citizenship of Peter-Paul Zahl
{'AND': [['Q586', 'P1376', {'concept': 'Q1048835'}], ['Q2073478', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { resource:Q586 property:P1376 ?n . resource:Q2073478 property:P27 ?n . ?n rdf:type ontology:Q1048835 }
Germany
Germany have Bonn as their county seat and are the countries of citizenship of Peter-Paul Zahl
Germany
action filter_type
action intersection
action find
entity Bonn
relation capital of
action find
entity Peter-Paul Zahl
relation country of citizenship
type political territorial entity
{'AND': [['Bonn', 'capital of', {'concept': 'political territorial entity'}], ['Peter-Paul Zahl', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { resource:Bonn property:capital_of ?n . resource:Peter-Paul_Zahl property:country_of_citizenship ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q183 Q16856066 Q126166
P35
Q502895
USER
Did that political territory elected George Washington Bolton and Dagmar Enkelmann as its head of state ?
(Q183,P35,Q16856066) (Q183,P35,Q126166)
action is_in
entity Q183
action intersection
action find_reverse
entity Q16856066
relation P35
action find_reverse
entity Q126166
relation P35
['Q183', 'P35', 'Q16856066'] ['Q183', 'P35', 'Q126166']
ASK WHERE { resource:Q183 property:P35 resource:Q16856066 . resource:Q183 property:P35 resource:Q126166 }
Germany George Washington Bolton Dagmar Enkelmann
action is_in
entity Germany
action intersection
action find_reverse
entity George Washington Bolton
relation head of state
action find_reverse
entity Dagmar Enkelmann
relation head of state
['Germany', 'head of state', 'George Washington Bolton'] ['Germany', 'head of state', 'Dagmar Enkelmann']
ASK WHERE { resource:Germany property:head_of_state resource:George_Washington_Bolton . resource:Germany property:head_of_state resource:Dagmar_Enkelmann }
[]
common name
SYSTEM
NO
(Q183,P35,Q16856066) (Q183,P35,Q126166)
action is_in
entity Q183
action intersection
action find_reverse
entity Q16856066
relation P35
action find_reverse
entity Q126166
relation P35
[ANSWER]
['Q183', 'P35', 'Q16856066'] ['Q183', 'P35', 'Q126166']
ASK WHERE { resource:Q183 property:P35 resource:Q16856066 . resource:Q183 property:P35 resource:Q126166 }
No
action is_in
entity Germany
action intersection
action find_reverse
entity George Washington Bolton
relation head of state
action find_reverse
entity Dagmar Enkelmann
relation head of state
['Germany', 'head of state', 'George Washington Bolton'] ['Germany', 'head of state', 'Dagmar Enkelmann']
ASK WHERE { resource:Germany property:head_of_state resource:George_Washington_Bolton . resource:Germany property:head_of_state resource:Dagmar_Enkelmann }
[]