Simple Question (Direct)
Simple Question
Q1527279
P106
Q28640
USER
What is the profession of Robert Potter ?
(Q1527279,P106,c(Q28640))
action filter_type
action find
entity Q1527279
relation P106
type Q28640
['Q1527279', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?x WHERE { resource:Q1527279 property:P106 ?x . ?x rdf:type ontology:Q28640 }
Robert Potter
action filter_type
action find
entity Robert Potter
relation occupation
type profession
['Robert Potter', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?x WHERE { resource:Robert_Potter property:occupation ?x . ?x rdf:type ontology:profession }
[]
profession
Q40348
SYSTEM
lawyer
Q40348
(Q1527279,P106,c(Q28640))
action filter_type
action find
entity Q1527279
relation P106
type Q28640
The profession of Robert Potter is a [ANSWER]
['Q1527279', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?x WHERE { resource:Q1527279 property:P106 ?x . ?x rdf:type ontology:Q28640 }
lawyer
The profession of Robert Potter is a lawyer
lawyer
action filter_type
action find
entity Robert Potter
relation occupation
type profession
['Robert Potter', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?x WHERE { resource:Robert_Potter property:occupation ?x . ?x rdf:type ontology:profession }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1527279
P119
Q43229
USER
Where is the place of burial for Robert Potter located ?
(Q1527279,P119,c(Q43229))
action filter_type
action find
entity Q1527279
relation P119
type Q43229
['Q1527279', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?o WHERE { resource:Q1527279 property:P119 ?o . ?o rdf:type ontology:Q43229 }
Robert Potter
action filter_type
action find
entity Robert Potter
relation place of burial
type organization
['Robert Potter', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?o WHERE { resource:Robert_Potter property:place_of_burial ?o . ?o rdf:type ontology:organization }
[]
organization
Q2342386
SYSTEM
Texas State Cemetery
Q2342386
(Q1527279,P119,c(Q43229))
action filter_type
action find
entity Q1527279
relation P119
type Q43229
The place of burial for Robert Potter is located in [ANSWER]
['Q1527279', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?o WHERE { resource:Q1527279 property:P119 ?o . ?o rdf:type ontology:Q43229 }
Texas State Cemetery
The place of burial for Robert Potter is located in Texas State Cemetery
Texas State Cemetery
action filter_type
action find
entity Robert Potter
relation place of burial
type organization
['Robert Potter', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?o WHERE { resource:Robert_Potter property:place_of_burial ?o . ?o rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1527279
P937
Q56061
USER
Which is the work location of that person ?
(Q2342386,P937,c(Q56061))
action filter_type
action find
entity Q1527279
relation P937
type Q56061
['Q2342386', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q1527279 property:P937 ?o . ?o rdf:type ontology:Q56061 }
Robert Potter
action filter_type
action find
entity Robert Potter
relation work location
type administrative territorial entity
['Texas State Cemetery', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Robert_Potter property:work_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q41087
SYSTEM
Raleigh
Q41087
(Q2342386,P937,c(Q56061))
action filter_type
action find
entity Q1527279
relation P937
type Q56061
The work location of that person is a [ANSWER]
['Q2342386', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q1527279 property:P937 ?o . ?o rdf:type ontology:Q56061 }
Raleigh
The work location of that person is a Raleigh
Raleigh
action filter_type
action find
entity Robert Potter
relation work location
type administrative territorial entity
['Texas State Cemetery', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Robert_Potter property:work_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q41087
P159
Q874405
USER
Which social groups have headquarters located at that administrative territory ?
(c(Q874405),P159,Q41087)
action filter_type
action find_reverse
entity Q41087
relation P159
type Q874405
[{'concept': 'Q874405'}, 'P159', 'Q41087']
SELECT DISTINCT ?w WHERE { ?w property:P159 resource:Q41087 . ?w rdf:type ontology:Q874405 }
Raleigh
action filter_type
action find_reverse
entity Raleigh
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Raleigh']
SELECT DISTINCT ?w WHERE { ?w property:headquarters_location resource:Raleigh . ?w rdf:type ontology:social_group }
[]
social group
Q7767499 Q16995025
SYSTEM
The Support Center, Headbands of Hope
Q7767499 Q16995025
(c(Q874405),P159,Q41087)
action filter_type
action find_reverse
entity Q41087
relation P159
type Q874405
[ANSWERS] have headquarters located at that administrative territory
[{'concept': 'Q874405'}, 'P159', 'Q41087']
SELECT DISTINCT ?w WHERE { ?w property:P159 resource:Q41087 . ?w rdf:type ontology:Q874405 }
The Support Center Headbands of Hope
The Support Center and Headbands of Hope have headquarters located at that administrative territory
The Support Center Headbands of Hope
action filter_type
action find_reverse
entity Raleigh
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Raleigh']
SELECT DISTINCT ?w WHERE { ?w property:headquarters_location resource:Raleigh . ?w rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7767499 Q16995025
P159
Q56061
USER
Where are the head office for those social groups located ?
(Q7767499,P159,c(Q56061)) (Q16995025,P159,c(Q56061))
action filter_type
action find
entity prev_answer
relation P159
type Q56061
['Q7767499', 'P159', {'concept': 'Q56061'}] ['Q16995025', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?v property:P159 ?h . ?h rdf:type ontology:Q56061 . VALUES ( ?v ) { ( resource:Q7767499 ) ( resource:Q16995025 ) } }
The Support Center Headbands of Hope
action filter_type
action find
entity prev_answer
relation headquarters location
type administrative territorial entity
['The Support Center', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Headbands of Hope', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?v property:headquarters_location ?h . ?h rdf:type ontology:administrative_territorial_entity . VALUES ( ?v ) { ( resource:The_Support_Center ) ( resource:Headbands_of_Hope ) } }
[]
administrative territorial entity
Q41087 Q41087
SYSTEM
Raleigh
Q41087 Q41087
(Q7767499,P159,c(Q56061)) (Q16995025,P159,c(Q56061))
action filter_type
action find
entity prev_answer
relation P159
type Q56061
The head office for those social groups located are in [ANSWER] and [ANSWER]
['Q7767499', 'P159', {'concept': 'Q56061'}] ['Q16995025', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?v property:P159 ?h . ?h rdf:type ontology:Q56061 . VALUES ( ?v ) { ( resource:Q7767499 ) ( resource:Q16995025 ) } }
Raleigh Raleigh
The head office for those social groups located are in Raleigh and Raleigh
Raleigh Raleigh
action filter_type
action find
entity prev_answer
relation headquarters location
type administrative territorial entity
['The Support Center', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Headbands of Hope', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?v property:headquarters_location ?h . ?h rdf:type ontology:administrative_territorial_entity . VALUES ( ?v ) { ( resource:The_Support_Center ) ( resource:Headbands_of_Hope ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q41087
P551
Q502895
USER
Who reside at that administrative territory ?
(c(Q502895),P551,Q41087) (c(Q502895),P551,Q41087)
action filter_type
action find_reverse
entity Q41087
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q41087'] [{'concept': 'Q502895'}, 'P551', 'Q41087']
SELECT DISTINCT ?c WHERE { ?c property:P551 resource:Q41087 . ?c rdf:type ontology:Q502895 }
Raleigh
action filter_type
action find_reverse
entity Raleigh
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Raleigh'] [{'concept': 'common name'}, 'residence', 'Raleigh']
SELECT DISTINCT ?c WHERE { ?c property:residence resource:Raleigh . ?c rdf:type ontology:common_name }
[]
common name
Q18667040 Q6238428
SYSTEM
Elizabeth Gilmore Holt, John Haywood
Q18667040 Q6238428
(c(Q502895),P551,Q41087) (c(Q502895),P551,Q41087)
action filter_type
action find_reverse
entity Q41087
relation P551
type Q502895
[ANSWERS] reside at that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q41087'] [{'concept': 'Q502895'}, 'P551', 'Q41087']
SELECT DISTINCT ?c WHERE { ?c property:P551 resource:Q41087 . ?c rdf:type ontology:Q502895 }
Elizabeth Gilmore Holt John Haywood
Elizabeth Gilmore Holt and John Haywood reside at that administrative territory
Elizabeth Gilmore Holt John Haywood
action filter_type
action find_reverse
entity Raleigh
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Raleigh'] [{'concept': 'common name'}, 'residence', 'Raleigh']
SELECT DISTINCT ?c WHERE { ?c property:residence resource:Raleigh . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15416
USER
How many television programs did exactly 2 people do the dubbing for ?
(c(Q15416),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 2
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?i ) WHERE { ?p property:P725 ?g . ?p rdf:type ontology:Q15416 . ?g rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?i = 2 ) }
action count
action equal
action find_tuple_counts
relation voice actor
type television program
type common name
value 2
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?i ) WHERE { ?p property:voice_actor ?g . ?p rdf:type ontology:television_program . ?g rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?i = 2 ) }
[]
common name television program
SYSTEM
8
Q239937 Q1857269 Q15176855 Q483106 Q633432 Q12019559 Q5139461 Q15039539
(c(Q15416),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 2
[ANSWER]
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?i ) WHERE { ?p property:P725 ?g . ?p rdf:type ontology:Q15416 . ?g rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?i = 2 ) }
Pokémon Rio: Rainbow Gate! Wizard Barristers: Benmashi Cecil Freezing The Emperor's New School Free! Engage Planet Kiss Dum The Steamboat Adventures of Riverboat Bill
8
action count
action equal
action find_tuple_counts
relation voice actor
type television program
type common name
value 2
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?i ) WHERE { ?p property:voice_actor ?g . ?p rdf:type ontology:television_program . ?g rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?i = 2 ) }
[]