Simple Question (Direct)
Simple Question
Q1596750
P20
Q486972
USER
Where did Heinrich Beythien die ?
(Q1596750,P20,c(Q486972))
action filter_type
action find
entity Q1596750
relation P20
type Q486972
['Q1596750', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?i WHERE { resource:Q1596750 property:P20 ?i . ?i rdf:type ontology:Q486972 }
Heinrich Beythien
action filter_type
action find
entity Heinrich Beythien
relation place of death
type human settlement
['Heinrich Beythien', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?i WHERE { resource:Heinrich_Beythien property:place_of_death ?i . ?i rdf:type ontology:human_settlement }
[]
human settlement
Q693628
SYSTEM
Wilmersdorf
Q693628
(Q1596750,P20,c(Q486972))
action filter_type
action find
entity Q1596750
relation P20
type Q486972
Heinrich Beythien died in [ANSWER]
['Q1596750', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?i WHERE { resource:Q1596750 property:P20 ?i . ?i rdf:type ontology:Q486972 }
Wilmersdorf
Heinrich Beythien died in Wilmersdorf
Wilmersdorf
action filter_type
action find
entity Heinrich Beythien
relation place of death
type human settlement
['Heinrich Beythien', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?i WHERE { resource:Heinrich_Beythien property:place_of_death ?i . ?i rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q693628
P17
Q1048835
USER
Which political territory is that human settlement located in ?
(Q693628,P17,c(Q1048835))
action filter_type
action find
entity Q693628
relation P17
type Q1048835
['Q693628', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q693628 property:P17 ?f . ?f rdf:type ontology:Q1048835 }
Wilmersdorf
action filter_type
action find
entity Wilmersdorf
relation country
type political territorial entity
['Wilmersdorf', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Wilmersdorf property:country ?f . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q693628,P17,c(Q1048835))
action filter_type
action find
entity Q693628
relation P17
type Q1048835
That human settlement is located in [ANSWER]
['Q693628', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q693628 property:P17 ?f . ?f rdf:type ontology:Q1048835 }
Germany
That human settlement is located in Germany
Germany
action filter_type
action find
entity Wilmersdorf
relation country
type political territorial entity
['Wilmersdorf', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Wilmersdorf property:country ?f . ?f rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q183 Q958
P530
Q15617994
USER
Does South Sudan hold diplomatic relationship with that political territory ?
(Q183,P530,Q958)
action is_in
entity Q958
action find
entity Q183
relation P530
['Q183', 'P530', 'Q958']
ASK WHERE { resource:Q183 property:P530 resource:Q958 }
Germany South Sudan
action is_in
entity South Sudan
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'South Sudan']
ASK WHERE { resource:Germany property:diplomatic_relation resource:South_Sudan }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q183,P530,Q958)
action is_in
entity Q958
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q958']
ASK WHERE { resource:Q183 property:P530 resource:Q958 }
Yes
action is_in
entity South Sudan
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'South Sudan']
ASK WHERE { resource:Germany property:diplomatic_relation resource:South_Sudan }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q693628 Q179821
P190
Q20667921
USER
Is Gagny twin town of Wilmersdorf ?
(Q693628,P190,Q179821)
action is_in
entity Q179821
action find
entity Q693628
relation P190
['Q693628', 'P190', 'Q179821']
ASK WHERE { resource:Q693628 property:P190 resource:Q179821 }
Wilmersdorf Gagny
action is_in
entity Gagny
action find
entity Wilmersdorf
relation sister city
['Wilmersdorf', 'sister city', 'Gagny']
ASK WHERE { resource:Wilmersdorf property:sister_city resource:Gagny }
[]
type of french administrative division
SYSTEM
YES
(Q693628,P190,Q179821)
action is_in
entity Q179821
action find
entity Q693628
relation P190
[ANSWER]
['Q693628', 'P190', 'Q179821']
ASK WHERE { resource:Q693628 property:P190 resource:Q179821 }
Yes
action is_in
entity Gagny
action find
entity Wilmersdorf
relation sister city
['Wilmersdorf', 'sister city', 'Gagny']
ASK WHERE { resource:Wilmersdorf property:sister_city resource:Gagny }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q189950 Q693628
P190 P20
Q56061
USER
Which administrative territories are sister towns of Wilmersdorf or did the demise of Osip Mandelstam occur ?
OR((Q693628,P190,c(Q56061)), (Q189950,P20,c(Q56061)))
action filter_type
action union
action find
entity Q693628
relation P190
action find
entity Q189950
relation P20
type Q56061
{'OR': [['Q693628', 'P190', {'concept': 'Q56061'}], ['Q189950', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q693628 property:P190 ?m } UNION { resource:Q189950 property:P20 ?m } } . ?m rdf:type ontology:Q56061 }
Osip Mandelstam Wilmersdorf
action filter_type
action union
action find
entity Wilmersdorf
relation sister city
action find
entity Osip Mandelstam
relation place of death
type administrative territorial entity
{'OR': [['Wilmersdorf', 'sister city', {'concept': 'administrative territorial entity'}], ['Osip Mandelstam', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Wilmersdorf property:sister_city ?m } UNION { resource:Osip_Mandelstam property:place_of_death ?m } } . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3846 Q959 Q152418 Q639241
SYSTEM
Minden, Vladivostok, Karmiel, Międzyrzecz
Q3846 Q959 Q152418 Q639241
OR((Q693628,P190,c(Q56061)), (Q189950,P20,c(Q56061)))
action filter_type
action union
action find
entity Q693628
relation P190
action find
entity Q189950
relation P20
type Q56061
[ANSWERS] are sister towns of Wilmersdorf or did the demise of Osip Mandelstam occur
{'OR': [['Q693628', 'P190', {'concept': 'Q56061'}], ['Q189950', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q693628 property:P190 ?m } UNION { resource:Q189950 property:P20 ?m } } . ?m rdf:type ontology:Q56061 }
Minden Vladivostok Karmiel Międzyrzecz
Minden, Vladivostok, Karmiel and Międzyrzecz are sister towns of Wilmersdorf or did the demise of Osip Mandelstam occur
Minden Vladivostok Karmiel Międzyrzecz
action filter_type
action union
action find
entity Wilmersdorf
relation sister city
action find
entity Osip Mandelstam
relation place of death
type administrative territorial entity
{'OR': [['Wilmersdorf', 'sister city', {'concept': 'administrative territorial entity'}], ['Osip Mandelstam', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Wilmersdorf property:sister_city ?m } UNION { resource:Osip_Mandelstam property:place_of_death ?m } } . ?m rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P190
Q15617994
USER
How many administrative territories are twin towns of that administrative territory ?
(Q639241,P190,c(Q15617994))
['Q639241', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q639241 property:P190 ?z . ?z rdf:type ontology:Q15617994 }
['Międzyrzecz', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Międzyrzecz property:sister_city ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q3846
SYSTEM
Did you mean Minden ?
(Q3846,P190,c(Q15617994)) (Q959,P190,c(Q15617994)) (Q152418,P190,c(Q15617994)) (Q639241,P190,c(Q15617994))
[ANSWER]
['Q3846', 'P190', {'concept': 'Q15617994'}] ['Q959', 'P190', {'concept': 'Q15617994'}] ['Q152418', 'P190', {'concept': 'Q15617994'}] ['Q639241', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q639241 property:P190 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Minden ?
Minden
['Minden', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Vladivostok', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Karmiel', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Międzyrzecz', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Międzyrzecz property:sister_city ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Międzyrzecz. Could you tell me the answer for that?
(Q639241,P190,c(Q15617994))
Q639241
['Q639241', 'P190', {'concept': 'Q15617994'}]
['Międzyrzecz', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
2
Q158095 Q158876
(Q639241,P190,c(Q15617994))
[ANSWER]
['Q639241', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q639241 property:P190 ?z . ?z rdf:type ontology:Q15617994 }
Charlottenburg-Wilmersdorf Reinickendorf
2
['Międzyrzecz', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Międzyrzecz property:sister_city ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q959
P166
Q618779
USER
Which awards were received by Vladivostok ?
(Q959,P166,c(Q618779))
action filter_type
action find
entity Q959
relation P166
type Q618779
['Q959', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q618779 . resource:Q959 property:P166 ?t }
Vladivostok
action filter_type
action find
entity Vladivostok
relation award received
type award
['Vladivostok', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:award . resource:Vladivostok property:award_received ?t }
[]
award
Q185493 Q728960
SYSTEM
Order of Lenin, Order of the October Revolution
Q185493 Q728960
(Q959,P166,c(Q618779))
action filter_type
action find
entity Q959
relation P166
type Q618779
City [ANSWERS] were received by Vladivostok
['Q959', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q618779 . resource:Q959 property:P166 ?t }
Order of Lenin Order of the October Revolution
City Order of Lenin and Order of the October Revolution were received by Vladivostok
Order of Lenin Order of the October Revolution
action filter_type
action find
entity Vladivostok
relation award received
type award
['Vladivostok', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:award . resource:Vladivostok property:award_received ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q959
P159
Q43229
USER
Which organizations have HQ at Vladivostok ?
(c(Q43229),P159,Q959)
action filter_type
action find_reverse
entity Q959
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q959']
SELECT DISTINCT ?y WHERE { ?y property:P159 resource:Q959 . ?y rdf:type ontology:Q43229 }
Vladivostok
action filter_type
action find_reverse
entity Vladivostok
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Vladivostok']
SELECT DISTINCT ?y WHERE { ?y property:headquarters_location resource:Vladivostok . ?y rdf:type ontology:organization }
[]
organization
Q4154217 Q8308333 Q16630634
SYSTEM
Dalmoreprodukt, Primorsky Konditer, Vladkhleb
Q4154217 Q16630634 Q4154334 Q1792329 Q4459215 Q18936338 Q8308333
(c(Q43229),P159,Q959)
action filter_type
action find_reverse
entity Q959
relation P159
type Q43229
[ANSWERS] have HQ at Vladivostok
[{'concept': 'Q43229'}, 'P159', 'Q959']
SELECT DISTINCT ?y WHERE { ?y property:P159 resource:Q959 . ?y rdf:type ontology:Q43229 }
Dalmoreprodukt Vladkhleb Dalsvyaz Kunst and Albers Tiger Rhonda Software Primorsky Konditer
Dalmoreprodukt, Primorsky Konditer and Vladkhleb have HQ at Vladivostok
Dalmoreprodukt Primorsky Konditer Vladkhleb
action filter_type
action find_reverse
entity Vladivostok
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Vladivostok']
SELECT DISTINCT ?y WHERE { ?y property:headquarters_location resource:Vladivostok . ?y rdf:type ontology:organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q8308333
P452
Q268592
USER
What industry is that organization a part of ?
(Q8308333,P452,c(Q268592))
action filter_type
action find
entity Q8308333
relation P452
type Q268592
['Q8308333', 'P452', {'concept': 'Q268592'}]
SELECT DISTINCT ?v WHERE { resource:Q8308333 property:P452 ?v . ?v rdf:type ontology:Q268592 }
Primorsky Konditer
action filter_type
action find
entity Primorsky Konditer
relation industry
type economic branch
['Primorsky Konditer', 'industry', {'concept': 'economic branch'}]
SELECT DISTINCT ?v WHERE { resource:Primorsky_Konditer property:industry ?v . ?v rdf:type ontology:economic_branch }
[]
economic branch
Clarification for simple ques.
Q16630634
SYSTEM
Did you mean Vladkhleb ?
Q4154217 Q8308333 Q16630634
(Q4154217,P452,c(Q268592)) (Q8308333,P452,c(Q268592)) (Q16630634,P452,c(Q268592))
[ANSWER]
['Q4154217', 'P452', {'concept': 'Q268592'}] ['Q8308333', 'P452', {'concept': 'Q268592'}] ['Q16630634', 'P452', {'concept': 'Q268592'}]
SELECT DISTINCT ?v WHERE { resource:Q8308333 property:P452 ?v . ?v rdf:type ontology:Q268592 }
Dalmoreprodukt Primorsky Konditer Vladkhleb
Did you mean Vladkhleb ?
Vladkhleb
['Dalmoreprodukt', 'industry', {'concept': 'economic branch'}] ['Primorsky Konditer', 'industry', {'concept': 'economic branch'}] ['Vladkhleb', 'industry', {'concept': 'economic branch'}]
SELECT DISTINCT ?v WHERE { resource:Primorsky_Konditer property:industry ?v . ?v rdf:type ontology:economic_branch }
[]
Simple Question (Coreferenced)
USER
No, I meant Primorsky Konditer. Could you tell me the answer for that?
(Q8308333,P452,c(Q268592))
Q8308333
['Q8308333', 'P452', {'concept': 'Q268592'}]
['Primorsky Konditer', 'industry', {'concept': 'economic branch'}]
[]
Q540912
SYSTEM
food industry
Q540912
(Q8308333,P452,c(Q268592))
action filter_type
action find
entity Q8308333
relation P452
type Q268592
That organization a part of is the [ANSWER]
['Q8308333', 'P452', {'concept': 'Q268592'}]
SELECT DISTINCT ?v WHERE { resource:Q8308333 property:P452 ?v . ?v rdf:type ontology:Q268592 }
food industry
That organization a part of is the food industry
food industry
action filter_type
action find
entity Primorsky Konditer
relation industry
type economic branch
['Primorsky Konditer', 'industry', {'concept': 'economic branch'}]
SELECT DISTINCT ?v WHERE { resource:Primorsky_Konditer property:industry ?v . ?v rdf:type ontology:economic_branch }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q152418
P19 P21
Q502895
USER
Which people were born at Karmiel and have the gender as male ?
AND((c(Q502895),P19,Q152418), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q152418
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q152418'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?x WHERE { ?x property:P19 resource:Q152418 . ?x property:P21 resource:Q6581097 . ?x rdf:type ontology:Q502895 }
male Karmiel
action filter_type
action intersection
action find_reverse
entity Karmiel
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Karmiel'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?x WHERE { ?x property:place_of_birth resource:Karmiel . ?x property:gender resource:male . ?x rdf:type ontology:common_name }
[]
common name
Q16231918 Q6539424 Q13416781 Q10520145
SYSTEM
Ran Rol, Liad Elmaliach, Adi Gotlieb, Roei Shukrani
Q16231918 Q6539424 Q13416781 Q10520145
AND((c(Q502895),P19,Q152418), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q152418
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were born at Karmiel and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q152418'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?x WHERE { ?x property:P19 resource:Q152418 . ?x property:P21 resource:Q6581097 . ?x rdf:type ontology:Q502895 }
Ran Rol Liad Elmaliach Adi Gotlieb Roei Shukrani
Ran Rol, Liad Elmaliach, Adi Gotlieb and Roei Shukrani were born at Karmiel and have the gender as male
Ran Rol Liad Elmaliach Adi Gotlieb Roei Shukrani
action filter_type
action intersection
action find_reverse
entity Karmiel
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Karmiel'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?x WHERE { ?x property:place_of_birth resource:Karmiel . ?x property:gender resource:male . ?x rdf:type ontology:common_name }
[]