Simple Question (Direct)
Simple Question
Q5644443
P641
Q349
USER
What was the sport that Hamed Kavianpour was a part of ?
(Q5644443,P641,c(Q349))
action filter_type
action find
entity Q5644443
relation P641
type Q349
['Q5644443', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q5644443 property:P641 ?p . ?p rdf:type ontology:Q349 }
Hamed Kavianpour
action filter_type
action find
entity Hamed Kavianpour
relation sport
type sport
['Hamed Kavianpour', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Hamed_Kavianpour property:sport ?p . ?p rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5644443,P641,c(Q349))
action filter_type
action find
entity Q5644443
relation P641
type Q349
The sport that Hamed Kavianpour was a part of was h [ANSWER]
['Q5644443', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q5644443 property:P641 ?p . ?p rdf:type ontology:Q349 }
association football
The sport that Hamed Kavianpour was a part of was h association football
association football
action filter_type
action find
entity Hamed Kavianpour
relation sport
type sport
['Hamed Kavianpour', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Hamed_Kavianpour property:sport ?p . ?p rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5644443
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q5644443
relation P19
type Q56061
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q5644443 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Hamed Kavianpour
action filter_type
action find
entity Hamed Kavianpour
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Hamed_Kavianpour property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q210885
SYSTEM
Bandar-e Anzali
Q210885
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q5644443
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q5644443 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Bandar-e Anzali
Bandar-e Anzali is the birthplace of that person
Bandar-e Anzali
action filter_type
action find
entity Hamed Kavianpour
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Hamed_Kavianpour property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5644443
P27
Q15617994
USER
Which administrative territory is the native country of Hamed Kavianpour ?
(Q5644443,P27,c(Q15617994))
action filter_type
action find
entity Q5644443
relation P27
type Q15617994
['Q5644443', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q5644443 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Hamed Kavianpour
action filter_type
action find
entity Hamed Kavianpour
relation country of citizenship
type designation for an administrative territorial entity
['Hamed Kavianpour', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Hamed_Kavianpour property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q794
SYSTEM
Iran
Q794
(Q5644443,P27,c(Q15617994))
action filter_type
action find
entity Q5644443
relation P27
type Q15617994
[ANSWER] is the native country of Hamed Kavianpour
['Q5644443', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q5644443 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Iran
Iran is the native country of Hamed Kavianpour
Iran
action filter_type
action find
entity Hamed Kavianpour
relation country of citizenship
type designation for an administrative territorial entity
['Hamed Kavianpour', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Hamed_Kavianpour property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5644443
P54
Q1194951
USER
Which national sports team is that person a member of ?
(Q794,P54,c(Q1194951))
action filter_type
action find
entity Q5644443
relation P54
type Q1194951
['Q794', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1194951 . resource:Q5644443 property:P54 ?s }
Hamed Kavianpour
action filter_type
action find
entity Hamed Kavianpour
relation member of sports team
type national sports team
['Iran', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:national_sports_team . resource:Hamed_Kavianpour property:member_of_sports_team ?s }
[]
national sports team
Q184602
SYSTEM
Iran national football team
Q184602
(Q794,P54,c(Q1194951))
action filter_type
action find
entity Q5644443
relation P54
type Q1194951
And [ANSWER] is that person a member of
['Q794', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1194951 . resource:Q5644443 property:P54 ?s }
Iran national football team
And Iran national football team is that person a member of
Iran national football team
action filter_type
action find
entity Hamed Kavianpour
relation member of sports team
type national sports team
['Iran', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:national_sports_team . resource:Hamed_Kavianpour property:member_of_sports_team ?s }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4857854 Q210885
P17
Q15617994
USER
Which administrative territories do Bandar-e Anzali or BarBri belong to ?
OR((Q210885,P17,c(Q15617994)), (Q4857854,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q210885
relation P17
action find
entity Q4857854
relation P17
type Q15617994
{'OR': [['Q210885', 'P17', {'concept': 'Q15617994'}], ['Q4857854', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q4857854 property:P17 ?w } UNION { resource:Q210885 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
BarBri Bandar-e Anzali
action filter_type
action union
action find
entity Bandar-e Anzali
relation country
action find
entity BarBri
relation country
type designation for an administrative territorial entity
{'OR': [['Bandar-e Anzali', 'country', {'concept': 'designation for an administrative territorial entity'}], ['BarBri', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:BarBri property:country ?w } UNION { resource:Bandar-e_Anzali property:country ?w } } . ?w 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
OR((Q210885,P17,c(Q15617994)), (Q4857854,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q210885
relation P17
action find
entity Q4857854
relation P17
type Q15617994
The [ANSWERS] Bandar-e Anzali or BarBri belong to
{'OR': [['Q210885', 'P17', {'concept': 'Q15617994'}], ['Q4857854', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q4857854 property:P17 ?w } UNION { resource:Q210885 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
United States of America Iran
The United States of America and Iran Bandar-e Anzali or BarBri belong to
United States of America Iran
action filter_type
action union
action find
entity Bandar-e Anzali
relation country
action find
entity BarBri
relation country
type designation for an administrative territorial entity
{'OR': [['Bandar-e Anzali', 'country', {'concept': 'designation for an administrative territorial entity'}], ['BarBri', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:BarBri property:country ?w } UNION { resource:Bandar-e_Anzali property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2283282
P27
Q502895
USER
Are Siegfried Dohr civilians of those administrative territories ?
(Q2283282,P27,Q30) (Q2283282,P27,Q794)
action is_in
entity prev_answer
action find
entity Q2283282
relation P27
['Q2283282', 'P27', 'Q30'] ['Q2283282', 'P27', 'Q794']
ASK WHERE { resource:Q2283282 property:P27 ?l . VALUES ( ?l ) { ( resource:Q30 ) ( resource:Q794 ) } }
Siegfried Dohr
action is_in
entity prev_answer
action find
entity Siegfried Dohr
relation country of citizenship
['Siegfried Dohr', 'country of citizenship', 'United States of America'] ['Siegfried Dohr', 'country of citizenship', 'Iran']
ASK WHERE { resource:Siegfried_Dohr property:country_of_citizenship ?l . VALUES ( ?l ) { ( resource:United_States_of_America ) ( resource:Iran ) } }
[]
common name
SYSTEM
NO
(Q2283282,P27,Q30) (Q2283282,P27,Q794)
action is_in
entity prev_answer
action find
entity Q2283282
relation P27
[ANSWER]
['Q2283282', 'P27', 'Q30'] ['Q2283282', 'P27', 'Q794']
ASK WHERE { resource:Q2283282 property:P27 ?l . VALUES ( ?l ) { ( resource:Q30 ) ( resource:Q794 ) } }
No
action is_in
entity prev_answer
action find
entity Siegfried Dohr
relation country of citizenship
['Siegfried Dohr', 'country of citizenship', 'United States of America'] ['Siegfried Dohr', 'country of citizenship', 'Iran']
ASK WHERE { resource:Siegfried_Dohr property:country_of_citizenship ?l . VALUES ( ?l ) { ( resource:United_States_of_America ) ( resource:Iran ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q794 Q124375 Q847546
P36
Q515
USER
Does Iran have Hódmezővásárhely and Saiki as its administrative centre ?
(Q794,P36,Q124375) (Q794,P36,Q847546)
action is_in
entity Q794
action intersection
action find_reverse
entity Q124375
relation P36
action find_reverse
entity Q847546
relation P36
['Q794', 'P36', 'Q124375'] ['Q794', 'P36', 'Q847546']
ASK WHERE { resource:Q794 property:P36 resource:Q124375 . resource:Q794 property:P36 resource:Q847546 }
Iran Hódmezővásárhely Saiki
action is_in
entity Iran
action intersection
action find_reverse
entity Hódmezővásárhely
relation capital
action find_reverse
entity Saiki
relation capital
['Iran', 'capital', 'Hódmezővásárhely'] ['Iran', 'capital', 'Saiki']
ASK WHERE { resource:Iran property:capital resource:Hódmezővásárhely . resource:Iran property:capital resource:Saiki }
[]
city
SYSTEM
NO
(Q794,P36,Q124375) (Q794,P36,Q847546)
action is_in
entity Q794
action intersection
action find_reverse
entity Q124375
relation P36
action find_reverse
entity Q847546
relation P36
[ANSWER]
['Q794', 'P36', 'Q124375'] ['Q794', 'P36', 'Q847546']
ASK WHERE { resource:Q794 property:P36 resource:Q124375 . resource:Q794 property:P36 resource:Q847546 }
No
action is_in
entity Iran
action intersection
action find_reverse
entity Hódmezővásárhely
relation capital
action find_reverse
entity Saiki
relation capital
['Iran', 'capital', 'Hódmezővásárhely'] ['Iran', 'capital', 'Saiki']
ASK WHERE { resource:Iran property:capital resource:Hódmezővásárhely . resource:Iran property:capital resource:Saiki }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5644443 Q937857 Q2824534
P106
Q12737077
USER
Does Hamed Kavianpour have the profession of association football player and administrator of the government ?
(Q5644443,P106,Q937857) (Q5644443,P106,Q2824534)
action is_in
entity Q5644443
action intersection
action find_reverse
entity Q937857
relation P106
action find_reverse
entity Q2824534
relation P106
['Q5644443', 'P106', 'Q937857'] ['Q5644443', 'P106', 'Q2824534']
ASK WHERE { resource:Q5644443 property:P106 resource:Q937857 . resource:Q5644443 property:P106 resource:Q2824534 }
Hamed Kavianpour association football player administrator of the government
action is_in
entity Hamed Kavianpour
action intersection
action find_reverse
entity association football player
relation occupation
action find_reverse
entity administrator of the government
relation occupation
['Hamed Kavianpour', 'occupation', 'association football player'] ['Hamed Kavianpour', 'occupation', 'administrator of the government']
ASK WHERE { resource:Hamed_Kavianpour property:occupation resource:association_football_player . resource:Hamed_Kavianpour property:occupation resource:administrator_of_the_government }
[]
occupation
SYSTEM
YES and NO respectively
(Q5644443,P106,Q937857) (Q5644443,P106,Q2824534)
action is_in
entity Q5644443
action intersection
action find_reverse
entity Q937857
relation P106
action find_reverse
entity Q2824534
relation P106
[ANSWER]
['Q5644443', 'P106', 'Q937857'] ['Q5644443', 'P106', 'Q2824534']
ASK WHERE { resource:Q5644443 property:P106 resource:Q937857 . resource:Q5644443 property:P106 resource:Q2824534 }
YES and NO respectively
action is_in
entity Hamed Kavianpour
action intersection
action find_reverse
entity association football player
relation occupation
action find_reverse
entity administrator of the government
relation occupation
['Hamed Kavianpour', 'occupation', 'association football player'] ['Hamed Kavianpour', 'occupation', 'administrator of the government']
ASK WHERE { resource:Hamed_Kavianpour property:occupation resource:association_football_player . resource:Hamed_Kavianpour property:occupation resource:administrator_of_the_government }
[]