Simple Question (Direct)
Simple Question
Q7849536
P106
Q12737077
USER
Which occupation is the profession of Tseng Tai-lin ?
(Q7849536,P106,c(Q12737077))
action filter_type
action find
entity Q7849536
relation P106
type Q12737077
['Q7849536', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q7849536 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Tseng Tai-lin
action filter_type
action find
entity Tseng Tai-lin
relation occupation
type occupation
['Tseng Tai-lin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Tseng_Tai-lin property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q7849536,P106,c(Q12737077))
action filter_type
action find
entity Q7849536
relation P106
type Q12737077
Player [ANSWER] is the profession of Tseng Tai-lin
['Q7849536', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q7849536 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of Tseng Tai-lin
association football player
action filter_type
action find
entity Tseng Tai-lin
relation occupation
type occupation
['Tseng Tai-lin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Tseng_Tai-lin property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7849536
P54
Q12973014
USER
What is Tseng Tai-lin a member of ?
(Q7849536,P54,c(Q12973014))
action filter_type
action find
entity Q7849536
relation P54
type Q12973014
['Q7849536', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?g WHERE { resource:Q7849536 property:P54 ?g . ?g rdf:type ontology:Q12973014 }
Tseng Tai-lin
action filter_type
action find
entity Tseng Tai-lin
relation member of sports team
type sports team
['Tseng Tai-lin', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?g WHERE { resource:Tseng_Tai-lin property:member_of_sports_team ?g . ?g rdf:type ontology:sports_team }
[]
sports team
Q702900
SYSTEM
Chinese Taipei national futsal team
Q702900
(Q7849536,P54,c(Q12973014))
action filter_type
action find
entity Q7849536
relation P54
type Q12973014
Tseng Tai-is lin a member of [ANSWER]
['Q7849536', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?g WHERE { resource:Q7849536 property:P54 ?g . ?g rdf:type ontology:Q12973014 }
Chinese Taipei national futsal team
Tseng Tai-is lin a member of Chinese Taipei national futsal team
Chinese Taipei national futsal team
action filter_type
action find
entity Tseng Tai-lin
relation member of sports team
type sports team
['Tseng Tai-lin', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?g WHERE { resource:Tseng_Tai-lin property:member_of_sports_team ?g . ?g rdf:type ontology:sports_team }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q7849536
Q1194951
USER
And which national sports team?
(Q7849536,P54,c(Q1194951))
action filter_type
action find
entity Q7849536
relation P54
type Q1194951
['Q7849536', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?b WHERE { resource:Q7849536 property:P54 ?b . ?b rdf:type ontology:Q1194951 }
Tseng Tai-lin
action filter_type
action find
entity Tseng Tai-lin
relation member of sports team
type national sports team
['Tseng Tai-lin', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?b WHERE { resource:Tseng_Tai-lin property:member_of_sports_team ?b . ?b rdf:type ontology:national_sports_team }
[]
national sports team
Q459119
SYSTEM
Chinese Taipei national football team
Q459119
(Q7849536,P54,c(Q1194951))
action filter_type
action find
entity Q7849536
relation P54
type Q1194951
[ANSWER]
['Q7849536', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?b WHERE { resource:Q7849536 property:P54 ?b . ?b rdf:type ontology:Q1194951 }
Chinese Taipei national football team
Chinese Taipei national football team
action filter_type
action find
entity Tseng Tai-lin
relation member of sports team
type national sports team
['Tseng Tai-lin', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?b WHERE { resource:Tseng_Tai-lin property:member_of_sports_team ?b . ?b rdf:type ontology:national_sports_team }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2123140 Q7849536
P19
Q56061
USER
Which administrative territories were Tseng Tai-lin or Eduard Alexander Hilverdink born in ?
OR((Q7849536,P19,c(Q56061)), (Q2123140,P19,c(Q56061)))
action filter_type
action union
action find
entity Q7849536
relation P19
action find
entity Q2123140
relation P19
type Q56061
{'OR': [['Q7849536', 'P19', {'concept': 'Q56061'}], ['Q2123140', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q7849536 property:P19 ?x } UNION { resource:Q2123140 property:P19 ?x } } . ?x rdf:type ontology:Q56061 }
Eduard Alexander Hilverdink Tseng Tai-lin
action filter_type
action union
action find
entity Tseng Tai-lin
relation place of birth
action find
entity Eduard Alexander Hilverdink
relation place of birth
type administrative territorial entity
{'OR': [['Tseng Tai-lin', 'place of birth', {'concept': 'administrative territorial entity'}], ['Eduard Alexander Hilverdink', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Tseng_Tai-lin property:place_of_birth ?x } UNION { resource:Eduard_Alexander_Hilverdink property:place_of_birth ?x } } . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q727 Q1867
SYSTEM
Amsterdam, Taipei
Q727 Q1867
OR((Q7849536,P19,c(Q56061)), (Q2123140,P19,c(Q56061)))
action filter_type
action union
action find
entity Q7849536
relation P19
action find
entity Q2123140
relation P19
type Q56061
[ANSWERS]
{'OR': [['Q7849536', 'P19', {'concept': 'Q56061'}], ['Q2123140', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q7849536 property:P19 ?x } UNION { resource:Q2123140 property:P19 ?x } } . ?x rdf:type ontology:Q56061 }
Amsterdam Taipei
Which administrative territories were Tseng Tai-lin or Eduard Alexander Hilverdink born in
Amsterdam Taipei
action filter_type
action union
action find
entity Tseng Tai-lin
relation place of birth
action find
entity Eduard Alexander Hilverdink
relation place of birth
type administrative territorial entity
{'OR': [['Tseng Tai-lin', 'place of birth', {'concept': 'administrative territorial entity'}], ['Eduard Alexander Hilverdink', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Tseng_Tai-lin property:place_of_birth ?x } UNION { resource:Eduard_Alexander_Hilverdink property:place_of_birth ?x } } . ?x rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q857256
P190
Q515
USER
Are Hasuda partner town of those administrative territories ?
(Q857256,P190,Q727) (Q857256,P190,Q1867)
action is_in
entity prev_answer
action find
entity Q857256
relation P190
['Q857256', 'P190', 'Q727'] ['Q857256', 'P190', 'Q1867']
ASK WHERE { resource:Q857256 property:P190 ?e . VALUES ( ?e ) { ( resource:Q727 ) ( resource:Q1867 ) } }
Hasuda
action is_in
entity prev_answer
action find
entity Hasuda
relation sister city
['Hasuda', 'sister city', 'Amsterdam'] ['Hasuda', 'sister city', 'Taipei']
ASK WHERE { resource:Hasuda property:sister_city ?e . VALUES ( ?e ) { ( resource:Amsterdam ) ( resource:Taipei ) } }
[]
city
SYSTEM
NO
(Q857256,P190,Q727) (Q857256,P190,Q1867)
action is_in
entity prev_answer
action find
entity Q857256
relation P190
[ANSWER]
['Q857256', 'P190', 'Q727'] ['Q857256', 'P190', 'Q1867']
ASK WHERE { resource:Q857256 property:P190 ?e . VALUES ( ?e ) { ( resource:Q727 ) ( resource:Q1867 ) } }
No
action is_in
entity prev_answer
action find
entity Hasuda
relation sister city
['Hasuda', 'sister city', 'Amsterdam'] ['Hasuda', 'sister city', 'Taipei']
ASK WHERE { resource:Hasuda property:sister_city ?e . VALUES ( ?e ) { ( resource:Amsterdam ) ( resource:Taipei ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q628021 Q857256
P17
Q15617994
USER
Which administrative territories are Hasuda or Armed Forces of the Argentine Republic situated in ?
OR((Q857256,P17,c(Q15617994)), (Q628021,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q857256
relation P17
action find
entity Q628021
relation P17
type Q15617994
{'OR': [['Q857256', 'P17', {'concept': 'Q15617994'}], ['Q628021', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . { { resource:Q857256 property:P17 ?g } UNION { resource:Q628021 property:P17 ?g } } }
Armed Forces of the Argentine Republic Hasuda
action filter_type
action union
action find
entity Hasuda
relation country
action find
entity Armed Forces of the Argentine Republic
relation country
type designation for an administrative territorial entity
{'OR': [['Hasuda', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Armed Forces of the Argentine Republic', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Hasuda property:country ?g } UNION { resource:Armed_Forces_of_the_Argentine_Republic property:country ?g } } }
[]
designation for an administrative territorial entity
Q17 Q414
SYSTEM
Japan, Argentina
Q17 Q414
OR((Q857256,P17,c(Q15617994)), (Q628021,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q857256
relation P17
action find
entity Q628021
relation P17
type Q15617994
Hasuda or Armed Forces of the Argentine Republic are situated in [ANSWERS]
{'OR': [['Q857256', 'P17', {'concept': 'Q15617994'}], ['Q628021', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . { { resource:Q857256 property:P17 ?g } UNION { resource:Q628021 property:P17 ?g } } }
Japan Argentina
Hasuda or Armed Forces of the Argentine Republic are situated in Japan and Argentina
Japan Argentina
action filter_type
action union
action find
entity Hasuda
relation country
action find
entity Armed Forces of the Argentine Republic
relation country
type designation for an administrative territorial entity
{'OR': [['Hasuda', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Armed Forces of the Argentine Republic', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Hasuda property:country ?g } UNION { resource:Armed_Forces_of_the_Argentine_Republic property:country ?g } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q414
P1532
Q6979593
USER
Who represent that administrative territory ?
(c(Q6979593),P1532,Q414)
action filter_type
action find_reverse
entity Q414
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q414']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q6979593 . ?k property:P1532 resource:Q414 }
Argentina
action filter_type
action find_reverse
entity Argentina
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Argentina']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:national_association_football_team . ?k property:country_for_sport resource:Argentina }
[]
national association football team
Clarification for simple ques.
Q17
SYSTEM
Did you mean Japan ?
Q17 Q414
(c(Q6979593),P1532,Q17) (c(Q6979593),P1532,Q414)
[ANSWER]
[{'concept': 'Q6979593'}, 'P1532', 'Q17'] [{'concept': 'Q6979593'}, 'P1532', 'Q414']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q6979593 . ?k property:P1532 resource:Q414 }
Japan Argentina
Did you mean Japan ?
Japan
[{'concept': 'national association football team'}, 'country for sport', 'Japan'] [{'concept': 'national association football team'}, 'country for sport', 'Argentina']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:national_association_football_team . ?k property:country_for_sport resource:Argentina }
[]
Simple Question (Coreferenced)
USER
No, I meant Argentina. Could you tell me the answer for that?
(c(Q6979593),P1532,Q414)
Q414
[{'concept': 'Q6979593'}, 'P1532', 'Q414']
[{'concept': 'national association football team'}, 'country for sport', 'Argentina']
[]
Q23501509 Q645918
SYSTEM
Argentina women's national under-17 football team, Argentina women's national football team
Q23501509 Q645918
(c(Q6979593),P1532,Q414)
action filter_type
action find_reverse
entity Q414
relation P1532
type Q6979593
And [ANSWERS] represent that administrative territory
[{'concept': 'Q6979593'}, 'P1532', 'Q414']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q6979593 . ?k property:P1532 resource:Q414 }
Argentina women's national under-17 football team Argentina women's national football team
And Argentina women's national under-17 football team and Argentina women's national football team represent that administrative territory
Argentina women's national under-17 football team Argentina women's national football team
action filter_type
action find_reverse
entity Argentina
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Argentina']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:national_association_football_team . ?k property:country_for_sport resource:Argentina }
[]