Simple Question (Direct)
Simple Question
Q11562063
P106
Q12737077
USER
Which occupations have Shinzō Watanabe as his/her 's career ?
(Q11562063,P106,c(Q12737077))
action filter_type
action find
entity Q11562063
relation P106
type Q12737077
['Q11562063', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q11562063 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Shinzō Watanabe
action filter_type
action find
entity Shinzō Watanabe
relation occupation
type occupation
['Shinzō Watanabe', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Shinzō_Watanabe property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q1622272 Q170790
SYSTEM
university teacher, mathematician
Q1622272 Q170790
(Q11562063,P106,c(Q12737077))
action filter_type
action find
entity Q11562063
relation P106
type Q12737077
[ANSWERS]
['Q11562063', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q11562063 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
university teacher mathematician
university teacher mathematician
action filter_type
action find
entity Shinzō Watanabe
relation occupation
type occupation
['Shinzō Watanabe', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Shinzō_Watanabe property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11562063
P21
Q290
USER
Which sex does Shinzō Watanabe have ?
(Q11562063,P21,c(Q290))
action filter_type
action find
entity Q11562063
relation P21
type Q290
['Q11562063', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q290 . resource:Q11562063 property:P21 ?a }
Shinzō Watanabe
action filter_type
action find
entity Shinzō Watanabe
relation gender
type sex
['Shinzō Watanabe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sex . resource:Shinzō_Watanabe property:gender ?a }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11562063,P21,c(Q290))
action filter_type
action find
entity Q11562063
relation P21
type Q290
[ANSWER]
['Q11562063', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q290 . resource:Q11562063 property:P21 ?a }
male
male
action filter_type
action find
entity Shinzō Watanabe
relation gender
type sex
['Shinzō Watanabe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sex . resource:Shinzō_Watanabe property:gender ?a }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6025182
Q290
USER
And also tell me about Mustafa Gül?
(Q6025182,P21,c(Q290))
action filter_type
action find
entity Q6025182
relation P21
type Q290
['Q6025182', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q6025182 property:P21 ?s . ?s rdf:type ontology:Q290 }
Mustafa Gül
action filter_type
action find
entity Mustafa Gül
relation gender
type sex
['Mustafa Gül', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Mustafa_Gül property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6025182,P21,c(Q290))
action filter_type
action find
entity Q6025182
relation P21
type Q290
[ANSWER]
['Q6025182', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q6025182 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Mustafa Gül
relation gender
type sex
['Mustafa Gül', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Mustafa_Gül property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6025182
P39
Q12737077
USER
What was the position for which that person was appointed ?
(Q6581097,P39,c(Q12737077))
action filter_type
action find
entity Q6025182
relation P39
type Q12737077
['Q6581097', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q6025182 property:P39 ?a . ?a rdf:type ontology:Q12737077 }
Mustafa Gül
action filter_type
action find
entity Mustafa Gül
relation position held
type occupation
['male', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Mustafa_Gül property:position_held ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q21030356
SYSTEM
Member of the Grand National Assembly of Turkey
Q21030356
(Q6581097,P39,c(Q12737077))
action filter_type
action find
entity Q6025182
relation P39
type Q12737077
[ANSWER]
['Q6581097', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q6025182 property:P39 ?a . ?a rdf:type ontology:Q12737077 }
Member of the Grand National Assembly of Turkey
Member of the Grand National Assembly of Turkey
action filter_type
action find
entity Mustafa Gül
relation position held
type occupation
['male', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Mustafa_Gül property:position_held ?a . ?a rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3419159 Q21030356
P27 P1001
Q15617994
USER
Which administrative territories come under the jurisdiction of Member of the Grand National Assembly of Turkey or are the countries of citizenship of Raoul Delgrange ?
OR((Q21030356,P1001,c(Q15617994)), (Q3419159,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q21030356
relation P1001
action find
entity Q3419159
relation P27
type Q15617994
{'OR': [['Q21030356', 'P1001', {'concept': 'Q15617994'}], ['Q3419159', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . { { resource:Q3419159 property:P27 ?e } UNION { resource:Q21030356 property:P1001 ?e } } }
Raoul Delgrange Member of the Grand National Assembly of Turkey
action filter_type
action union
action find
entity Member of the Grand National Assembly of Turkey
relation applies to jurisdiction
action find
entity Raoul Delgrange
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Member of the Grand National Assembly of Turkey', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Raoul Delgrange', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Raoul_Delgrange property:country_of_citizenship ?e } UNION { resource:Member_of_the_Grand_National_Assembly_of_Turkey property:applies_to_jurisdiction ?e } } }
[]
designation for an administrative territorial entity
Q31 Q43
SYSTEM
Belgium, Turkey
Q31 Q43
OR((Q21030356,P1001,c(Q15617994)), (Q3419159,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q21030356
relation P1001
action find
entity Q3419159
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q21030356', 'P1001', {'concept': 'Q15617994'}], ['Q3419159', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . { { resource:Q3419159 property:P27 ?e } UNION { resource:Q21030356 property:P1001 ?e } } }
Belgium Turkey
Belgium Turkey
action filter_type
action union
action find
entity Member of the Grand National Assembly of Turkey
relation applies to jurisdiction
action find
entity Raoul Delgrange
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Member of the Grand National Assembly of Turkey', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Raoul Delgrange', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Raoul_Delgrange property:country_of_citizenship ?e } UNION { resource:Member_of_the_Grand_National_Assembly_of_Turkey property:applies_to_jurisdiction ?e } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q31
P17
Q15617994
USER
Which administrative territory is Belgium a part of ?
(Q31,P17,c(Q15617994))
action filter_type
action find
entity Q31
relation P17
type Q15617994
['Q31', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q31 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Belgium
action filter_type
action find
entity Belgium
relation country
type designation for an administrative territorial entity
['Belgium', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Belgium property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31
SYSTEM
Belgium
Q31
(Q31,P17,c(Q15617994))
action filter_type
action find
entity Q31
relation P17
type Q15617994
[ANSWER]
['Q31', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q31 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Belgium
Belgium
action filter_type
action find
entity Belgium
relation country
type designation for an administrative territorial entity
['Belgium', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Belgium property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q31
P530
Q1048835
USER
Which political territories have diplomatic relations with that administrative territory ?
(c(Q1048835),P530,Q31)
action filter_type
action find
entity Q31
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q31']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1048835 . resource:Q31 property:P530 ?x }
Belgium
action filter_type
action find
entity Belgium
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Belgium']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_territorial_entity . resource:Belgium property:diplomatic_relation ?x }
[]
political territorial entity
Q408 Q183
SYSTEM
Australia, Germany
Q408 Q183
(c(Q1048835),P530,Q31)
action filter_type
action find
entity Q31
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', 'Q31']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1048835 . resource:Q31 property:P530 ?x }
Australia Germany
Australia Germany
action filter_type
action find
entity Belgium
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Belgium']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_territorial_entity . resource:Belgium property:diplomatic_relation ?x }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q408 Q183
P163
Q14660
USER
Which flags are associated with those political territories ?
(Q408,P163,c(Q14660)) (Q183,P163,c(Q14660))
action filter_type
action find
entity prev_answer
relation P163
type Q14660
['Q408', 'P163', {'concept': 'Q14660'}] ['Q183', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q14660 . ?p property:P163 ?x . VALUES ( ?p ) { ( resource:Q408 ) ( resource:Q183 ) } }
Australia Germany
action filter_type
action find
entity prev_answer
relation flag
type flag
['Australia', 'flag', {'concept': 'flag'}] ['Germany', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:flag . ?p property:flag ?x . VALUES ( ?p ) { ( resource:Australia ) ( resource:Germany ) } }
[]
flag
Q81676 Q48160
SYSTEM
flag of Australia, flag of Germany
Q81676 Q48160
(Q408,P163,c(Q14660)) (Q183,P163,c(Q14660))
action filter_type
action find
entity prev_answer
relation P163
type Q14660
[ANSWERS]
['Q408', 'P163', {'concept': 'Q14660'}] ['Q183', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q14660 . ?p property:P163 ?x . VALUES ( ?p ) { ( resource:Q408 ) ( resource:Q183 ) } }
flag of Australia flag of Germany
flag of Australia flag of Germany
action filter_type
action find
entity prev_answer
relation flag
type flag
['Australia', 'flag', {'concept': 'flag'}] ['Germany', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:flag . ?p property:flag ?x . VALUES ( ?p ) { ( resource:Australia ) ( resource:Germany ) } }
[]