Simple Question (Direct)
Simple Question
Q5989584
P40
Q502895
USER
Who is a child of Idris Bell ?
(Q5989584,P40,c(Q502895))
action filter_type
action find
entity Q5989584
relation P40
type Q502895
['Q5989584', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q5989584 property:P40 ?x . ?x rdf:type ontology:Q502895 }
Idris Bell
action filter_type
action find
entity Idris Bell
relation child
type common name
['Idris Bell', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Idris_Bell property:child ?x . ?x rdf:type ontology:common_name }
[]
common name
Q5231277
SYSTEM
David Bell
Q5231277
(Q5989584,P40,c(Q502895))
action filter_type
action find
entity Q5989584
relation P40
type Q502895
A child of Idris Bell is called [ANSWER]
['Q5989584', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q5989584 property:P40 ?x . ?x rdf:type ontology:Q502895 }
David Bell
A child of Idris Bell is called David Bell
David Bell
action filter_type
action find
entity Idris Bell
relation child
type common name
['Idris Bell', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Idris_Bell property:child ?x . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can approximately 1923 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1923
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?g ) WHERE { ?a property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?y } . FILTER ( ?g = 1923 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1923
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?g ) WHERE { ?a property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?y } . FILTER ( ?g = 1923 ) }
[]
musical instrument common name
SYSTEM
6
Q46185 Q80019 Q8338 Q8371 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1923
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?g ) WHERE { ?a property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?y } . FILTER ( ?g = 1923 ) }
bass guitar double bass trumpet cello organ drum kit
6
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1923
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?g ) WHERE { ?a property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?y } . FILTER ( ?g = 1923 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5989584
P22
Q502895
USER
Which person has Idris Bell as dad ?
(c(Q502895),P22,Q5989584)
action filter_type
action find_reverse
entity Q5989584
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q5989584']
SELECT DISTINCT ?f WHERE { ?f property:P22 resource:Q5989584 . ?f rdf:type ontology:Q502895 }
Idris Bell
action filter_type
action find_reverse
entity Idris Bell
relation father
type common name
[{'concept': 'common name'}, 'father', 'Idris Bell']
SELECT DISTINCT ?f WHERE { ?f property:father resource:Idris_Bell . ?f rdf:type ontology:common_name }
[]
common name
Q5231277
SYSTEM
David Bell
Q5231277
(c(Q502895),P22,Q5989584)
action filter_type
action find_reverse
entity Q5989584
relation P22
type Q502895
[ANSWER] has Idris Bell as dad
[{'concept': 'Q502895'}, 'P22', 'Q5989584']
SELECT DISTINCT ?f WHERE { ?f property:P22 resource:Q5989584 . ?f rdf:type ontology:Q502895 }
David Bell
David Bell has Idris Bell as dad
David Bell
action filter_type
action find_reverse
entity Idris Bell
relation father
type common name
[{'concept': 'common name'}, 'father', 'Idris Bell']
SELECT DISTINCT ?f WHERE { ?f property:father resource:Idris_Bell . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5231277
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q5231277,P27,c(Q15617994))
action filter_type
action find
entity Q5231277
relation P27
type Q15617994
['Q5231277', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q5231277 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
David Bell
action filter_type
action find
entity David Bell
relation country of citizenship
type designation for an administrative territorial entity
['David Bell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:David_Bell property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q5231277,P27,c(Q15617994))
action filter_type
action find
entity Q5231277
relation P27
type Q15617994
[ANSWER] is that person an inhabitant of
['Q5231277', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q5231277 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is that person an inhabitant of
United Kingdom
action filter_type
action find
entity David Bell
relation country of citizenship
type designation for an administrative territorial entity
['David Bell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:David_Bell property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P1313
Q895526
USER
Which authority organ serves as the political office that is fulfilled by the head of the government of that administrative territory ?
(Q145,P1313,c(Q895526))
action filter_type
action find
entity Q145
relation P1313
type Q895526
['Q145', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?c WHERE { resource:Q145 property:P1313 ?c . ?c rdf:type ontology:Q895526 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation office held by head of government
type authority organ
['United Kingdom', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?c WHERE { resource:United_Kingdom property:office_held_by_head_of_government ?c . ?c rdf:type ontology:authority_organ }
[]
authority organ
Q14211
SYSTEM
Prime Minister of the United Kingdom
Q14211
(Q145,P1313,c(Q895526))
action filter_type
action find
entity Q145
relation P1313
type Q895526
The [ANSWER] serves as the political office that is fulfilled by the head of the government of that administrative territory
['Q145', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?c WHERE { resource:Q145 property:P1313 ?c . ?c rdf:type ontology:Q895526 }
Prime Minister of the United Kingdom
The Prime Minister of the United Kingdom serves as the political office that is fulfilled by the head of the government of that administrative territory
Prime Minister of the United Kingdom
action filter_type
action find
entity United Kingdom
relation office held by head of government
type authority organ
['United Kingdom', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?c WHERE { resource:United_Kingdom property:office_held_by_head_of_government ?c . ?c rdf:type ontology:authority_organ }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14211
P1001
Q15617994
USER
Which administrative territory belongs to jurisdiction of that authority organ ?
(Q14211,P1001,c(Q15617994))
action filter_type
action find
entity Q14211
relation P1001
type Q15617994
['Q14211', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q14211 property:P1001 ?u . ?u rdf:type ontology:Q15617994 }
Prime Minister of the United Kingdom
action filter_type
action find
entity Prime Minister of the United Kingdom
relation applies to jurisdiction
type designation for an administrative territorial entity
['Prime Minister of the United Kingdom', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Prime_Minister_of_the_United_Kingdom property:applies_to_jurisdiction ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q14211,P1001,c(Q15617994))
action filter_type
action find
entity Q14211
relation P1001
type Q15617994
[ANSWER] belongs to jurisdiction of that authority organ
['Q14211', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q14211 property:P1001 ?u . ?u rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom belongs to jurisdiction of that authority organ
United Kingdom
action filter_type
action find
entity Prime Minister of the United Kingdom
relation applies to jurisdiction
type designation for an administrative territorial entity
['Prime Minister of the United Kingdom', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Prime_Minister_of_the_United_Kingdom property:applies_to_jurisdiction ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14211
P748
Q12737077
USER
Which occupation did that authority organ appoint ?
(c(Q12737077),P748,Q145)
action filter_type
action find_reverse
entity Q14211
relation P748
type Q12737077
[{'concept': 'Q12737077'}, 'P748', 'Q145']
SELECT DISTINCT ?h WHERE { ?h property:P748 resource:Q14211 . ?h rdf:type ontology:Q12737077 }
Prime Minister of the United Kingdom
action filter_type
action find_reverse
entity Prime Minister of the United Kingdom
relation appointed by
type occupation
[{'concept': 'occupation'}, 'appointed by', 'United Kingdom']
SELECT DISTINCT ?h WHERE { ?h property:appointed_by resource:Prime_Minister_of_the_United_Kingdom . ?h rdf:type ontology:occupation }
[]
occupation
Q7444340
SYSTEM
Secretary of State for Dominion Affairs
Q7444340
(c(Q12737077),P748,Q145)
action filter_type
action find_reverse
entity Q14211
relation P748
type Q12737077
Authority organ appointed as [ANSWER]
[{'concept': 'Q12737077'}, 'P748', 'Q145']
SELECT DISTINCT ?h WHERE { ?h property:P748 resource:Q14211 . ?h rdf:type ontology:Q12737077 }
Secretary of State for Dominion Affairs
Authority organ appointed as Secretary of State for Dominion Affairs
Secretary of State for Dominion Affairs
action filter_type
action find_reverse
entity Prime Minister of the United Kingdom
relation appointed by
type occupation
[{'concept': 'occupation'}, 'appointed by', 'United Kingdom']
SELECT DISTINCT ?h WHERE { ?h property:appointed_by resource:Prime_Minister_of_the_United_Kingdom . ?h rdf:type ontology:occupation }
[]