Simple Question (Direct)
Simple Question
Q340422
P512
Q3412758
USER
What degree does Achim Landwehr hold ?
(Q340422,P512,c(Q3412758))
action filter_type
action find
entity Q340422
relation P512
type Q3412758
['Q340422', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?v WHERE { resource:Q340422 property:P512 ?v . ?v rdf:type ontology:Q3412758 }
Achim Landwehr
action filter_type
action find
entity Achim Landwehr
relation academic degree
type qualification
['Achim Landwehr', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?v WHERE { resource:Achim_Landwehr property:academic_degree ?v . ?v rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q340422,P512,c(Q3412758))
action filter_type
action find
entity Q340422
relation P512
type Q3412758
Achim Landwehr holds a [ANSWER]
['Q340422', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?v WHERE { resource:Q340422 property:P512 ?v . ?v rdf:type ontology:Q3412758 }
doctoral degree
Achim Landwehr holds a doctoral degree
doctoral degree
action filter_type
action find
entity Achim Landwehr
relation academic degree
type qualification
['Achim Landwehr', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?v WHERE { resource:Achim_Landwehr property:academic_degree ?v . ?v rdf:type ontology:qualification }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q340422
P106
Q12737077
USER
What are the job of that person ?
(Q849697,P106,c(Q12737077))
action filter_type
action find
entity Q340422
relation P106
type Q12737077
['Q849697', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q340422 property:P106 ?p }
Achim Landwehr
action filter_type
action find
entity Achim Landwehr
relation occupation
type occupation
['doctoral degree', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Achim_Landwehr property:occupation ?p }
[]
occupation
Q17489339 Q1622272
SYSTEM
historian of the modern age, university teacher
Q17489339 Q1622272
(Q849697,P106,c(Q12737077))
action filter_type
action find
entity Q340422
relation P106
type Q12737077
The job of that person are the [ANSWERS]
['Q849697', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q340422 property:P106 ?p }
historian of the modern age university teacher
The job of that person are the historian of the modern age and university teacher
historian of the modern age university teacher
action filter_type
action find
entity Achim Landwehr
relation occupation
type occupation
['doctoral degree', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Achim_Landwehr property:occupation ?p }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q5263033 Q340422
P106
Q12737077
USER
Or Derrick Harris?
OR((Q340422,P106,c(Q12737077)), (Q5263033,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q340422
relation P106
action find
entity Q5263033
relation P106
type Q12737077
{'OR': [['Q340422', 'P106', {'concept': 'Q12737077'}], ['Q5263033', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q5263033 property:P106 ?m } UNION { resource:Q340422 property:P106 ?m } } . ?m rdf:type ontology:Q12737077 }
Derrick Harris Achim Landwehr
action filter_type
action union
action find
entity Achim Landwehr
relation occupation
action find
entity Derrick Harris
relation occupation
type occupation
{'OR': [['Achim Landwehr', 'occupation', {'concept': 'occupation'}], ['Derrick Harris', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Derrick_Harris property:occupation ?m } UNION { resource:Achim_Landwehr property:occupation ?m } } . ?m rdf:type ontology:occupation }
[]
occupation
Q17489339 Q19204627 Q1622272
SYSTEM
historian of the modern age, American football player, university teacher
Q17489339 Q19204627 Q1622272
OR((Q340422,P106,c(Q12737077)), (Q5263033,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q340422
relation P106
action find
entity Q5263033
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q340422', 'P106', {'concept': 'Q12737077'}], ['Q5263033', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q5263033 property:P106 ?m } UNION { resource:Q340422 property:P106 ?m } } . ?m rdf:type ontology:Q12737077 }
historian of the modern age American football player university teacher
historian of the modern age American football player university teacher
action filter_type
action union
action find
entity Achim Landwehr
relation occupation
action find
entity Derrick Harris
relation occupation
type occupation
{'OR': [['Achim Landwehr', 'occupation', {'concept': 'occupation'}], ['Derrick Harris', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Derrick_Harris property:occupation ?m } UNION { resource:Achim_Landwehr property:occupation ?m } } . ?m rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q340422
P21
Q290
USER
Which sex does Achim Landwehr belong to ?
(Q340422,P21,c(Q290))
action filter_type
action find
entity Q340422
relation P21
type Q290
['Q340422', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q340422 property:P21 ?p . ?p rdf:type ontology:Q290 }
Achim Landwehr
action filter_type
action find
entity Achim Landwehr
relation gender
type sex
['Achim Landwehr', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Achim_Landwehr property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q340422,P21,c(Q290))
action filter_type
action find
entity Q340422
relation P21
type Q290
Achim Landwehr belongs to [ANSWER]
['Q340422', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q340422 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
Achim Landwehr belongs to male
male
action filter_type
action find
entity Achim Landwehr
relation gender
type sex
['Achim Landwehr', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Achim_Landwehr property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q340422
P27
Q1048835
USER
Which political territory is that person a civilian of ?
(Q6581097,P27,c(Q1048835))
action filter_type
action find
entity Q340422
relation P27
type Q1048835
['Q6581097', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q340422 property:P27 ?m . ?m rdf:type ontology:Q1048835 }
Achim Landwehr
action filter_type
action find
entity Achim Landwehr
relation country of citizenship
type political territorial entity
['male', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Achim_Landwehr property:country_of_citizenship ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q6581097,P27,c(Q1048835))
action filter_type
action find
entity Q340422
relation P27
type Q1048835
[ANSWER] is that person a civilian of
['Q6581097', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q340422 property:P27 ?m . ?m rdf:type ontology:Q1048835 }
Germany
Germany is that person a civilian of
Germany
action filter_type
action find
entity Achim Landwehr
relation country of citizenship
type political territorial entity
['male', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Achim_Landwehr property:country_of_citizenship ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q183 Q16043
P530
Q15617994
USER
Does Doberschütz have diplomatic relationships with that political territory ?
(Q183,P530,Q16043)
action is_in
entity Q16043
action find
entity Q183
relation P530
['Q183', 'P530', 'Q16043']
ASK WHERE { resource:Q183 property:P530 resource:Q16043 }
Germany Doberschütz
action is_in
entity Doberschütz
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Doberschütz']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Doberschütz }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q183,P530,Q16043)
action is_in
entity Q16043
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q16043']
ASK WHERE { resource:Q183 property:P530 resource:Q16043 }
No
action is_in
entity Doberschütz
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Doberschütz']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Doberschütz }
[]