Simple Question (Direct)
Simple Question
Q2893429
P611
Q1530022
USER
What religion is Sibert de Beka affiliated to ?
(Q2893429,P611,c(Q1530022))
action filter_type
action find
entity Q2893429
relation P611
type Q1530022
['Q2893429', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?x WHERE { resource:Q2893429 property:P611 ?x . ?x rdf:type ontology:Q1530022 }
Sibert de Beka
action filter_type
action find
entity Sibert de Beka
relation religious order
type religious organization
['Sibert de Beka', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?x WHERE { resource:Sibert_de_Beka property:religious_order ?x . ?x rdf:type ontology:religious_organization }
[]
religious organization
Q186277
SYSTEM
Carmelites
Q186277
(Q2893429,P611,c(Q1530022))
action filter_type
action find
entity Q2893429
relation P611
type Q1530022
Sibert de Beka is affiliated to [ANSWER]
['Q2893429', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?x WHERE { resource:Q2893429 property:P611 ?x . ?x rdf:type ontology:Q1530022 }
Carmelites
Sibert de Beka is affiliated to Carmelites
Carmelites
action filter_type
action find
entity Sibert de Beka
relation religious order
type religious organization
['Sibert de Beka', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?x WHERE { resource:Sibert_de_Beka property:religious_order ?x . ?x rdf:type ontology:religious_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2893429
P20
Q56061
USER
Where did that person expire ?
(Q186277,P20,c(Q56061))
action filter_type
action find
entity Q2893429
relation P20
type Q56061
['Q186277', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q56061 . resource:Q2893429 property:P20 ?h }
Sibert de Beka
action filter_type
action find
entity Sibert de Beka
relation place of death
type administrative territorial entity
['Carmelites', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:administrative_territorial_entity . resource:Sibert_de_Beka property:place_of_death ?h }
[]
administrative territorial entity
Q365
SYSTEM
Cologne
Q365
(Q186277,P20,c(Q56061))
action filter_type
action find
entity Q2893429
relation P20
type Q56061
That person expired in [ANSWER]
['Q186277', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q56061 . resource:Q2893429 property:P20 ?h }
Cologne
That person expired in Cologne
Cologne
action filter_type
action find
entity Sibert de Beka
relation place of death
type administrative territorial entity
['Carmelites', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:administrative_territorial_entity . resource:Sibert_de_Beka property:place_of_death ?h }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q15624144 Q2893429
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of Sibert de Beka or do Zayandeh Rud-e Shomali Rural District belong to ?
OR((Q2893429,P27,c(Q15617994)), (Q15624144,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2893429
relation P27
action find
entity Q15624144
relation P17
type Q15617994
{'OR': [['Q2893429', 'P27', {'concept': 'Q15617994'}], ['Q15624144', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . { { resource:Q2893429 property:P27 ?y } UNION { resource:Q15624144 property:P17 ?y } } }
Zayandeh Rud-e Shomali Rural District Sibert de Beka
action filter_type
action union
action find
entity Sibert de Beka
relation country of citizenship
action find
entity Zayandeh Rud-e Shomali Rural District
relation country
type designation for an administrative territorial entity
{'OR': [['Sibert de Beka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Zayandeh Rud-e Shomali Rural District', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Sibert_de_Beka property:country_of_citizenship ?y } UNION { resource:Zayandeh_Rud-e_Shomali_Rural_District property:country ?y } } }
[]
designation for an administrative territorial entity
Q55 Q794
SYSTEM
Netherlands, Iran
Q55 Q794
OR((Q2893429,P27,c(Q15617994)), (Q15624144,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2893429
relation P27
action find
entity Q15624144
relation P17
type Q15617994
[ANSWERS] are the countries of citizenship of Sibert de Beka or do Zayandeh Rud-e Shomali Rural District belong to
{'OR': [['Q2893429', 'P27', {'concept': 'Q15617994'}], ['Q15624144', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . { { resource:Q2893429 property:P27 ?y } UNION { resource:Q15624144 property:P17 ?y } } }
Netherlands Iran
Netherlands and Iran are the countries of citizenship of Sibert de Beka or do Zayandeh Rud-e Shomali Rural District belong to
Netherlands Iran
action filter_type
action union
action find
entity Sibert de Beka
relation country of citizenship
action find
entity Zayandeh Rud-e Shomali Rural District
relation country
type designation for an administrative territorial entity
{'OR': [['Sibert de Beka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Zayandeh Rud-e Shomali Rural District', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Sibert_de_Beka property:country_of_citizenship ?y } UNION { resource:Zayandeh_Rud-e_Shomali_Rural_District property:country ?y } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q794
P1376
Q515
USER
What is the capital of that administrative territory ?
(c(Q515),P1376,Q794)
action filter_type
action find_reverse
entity Q794
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', 'Q794']
SELECT DISTINCT ?e WHERE { ?e property:P1376 resource:Q794 . ?e rdf:type ontology:Q515 }
Iran
action filter_type
action find_reverse
entity Iran
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Iran']
SELECT DISTINCT ?e WHERE { ?e property:capital_of resource:Iran . ?e rdf:type ontology:city }
[]
city
Clarification for simple ques.
Q794
SYSTEM
Did you mean Iran ?
Q55 Q794
(c(Q515),P1376,Q55) (c(Q515),P1376,Q794)
[ANSWER]
[{'concept': 'Q515'}, 'P1376', 'Q55'] [{'concept': 'Q515'}, 'P1376', 'Q794']
SELECT DISTINCT ?e WHERE { ?e property:P1376 resource:Q794 . ?e rdf:type ontology:Q515 }
Netherlands Iran
Did you mean Iran ?
Iran
[{'concept': 'city'}, 'capital of', 'Netherlands'] [{'concept': 'city'}, 'capital of', 'Iran']
SELECT DISTINCT ?e WHERE { ?e property:capital_of resource:Iran . ?e rdf:type ontology:city }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q515),P1376,Q794)
[{'concept': 'Q515'}, 'P1376', 'Q794']
[{'concept': 'city'}, 'capital of', 'Iran']
[]
Q3616
SYSTEM
Tehran
Q3616
(c(Q515),P1376,Q794)
action filter_type
action find_reverse
entity Q794
relation P1376
type Q515
The capital of that administrative territory is [ANSWER]
[{'concept': 'Q515'}, 'P1376', 'Q794']
SELECT DISTINCT ?e WHERE { ?e property:P1376 resource:Q794 . ?e rdf:type ontology:Q515 }
Tehran
The capital of that administrative territory is Tehran
Tehran
action filter_type
action find_reverse
entity Iran
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Iran']
SELECT DISTINCT ?e WHERE { ?e property:capital_of resource:Iran . ?e rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3616 Q2986892
P20
Q502895
USER
Does Farrokhroo Parsa have that city as the location of death ?
(Q2986892,P20,Q3616)
action is_in
entity Q3616
action find
entity Q2986892
relation P20
['Q2986892', 'P20', 'Q3616']
ASK WHERE { resource:Q2986892 property:P20 resource:Q3616 }
Tehran Farrokhroo Parsa
action is_in
entity Tehran
action find
entity Farrokhroo Parsa
relation place of death
['Farrokhroo Parsa', 'place of death', 'Tehran']
ASK WHERE { resource:Farrokhroo_Parsa property:place_of_death resource:Tehran }
[]
common name
SYSTEM
YES
(Q2986892,P20,Q3616)
action is_in
entity Q3616
action find
entity Q2986892
relation P20
[ANSWER]
['Q2986892', 'P20', 'Q3616']
ASK WHERE { resource:Q2986892 property:P20 resource:Q3616 }
Yes
action is_in
entity Tehran
action find
entity Farrokhroo Parsa
relation place of death
['Farrokhroo Parsa', 'place of death', 'Tehran']
ASK WHERE { resource:Farrokhroo_Parsa property:place_of_death resource:Tehran }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q183 Q794
P530
Q15617994
USER
Which administrative territories holds diplomatic relationship with Iran and Germany ?
AND((Q794,P530,c(Q15617994)), (Q183,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q794
relation P530
action find
entity Q183
relation P530
type Q15617994
{'AND': [['Q794', 'P530', {'concept': 'Q15617994'}], ['Q183', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { resource:Q794 property:P530 ?f . resource:Q183 property:P530 ?f . ?f rdf:type ontology:Q15617994 }
Germany Iran
action filter_type
action intersection
action find
entity Iran
relation diplomatic relation
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['Iran', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { resource:Iran property:diplomatic_relation ?f . resource:Germany property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q38 Q801
SYSTEM
Brazil, Italy, Israel
Q155 Q38 Q801
AND((Q794,P530,c(Q15617994)), (Q183,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q794
relation P530
action find
entity Q183
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with Iran and Germany
{'AND': [['Q794', 'P530', {'concept': 'Q15617994'}], ['Q183', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { resource:Q794 property:P530 ?f . resource:Q183 property:P530 ?f . ?f rdf:type ontology:Q15617994 }
Brazil Italy Israel
Brazil, Italy and Israel hold diplomatic relationship with Iran and Germany
Brazil Italy Israel
action filter_type
action intersection
action find
entity Iran
relation diplomatic relation
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['Iran', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { resource:Iran property:diplomatic_relation ?f . resource:Germany property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1151405
P530
Q1048835
USER
Do client state have diplomatic associations with those administrative territories ?
(Q1151405,P530,Q155) (Q1151405,P530,Q38) (Q1151405,P530,Q801)
action is_in
entity prev_answer
action find
entity Q1151405
relation P530
['Q1151405', 'P530', 'Q155'] ['Q1151405', 'P530', 'Q38'] ['Q1151405', 'P530', 'Q801']
ASK WHERE { resource:Q1151405 property:P530 ?j . VALUES ( ?j ) { ( resource:Q155 ) ( resource:Q38 ) ( resource:Q801 ) } }
client state
action is_in
entity prev_answer
action find
entity client state
relation diplomatic relation
['client state', 'diplomatic relation', 'Brazil'] ['client state', 'diplomatic relation', 'Italy'] ['client state', 'diplomatic relation', 'Israel']
ASK WHERE { resource:client_state property:diplomatic_relation ?j . VALUES ( ?j ) { ( resource:Brazil ) ( resource:Italy ) ( resource:Israel ) } }
[]
political territorial entity
SYSTEM
NO
(Q1151405,P530,Q155) (Q1151405,P530,Q38) (Q1151405,P530,Q801)
action is_in
entity prev_answer
action find
entity Q1151405
relation P530
[ANSWER]
['Q1151405', 'P530', 'Q155'] ['Q1151405', 'P530', 'Q38'] ['Q1151405', 'P530', 'Q801']
ASK WHERE { resource:Q1151405 property:P530 ?j . VALUES ( ?j ) { ( resource:Q155 ) ( resource:Q38 ) ( resource:Q801 ) } }
No
action is_in
entity prev_answer
action find
entity client state
relation diplomatic relation
['client state', 'diplomatic relation', 'Brazil'] ['client state', 'diplomatic relation', 'Italy'] ['client state', 'diplomatic relation', 'Israel']
ASK WHERE { resource:client_state property:diplomatic_relation ?j . VALUES ( ?j ) { ( resource:Brazil ) ( resource:Italy ) ( resource:Israel ) } }
[]