Simple Question (Direct)
Simple Question
Q27210579
P27
Q15617994
USER
Which administrative territory is the native country of Ali Gholi Khan ?
(Q27210579,P27,c(Q15617994))
action filter_type
action find
entity Q27210579
relation P27
type Q15617994
['Q27210579', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q27210579 property:P27 ?j }
Ali Gholi Khan
action filter_type
action find
entity Ali Gholi Khan
relation country of citizenship
type designation for an administrative territorial entity
['Ali Gholi Khan', '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:Ali_Gholi_Khan property:country_of_citizenship ?j }
[]
designation for an administrative territorial entity
Q794
SYSTEM
Iran
Q794
(Q27210579,P27,c(Q15617994))
action filter_type
action find
entity Q27210579
relation P27
type Q15617994
[ANSWER] is the native country of Ali Gholi Khan
['Q27210579', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q27210579 property:P27 ?j }
Iran
Iran is the native country of Ali Gholi Khan
Iran
action filter_type
action find
entity Ali Gholi Khan
relation country of citizenship
type designation for an administrative territorial entity
['Ali Gholi Khan', '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:Ali_Gholi_Khan property:country_of_citizenship ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27210579
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q794,P106,c(Q12737077))
action filter_type
action find
entity Q27210579
relation P106
type Q12737077
['Q794', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q27210579 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Ali Gholi Khan
action filter_type
action find
entity Ali Gholi Khan
relation occupation
type occupation
['Iran', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Ali_Gholi_Khan property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q193391
SYSTEM
diplomat
Q193391
(Q794,P106,c(Q12737077))
action filter_type
action find
entity Q27210579
relation P106
type Q12737077
The [ANSWER] is the profession of that person
['Q794', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q27210579 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
diplomat
The diplomat is the profession of that person
diplomat
action filter_type
action find
entity Ali Gholi Khan
relation occupation
type occupation
['Iran', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Ali_Gholi_Khan property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27210579
P551
Q15617994
USER
What were the places of residence of that person ?
(Q193391,P551,c(Q15617994))
action filter_type
action find
entity Q27210579
relation P551
type Q15617994
['Q193391', 'P551', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q27210579 property:P551 ?b . ?b rdf:type ontology:Q15617994 }
Ali Gholi Khan
action filter_type
action find
entity Ali Gholi Khan
relation residence
type designation for an administrative territorial entity
['diplomat', 'residence', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Ali_Gholi_Khan property:residence ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q794
SYSTEM
United States of America, Iran
Q30 Q794
(Q193391,P551,c(Q15617994))
action filter_type
action find
entity Q27210579
relation P551
type Q15617994
The places of residence of that person were the [ANSWERS]
['Q193391', 'P551', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q27210579 property:P551 ?b . ?b rdf:type ontology:Q15617994 }
United States of America Iran
The places of residence of that person were the United States of America and Iran
United States of America Iran
action filter_type
action find
entity Ali Gholi Khan
relation residence
type designation for an administrative territorial entity
['diplomat', 'residence', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Ali_Gholi_Khan property:residence ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q794
P463
Q484652 Q43229
USER
How many international organizations or organizations were Iran a member of ?
(Q794,P463,c(Q484652)) (Q794,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q794
relation P463
type Q484652
action filter_type
action find
entity Q794
relation P463
type Q43229
['Q794', 'P463', {'concept': 'Q484652'}] ['Q794', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z rdf:type ?g . VALUES ( ?g ) { ( ontology:Q484652 ) ( ontology:Q43229 ) } }
Iran
action count
action union
action filter_type
action find
entity Iran
relation member of
type international organization
action filter_type
action find
entity Iran
relation member of
type organization
['Iran', 'member of', {'concept': 'international organization'}] ['Iran', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z rdf:type ?g . VALUES ( ?g ) { ( ontology:international_organization ) ( ontology:organization ) } }
[]
international organization organization
SYSTEM
6
Q191384 Q7795 Q1065 Q656801 Q1043527 Q827525
(Q794,P463,c(Q484652)) (Q794,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q794
relation P463
type Q484652
action filter_type
action find
entity Q794
relation P463
type Q43229
[ANSWER]
['Q794', 'P463', {'concept': 'Q484652'}] ['Q794', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z rdf:type ?g . VALUES ( ?g ) { ( ontology:Q484652 ) ( ontology:Q43229 ) } }
International Bank for Reconstruction and Development OPEC United Nations International Finance Corporation Multilateral Investment Guarantee Agency International Development Association
6
action count
action union
action filter_type
action find
entity Iran
relation member of
type international organization
action filter_type
action find
entity Iran
relation member of
type organization
['Iran', 'member of', {'concept': 'international organization'}] ['Iran', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z rdf:type ?g . VALUES ( ?g ) { ( ontology:international_organization ) ( ontology:organization ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q794
P530
Q15617994 Q1048835
USER
How many administrative territories and political territories holds diplomatic relationship with Iran ?
(Q794,P530,c(Q15617994)) (Q794,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q794
relation P530
type Q15617994
action filter_type
action find
entity Q794
relation P530
type Q1048835
['Q794', 'P530', {'concept': 'Q15617994'}] ['Q794', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { resource:Q794 property:P530 ?w . ?w rdf:type ontology:Q15617994 } UNION { resource:Q794 property:P530 ?w . ?w rdf:type ontology:Q1048835 } }
Iran
action count
action union
action filter_type
action find
entity Iran
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Iran
relation diplomatic relation
type political territorial entity
['Iran', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Iran', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { resource:Iran property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Iran property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
4 administrative territories and 2 political territories
Q805 Q801 Q155 Q183 Q408 Q38
(Q794,P530,c(Q15617994)) (Q794,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q794
relation P530
type Q15617994
action filter_type
action find
entity Q794
relation P530
type Q1048835
[ANSWER]
['Q794', 'P530', {'concept': 'Q15617994'}] ['Q794', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { resource:Q794 property:P530 ?w . ?w rdf:type ontology:Q15617994 } UNION { resource:Q794 property:P530 ?w . ?w rdf:type ontology:Q1048835 } }
Yemen Israel Brazil Germany Australia Italy
4 administrative territories and 2 political territories
action count
action union
action filter_type
action find
entity Iran
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Iran
relation diplomatic relation
type political territorial entity
['Iran', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Iran', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { resource:Iran property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Iran property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q794
P172
Q502895
USER
Which person has that administrative territory as ethnic group ?
action filter_type
action find_reverse
entity Q794
relation P172
type Q502895
SELECT DISTINCT ?o WHERE { ?o property:P172 resource:Q794 . ?o rdf:type ontology:Q502895 }
Iran
action filter_type
action find_reverse
entity Iran
relation ethnic group
type common name
SELECT DISTINCT ?o WHERE { ?o property:ethnic_group resource:Iran . ?o rdf:type ontology:common_name }
[]
common name
Q144185
SYSTEM
Zahra Kazemi
Q144185
action filter_type
action find_reverse
entity Q794
relation P172
type Q502895
[ANSWER] has that administrative territory as ethnic group
SELECT DISTINCT ?o WHERE { ?o property:P172 resource:Q794 . ?o rdf:type ontology:Q502895 }
Zahra Kazemi
Zahra Kazemi has that administrative territory as ethnic group
Zahra Kazemi
action filter_type
action find_reverse
entity Iran
relation ethnic group
type common name
SELECT DISTINCT ?o WHERE { ?o property:ethnic_group resource:Iran . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q794
P710
Q180684
USER
What event did Iran particiate in ?
(c(Q180684),P710,Q794)
action filter_type
action find_reverse
entity Q794
relation P710
type Q180684
[{'concept': 'Q180684'}, 'P710', 'Q794']
SELECT DISTINCT ?a WHERE { ?a property:P710 resource:Q794 . ?a rdf:type ontology:Q180684 }
Iran
action filter_type
action find_reverse
entity Iran
relation participant
type conflict
[{'concept': 'conflict'}, 'participant', 'Iran']
SELECT DISTINCT ?a WHERE { ?a property:participant resource:Iran . ?a rdf:type ontology:conflict }
[]
conflict
Q26998563 Q21190371
SYSTEM
Aleppo offensive (September–October 2016), Aleppo offensive (October–December 2015)
Q26998563 Q21190371
(c(Q180684),P710,Q794)
action filter_type
action find_reverse
entity Q794
relation P710
type Q180684
Iran particiated in [ANSWERS]
[{'concept': 'Q180684'}, 'P710', 'Q794']
SELECT DISTINCT ?a WHERE { ?a property:P710 resource:Q794 . ?a rdf:type ontology:Q180684 }
Aleppo offensive (September–October 2016) Aleppo offensive (October–December 2015)
Iran particiated in Aleppo offensive (September–October 2016) and Aleppo offensive (October–December 2015)
Aleppo offensive (September–October 2016) Aleppo offensive (October–December 2015)
action filter_type
action find_reverse
entity Iran
relation participant
type conflict
[{'concept': 'conflict'}, 'participant', 'Iran']
SELECT DISTINCT ?a WHERE { ?a property:participant resource:Iran . ?a rdf:type ontology:conflict }
[]
Clarification
Simple Question|Single Entity|Indirect
Q21190371
P361
Q1190554
USER
Which event is that conflict a component of ?
(Q21190371,P361,c(Q1190554))
action filter_type
action find
entity Q21190371
relation P361
type Q1190554
['Q21190371', 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1190554 . resource:Q21190371 property:P361 ?k }
Aleppo offensive (October–December 2015)
action filter_type
action find
entity Aleppo offensive (October–December 2015)
relation part of
type event
['Aleppo offensive (October–December 2015)', 'part of', {'concept': 'event'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:event . resource:Aleppo_offensive_(October–December_2015) property:part_of ?k }
[]
event
Clarification for simple ques.
Q26998563
SYSTEM
Did you mean Aleppo offensive (September–October 2016) ?
Q26998563 Q21190371
(Q26998563,P361,c(Q1190554)) (Q21190371,P361,c(Q1190554))
[ANSWER]
['Q26998563', 'P361', {'concept': 'Q1190554'}] ['Q21190371', 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1190554 . resource:Q21190371 property:P361 ?k }
Aleppo offensive (September–October 2016) Aleppo offensive (October–December 2015)
Did you mean Aleppo offensive (September–October 2016) ?
Aleppo offensive (September–October 2016)
['Aleppo offensive (September–October 2016)', 'part of', {'concept': 'event'}] ['Aleppo offensive (October–December 2015)', 'part of', {'concept': 'event'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:event . resource:Aleppo_offensive_(October–December_2015) property:part_of ?k }
[]
Simple Question (Coreferenced)
USER
No, I meant Aleppo offensive (October–December 2015). Could you tell me the answer for that?
(Q21190371,P361,c(Q1190554))
Q21190371
['Q21190371', 'P361', {'concept': 'Q1190554'}]
['Aleppo offensive (October–December 2015)', 'part of', {'concept': 'event'}]
[]
Q1842866
SYSTEM
Battle of Aleppo
Q1842866
(Q21190371,P361,c(Q1190554))
action filter_type
action find
entity Q21190371
relation P361
type Q1190554
Which event is that conflict a component of
['Q21190371', 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1190554 . resource:Q21190371 property:P361 ?k }
Battle of Aleppo
Which event is that conflict a component of
Battle of Aleppo
action filter_type
action find
entity Aleppo offensive (October–December 2015)
relation part of
type event
['Aleppo offensive (October–December 2015)', 'part of', {'concept': 'event'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:event . resource:Aleppo_offensive_(October–December_2015) property:part_of ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q794
P101
Q502895
USER
Which people have his/her area as Iran ?
(c(Q502895),P101,Q794)
action filter_type
action find_reverse
entity Q794
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q794']
SELECT DISTINCT ?b WHERE { ?b property:P101 resource:Q794 . ?b rdf:type ontology:Q502895 }
Iran
action filter_type
action find_reverse
entity Iran
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Iran']
SELECT DISTINCT ?b WHERE { ?b property:field_of_work resource:Iran . ?b rdf:type ontology:common_name }
[]
common name
Q20741355 Q25991769
SYSTEM
Negar Mortazavi, Holly Dagres
Q20741355 Q25991769
(c(Q502895),P101,Q794)
action filter_type
action find_reverse
entity Q794
relation P101
type Q502895
[ANSWERS] have his/her area as Iran
[{'concept': 'Q502895'}, 'P101', 'Q794']
SELECT DISTINCT ?b WHERE { ?b property:P101 resource:Q794 . ?b rdf:type ontology:Q502895 }
Negar Mortazavi Holly Dagres
Negar Mortazavi and Holly Dagres have his/her area as Iran
Negar Mortazavi Holly Dagres
action filter_type
action find_reverse
entity Iran
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Iran']
SELECT DISTINCT ?b WHERE { ?b property:field_of_work resource:Iran . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q20741355 Q25991769
P27
Q15617994
USER
Which administrative territories are Negar Mortazavi and Holly Dagres a civilian of ?
(Q20741355,P27,c(Q15617994)) (Q25991769,P27,c(Q15617994))
action union
action filter_type
action find
entity Q20741355
relation P27
type Q15617994
action filter_type
action find
entity Q25991769
relation P27
type Q15617994
['Q20741355', 'P27', {'concept': 'Q15617994'}] ['Q25991769', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { ?x rdf:type ontology:Q15617994 . resource:Q25991769 property:P27 ?x } UNION { resource:Q20741355 property:P27 ?x . ?x rdf:type ontology:Q15617994 } }
Negar Mortazavi Holly Dagres
action union
action filter_type
action find
entity Negar Mortazavi
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Holly Dagres
relation country of citizenship
type designation for an administrative territorial entity
['Negar Mortazavi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Holly Dagres', '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:Holly_Dagres property:country_of_citizenship ?x } UNION { resource:Negar_Mortazavi property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q794 Q30
SYSTEM
Iran, United States of America
Q794 Q30
(Q20741355,P27,c(Q15617994)) (Q25991769,P27,c(Q15617994))
action union
action filter_type
action find
entity Q20741355
relation P27
type Q15617994
action filter_type
action find
entity Q25991769
relation P27
type Q15617994
[ANSWERS] are Negar Mortazavi and Holly Dagres a civilian of
['Q20741355', 'P27', {'concept': 'Q15617994'}] ['Q25991769', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { ?x rdf:type ontology:Q15617994 . resource:Q25991769 property:P27 ?x } UNION { resource:Q20741355 property:P27 ?x . ?x rdf:type ontology:Q15617994 } }
Iran United States of America
Iran and United States of America are Negar Mortazavi and Holly Dagres a civilian of
Iran United States of America
action union
action filter_type
action find
entity Negar Mortazavi
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Holly Dagres
relation country of citizenship
type designation for an administrative territorial entity
['Negar Mortazavi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Holly Dagres', '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:Holly_Dagres property:country_of_citizenship ?x } UNION { resource:Negar_Mortazavi property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1842866
P361
Q198
USER
Which war is Battle of Aleppo a component of ?
(Q1842866,P361,c(Q198))
action filter_type
action find
entity Q1842866
relation P361
type Q198
['Q1842866', 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?j WHERE { resource:Q1842866 property:P361 ?j . ?j rdf:type ontology:Q198 }
Battle of Aleppo
action filter_type
action find
entity Battle of Aleppo
relation part of
type war
['Battle of Aleppo', 'part of', {'concept': 'war'}]
SELECT DISTINCT ?j WHERE { resource:Battle_of_Aleppo property:part_of ?j . ?j rdf:type ontology:war }
[]
war
Q178810
SYSTEM
Syrian Civil War
Q178810
(Q1842866,P361,c(Q198))
action filter_type
action find
entity Q1842866
relation P361
type Q198
The [ANSWER] is Battle of Aleppo a component of
['Q1842866', 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?j WHERE { resource:Q1842866 property:P361 ?j . ?j rdf:type ontology:Q198 }
Syrian Civil War
The Syrian Civil War is Battle of Aleppo a component of
Syrian Civil War
action filter_type
action find
entity Battle of Aleppo
relation part of
type war
['Battle of Aleppo', 'part of', {'concept': 'war'}]
SELECT DISTINCT ?j WHERE { resource:Battle_of_Aleppo property:part_of ?j . ?j rdf:type ontology:war }
[]