Simple Question (Direct)
Simple Question
Q20036952
P27
Q15617994
USER
Which administrative territory is Denys Halenkov an inhabitant of ?
(Q20036952,P27,c(Q15617994))
action filter_type
action find
entity Q20036952
relation P27
type Q15617994
['Q20036952', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q20036952 property:P27 ?j }
Denys Halenkov
action filter_type
action find
entity Denys Halenkov
relation country of citizenship
type designation for an administrative territorial entity
['Denys Halenkov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Denys_Halenkov property:country_of_citizenship ?j }
[]
designation for an administrative territorial entity
Q212
SYSTEM
Ukraine
Q212
(Q20036952,P27,c(Q15617994))
action filter_type
action find
entity Q20036952
relation P27
type Q15617994
[ANSWER] is Denys Halenkov an inhabitant of
['Q20036952', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q20036952 property:P27 ?j }
Ukraine
Ukraine is Denys Halenkov an inhabitant of
Ukraine
action filter_type
action find
entity Denys Halenkov
relation country of citizenship
type designation for an administrative territorial entity
['Denys Halenkov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Denys_Halenkov property:country_of_citizenship ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20036952
P21
Q290
USER
What is the sex of Denys Halenkov ?
(Q20036952,P21,c(Q290))
action filter_type
action find
entity Q20036952
relation P21
type Q290
['Q20036952', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q20036952 property:P21 ?h . ?h rdf:type ontology:Q290 }
Denys Halenkov
action filter_type
action find
entity Denys Halenkov
relation gender
type sex
['Denys Halenkov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Denys_Halenkov property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q20036952,P21,c(Q290))
action filter_type
action find
entity Q20036952
relation P21
type Q290
The sex of Denys Halenkov is the [ANSWER]
['Q20036952', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q20036952 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
The sex of Denys Halenkov is the male
male
action filter_type
action find
entity Denys Halenkov
relation gender
type sex
['Denys Halenkov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Denys_Halenkov property:gender ?h . ?h rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19662286 Q20036952
P106
Q12737077
USER
Which occupations are the job of Denys Halenkov or Jeanne D'arc Girubuntu ?
OR((Q20036952,P106,c(Q12737077)), (Q19662286,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q20036952
relation P106
action find
entity Q19662286
relation P106
type Q12737077
{'OR': [['Q20036952', 'P106', {'concept': 'Q12737077'}], ['Q19662286', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?z WHERE { { ?v property:P106 ?z . VALUES ( ?v ) { ( resource:Q20036952 ) ( resource:Q19662286 ) } } . ?z rdf:type ontology:Q12737077 }
Jeanne D'arc Girubuntu Denys Halenkov
action filter_type
action union
action find
entity Denys Halenkov
relation occupation
action find
entity Jeanne D'arc Girubuntu
relation occupation
type occupation
{'OR': [['Denys Halenkov', 'occupation', {'concept': 'occupation'}], ["Jeanne D'arc Girubuntu", 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?z WHERE { { ?v property:occupation ?z . VALUES ( ?v ) { ( resource:Denys_Halenkov ) ( resource:Jeanne_D'arc_Girubuntu ) } } . ?z rdf:type ontology:occupation }
[]
occupation
Q2309784 Q937857
SYSTEM
sport cyclist, association football player
Q2309784 Q937857
OR((Q20036952,P106,c(Q12737077)), (Q19662286,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q20036952
relation P106
action find
entity Q19662286
relation P106
type Q12737077
The [ANSWERS] are the job of Denys Halenkov or Jeanne D'arc Girubuntu
{'OR': [['Q20036952', 'P106', {'concept': 'Q12737077'}], ['Q19662286', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?z WHERE { { ?v property:P106 ?z . VALUES ( ?v ) { ( resource:Q20036952 ) ( resource:Q19662286 ) } } . ?z rdf:type ontology:Q12737077 }
sport cyclist association football player
The sport cyclist and association football player are the job of Denys Halenkov or Jeanne D'arc Girubuntu
sport cyclist association football player
action filter_type
action union
action find
entity Denys Halenkov
relation occupation
action find
entity Jeanne D'arc Girubuntu
relation occupation
type occupation
{'OR': [['Denys Halenkov', 'occupation', {'concept': 'occupation'}], ["Jeanne D'arc Girubuntu", 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?z WHERE { { ?v property:occupation ?z . VALUES ( ?v ) { ( resource:Denys_Halenkov ) ( resource:Jeanne_D'arc_Girubuntu ) } } . ?z rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q23769268
P106
Q502895
USER
Do Nizar Ibrahim have a job as those occupations ?
(Q23769268,P106,Q2309784) (Q23769268,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q23769268
relation P106
['Q23769268', 'P106', 'Q2309784'] ['Q23769268', 'P106', 'Q937857']
ASK WHERE { VALUES ( ?b ) { ( resource:Q2309784 ) ( resource:Q937857 ) } . resource:Q23769268 property:P106 ?b }
Nizar Ibrahim
action is_in
entity prev_answer
action find
entity Nizar Ibrahim
relation occupation
['Nizar Ibrahim', 'occupation', 'sport cyclist'] ['Nizar Ibrahim', 'occupation', 'association football player']
ASK WHERE { VALUES ( ?b ) { ( resource:sport_cyclist ) ( resource:association_football_player ) } . resource:Nizar_Ibrahim property:occupation ?b }
[]
common name
SYSTEM
NO
(Q23769268,P106,Q2309784) (Q23769268,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q23769268
relation P106
[ANSWER]
['Q23769268', 'P106', 'Q2309784'] ['Q23769268', 'P106', 'Q937857']
ASK WHERE { VALUES ( ?b ) { ( resource:Q2309784 ) ( resource:Q937857 ) } . resource:Q23769268 property:P106 ?b }
No
action is_in
entity prev_answer
action find
entity Nizar Ibrahim
relation occupation
['Nizar Ibrahim', 'occupation', 'sport cyclist'] ['Nizar Ibrahim', 'occupation', 'association football player']
ASK WHERE { VALUES ( ?b ) { ( resource:sport_cyclist ) ( resource:association_football_player ) } . resource:Nizar_Ibrahim property:occupation ?b }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1291433 Q2309784
P425 P641
Q31629
USER
What are associated with the field of occupation sport cyclist and did 2008 Vuelta a España, Stage 12 to Stage 21 participate in ?
AND((Q2309784,P425,c(Q31629)), (Q1291433,P641,c(Q31629)))
action filter_type
action intersection
action find
entity Q2309784
relation P425
action find
entity Q1291433
relation P641
type Q31629
{'AND': [['Q2309784', 'P425', {'concept': 'Q31629'}], ['Q1291433', 'P641', {'concept': 'Q31629'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q31629 . resource:Q2309784 property:P425 ?j . resource:Q1291433 property:P641 ?j }
2008 Vuelta a España, Stage 12 to Stage 21 sport cyclist
action filter_type
action intersection
action find
entity sport cyclist
relation field of this occupation
action find
entity 2008 Vuelta a España, Stage 12 to Stage 21
relation sport
type type of sport
{'AND': [['sport cyclist', 'field of this occupation', {'concept': 'type of sport'}], ['2008 Vuelta a España, Stage 12 to Stage 21', 'sport', {'concept': 'type of sport'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:type_of_sport . resource:sport_cyclist property:field_of_this_occupation ?j . resource:2008_Vuelta_a_España,_Stage_12_to_Stage_21 property:sport ?j }
[]
type of sport
Q3609
SYSTEM
road bicycle racing
Q3609
AND((Q2309784,P425,c(Q31629)), (Q1291433,P641,c(Q31629)))
action filter_type
action intersection
action find
entity Q2309784
relation P425
action find
entity Q1291433
relation P641
type Q31629
[ANSWER] is associated with the field of occupation sport cyclist and did 2008 Vuelta a España, Stage 12 to Stage 21 participate in
{'AND': [['Q2309784', 'P425', {'concept': 'Q31629'}], ['Q1291433', 'P641', {'concept': 'Q31629'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q31629 . resource:Q2309784 property:P425 ?j . resource:Q1291433 property:P641 ?j }
road bicycle racing
Road bicycle racing is associated with the field of occupation sport cyclist and did 2008 Vuelta a España, Stage 12 to Stage 21 participate in
road bicycle racing
action filter_type
action intersection
action find
entity sport cyclist
relation field of this occupation
action find
entity 2008 Vuelta a España, Stage 12 to Stage 21
relation sport
type type of sport
{'AND': [['sport cyclist', 'field of this occupation', {'concept': 'type of sport'}], ['2008 Vuelta a España, Stage 12 to Stage 21', 'sport', {'concept': 'type of sport'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:type_of_sport . resource:sport_cyclist property:field_of_this_occupation ?j . resource:2008_Vuelta_a_España,_Stage_12_to_Stage_21 property:sport ?j }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3609 Q637112
P641
Q502895
USER
Does Győző Veres play that type of sport ?
(Q637112,P641,Q3609)
action is_in
entity Q637112
action find
entity Q3609
relation P641
['Q637112', 'P641', 'Q3609']
ASK WHERE { resource:Q3609 property:P641 resource:Q637112 }
road bicycle racing Győző Veres
action is_in
entity Győző Veres
action find
entity road bicycle racing
relation sport
['Győző Veres', 'sport', 'road bicycle racing']
ASK WHERE { resource:road_bicycle_racing property:sport resource:Győző_Veres }
[]
common name
SYSTEM
NO
(Q637112,P641,Q3609)
action is_in
entity Q637112
action find
entity Q3609
relation P641
[ANSWER]
['Q637112', 'P641', 'Q3609']
ASK WHERE { resource:Q3609 property:P641 resource:Q637112 }
No
action is_in
entity Győző Veres
action find
entity road bicycle racing
relation sport
['Győző Veres', 'sport', 'road bicycle racing']
ASK WHERE { resource:road_bicycle_racing property:sport resource:Győző_Veres }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q212 Q632502 Q159
P530
Q15617994
USER
Does Ukraine have tactful political relations with Melsdorf and Russia ?
(Q212,P530,Q632502) (Q212,P530,Q159)
action is_in
entity Q212
action intersection
action find_reverse
entity Q632502
relation P530
action find_reverse
entity Q159
relation P530
['Q212', 'P530', 'Q632502'] ['Q212', 'P530', 'Q159']
ASK WHERE { resource:Q212 property:P530 resource:Q632502 . resource:Q212 property:P530 resource:Q159 }
Ukraine Melsdorf Russia
action is_in
entity Ukraine
action intersection
action find_reverse
entity Melsdorf
relation diplomatic relation
action find_reverse
entity Russia
relation diplomatic relation
['Ukraine', 'diplomatic relation', 'Melsdorf'] ['Ukraine', 'diplomatic relation', 'Russia']
ASK WHERE { resource:Ukraine property:diplomatic_relation resource:Melsdorf . resource:Ukraine property:diplomatic_relation resource:Russia }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q212,P530,Q632502) (Q212,P530,Q159)
action is_in
entity Q212
action intersection
action find_reverse
entity Q632502
relation P530
action find_reverse
entity Q159
relation P530
[ANSWER]
['Q212', 'P530', 'Q632502'] ['Q212', 'P530', 'Q159']
ASK WHERE { resource:Q212 property:P530 resource:Q632502 . resource:Q212 property:P530 resource:Q159 }
NO and YES respectively
action is_in
entity Ukraine
action intersection
action find_reverse
entity Melsdorf
relation diplomatic relation
action find_reverse
entity Russia
relation diplomatic relation
['Ukraine', 'diplomatic relation', 'Melsdorf'] ['Ukraine', 'diplomatic relation', 'Russia']
ASK WHERE { resource:Ukraine property:diplomatic_relation resource:Melsdorf . resource:Ukraine property:diplomatic_relation resource:Russia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q212
P137
Q3084961
USER
Which product lining was managed by Ukraine ?
action filter_type
action find_reverse
entity Q212
relation P137
type Q3084961
SELECT DISTINCT ?g WHERE { ?g property:P137 resource:Q212 . ?g rdf:type ontology:Q3084961 }
Ukraine
action filter_type
action find_reverse
entity Ukraine
relation operator
type product lining
SELECT DISTINCT ?g WHERE { ?g property:operator resource:Ukraine . ?g rdf:type ontology:product_lining }
[]
product lining
Q142549
SYSTEM
Il-76
Q142549
action filter_type
action find_reverse
entity Q212
relation P137
type Q3084961
[ANSWER] was managed by Ukraine
SELECT DISTINCT ?g WHERE { ?g property:P137 resource:Q212 . ?g rdf:type ontology:Q3084961 }
Il-76
Il-76 was managed by Ukraine
Il-76
action filter_type
action find_reverse
entity Ukraine
relation operator
type product lining
SELECT DISTINCT ?g WHERE { ?g property:operator resource:Ukraine . ?g rdf:type ontology:product_lining }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q212
P530
Q15617994
USER
How many administrative territories have diplomatic relationships with Ukraine ?
(Q212,P530,c(Q15617994))
action count
action filter_type
action find
entity Q212
relation P530
type Q15617994
['Q212', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q212 property:P530 ?x . ?x rdf:type ontology:Q15617994 }
Ukraine
action count
action filter_type
action find
entity Ukraine
relation diplomatic relation
type designation for an administrative territorial entity
['Ukraine', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Ukraine property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
5
Q159 Q43 Q155 Q30 Q38
(Q212,P530,c(Q15617994))
action count
action filter_type
action find
entity Q212
relation P530
type Q15617994
[ANSWER]
['Q212', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q212 property:P530 ?x . ?x rdf:type ontology:Q15617994 }
Russia Turkey Brazil United States of America Italy
5
action count
action filter_type
action find
entity Ukraine
relation diplomatic relation
type designation for an administrative territorial entity
['Ukraine', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Ukraine property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q212
P1532
Q502895
USER
Who represent that administrative territory ?
action filter_type
action find_reverse
entity Q212
relation P1532
type Q502895
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P1532 resource:Q212 }
Ukraine
action filter_type
action find_reverse
entity Ukraine
relation country for sport
type common name
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:country_for_sport resource:Ukraine }
[]
common name
Q26462607 Q23833052 Q11797951
SYSTEM
Tetyana Melnyk, Anatoliy Gorshkov, Ol'ha Holodna
Q23419277 Q26462607 Q3881591 Q23833602 Q23833052 Q11797951 Q12875297 Q17852219
action filter_type
action find_reverse
entity Q212
relation P1532
type Q502895
[ANSWERS] represent that administrative territory
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P1532 resource:Q212 }
Serhiy Kopanayko Tetyana Melnyk Olena Kolesničenko Natalya Serbinenko Anatoliy Gorshkov Ol'ha Holodna Yuri Filippov Anna Kornuta
Tetyana Melnyk, Anatoliy Gorshkov and Ol'ha Holodna represent that administrative territory
Tetyana Melnyk Anatoliy Gorshkov Ol'ha Holodna
action filter_type
action find_reverse
entity Ukraine
relation country for sport
type common name
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:country_for_sport resource:Ukraine }
[]