Simple Question (Direct)
Simple Question
Q3848535
P19
Q20667921
USER
Which french administrative division is the birthplace of Mario Didò ?
(Q3848535,P19,c(Q20667921))
action filter_type
action find
entity Q3848535
relation P19
type Q20667921
['Q3848535', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q3848535 property:P19 ?l . ?l rdf:type ontology:Q20667921 }
Mario Didò
action filter_type
action find
entity Mario Didò
relation place of birth
type type of french administrative division
['Mario Didò', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:Mario_Didò property:place_of_birth ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q180005
SYSTEM
Livry-Gargan
Q180005
(Q3848535,P19,c(Q20667921))
action filter_type
action find
entity Q3848535
relation P19
type Q20667921
[ANSWER] is the birthplace of Mario Didò
['Q3848535', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q3848535 property:P19 ?l . ?l rdf:type ontology:Q20667921 }
Livry-Gargan
Livry-Gargan is the birthplace of Mario Didò
Livry-Gargan
action filter_type
action find
entity Mario Didò
relation place of birth
type type of french administrative division
['Mario Didò', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:Mario_Didò property:place_of_birth ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3848535
P39
Q12737077
USER
Which occupation was a position for which Mario Didò was appointed ?
(Q3848535,P39,c(Q12737077))
action filter_type
action find
entity Q3848535
relation P39
type Q12737077
['Q3848535', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q3848535 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Mario Didò
action filter_type
action find
entity Mario Didò
relation position held
type occupation
['Mario Didò', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Mario_Didò property:position_held ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q27169
SYSTEM
member of the European Parliament
Q27169
(Q3848535,P39,c(Q12737077))
action filter_type
action find
entity Q3848535
relation P39
type Q12737077
The [ANSWER] was a position for which Mario Didò was appointed
['Q3848535', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q3848535 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
member of the European Parliament
The member of the European Parliament was a position for which Mario Didò was appointed
member of the European Parliament
action filter_type
action find
entity Mario Didò
relation position held
type occupation
['Mario Didò', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Mario_Didò property:position_held ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15138790
Q12737077
USER
And what about Henry Baring?
(Q15138790,P39,c(Q12737077))
action filter_type
action find
entity Q15138790
relation P39
type Q12737077
['Q15138790', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q15138790 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
Henry Baring
action filter_type
action find
entity Henry Baring
relation position held
type occupation
['Henry Baring', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Henry_Baring property:position_held ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q16707842
SYSTEM
Member of Parliament in the United Kingdom
Q16707842
(Q15138790,P39,c(Q12737077))
action filter_type
action find
entity Q15138790
relation P39
type Q12737077
[ANSWER]
['Q15138790', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q15138790 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
Member of Parliament in the United Kingdom
Member of Parliament in the United Kingdom
action filter_type
action find
entity Henry Baring
relation position held
type occupation
['Henry Baring', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Henry_Baring property:position_held ?w . ?w rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q16707842 Q145
P1001
Q15617994
USER
Does United Kingdom belong to jurisdiction of that occupation ?
(Q16707842,P1001,Q145)
action is_in
entity Q145
action find
entity Q16707842
relation P1001
['Q16707842', 'P1001', 'Q145']
ASK WHERE { resource:Q16707842 property:P1001 resource:Q145 }
Member of Parliament in the United Kingdom United Kingdom
action is_in
entity United Kingdom
action find
entity Member of Parliament in the United Kingdom
relation applies to jurisdiction
['Member of Parliament in the United Kingdom', 'applies to jurisdiction', 'United Kingdom']
ASK WHERE { resource:Member_of_Parliament_in_the_United_Kingdom property:applies_to_jurisdiction resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q16707842,P1001,Q145)
action is_in
entity Q145
action find
entity Q16707842
relation P1001
[ANSWER]
['Q16707842', 'P1001', 'Q145']
ASK WHERE { resource:Q16707842 property:P1001 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Member of Parliament in the United Kingdom
relation applies to jurisdiction
['Member of Parliament in the United Kingdom', 'applies to jurisdiction', 'United Kingdom']
ASK WHERE { resource:Member_of_Parliament_in_the_United_Kingdom property:applies_to_jurisdiction resource:United_Kingdom }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q16707842
P17
Q15617994 Q7275
USER
How many administrative territories or states are Member of Parliament in the United Kingdom situated in ?
(Q16707842,P17,c(Q15617994)) (Q16707842,P17,c(Q7275))
action count
action union
action filter_type
action find
entity Q16707842
relation P17
type Q15617994
action filter_type
action find
entity Q16707842
relation P17
type Q7275
['Q16707842', 'P17', {'concept': 'Q15617994'}] ['Q16707842', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { resource:Q16707842 property:P17 ?l . ?l rdf:type ontology:Q7275 } UNION { resource:Q16707842 property:P17 ?l . ?l rdf:type ontology:Q15617994 } }
Member of Parliament in the United Kingdom
action count
action union
action filter_type
action find
entity Member of Parliament in the United Kingdom
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Member of Parliament in the United Kingdom
relation country
type state
['Member of Parliament in the United Kingdom', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Member of Parliament in the United Kingdom', 'country', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { resource:Member_of_Parliament_in_the_United_Kingdom property:country ?l . ?l rdf:type ontology:state } UNION { resource:Member_of_Parliament_in_the_United_Kingdom property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity state
SYSTEM
2
Q174193 Q145
(Q16707842,P17,c(Q15617994)) (Q16707842,P17,c(Q7275))
action count
action union
action filter_type
action find
entity Q16707842
relation P17
type Q15617994
action filter_type
action find
entity Q16707842
relation P17
type Q7275
[ANSWER]
['Q16707842', 'P17', {'concept': 'Q15617994'}] ['Q16707842', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { resource:Q16707842 property:P17 ?l . ?l rdf:type ontology:Q7275 } UNION { resource:Q16707842 property:P17 ?l . ?l rdf:type ontology:Q15617994 } }
United Kingdom of Great Britain and Ireland United Kingdom
2
action count
action union
action filter_type
action find
entity Member of Parliament in the United Kingdom
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Member of Parliament in the United Kingdom
relation country
type state
['Member of Parliament in the United Kingdom', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Member of Parliament in the United Kingdom', 'country', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { resource:Member_of_Parliament_in_the_United_Kingdom property:country ?l . ?l rdf:type ontology:state } UNION { resource:Member_of_Parliament_in_the_United_Kingdom property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16707842
P17
Q7275
USER
Which state is Member of Parliament in the United Kingdom present in ?
(Q16707842,P17,c(Q7275))
action filter_type
action find
entity Q16707842
relation P17
type Q7275
['Q16707842', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?x WHERE { resource:Q16707842 property:P17 ?x . ?x rdf:type ontology:Q7275 }
Member of Parliament in the United Kingdom
action filter_type
action find
entity Member of Parliament in the United Kingdom
relation country
type state
['Member of Parliament in the United Kingdom', 'country', {'concept': 'state'}]
SELECT DISTINCT ?x WHERE { resource:Member_of_Parliament_in_the_United_Kingdom property:country ?x . ?x rdf:type ontology:state }
[]
state
Q174193
SYSTEM
United Kingdom of Great Britain and Ireland
Q174193
(Q16707842,P17,c(Q7275))
action filter_type
action find
entity Q16707842
relation P17
type Q7275
Which state is Member of Parliament in the United Kingdom present in
['Q16707842', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?x WHERE { resource:Q16707842 property:P17 ?x . ?x rdf:type ontology:Q7275 }
United Kingdom of Great Britain and Ireland
Which state is Member of Parliament in the United Kingdom present in
United Kingdom of Great Britain and Ireland
action filter_type
action find
entity Member of Parliament in the United Kingdom
relation country
type state
['Member of Parliament in the United Kingdom', 'country', {'concept': 'state'}]
SELECT DISTINCT ?x WHERE { resource:Member_of_Parliament_in_the_United_Kingdom property:country ?x . ?x rdf:type ontology:state }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q174193 Q613003 Q5714358
P36
Q56061
USER
Does United Kingdom of Great Britain and Ireland consist of Kanasín and Shakhtan as its capital ?
(Q174193,P36,Q613003) (Q174193,P36,Q5714358)
action is_in
entity Q174193
action intersection
action find_reverse
entity Q613003
relation P36
action find_reverse
entity Q5714358
relation P36
['Q174193', 'P36', 'Q613003'] ['Q174193', 'P36', 'Q5714358']
ASK WHERE { resource:Q174193 property:P36 resource:Q613003 . resource:Q174193 property:P36 resource:Q5714358 }
United Kingdom of Great Britain and Ireland Kanasín Shakhtan
action is_in
entity United Kingdom of Great Britain and Ireland
action intersection
action find_reverse
entity Kanasín
relation capital
action find_reverse
entity Shakhtan
relation capital
['United Kingdom of Great Britain and Ireland', 'capital', 'Kanasín'] ['United Kingdom of Great Britain and Ireland', 'capital', 'Shakhtan']
ASK WHERE { resource:United_Kingdom_of_Great_Britain_and_Ireland property:capital resource:Kanasín . resource:United_Kingdom_of_Great_Britain_and_Ireland property:capital resource:Shakhtan }
[]
administrative territorial entity
SYSTEM
NO
(Q174193,P36,Q613003) (Q174193,P36,Q5714358)
action is_in
entity Q174193
action intersection
action find_reverse
entity Q613003
relation P36
action find_reverse
entity Q5714358
relation P36
[ANSWER]
['Q174193', 'P36', 'Q613003'] ['Q174193', 'P36', 'Q5714358']
ASK WHERE { resource:Q174193 property:P36 resource:Q613003 . resource:Q174193 property:P36 resource:Q5714358 }
No
action is_in
entity United Kingdom of Great Britain and Ireland
action intersection
action find_reverse
entity Kanasín
relation capital
action find_reverse
entity Shakhtan
relation capital
['United Kingdom of Great Britain and Ireland', 'capital', 'Kanasín'] ['United Kingdom of Great Britain and Ireland', 'capital', 'Shakhtan']
ASK WHERE { resource:United_Kingdom_of_Great_Britain_and_Ireland property:capital resource:Kanasín . resource:United_Kingdom_of_Great_Britain_and_Ireland property:capital resource:Shakhtan }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q174193
P30
Q2221906
USER
Where is United Kingdom of Great Britain and Ireland situated ?
(Q174193,P30,c(Q2221906))
action filter_type
action find
entity Q174193
relation P30
type Q2221906
['Q174193', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?d WHERE { resource:Q174193 property:P30 ?d . ?d rdf:type ontology:Q2221906 }
United Kingdom of Great Britain and Ireland
action filter_type
action find
entity United Kingdom of Great Britain and Ireland
relation continent
type geographic location
['United Kingdom of Great Britain and Ireland', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?d WHERE { resource:United_Kingdom_of_Great_Britain_and_Ireland property:continent ?d . ?d rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q174193,P30,c(Q2221906))
action filter_type
action find
entity Q174193
relation P30
type Q2221906
United Kingdom of Great Britain and Ireland is situated in [ANSWER]
['Q174193', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?d WHERE { resource:Q174193 property:P30 ?d . ?d rdf:type ontology:Q2221906 }
Europe
United Kingdom of Great Britain and Ireland is situated in Europe
Europe
action filter_type
action find
entity United Kingdom of Great Britain and Ireland
relation continent
type geographic location
['United Kingdom of Great Britain and Ireland', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?d WHERE { resource:United_Kingdom_of_Great_Britain_and_Ireland property:continent ?d . ?d rdf:type ontology:geographic_location }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5602917
Q2221906
USER
And also tell me about Green Nunatak?
(Q5602917,P30,c(Q2221906))
action filter_type
action find
entity Q5602917
relation P30
type Q2221906
['Q5602917', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { resource:Q5602917 property:P30 ?e . ?e rdf:type ontology:Q2221906 }
Green Nunatak
action filter_type
action find
entity Green Nunatak
relation continent
type geographic location
['Green Nunatak', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { resource:Green_Nunatak property:continent ?e . ?e rdf:type ontology:geographic_location }
[]
geographic location
Q51
SYSTEM
Antarctica
Q51
(Q5602917,P30,c(Q2221906))
action filter_type
action find
entity Q5602917
relation P30
type Q2221906
[ANSWER]
['Q5602917', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { resource:Q5602917 property:P30 ?e . ?e rdf:type ontology:Q2221906 }
Antarctica
Antarctica
action filter_type
action find
entity Green Nunatak
relation continent
type geographic location
['Green Nunatak', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { resource:Green_Nunatak property:continent ?e . ?e rdf:type ontology:geographic_location }
[]