Simple Question (Direct)
Simple Question
Q4404548
P19
Q56061
USER
Which administrative territory is the birthplace of Damir Sadikov ?
(Q4404548,P19,c(Q56061))
action filter_type
action find
entity Q4404548
relation P19
type Q56061
['Q4404548', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q4404548 property:P19 ?z }
Damir Sadikov
action filter_type
action find
entity Damir Sadikov
relation place of birth
type administrative territorial entity
['Damir Sadikov', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Damir_Sadikov property:place_of_birth ?z }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(Q4404548,P19,c(Q56061))
action filter_type
action find
entity Q4404548
relation P19
type Q56061
In [ANSWER] is the birthplace of Damir Sadikov
['Q4404548', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q4404548 property:P19 ?z }
Moscow
In Moscow is the birthplace of Damir Sadikov
Moscow
action filter_type
action find
entity Damir Sadikov
relation place of birth
type administrative territorial entity
['Damir Sadikov', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Damir_Sadikov property:place_of_birth ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4404548
P21
Q290
USER
Which sex does Damir Sadikov have ?
(Q4404548,P21,c(Q290))
action filter_type
action find
entity Q4404548
relation P21
type Q290
['Q4404548', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q4404548 property:P21 ?t . ?t rdf:type ontology:Q290 }
Damir Sadikov
action filter_type
action find
entity Damir Sadikov
relation gender
type sex
['Damir Sadikov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Damir_Sadikov property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4404548,P21,c(Q290))
action filter_type
action find
entity Q4404548
relation P21
type Q290
Damir Sadikov has a [ANSWER]
['Q4404548', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q4404548 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
Damir Sadikov has a male
male
action filter_type
action find
entity Damir Sadikov
relation gender
type sex
['Damir Sadikov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Damir_Sadikov property:gender ?t . ?t rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q209072 Q4404548
P27 P17
Q15617994
USER
Which administrative territories are Damir Sadikov a civilian of or are Chalamont located in ?
OR((Q4404548,P27,c(Q15617994)), (Q209072,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4404548
relation P27
action find
entity Q209072
relation P17
type Q15617994
{'OR': [['Q4404548', 'P27', {'concept': 'Q15617994'}], ['Q209072', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . { { resource:Q209072 property:P17 ?d } UNION { resource:Q4404548 property:P27 ?d } } }
Chalamont Damir Sadikov
action filter_type
action union
action find
entity Damir Sadikov
relation country of citizenship
action find
entity Chalamont
relation country
type designation for an administrative territorial entity
{'OR': [['Damir Sadikov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Chalamont', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Chalamont property:country ?d } UNION { resource:Damir_Sadikov property:country_of_citizenship ?d } } }
[]
designation for an administrative territorial entity
Q142 Q159
SYSTEM
France, Russia
Q142 Q159
OR((Q4404548,P27,c(Q15617994)), (Q209072,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4404548
relation P27
action find
entity Q209072
relation P17
type Q15617994
[ANSWERS] are Damir Sadikov a civilian of or are Chalamont located in
{'OR': [['Q4404548', 'P27', {'concept': 'Q15617994'}], ['Q209072', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . { { resource:Q209072 property:P17 ?d } UNION { resource:Q4404548 property:P27 ?d } } }
France Russia
France and Russia are Damir Sadikov a civilian of or are Chalamont located in
France Russia
action filter_type
action union
action find
entity Damir Sadikov
relation country of citizenship
action find
entity Chalamont
relation country
type designation for an administrative territorial entity
{'OR': [['Damir Sadikov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Chalamont', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Chalamont property:country ?d } UNION { resource:Damir_Sadikov property:country_of_citizenship ?d } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q24060024
P840
Q166142
USER
Do Eisenhorn: Xenos have their narrative set in those administrative territories ?
(Q24060024,P840,Q142) (Q24060024,P840,Q159)
action is_in
entity prev_answer
action find
entity Q24060024
relation P840
['Q24060024', 'P840', 'Q142'] ['Q24060024', 'P840', 'Q159']
ASK WHERE { resource:Q24060024 property:P840 ?l . VALUES ( ?l ) { ( resource:Q142 ) ( resource:Q159 ) } }
Eisenhorn: Xenos
action is_in
entity prev_answer
action find
entity Eisenhorn: Xenos
relation narrative location
['Eisenhorn: Xenos', 'narrative location', 'France'] ['Eisenhorn: Xenos', 'narrative location', 'Russia']
ASK WHERE { resource:Eisenhorn:_Xenos property:narrative_location ?l . VALUES ( ?l ) { ( resource:France ) ( resource:Russia ) } }
[]
application
SYSTEM
NO
(Q24060024,P840,Q142) (Q24060024,P840,Q159)
action is_in
entity prev_answer
action find
entity Q24060024
relation P840
[ANSWER]
['Q24060024', 'P840', 'Q142'] ['Q24060024', 'P840', 'Q159']
ASK WHERE { resource:Q24060024 property:P840 ?l . VALUES ( ?l ) { ( resource:Q142 ) ( resource:Q159 ) } }
No
action is_in
entity prev_answer
action find
entity Eisenhorn: Xenos
relation narrative location
['Eisenhorn: Xenos', 'narrative location', 'France'] ['Eisenhorn: Xenos', 'narrative location', 'Russia']
ASK WHERE { resource:Eisenhorn:_Xenos property:narrative_location ?l . VALUES ( ?l ) { ( resource:France ) ( resource:Russia ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q159
P530
Q15617994
USER
How many administrative territories have diplomatic relations with Russia ?
(Q159,P530,c(Q15617994))
action count
action filter_type
action find
entity Q159
relation P530
type Q15617994
['Q159', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { resource:Q159 property:P530 ?w . ?w rdf:type ontology:Q15617994 }
Russia
action count
action filter_type
action find
entity Russia
relation diplomatic relation
type designation for an administrative territorial entity
['Russia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { resource:Russia property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
19
Q805 Q801 Q241 Q668 Q414 Q142 Q148 Q17 Q30 Q79 Q38 Q711 Q717 Q1011 Q403 Q43 Q155 Q953 Q881
(Q159,P530,c(Q15617994))
action count
action filter_type
action find
entity Q159
relation P530
type Q15617994
[ANSWER]
['Q159', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { resource:Q159 property:P530 ?w . ?w rdf:type ontology:Q15617994 }
Yemen Israel Cuba India Argentina France People's Republic of China Japan United States of America Egypt Italy Mongolia Venezuela Cape Verde Serbia Turkey Brazil Zambia Vietnam
19
action count
action filter_type
action find
entity Russia
relation diplomatic relation
type designation for an administrative territorial entity
['Russia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { resource:Russia property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q953
P530
Q15617994
USER
And also tell me about Zambia?
(Q953,P530,c(Q15617994))
action count
action filter_type
action find
entity Q953
relation P530
type Q15617994
['Q953', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { resource:Q953 property:P530 ?o . ?o rdf:type ontology:Q15617994 }
Zambia
action count
action filter_type
action find
entity Zambia
relation diplomatic relation
type designation for an administrative territorial entity
['Zambia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { resource:Zambia property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
21
Q1020 Q801 Q974 Q1029 Q668 Q148 Q924 Q79 Q1033 Q1030 Q1016 Q963 Q115 Q30 Q258 Q159 Q155 Q954 Q27 Q916 Q114
(Q953,P530,c(Q15617994))
action count
action filter_type
action find
entity Q953
relation P530
type Q15617994
[ANSWER]
['Q953', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { resource:Q953 property:P530 ?o . ?o rdf:type ontology:Q15617994 }
Malawi Israel Democratic Republic of the Congo Mozambique India People's Republic of China Tanzania Egypt Nigeria Namibia Libya Botswana Ethiopia United States of America South Africa Russia Brazil Zimbabwe Ireland Angola Kenya
21
action count
action filter_type
action find
entity Zambia
relation diplomatic relation
type designation for an administrative territorial entity
['Zambia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { resource:Zambia property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q241
Q15617994
USER
And also tell me about Cuba?
(Q241,P530,c(Q15617994))
action count
action filter_type
action find
entity Q241
relation P530
type Q15617994
['Q241', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i rdf:type ontology:Q15617994 . resource:Q241 property:P530 ?i }
Cuba
action count
action filter_type
action find
entity Cuba
relation diplomatic relation
type designation for an administrative territorial entity
['Cuba', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Cuba property:diplomatic_relation ?i }
[]
designation for an administrative territorial entity
SYSTEM
3
(Q241,P530,c(Q15617994))
action count
action filter_type
action find
entity Q241
relation P530
type Q15617994
[ANSWER]
['Q241', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i rdf:type ontology:Q15617994 . resource:Q241 property:P530 ?i }
3
action count
action filter_type
action find
entity Cuba
relation diplomatic relation
type designation for an administrative territorial entity
['Cuba', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Cuba property:diplomatic_relation ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q241
P921
Q838948
USER
Which works of art were primarily based on Cuba ?
(c(Q838948),P921,Q241)
action filter_type
action find_reverse
entity Q241
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q241']
SELECT DISTINCT ?r WHERE { ?r property:P921 resource:Q241 . ?r rdf:type ontology:Q838948 }
Cuba
action filter_type
action find_reverse
entity Cuba
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Cuba']
SELECT DISTINCT ?r WHERE { ?r property:main_subject resource:Cuba . ?r rdf:type ontology:work_of_art }
[]
work of art
Q774269 Q1113329 Q7960559
SYSTEM
Buena Vista Social Club, Comandante, Waiting for Fidel
Q7960559 Q7843213 Q1113329 Q17182667 Q4877763 Q7500483 Q5446717 Q7716382 Q4645633 Q7884350 Q4669247 Q7605283 Q5014669 Q4691057 Q7757940 Q774269 Q3852989
(c(Q838948),P921,Q241)
action filter_type
action find_reverse
entity Q241
relation P921
type Q838948
Buena Vista Social Club, Comandante and waiting for Fidel were primarily based on Cuba
[{'concept': 'Q838948'}, 'P921', 'Q241']
SELECT DISTINCT ?r WHERE { ?r property:P921 resource:Q241 . ?r rdf:type ontology:Q838948 }
Waiting for Fidel Trip to Jewish Cuba Comandante Maestra Beautiful Me(s): Finding Our Revolutionary Selves Shoot Down Fidel: The Untold Story The Believers: Stories from Jewish Havana 90 Miles Unfinished Spaces Abraham and Eugenia: Stories from Jewish Cuba Stealing Home CUBA: Defending Socialism, Resisting Imperialism Against Wind and Tide: A Cuban Odyssey The Power of Community: How Cuba Survived Peak Oil Buena Vista Social Club Improper Conduct
Buena Vista Social Club, Comandante and waiting for Fidel were primarily based on Cuba
Buena Vista Social Club Comandante Waiting for Fidel
action filter_type
action find_reverse
entity Cuba
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Cuba']
SELECT DISTINCT ?r WHERE { ?r property:main_subject resource:Cuba . ?r rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q774269
P495
Q15617994
USER
Which administrative territories are the countries of origin of that work of art ?
(Q774269,P495,c(Q15617994))
action filter_type
action find
entity Q774269
relation P495
type Q15617994
['Q774269', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q774269 property:P495 ?u . ?u rdf:type ontology:Q15617994 }
Buena Vista Social Club
action filter_type
action find
entity Buena Vista Social Club
relation country of origin
type designation for an administrative territorial entity
['Buena Vista Social Club', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Buena_Vista_Social_Club property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q1113329
SYSTEM
Did you mean Comandante ?
Q774269 Q1113329 Q7960559
(Q774269,P495,c(Q15617994)) (Q1113329,P495,c(Q15617994)) (Q7960559,P495,c(Q15617994))
[ANSWER]
['Q774269', 'P495', {'concept': 'Q15617994'}] ['Q1113329', 'P495', {'concept': 'Q15617994'}] ['Q7960559', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q774269 property:P495 ?u . ?u rdf:type ontology:Q15617994 }
Buena Vista Social Club Comandante Waiting for Fidel
Did you mean Comandante ?
Comandante
['Buena Vista Social Club', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Comandante', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Waiting for Fidel', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Buena_Vista_Social_Club property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Buena Vista Social Club. Could you tell me the answer for that?
(Q774269,P495,c(Q15617994))
Q774269
['Q774269', 'P495', {'concept': 'Q15617994'}]
['Buena Vista Social Club', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142 Q30 Q145
SYSTEM
France, United States of America, United Kingdom
Q142 Q30 Q145
(Q774269,P495,c(Q15617994))
action filter_type
action find
entity Q774269
relation P495
type Q15617994
[ANSWERS] are the countries of origin of that work of art
['Q774269', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q774269 property:P495 ?u . ?u rdf:type ontology:Q15617994 }
France United States of America United Kingdom
France, United States of America and United Kingdom are the countries of origin of that work of art
France United States of America United Kingdom
action filter_type
action find
entity Buena Vista Social Club
relation country of origin
type designation for an administrative territorial entity
['Buena Vista Social Club', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Buena_Vista_Social_Club property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P941
Q15617994 Q3895768
USER
How many administrative territories were lesser number of fictional locations inspired by than that administrative territory ?
(c(Q3895768),P941,c(Q15617994))
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity fictional location
Comparative|Count over More/Less|Single entity type|Clarification
Q30
SYSTEM
Did you mean United States of America ?
(c(Q3895768),P941,c(Q15617994))
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
Did you mean United States of America ?
United States of America
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant France. Could you tell me the answer for that?
(c(Q3895768),P941,c(Q15617994))
Q142
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q55416
(c(Q3895768),P941,c(Q15617994))
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
Chioggia
1
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]