Simple Question (Direct)
Simple Question
Q6266527
P27
Q15617994
USER
Which administrative territory is the native country of Johnny Crosbie ?
(Q6266527,P27,c(Q15617994))
action filter_type
action find
entity Q6266527
relation P27
type Q15617994
['Q6266527', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q6266527 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Johnny Crosbie
action filter_type
action find
entity Johnny Crosbie
relation country of citizenship
type designation for an administrative territorial entity
['Johnny Crosbie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Johnny_Crosbie property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q6266527,P27,c(Q15617994))
action filter_type
action find
entity Q6266527
relation P27
type Q15617994
The [ANSWER] is the native country of Johnny Crosbie
['Q6266527', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q6266527 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom is the native country of Johnny Crosbie
United Kingdom
action filter_type
action find
entity Johnny Crosbie
relation country of citizenship
type designation for an administrative territorial entity
['Johnny Crosbie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Johnny_Crosbie property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P921
Q2342494
USER
Which collectable was mainly based on that administrative territory ?
(c(Q2342494),P921,Q145)
action filter_type
action find_reverse
entity Q145
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q145']
SELECT DISTINCT ?z WHERE { ?z property:P921 resource:Q145 . ?z rdf:type ontology:Q2342494 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'United Kingdom']
SELECT DISTINCT ?z WHERE { ?z property:main_subject resource:United_Kingdom . ?z rdf:type ontology:collectable }
[]
collectable
Q27063814
SYSTEM
Introduction to Administrative Law
Q27063814
(c(Q2342494),P921,Q145)
action filter_type
action find_reverse
entity Q145
relation P921
type Q2342494
[ANSWER] was mainly based on that administrative territory
[{'concept': 'Q2342494'}, 'P921', 'Q145']
SELECT DISTINCT ?z WHERE { ?z property:P921 resource:Q145 . ?z rdf:type ontology:Q2342494 }
Introduction to Administrative Law
Introduction to Administrative Law was mainly based on that administrative territory
Introduction to Administrative Law
action filter_type
action find_reverse
entity United Kingdom
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'United Kingdom']
SELECT DISTINCT ?z WHERE { ?z property:main_subject resource:United_Kingdom . ?z rdf:type ontology:collectable }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1297
Q1752346
USER
And also tell me about Chicago?
(Q1297,P194,c(Q1752346))
action filter_type
action find
entity Q1297
relation P194
type Q1752346
['Q1297', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?k WHERE { resource:Q1297 property:P194 ?k . ?k rdf:type ontology:Q1752346 }
Chicago
action filter_type
action find
entity Chicago
relation legislative body
type assembly
['Chicago', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?k WHERE { resource:Chicago property:legislative_body ?k . ?k rdf:type ontology:assembly }
[]
assembly
Q2963301
SYSTEM
Chicago City Council
Q2963301
(Q1297,P194,c(Q1752346))
action filter_type
action find
entity Q1297
relation P194
type Q1752346
[ANSWER]
['Q1297', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?k WHERE { resource:Q1297 property:P194 ?k . ?k rdf:type ontology:Q1752346 }
Chicago City Council
Chicago City Council
action filter_type
action find
entity Chicago
relation legislative body
type assembly
['Chicago', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?k WHERE { resource:Chicago property:legislative_body ?k . ?k rdf:type ontology:assembly }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2963301 Q30
P17
Q15617994
USER
Is that assembly present in United States of America ?
(Q2963301,P17,Q30)
action is_in
entity Q30
action find
entity Q2963301
relation P17
['Q2963301', 'P17', 'Q30']
ASK WHERE { resource:Q2963301 property:P17 resource:Q30 }
Chicago City Council United States of America
action is_in
entity United States of America
action find
entity Chicago City Council
relation country
['Chicago City Council', 'country', 'United States of America']
ASK WHERE { resource:Chicago_City_Council property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q2963301,P17,Q30)
action is_in
entity Q30
action find
entity Q2963301
relation P17
[ANSWER]
['Q2963301', 'P17', 'Q30']
ASK WHERE { resource:Q2963301 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Chicago City Council
relation country
['Chicago City Council', 'country', 'United States of America']
ASK WHERE { resource:Chicago_City_Council property:country resource:United_States_of_America }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2963301
P17
Q15617994
USER
How many administrative territories do Chicago City Council belong to ?
(Q2963301,P17,c(Q15617994))
action count
action filter_type
action find
entity Q2963301
relation P17
type Q15617994
['Q2963301', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Q2963301 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
Chicago City Council
action count
action filter_type
action find
entity Chicago City Council
relation country
type designation for an administrative territorial entity
['Chicago City Council', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Chicago_City_Council property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q2963301,P17,c(Q15617994))
action count
action filter_type
action find
entity Q2963301
relation P17
type Q15617994
[ANSWER]
['Q2963301', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Q2963301 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Chicago City Council
relation country
type designation for an administrative territorial entity
['Chicago City Council', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Chicago_City_Council property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2692408
Q15617994
USER
And also tell me about Raduha?
(Q2692408,P17,c(Q15617994))
action count
action filter_type
action find
entity Q2692408
relation P17
type Q15617994
['Q2692408', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { ?m rdf:type ontology:Q15617994 . resource:Q2692408 property:P17 ?m }
Raduha
action count
action filter_type
action find
entity Raduha
relation country
type designation for an administrative territorial entity
['Raduha', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Raduha property:country ?m }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q2692408,P17,c(Q15617994))
action count
action filter_type
action find
entity Q2692408
relation P17
type Q15617994
[ANSWER]
['Q2692408', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { ?m rdf:type ontology:Q15617994 . resource:Q2692408 property:P17 ?m }
1
action count
action filter_type
action find
entity Raduha
relation country
type designation for an administrative territorial entity
['Raduha', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Raduha property:country ?m }
[]