Simple Question (Direct)
Simple Question
Q4141209
P21
Q290
USER
Which sex does Dmitri Godunok belong to ?
(Q4141209,P21,c(Q290))
action filter_type
action find
entity Q4141209
relation P21
type Q290
['Q4141209', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q4141209 property:P21 ?v . ?v rdf:type ontology:Q290 }
Dmitri Godunok
action filter_type
action find
entity Dmitri Godunok
relation gender
type sex
['Dmitri Godunok', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Dmitri_Godunok property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4141209,P21,c(Q290))
action filter_type
action find
entity Q4141209
relation P21
type Q290
Dmitri Godunok belongs to [ANSWER]
['Q4141209', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q4141209 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
Dmitri Godunok belongs to male
male
action filter_type
action find
entity Dmitri Godunok
relation gender
type sex
['Dmitri Godunok', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Dmitri_Godunok property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4141209
P19
Q56061
USER
Which administrative territory is the birthplace of Dmitri Godunok ?
(Q4141209,P19,c(Q56061))
action filter_type
action find
entity Q4141209
relation P19
type Q56061
['Q4141209', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q4141209 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Dmitri Godunok
action filter_type
action find
entity Dmitri Godunok
relation place of birth
type administrative territorial entity
['Dmitri Godunok', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Dmitri_Godunok property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q98995
SYSTEM
Volzhsky
Q98995
(Q4141209,P19,c(Q56061))
action filter_type
action find
entity Q4141209
relation P19
type Q56061
[ANSWER] is the birthplace of Dmitri Godunok
['Q4141209', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q4141209 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Volzhsky
Volzhsky is the birthplace of Dmitri Godunok
Volzhsky
action filter_type
action find
entity Dmitri Godunok
relation place of birth
type administrative territorial entity
['Dmitri Godunok', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Dmitri_Godunok property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2063081
Q56061
USER
And how about Steve Staios?
(Q2063081,P19,c(Q56061))
action filter_type
action find
entity Q2063081
relation P19
type Q56061
['Q2063081', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q2063081 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Steve Staios
action filter_type
action find
entity Steve Staios
relation place of birth
type administrative territorial entity
['Steve Staios', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Steve_Staios property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q133116
SYSTEM
Hamilton
Q133116
(Q2063081,P19,c(Q56061))
action filter_type
action find
entity Q2063081
relation P19
type Q56061
[ANSWER]
['Q2063081', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q2063081 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Hamilton
Hamilton
action filter_type
action find
entity Steve Staios
relation place of birth
type administrative territorial entity
['Steve Staios', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Steve_Staios property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q72559 Q4141209
P47 P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Dmitri Godunok or are adjacent to San Vitaliano ?
OR((Q4141209,P27,c(Q15617994)), (Q72559,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q4141209
relation P27
action find
entity Q72559
relation P47
type Q15617994
{'OR': [['Q4141209', 'P27', {'concept': 'Q15617994'}], ['Q72559', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q4141209 property:P27 ?e } UNION { resource:Q72559 property:P47 ?e } } . ?e rdf:type ontology:Q15617994 }
San Vitaliano Dmitri Godunok
action filter_type
action union
action find
entity Dmitri Godunok
relation country of citizenship
action find
entity San Vitaliano
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Dmitri Godunok', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['San Vitaliano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Dmitri_Godunok property:country_of_citizenship ?e } UNION { resource:San_Vitaliano property:shares_border_with ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q72619 Q159 Q72233 Q72288
SYSTEM
Saviano, Russia, Marigliano, Nola
Q72619 Q159 Q72233 Q72288
OR((Q4141209,P27,c(Q15617994)), (Q72559,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q4141209
relation P27
action find
entity Q72559
relation P47
type Q15617994
[ANSWERS] are the countries of citizenship of Dmitri Godunok or are adjacent to San Vitaliano
{'OR': [['Q4141209', 'P27', {'concept': 'Q15617994'}], ['Q72559', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q4141209 property:P27 ?e } UNION { resource:Q72559 property:P47 ?e } } . ?e rdf:type ontology:Q15617994 }
Saviano Russia Marigliano Nola
Saviano, Russia, Marigliano and Nola are the countries of citizenship of Dmitri Godunok or are adjacent to San Vitaliano
Saviano Russia Marigliano Nola
action filter_type
action union
action find
entity Dmitri Godunok
relation country of citizenship
action find
entity San Vitaliano
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Dmitri Godunok', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['San Vitaliano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Dmitri_Godunok property:country_of_citizenship ?e } UNION { resource:San_Vitaliano property:shares_border_with ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q159 Q40
P17
Q83620
USER
How many thoroughfares are situated in Russia and Austria ?
(c(Q83620),P17,Q159) (c(Q83620),P17,Q40)
action count
action intersection
action filter_type
action find_reverse
entity Q159
relation P17
type Q83620
action filter_type
action find_reverse
entity Q40
relation P17
type Q83620
[{'concept': 'Q83620'}, 'P17', 'Q159'] [{'concept': 'Q83620'}, 'P17', 'Q40']
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { ?f property:P17 resource:Q159 . ?f rdf:type ontology:Q83620 . ?f property:P17 resource:Q40 . ?f rdf:type ontology:Q83620 }
Russia Austria
action count
action intersection
action filter_type
action find_reverse
entity Russia
relation country
type thoroughfare
action filter_type
action find_reverse
entity Austria
relation country
type thoroughfare
[{'concept': 'thoroughfare'}, 'country', 'Russia'] [{'concept': 'thoroughfare'}, 'country', 'Austria']
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { ?f property:country resource:Russia . ?f rdf:type ontology:thoroughfare . ?f property:country resource:Austria . ?f rdf:type ontology:thoroughfare }
[]
thoroughfare
SYSTEM
2
Q1289628 Q180384
(c(Q83620),P17,Q159) (c(Q83620),P17,Q40)
action count
action intersection
action filter_type
action find_reverse
entity Q159
relation P17
type Q83620
action filter_type
action find_reverse
entity Q40
relation P17
type Q83620
[ANSWER]
[{'concept': 'Q83620'}, 'P17', 'Q159'] [{'concept': 'Q83620'}, 'P17', 'Q40']
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { ?f property:P17 resource:Q159 . ?f rdf:type ontology:Q83620 . ?f property:P17 resource:Q40 . ?f rdf:type ontology:Q83620 }
EV13 The Iron Curtain Trail European route E58
2
action count
action intersection
action filter_type
action find_reverse
entity Russia
relation country
type thoroughfare
action filter_type
action find_reverse
entity Austria
relation country
type thoroughfare
[{'concept': 'thoroughfare'}, 'country', 'Russia'] [{'concept': 'thoroughfare'}, 'country', 'Austria']
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { ?f property:country resource:Russia . ?f rdf:type ontology:thoroughfare . ?f property:country resource:Austria . ?f rdf:type ontology:thoroughfare }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1356055 Q159
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with Russia or are the native countriesof Janusz Morgenstern ?
OR((Q159,P530,c(Q15617994)), (Q1356055,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q159
relation P530
action find
entity Q1356055
relation P27
type Q15617994
{'OR': [['Q159', 'P530', {'concept': 'Q15617994'}], ['Q1356055', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q159 property:P530 ?a } UNION { resource:Q1356055 property:P27 ?a } } . ?a rdf:type ontology:Q15617994 }
Janusz Morgenstern Russia
action filter_type
action union
action find
entity Russia
relation diplomatic relation
action find
entity Janusz Morgenstern
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Russia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Janusz Morgenstern', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Russia property:diplomatic_relation ?a } UNION { resource:Janusz_Morgenstern property:country_of_citizenship ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q953 Q36 Q155 Q43 Q414 Q801 Q142 Q1011 Q17 Q717
SYSTEM
Some of them are Zambia, Poland, Brazil, Turkey, Argentina, Israel, France, Cape Verde, Japan, Venezuela
Q142 Q805 Q79 Q717 Q43 Q801 Q155 Q148 Q1011 Q241 Q17 Q30 Q36 Q953 Q668 Q403 Q38 Q414 Q881 Q711
OR((Q159,P530,c(Q15617994)), (Q1356055,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q159
relation P530
action find
entity Q1356055
relation P27
type Q15617994
[ANSWERS] have diplomatic relationships with Russia or are the native countriesof Janusz Morgenstern
{'OR': [['Q159', 'P530', {'concept': 'Q15617994'}], ['Q1356055', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q159 property:P530 ?a } UNION { resource:Q1356055 property:P27 ?a } } . ?a rdf:type ontology:Q15617994 }
France Yemen Egypt Venezuela Turkey Israel Brazil People's Republic of China Cape Verde Cuba Japan United States of America Poland Zambia India Serbia Italy Argentina Vietnam Mongolia
Zambia, Poland, Brazil, Turkey, Argentina, Israel, France, Cape Verde, Japan and Venezuela have diplomatic relationships with Russia or are the native countriesof Janusz Morgenstern
Zambia Poland Brazil Turkey Argentina Israel France Cape Verde Japan Venezuela
action filter_type
action union
action find
entity Russia
relation diplomatic relation
action find
entity Janusz Morgenstern
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Russia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Janusz Morgenstern', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Russia property:diplomatic_relation ?a } UNION { resource:Janusz_Morgenstern property:country_of_citizenship ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1356055
P20
Q56061
USER
Where did the demise of Janusz Morgenstern occur ?
(Q1356055,P20,c(Q56061))
action filter_type
action find
entity Q1356055
relation P20
type Q56061
['Q1356055', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1356055 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Janusz Morgenstern
action filter_type
action find
entity Janusz Morgenstern
relation place of death
type administrative territorial entity
['Janusz Morgenstern', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Janusz_Morgenstern property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q270
SYSTEM
Warsaw
Q270
(Q1356055,P20,c(Q56061))
action filter_type
action find
entity Q1356055
relation P20
type Q56061
The demise of Janusz Morgenstern occurred in [ANSWER]
['Q1356055', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1356055 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Warsaw
The demise of Janusz Morgenstern occurred in Warsaw
Warsaw
action filter_type
action find
entity Janusz Morgenstern
relation place of death
type administrative territorial entity
['Janusz Morgenstern', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Janusz_Morgenstern property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q270
P190
Q56061
USER
Which administrative territories are the sister cities of that one ?
(Q270,P190,c(Q56061))
action filter_type
action find
entity Q270
relation P190
type Q56061
['Q270', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q270 property:P190 ?v . ?v rdf:type ontology:Q56061 }
Warsaw
action filter_type
action find
entity Warsaw
relation sister city
type administrative territorial entity
['Warsaw', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Warsaw property:sister_city ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649 Q2807 Q1781
SYSTEM
Moscow, Madrid, Budapest
Q5196 Q649 Q472 Q36600 Q1867 Q42308 Q1718 Q1297 Q1524 Q1520 Q1781 Q1741 Q33935 Q585 Q1724 Q406 Q216 Q172 Q8678 Q2807 Q64 Q36036
(Q270,P190,c(Q56061))
action filter_type
action find
entity Q270
relation P190
type Q56061
[ANSWERS] are the sister cities of that one
['Q270', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q270 property:P190 ?v . ?v rdf:type ontology:Q56061 }
Grozny Moscow Sofia The Hague Taipei Kharkiv Düsseldorf Chicago Athens Astana Budapest Vienna Tel Aviv Oslo Saarbrücken Istanbul Vilnius Toronto Rio de Janeiro Madrid Berlin Lviv
Moscow, Madrid and Budapest are the sister cities of that one
Moscow Madrid Budapest
action filter_type
action find
entity Warsaw
relation sister city
type administrative territorial entity
['Warsaw', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Warsaw property:sister_city ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]