Simple Question (Direct)
Simple Question
Q1540977
P937
Q486972
USER
Which is the work location of Holger Kahlbohm ?
(Q1540977,P937,c(Q486972))
action filter_type
action find
entity Q1540977
relation P937
type Q486972
['Q1540977', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?j WHERE { resource:Q1540977 property:P937 ?j . ?j rdf:type ontology:Q486972 }
Holger Kahlbohm
action filter_type
action find
entity Holger Kahlbohm
relation work location
type human settlement
['Holger Kahlbohm', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?j WHERE { resource:Holger_Kahlbohm property:work_location ?j . ?j rdf:type ontology:human_settlement }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q1540977,P937,c(Q486972))
action filter_type
action find
entity Q1540977
relation P937
type Q486972
[ANSWER] is the work location of Holger Kahlbohm
['Q1540977', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?j WHERE { resource:Q1540977 property:P937 ?j . ?j rdf:type ontology:Q486972 }
Hamburg
Hamburg is the work location of Holger Kahlbohm
Hamburg
action filter_type
action find
entity Holger Kahlbohm
relation work location
type human settlement
['Holger Kahlbohm', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?j WHERE { resource:Holger_Kahlbohm property:work_location ?j . ?j rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1540977
P39
Q12737077
USER
What was the position for which that person was appointed ?
(Q1055,P39,c(Q12737077))
action filter_type
action find
entity Q1540977
relation P39
type Q12737077
['Q1055', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q1540977 property:P39 ?p }
Holger Kahlbohm
action filter_type
action find
entity Holger Kahlbohm
relation position held
type occupation
['Hamburg', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Holger_Kahlbohm property:position_held ?p }
[]
occupation
Q19360355
SYSTEM
Member of the Hamburg Parliament
Q19360355
(Q1055,P39,c(Q12737077))
action filter_type
action find
entity Q1540977
relation P39
type Q12737077
Parliament [ANSWER]
['Q1055', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q1540977 property:P39 ?p }
Member of the Hamburg Parliament
Parliament Member of the Hamburg Parliament
Member of the Hamburg Parliament
action filter_type
action find
entity Holger Kahlbohm
relation position held
type occupation
['Hamburg', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Holger_Kahlbohm property:position_held ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1540977
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q19360355,P106,c(Q12737077))
action filter_type
action find
entity Q1540977
relation P106
type Q12737077
['Q19360355', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q1540977 property:P106 ?v }
Holger Kahlbohm
action filter_type
action find
entity Holger Kahlbohm
relation occupation
type occupation
['Member of the Hamburg Parliament', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Holger_Kahlbohm property:occupation ?v }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q19360355,P106,c(Q12737077))
action filter_type
action find
entity Q1540977
relation P106
type Q12737077
Is [ANSWER] is the profession of that person
['Q19360355', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q1540977 property:P106 ?v }
politician
Is politician is the profession of that person
politician
action filter_type
action find
entity Holger Kahlbohm
relation occupation
type occupation
['Member of the Hamburg Parliament', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Holger_Kahlbohm property:occupation ?v }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q82955 Q11887358
P106
Q502895
USER
Does Pentti Liedes have that occupation as his/her means of employment ?
(Q11887358,P106,Q82955)
action is_in
entity Q82955
action find
entity Q11887358
relation P106
['Q11887358', 'P106', 'Q82955']
ASK WHERE { resource:Q11887358 property:P106 resource:Q82955 }
politician Pentti Liedes
action is_in
entity politician
action find
entity Pentti Liedes
relation occupation
['Pentti Liedes', 'occupation', 'politician']
ASK WHERE { resource:Pentti_Liedes property:occupation resource:politician }
[]
common name
SYSTEM
YES
(Q11887358,P106,Q82955)
action is_in
entity Q82955
action find
entity Q11887358
relation P106
[ANSWER]
['Q11887358', 'P106', 'Q82955']
ASK WHERE { resource:Q11887358 property:P106 resource:Q82955 }
Yes
action is_in
entity politician
action find
entity Pentti Liedes
relation occupation
['Pentti Liedes', 'occupation', 'politician']
ASK WHERE { resource:Pentti_Liedes property:occupation resource:politician }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q19360355 Q4057053
P17
Q1048835
USER
Is Member of the Hamburg Parliament present in Ahrafenivka ?
(Q19360355,P17,Q4057053)
action is_in
entity Q4057053
action find
entity Q19360355
relation P17
['Q19360355', 'P17', 'Q4057053']
ASK WHERE { resource:Q19360355 property:P17 resource:Q4057053 }
Member of the Hamburg Parliament Ahrafenivka
action is_in
entity Ahrafenivka
action find
entity Member of the Hamburg Parliament
relation country
['Member of the Hamburg Parliament', 'country', 'Ahrafenivka']
ASK WHERE { resource:Member_of_the_Hamburg_Parliament property:country resource:Ahrafenivka }
[]
political territorial entity
SYSTEM
NO
(Q19360355,P17,Q4057053)
action is_in
entity Q4057053
action find
entity Q19360355
relation P17
[ANSWER]
['Q19360355', 'P17', 'Q4057053']
ASK WHERE { resource:Q19360355 property:P17 resource:Q4057053 }
No
action is_in
entity Ahrafenivka
action find
entity Member of the Hamburg Parliament
relation country
['Member of the Hamburg Parliament', 'country', 'Ahrafenivka']
ASK WHERE { resource:Member_of_the_Hamburg_Parliament property:country resource:Ahrafenivka }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3603083 Q1540977
P27
Q1048835
USER
Which political territories are Holger Kahlbohm or Aaron Moses-Garvey a civilian of ?
OR((Q1540977,P27,c(Q1048835)), (Q3603083,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1540977
relation P27
action find
entity Q3603083
relation P27
type Q1048835
{'OR': [['Q1540977', 'P27', {'concept': 'Q1048835'}], ['Q3603083', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?g ) { ( resource:Q1540977 ) ( resource:Q3603083 ) } . ?g property:P27 ?l } . ?l rdf:type ontology:Q1048835 }
Aaron Moses-Garvey Holger Kahlbohm
action filter_type
action union
action find
entity Holger Kahlbohm
relation country of citizenship
action find
entity Aaron Moses-Garvey
relation country of citizenship
type political territorial entity
{'OR': [['Holger Kahlbohm', 'country of citizenship', {'concept': 'political territorial entity'}], ['Aaron Moses-Garvey', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?g ) { ( resource:Holger_Kahlbohm ) ( resource:Aaron_Moses-Garvey ) } . ?g property:country_of_citizenship ?l } . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q763 Q183
SYSTEM
Saint Kitts and Nevis, Germany
Q763 Q183
OR((Q1540977,P27,c(Q1048835)), (Q3603083,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1540977
relation P27
action find
entity Q3603083
relation P27
type Q1048835
[ANSWERS] are Holger Kahlbohm or Aaron Moses-Garvey a civilian of
{'OR': [['Q1540977', 'P27', {'concept': 'Q1048835'}], ['Q3603083', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?g ) { ( resource:Q1540977 ) ( resource:Q3603083 ) } . ?g property:P27 ?l } . ?l rdf:type ontology:Q1048835 }
Saint Kitts and Nevis Germany
Saint Kitts and Nevis and Germany are Holger Kahlbohm or Aaron Moses-Garvey a civilian of
Saint Kitts and Nevis Germany
action filter_type
action union
action find
entity Holger Kahlbohm
relation country of citizenship
action find
entity Aaron Moses-Garvey
relation country of citizenship
type political territorial entity
{'OR': [['Holger Kahlbohm', 'country of citizenship', {'concept': 'political territorial entity'}], ['Aaron Moses-Garvey', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?g ) { ( resource:Holger_Kahlbohm ) ( resource:Aaron_Moses-Garvey ) } . ?g property:country_of_citizenship ?l } . ?l rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q763 Q183
P36
Q56061
USER
Which administrative territories are called the capital of those political territories ?
(Q763,P36,c(Q56061)) (Q183,P36,c(Q56061))
action filter_type
action find
entity prev_answer
relation P36
type Q56061
['Q763', 'P36', {'concept': 'Q56061'}] ['Q183', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?o property:P36 ?s . ?s rdf:type ontology:Q56061 . VALUES ( ?o ) { ( resource:Q763 ) ( resource:Q183 ) } }
Saint Kitts and Nevis Germany
action filter_type
action find
entity prev_answer
relation capital
type administrative territorial entity
['Saint Kitts and Nevis', 'capital', {'concept': 'administrative territorial entity'}] ['Germany', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?o property:capital ?s . ?s rdf:type ontology:administrative_territorial_entity . VALUES ( ?o ) { ( resource:Saint_Kitts_and_Nevis ) ( resource:Germany ) } }
[]
administrative territorial entity
Q41295 Q64 Q586
SYSTEM
Basseterre, Berlin, Bonn
Q41295 Q64 Q586
(Q763,P36,c(Q56061)) (Q183,P36,c(Q56061))
action filter_type
action find
entity prev_answer
relation P36
type Q56061
[ANSWERS] are called the capital of those political territories
['Q763', 'P36', {'concept': 'Q56061'}] ['Q183', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?o property:P36 ?s . ?s rdf:type ontology:Q56061 . VALUES ( ?o ) { ( resource:Q763 ) ( resource:Q183 ) } }
Basseterre Berlin Bonn
Basseterre, Berlin and Bonn are called the capital of those political territories
Basseterre Berlin Bonn
action filter_type
action find
entity prev_answer
relation capital
type administrative territorial entity
['Saint Kitts and Nevis', 'capital', {'concept': 'administrative territorial entity'}] ['Germany', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?o property:capital ?s . ?s rdf:type ontology:administrative_territorial_entity . VALUES ( ?o ) { ( resource:Saint_Kitts_and_Nevis ) ( resource:Germany ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q41295 Q64 Q586
P1376
Q1048835
USER
Which political territories have Basseterre, Berlin and Bonn have their center of administration ?
(Q41295,P1376,c(Q1048835)) (Q64,P1376,c(Q1048835)) (Q586,P1376,c(Q1048835))
action union
action filter_type
action find
entity Q41295
relation P1376
type Q1048835
action filter_type
action find
entity Q64
relation P1376
type Q1048835
action filter_type
action find
entity Q586
relation P1376
type Q1048835
['Q41295', 'P1376', {'concept': 'Q1048835'}] ['Q64', 'P1376', {'concept': 'Q1048835'}] ['Q586', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { ?f property:P1376 ?b . VALUES ( ?f ) { ( resource:Q41295 ) ( resource:Q64 ) } }
Basseterre Berlin Bonn
action union
action filter_type
action find
entity Basseterre
relation capital of
type political territorial entity
action filter_type
action find
entity Berlin
relation capital of
type political territorial entity
action filter_type
action find
entity Bonn
relation capital of
type political territorial entity
['Basseterre', 'capital of', {'concept': 'political territorial entity'}] ['Berlin', 'capital of', {'concept': 'political territorial entity'}] ['Bonn', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { ?f property:capital_of ?b . VALUES ( ?f ) { ( resource:Basseterre ) ( resource:Berlin ) } }
[]
political territorial entity
Q763 Q183 Q183
SYSTEM
Saint Kitts and Nevis for 1st, Germany for 2nd, 3rd
Q763 Q183 Q183
(Q41295,P1376,c(Q1048835)) (Q64,P1376,c(Q1048835)) (Q586,P1376,c(Q1048835))
action union
action filter_type
action find
entity Q41295
relation P1376
type Q1048835
action filter_type
action find
entity Q64
relation P1376
type Q1048835
action filter_type
action find
entity Q586
relation P1376
type Q1048835
[ANSWERS]
['Q41295', 'P1376', {'concept': 'Q1048835'}] ['Q64', 'P1376', {'concept': 'Q1048835'}] ['Q586', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { ?f property:P1376 ?b . VALUES ( ?f ) { ( resource:Q41295 ) ( resource:Q64 ) } }
Saint Kitts and Nevis Germany Germany
Saint Kitts and Nevis, Germany and Germany have Basseterre, Berlin and Bonn have their center of administration
Saint Kitts and Nevis Germany Germany
action union
action filter_type
action find
entity Basseterre
relation capital of
type political territorial entity
action filter_type
action find
entity Berlin
relation capital of
type political territorial entity
action filter_type
action find
entity Bonn
relation capital of
type political territorial entity
['Basseterre', 'capital of', {'concept': 'political territorial entity'}] ['Berlin', 'capital of', {'concept': 'political territorial entity'}] ['Bonn', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { ?f property:capital_of ?b . VALUES ( ?f ) { ( resource:Basseterre ) ( resource:Berlin ) } }
[]