Simple Question (Direct)
Simple Question
Q1799387
P937
Q56061
USER
Where did Ludwig Trepl work ?
(Q1799387,P937,c(Q56061))
action filter_type
action find
entity Q1799387
relation P937
type Q56061
['Q1799387', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q1799387 property:P937 ?r . ?r rdf:type ontology:Q56061 }
Ludwig Trepl
action filter_type
action find
entity Ludwig Trepl
relation work location
type administrative territorial entity
['Ludwig Trepl', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Ludwig_Trepl property:work_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1726
SYSTEM
Munich
Q1726
(Q1799387,P937,c(Q56061))
action filter_type
action find
entity Q1799387
relation P937
type Q56061
Ludwig Trepl worked in [ANSWER]
['Q1799387', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q1799387 property:P937 ?r . ?r rdf:type ontology:Q56061 }
Munich
Ludwig Trepl worked in Munich
Munich
action filter_type
action find
entity Ludwig Trepl
relation work location
type administrative territorial entity
['Ludwig Trepl', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Ludwig_Trepl property:work_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1799387
P512
Q3412758
USER
What is the name of the degree held by Ludwig Trepl ?
(Q1799387,P512,c(Q3412758))
action filter_type
action find
entity Q1799387
relation P512
type Q3412758
['Q1799387', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?w WHERE { resource:Q1799387 property:P512 ?w . ?w rdf:type ontology:Q3412758 }
Ludwig Trepl
action filter_type
action find
entity Ludwig Trepl
relation academic degree
type qualification
['Ludwig Trepl', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?w WHERE { resource:Ludwig_Trepl property:academic_degree ?w . ?w rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q1799387,P512,c(Q3412758))
action filter_type
action find
entity Q1799387
relation P512
type Q3412758
The name of the degree held by Ludwig Trepl is the [ANSWER]
['Q1799387', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?w WHERE { resource:Q1799387 property:P512 ?w . ?w rdf:type ontology:Q3412758 }
doctoral degree
The name of the degree held by Ludwig Trepl is the doctoral degree
doctoral degree
action filter_type
action find
entity Ludwig Trepl
relation academic degree
type qualification
['Ludwig Trepl', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?w WHERE { resource:Ludwig_Trepl property:academic_degree ?w . ?w rdf:type ontology:qualification }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1799387
P21
Q290
USER
Which sex does that person belong to ?
(Q849697,P21,c(Q290))
action filter_type
action find
entity Q1799387
relation P21
type Q290
['Q849697', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q1799387 property:P21 ?r . ?r rdf:type ontology:Q290 }
Ludwig Trepl
action filter_type
action find
entity Ludwig Trepl
relation gender
type sex
['doctoral degree', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Ludwig_Trepl property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q849697,P21,c(Q290))
action filter_type
action find
entity Q1799387
relation P21
type Q290
That person belongs to [ANSWER]
['Q849697', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q1799387 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Ludwig Trepl
relation gender
type sex
['doctoral degree', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Ludwig_Trepl property:gender ?r . ?r rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q5369045 Q1799387
P21
Q290
USER
Or Emanuel Dening?
OR((Q1799387,P21,c(Q290)), (Q5369045,P21,c(Q290)))
action filter_type
action union
action find
entity Q1799387
relation P21
action find
entity Q5369045
relation P21
type Q290
{'OR': [['Q1799387', 'P21', {'concept': 'Q290'}], ['Q5369045', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?q ) { ( resource:Q1799387 ) ( resource:Q5369045 ) } . ?q property:P21 ?f } . ?f rdf:type ontology:Q290 }
Emanuel Dening Ludwig Trepl
action filter_type
action union
action find
entity Ludwig Trepl
relation gender
action find
entity Emanuel Dening
relation gender
type sex
{'OR': [['Ludwig Trepl', 'gender', {'concept': 'sex'}], ['Emanuel Dening', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?q ) { ( resource:Ludwig_Trepl ) ( resource:Emanuel_Dening ) } . ?q property:gender ?f } . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q1799387,P21,c(Q290)), (Q5369045,P21,c(Q290)))
action filter_type
action union
action find
entity Q1799387
relation P21
action find
entity Q5369045
relation P21
type Q290
[ANSWER]
{'OR': [['Q1799387', 'P21', {'concept': 'Q290'}], ['Q5369045', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?q ) { ( resource:Q1799387 ) ( resource:Q5369045 ) } . ?q property:P21 ?f } . ?f rdf:type ontology:Q290 }
male
male
action filter_type
action union
action find
entity Ludwig Trepl
relation gender
action find
entity Emanuel Dening
relation gender
type sex
{'OR': [['Ludwig Trepl', 'gender', {'concept': 'sex'}], ['Emanuel Dening', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?q ) { ( resource:Ludwig_Trepl ) ( resource:Emanuel_Dening ) } . ?q property:gender ?f } . ?f rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1799387
P27
Q1048835
USER
Which political territory is Ludwig Trepl a civilian of ?
(Q1799387,P27,c(Q1048835))
action filter_type
action find
entity Q1799387
relation P27
type Q1048835
['Q1799387', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q1799387 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
Ludwig Trepl
action filter_type
action find
entity Ludwig Trepl
relation country of citizenship
type political territorial entity
['Ludwig Trepl', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Ludwig_Trepl property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1799387,P27,c(Q1048835))
action filter_type
action find
entity Q1799387
relation P27
type Q1048835
Which political territory is Ludwig Trepl a civilian of
['Q1799387', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q1799387 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
Germany
Which political territory is Ludwig Trepl a civilian of
Germany
action filter_type
action find
entity Ludwig Trepl
relation country of citizenship
type political territorial entity
['Ludwig Trepl', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Ludwig_Trepl property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1799387
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q183,P106,c(Q12737077))
action filter_type
action find
entity Q1799387
relation P106
type Q12737077
['Q183', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1799387 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Ludwig Trepl
action filter_type
action find
entity Ludwig Trepl
relation occupation
type occupation
['Germany', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Ludwig_Trepl property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q864503 Q1622272
SYSTEM
biologist, university teacher
Q864503 Q1622272
(Q183,P106,c(Q12737077))
action filter_type
action find
entity Q1799387
relation P106
type Q12737077
The professions of that person are a [ANSWERS]
['Q183', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1799387 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
biologist university teacher
The professions of that person are a biologist and university teacher
biologist university teacher
action filter_type
action find
entity Ludwig Trepl
relation occupation
type occupation
['Germany', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Ludwig_Trepl property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1726
P361
Q486972
USER
Which human settlements are parts of Munich ?
(c(Q486972),P361,Q1726)
action filter_type
action find_reverse
entity Q1726
relation P361
type Q486972
[{'concept': 'Q486972'}, 'P361', 'Q1726']
SELECT DISTINCT ?r WHERE { ?r property:P361 resource:Q1726 . ?r rdf:type ontology:Q486972 }
Munich
action filter_type
action find_reverse
entity Munich
relation part of
type human settlement
[{'concept': 'human settlement'}, 'part of', 'Munich']
SELECT DISTINCT ?r WHERE { ?r property:part_of resource:Munich . ?r rdf:type ontology:human_settlement }
[]
human settlement
Q2419722 Q263163
SYSTEM
Theresienhöhe, Moosach
Q2419722 Q263163
(c(Q486972),P361,Q1726)
action filter_type
action find_reverse
entity Q1726
relation P361
type Q486972
[ANSWERS] are parts of Munich
[{'concept': 'Q486972'}, 'P361', 'Q1726']
SELECT DISTINCT ?r WHERE { ?r property:P361 resource:Q1726 . ?r rdf:type ontology:Q486972 }
Theresienhöhe Moosach
Theresienhöhe and Moosach are parts of Munich
Theresienhöhe Moosach
action filter_type
action find_reverse
entity Munich
relation part of
type human settlement
[{'concept': 'human settlement'}, 'part of', 'Munich']
SELECT DISTINCT ?r WHERE { ?r property:part_of resource:Munich . ?r rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2419722 Q263163
P361
Q56061
USER
Which administrative territories are Theresienhöhe and Moosach a component of ?
(Q2419722,P361,c(Q56061)) (Q263163,P361,c(Q56061))
action union
action filter_type
action find
entity Q2419722
relation P361
type Q56061
action filter_type
action find
entity Q263163
relation P361
type Q56061
['Q2419722', 'P361', {'concept': 'Q56061'}] ['Q263163', 'P361', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { { resource:Q2419722 property:P361 ?q . ?q rdf:type ontology:Q56061 } UNION { resource:Q263163 property:P361 ?q . ?q rdf:type ontology:Q56061 } }
Theresienhöhe Moosach
action union
action filter_type
action find
entity Theresienhöhe
relation part of
type administrative territorial entity
action filter_type
action find
entity Moosach
relation part of
type administrative territorial entity
['Theresienhöhe', 'part of', {'concept': 'administrative territorial entity'}] ['Moosach', 'part of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { resource:Theresienhöhe property:part_of ?q . ?q rdf:type ontology:administrative_territorial_entity } UNION { resource:Moosach property:part_of ?q . ?q rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q1726 Q1726
SYSTEM
Munich
Q1726 Q1726
(Q2419722,P361,c(Q56061)) (Q263163,P361,c(Q56061))
action union
action filter_type
action find
entity Q2419722
relation P361
type Q56061
action filter_type
action find
entity Q263163
relation P361
type Q56061
[ANSWER] and [ANSWER] are Theresienhöhe and Moosach a component of
['Q2419722', 'P361', {'concept': 'Q56061'}] ['Q263163', 'P361', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { { resource:Q2419722 property:P361 ?q . ?q rdf:type ontology:Q56061 } UNION { resource:Q263163 property:P361 ?q . ?q rdf:type ontology:Q56061 } }
Munich Munich
Munich and Munich are Theresienhöhe and Moosach a component of
Munich Munich
action union
action filter_type
action find
entity Theresienhöhe
relation part of
type administrative territorial entity
action filter_type
action find
entity Moosach
relation part of
type administrative territorial entity
['Theresienhöhe', 'part of', {'concept': 'administrative territorial entity'}] ['Moosach', 'part of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { resource:Theresienhöhe property:part_of ?q . ?q rdf:type ontology:administrative_territorial_entity } UNION { resource:Moosach property:part_of ?q . ?q rdf:type ontology:administrative_territorial_entity } }
[]