Simple Question (Direct)
Simple Question
Q2495013
P106
Q12737077
USER
What is the profession of Valeriy Zavarov ?
(Q2495013,P106,c(Q12737077))
action filter_type
action find
entity Q2495013
relation P106
type Q12737077
['Q2495013', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q2495013 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Valeriy Zavarov
action filter_type
action find
entity Valeriy Zavarov
relation occupation
type occupation
['Valeriy Zavarov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Valeriy_Zavarov property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2495013,P106,c(Q12737077))
action filter_type
action find
entity Q2495013
relation P106
type Q12737077
The profession of Valeriy Zavarov is an [ANSWER]
['Q2495013', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q2495013 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
association football player
The profession of Valeriy Zavarov is an association football player
association football player
action filter_type
action find
entity Valeriy Zavarov
relation occupation
type occupation
['Valeriy Zavarov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Valeriy_Zavarov property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2495013
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Valeriy Zavarov ?
(Q2495013,P27,c(Q15617994))
action filter_type
action find
entity Q2495013
relation P27
type Q15617994
['Q2495013', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q2495013 property:P27 ?x }
Valeriy Zavarov
action filter_type
action find
entity Valeriy Zavarov
relation country of citizenship
type designation for an administrative territorial entity
['Valeriy Zavarov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Valeriy_Zavarov property:country_of_citizenship ?x }
[]
designation for an administrative territorial entity
Q212
SYSTEM
Ukraine
Q212
(Q2495013,P27,c(Q15617994))
action filter_type
action find
entity Q2495013
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Valeriy Zavarov
['Q2495013', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q2495013 property:P27 ?x }
Ukraine
Ukraine is the country of citizenship of Valeriy Zavarov
Ukraine
action filter_type
action find
entity Valeriy Zavarov
relation country of citizenship
type designation for an administrative territorial entity
['Valeriy Zavarov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Valeriy_Zavarov property:country_of_citizenship ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2495013
P641
Q349
USER
What did that person participate in ?
(Q212,P641,c(Q349))
action filter_type
action find
entity Q2495013
relation P641
type Q349
['Q212', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q2495013 property:P641 ?f . ?f rdf:type ontology:Q349 }
Valeriy Zavarov
action filter_type
action find
entity Valeriy Zavarov
relation sport
type sport
['Ukraine', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:Valeriy_Zavarov property:sport ?f . ?f rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q212,P641,c(Q349))
action filter_type
action find
entity Q2495013
relation P641
type Q349
That person participated in [ANSWER]
['Q212', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q2495013 property:P641 ?f . ?f rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Valeriy Zavarov
relation sport
type sport
['Ukraine', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:Valeriy_Zavarov property:sport ?f . ?f rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q15107441
P641
Q502895
USER
Does Jürgen Glinka play that sport ?
(Q15107441,P641,Q2736)
action is_in
entity Q2736
action find
entity Q15107441
relation P641
['Q15107441', 'P641', 'Q2736']
ASK WHERE { resource:Q15107441 property:P641 resource:Q2736 }
association football Jürgen Glinka
action is_in
entity association football
action find
entity Jürgen Glinka
relation sport
['Jürgen Glinka', 'sport', 'association football']
ASK WHERE { resource:Jürgen_Glinka property:sport resource:association_football }
[]
common name
SYSTEM
YES
(Q15107441,P641,Q2736)
action is_in
entity Q2736
action find
entity Q15107441
relation P641
[ANSWER]
['Q15107441', 'P641', 'Q2736']
ASK WHERE { resource:Q15107441 property:P641 resource:Q2736 }
Yes
action is_in
entity association football
action find
entity Jürgen Glinka
relation sport
['Jürgen Glinka', 'sport', 'association football']
ASK WHERE { resource:Jürgen_Glinka property:sport resource:association_football }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2495013 Q1899
P19
Q515
USER
Is Kyiv the birthplace of Valeriy Zavarov ?
(Q2495013,P19,Q1899)
action is_in
entity Q1899
action find
entity Q2495013
relation P19
['Q2495013', 'P19', 'Q1899']
ASK WHERE { resource:Q2495013 property:P19 resource:Q1899 }
Valeriy Zavarov Kyiv
action is_in
entity Kyiv
action find
entity Valeriy Zavarov
relation place of birth
['Valeriy Zavarov', 'place of birth', 'Kyiv']
ASK WHERE { resource:Valeriy_Zavarov property:place_of_birth resource:Kyiv }
[]
city
SYSTEM
YES
(Q2495013,P19,Q1899)
action is_in
entity Q1899
action find
entity Q2495013
relation P19
[ANSWER]
['Q2495013', 'P19', 'Q1899']
ASK WHERE { resource:Q2495013 property:P19 resource:Q1899 }
Yes
action is_in
entity Kyiv
action find
entity Valeriy Zavarov
relation place of birth
['Valeriy Zavarov', 'place of birth', 'Kyiv']
ASK WHERE { resource:Valeriy_Zavarov property:place_of_birth resource:Kyiv }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q937857 Q12267267
P425
Q349
USER
Does Sega-joko have association football player as the associated field of occupation ?
(Q937857,P425,Q12267267)
action is_in
entity Q12267267
action find
entity Q937857
relation P425
['Q937857', 'P425', 'Q12267267']
ASK WHERE { resource:Q937857 property:P425 resource:Q12267267 }
association football player Sega-joko
action is_in
entity Sega-joko
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'Sega-joko']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:Sega-joko }
[]
sport
SYSTEM
NO
(Q937857,P425,Q12267267)
action is_in
entity Q12267267
action find
entity Q937857
relation P425
[ANSWER]
['Q937857', 'P425', 'Q12267267']
ASK WHERE { resource:Q937857 property:P425 resource:Q12267267 }
No
action is_in
entity Sega-joko
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'Sega-joko']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:Sega-joko }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q12305992 Q15107441
P27
Q1048835
USER
Which political territories are the native countriesof Jürgen Glinka and Christian Hein ?
AND((Q15107441,P27,c(Q1048835)), (Q12305992,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q15107441
relation P27
action find
entity Q12305992
relation P27
type Q1048835
{'AND': [['Q15107441', 'P27', {'concept': 'Q1048835'}], ['Q12305992', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { resource:Q12305992 property:P27 ?a . resource:Q15107441 property:P27 ?a . ?a rdf:type ontology:Q1048835 }
Christian Hein Jürgen Glinka
action filter_type
action intersection
action find
entity Jürgen Glinka
relation country of citizenship
action find
entity Christian Hein
relation country of citizenship
type political territorial entity
{'AND': [['Jürgen Glinka', 'country of citizenship', {'concept': 'political territorial entity'}], ['Christian Hein', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { resource:Christian_Hein property:country_of_citizenship ?a . resource:Jürgen_Glinka property:country_of_citizenship ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q15107441,P27,c(Q1048835)), (Q12305992,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q15107441
relation P27
action find
entity Q12305992
relation P27
type Q1048835
[ANSWER] is the native countriesof Jürgen Glinka and Christian Hein
{'AND': [['Q15107441', 'P27', {'concept': 'Q1048835'}], ['Q12305992', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { resource:Q12305992 property:P27 ?a . resource:Q15107441 property:P27 ?a . ?a rdf:type ontology:Q1048835 }
Germany
Germany is the native countriesof Jürgen Glinka and Christian Hein
Germany
action filter_type
action intersection
action find
entity Jürgen Glinka
relation country of citizenship
action find
entity Christian Hein
relation country of citizenship
type political territorial entity
{'AND': [['Jürgen Glinka', 'country of citizenship', {'concept': 'political territorial entity'}], ['Christian Hein', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { resource:Christian_Hein property:country_of_citizenship ?a . resource:Jürgen_Glinka property:country_of_citizenship ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q212
P530
Q15617994 Q1048835
USER
How many administrative territories and political territories have diplomatic relations with Ukraine ?
(Q212,P530,c(Q15617994)) (Q212,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q212
relation P530
type Q15617994
action filter_type
action find
entity Q212
relation P530
type Q1048835
['Q212', 'P530', {'concept': 'Q15617994'}] ['Q212', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { resource:Q212 property:P530 ?p . ?p rdf:type ontology:Q15617994 } UNION { resource:Q212 property:P530 ?p . ?p rdf:type ontology:Q1048835 } }
Ukraine
action count
action union
action filter_type
action find
entity Ukraine
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Ukraine
relation diplomatic relation
type political territorial entity
['Ukraine', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Ukraine', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { resource:Ukraine property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Ukraine property:diplomatic_relation ?p . ?p rdf:type ontology:political_territorial_entity } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
5 administrative territories and 3 political territories
Q159 Q43 Q155 Q183 Q408 Q16 Q30 Q38
(Q212,P530,c(Q15617994)) (Q212,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q212
relation P530
type Q15617994
action filter_type
action find
entity Q212
relation P530
type Q1048835
[ANSWER]
['Q212', 'P530', {'concept': 'Q15617994'}] ['Q212', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { resource:Q212 property:P530 ?p . ?p rdf:type ontology:Q15617994 } UNION { resource:Q212 property:P530 ?p . ?p rdf:type ontology:Q1048835 } }
Russia Turkey Brazil Germany Australia Canada United States of America Italy
5 administrative territories and 3 political territories
action count
action union
action filter_type
action find
entity Ukraine
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Ukraine
relation diplomatic relation
type political territorial entity
['Ukraine', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Ukraine', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { resource:Ukraine property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Ukraine property:diplomatic_relation ?p . ?p rdf:type ontology:political_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q212
P530
Q15617994
USER
Who have a diplomatic relationship with that one ?
action filter_type
action find
entity Q212
relation P530
type Q15617994
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q212 property:P530 ?r }
Ukraine
action filter_type
action find
entity Ukraine
relation diplomatic relation
type designation for an administrative territorial entity
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ukraine property:diplomatic_relation ?r }
[]
designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q155 Q38 Q30 Q159 Q43
action filter_type
action find
entity Q212
relation P530
type Q15617994
[ANSWERS] have a diplomatic relationship with that one
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q212 property:P530 ?r }
Brazil Italy United States of America Russia Turkey
Italy, Brazil and United States of America have a diplomatic relationship with that one
Italy Brazil United States of America
action filter_type
action find
entity Ukraine
relation diplomatic relation
type designation for an administrative territorial entity
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ukraine property:diplomatic_relation ?r }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q38 Q155 Q30
P530
Q1048835
USER
Who have diplomatic relationships with Italy, Brazil and United States of America ?
(Q38,P530,c(Q1048835)) (Q155,P530,c(Q1048835)) (Q30,P530,c(Q1048835))
action union
action filter_type
action find
entity Q38
relation P530
type Q1048835
action filter_type
action find
entity Q155
relation P530
type Q1048835
action filter_type
action find
entity Q30
relation P530
type Q1048835
['Q38', 'P530', {'concept': 'Q1048835'}] ['Q155', 'P530', {'concept': 'Q1048835'}] ['Q30', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:Q1048835 . resource:Q38 property:P530 ?l } UNION { resource:Q155 property:P530 ?l . ?l rdf:type ontology:Q1048835 } }
Italy Brazil United States of America
action union
action filter_type
action find
entity Italy
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Brazil
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:political_territorial_entity . resource:Italy property:diplomatic_relation ?l } UNION { resource:Brazil property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
Q183 Q183 Q183
SYSTEM
Germany
Q183 Q16 Q35 Q664 Q40 Q408 Q183 Q16 Q766 Q35 Q408 Q183 Q408 Q16
(Q38,P530,c(Q1048835)) (Q155,P530,c(Q1048835)) (Q30,P530,c(Q1048835))
action union
action filter_type
action find
entity Q38
relation P530
type Q1048835
action filter_type
action find
entity Q155
relation P530
type Q1048835
action filter_type
action find
entity Q30
relation P530
type Q1048835
[ANSWER], [ANSWER] and [ANSWER] have diplomatic relationships with Italy, Brazil and United States of America
['Q38', 'P530', {'concept': 'Q1048835'}] ['Q155', 'P530', {'concept': 'Q1048835'}] ['Q30', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:Q1048835 . resource:Q38 property:P530 ?l } UNION { resource:Q155 property:P530 ?l . ?l rdf:type ontology:Q1048835 } }
Germany Canada Denmark New Zealand Austria Australia Germany Canada Jamaica Denmark Australia Germany Australia Canada
Germany, Germany and Germany have diplomatic relationships with Italy, Brazil and United States of America
Germany Germany Germany
action union
action filter_type
action find
entity Italy
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Brazil
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:political_territorial_entity . resource:Italy property:diplomatic_relation ?l } UNION { resource:Brazil property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P47
Q56061
USER
Who shares the border with Brazil ?
(Q155,P47,c(Q56061))
action filter_type
action find
entity Q155
relation P47
type Q56061
['Q155', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . resource:Q155 property:P47 ?b }
Brazil
action filter_type
action find
entity Brazil
relation shares border with
type administrative territorial entity
['Brazil', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . resource:Brazil property:shares_border_with ?b }
[]
administrative territorial entity
Q458
SYSTEM
European Union
Q458
(Q155,P47,c(Q56061))
action filter_type
action find
entity Q155
relation P47
type Q56061
[ANSWER] shares the border with Brazil
['Q155', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . resource:Q155 property:P47 ?b }
European Union
European Union shares the border with Brazil
European Union
action filter_type
action find
entity Brazil
relation shares border with
type administrative territorial entity
['Brazil', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . resource:Brazil property:shares_border_with ?b }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q37701
Q56061
USER
And what about Bloemfontein?
(Q37701,P47,c(Q56061))
action filter_type
action find
entity Q37701
relation P47
type Q56061
['Q37701', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q56061 . resource:Q37701 property:P47 ?q }
Bloemfontein
action filter_type
action find
entity Bloemfontein
relation shares border with
type administrative territorial entity
['Bloemfontein', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:administrative_territorial_entity . resource:Bloemfontein property:shares_border_with ?q }
[]
administrative territorial entity
Q264014
SYSTEM
Kroonstad
Q264014
(Q37701,P47,c(Q56061))
action filter_type
action find
entity Q37701
relation P47
type Q56061
[ANSWER]
['Q37701', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q56061 . resource:Q37701 property:P47 ?q }
Kroonstad
Kroonstad
action filter_type
action find
entity Bloemfontein
relation shares border with
type administrative territorial entity
['Bloemfontein', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:administrative_territorial_entity . resource:Bloemfontein property:shares_border_with ?q }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q264014 Q37701
P47
Q56061
USER
Does Bloemfontein share border with that one ?
(Q37701,P47,Q264014)
action is_in
entity Q37701
action find
entity Q264014
relation P47
['Q37701', 'P47', 'Q264014']
ASK WHERE { resource:Q264014 property:P47 resource:Q37701 }
Kroonstad Bloemfontein
action is_in
entity Bloemfontein
action find
entity Kroonstad
relation shares border with
['Bloemfontein', 'shares border with', 'Kroonstad']
ASK WHERE { resource:Kroonstad property:shares_border_with resource:Bloemfontein }
[]
administrative territorial entity
SYSTEM
YES
(Q37701,P47,Q264014)
action is_in
entity Q37701
action find
entity Q264014
relation P47
[ANSWER]
['Q37701', 'P47', 'Q264014']
ASK WHERE { resource:Q264014 property:P47 resource:Q37701 }
Yes
action is_in
entity Bloemfontein
action find
entity Kroonstad
relation shares border with
['Bloemfontein', 'shares border with', 'Kroonstad']
ASK WHERE { resource:Kroonstad property:shares_border_with resource:Bloemfontein }
[]