Simple Question (Direct)
Simple Question
Q21527562
P840
Q56061
USER
Which administrative territory is the narrative location of Colossal ?
(Q21527562,P840,c(Q56061))
action filter_type
action find
entity Q21527562
relation P840
type Q56061
['Q21527562', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q21527562 property:P840 ?f . ?f rdf:type ontology:Q56061 }
Colossal
action filter_type
action find
entity Colossal
relation narrative location
type administrative territorial entity
['Colossal', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Colossal property:narrative_location ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q21527562,P840,c(Q56061))
action filter_type
action find
entity Q21527562
relation P840
type Q56061
[ANSWER] is the narrative location of Colossal
['Q21527562', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q21527562 property:P840 ?f . ?f rdf:type ontology:Q56061 }
New York City
New York City is the narrative location of Colossal
New York City
action filter_type
action find
entity Colossal
relation narrative location
type administrative territorial entity
['Colossal', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Colossal property:narrative_location ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q60
P119
Q502895
USER
Which people have that administrative territory as resting place ?
(c(Q502895),P119,Q60)
action filter_type
action find_reverse
entity Q60
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q60']
SELECT DISTINCT ?r WHERE { ?r property:P119 resource:Q60 . ?r rdf:type ontology:Q502895 }
New York City
action filter_type
action find_reverse
entity New York City
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'New York City']
SELECT DISTINCT ?r WHERE { ?r property:place_of_burial resource:New_York_City . ?r rdf:type ontology:common_name }
[]
common name
Q6143065 Q17479172 Q6104974
SYSTEM
James Shedden Palmer, Abram P. Haring, J. C. Julius Langbein
Q6143065 Q17479172 Q6104974
(c(Q502895),P119,Q60)
action filter_type
action find_reverse
entity Q60
relation P119
type Q502895
[ANSWERS] have that administrative territory as resting place
[{'concept': 'Q502895'}, 'P119', 'Q60']
SELECT DISTINCT ?r WHERE { ?r property:P119 resource:Q60 . ?r rdf:type ontology:Q502895 }
James Shedden Palmer Abram P. Haring J. C. Julius Langbein
James Shedden Palmer, Abram P. Haring and J. C. Julius Langbein have that administrative territory as resting place
James Shedden Palmer Abram P. Haring J. C. Julius Langbein
action filter_type
action find_reverse
entity New York City
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'New York City']
SELECT DISTINCT ?r WHERE { ?r property:place_of_burial resource:New_York_City . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6143065
P21
Q290
USER
What is the sex of James Shedden Palmer ?
(Q6143065,P21,c(Q290))
action filter_type
action find
entity Q6143065
relation P21
type Q290
['Q6143065', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . resource:Q6143065 property:P21 ?x }
James Shedden Palmer
action filter_type
action find
entity James Shedden Palmer
relation gender
type sex
['James Shedden Palmer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . resource:James_Shedden_Palmer property:gender ?x }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6143065,P21,c(Q290))
action filter_type
action find
entity Q6143065
relation P21
type Q290
The sex of James Shedden Palmer is the [ANSWER]
['Q6143065', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . resource:Q6143065 property:P21 ?x }
male
The sex of James Shedden Palmer is the male
male
action filter_type
action find
entity James Shedden Palmer
relation gender
type sex
['James Shedden Palmer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . resource:James_Shedden_Palmer property:gender ?x }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4760125
Q290
USER
And what about Andrée Clair?
(Q4760125,P21,c(Q290))
action filter_type
action find
entity Q4760125
relation P21
type Q290
['Q4760125', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q4760125 property:P21 ?o . ?o rdf:type ontology:Q290 }
Andrée Clair
action filter_type
action find
entity Andrée Clair
relation gender
type sex
['Andrée Clair', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Andrée_Clair property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q4760125,P21,c(Q290))
action filter_type
action find
entity Q4760125
relation P21
type Q290
[ANSWER]
['Q4760125', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q4760125 property:P21 ?o . ?o rdf:type ontology:Q290 }
female
female
action filter_type
action find
entity Andrée Clair
relation gender
type sex
['Andrée Clair', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Andrée_Clair property:gender ?o . ?o rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do approximately 1299 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1299
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:P1303 ?c . ?x rdf:type ontology:Q502895 . ?c rdf:type ontology:Q34379 } GROUP BY ?c } . FILTER ( ?v = 1299 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1299
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:instrument ?c . ?x rdf:type ontology:common_name . ?c rdf:type ontology:musical_instrument } GROUP BY ?c } . FILTER ( ?v = 1299 ) }
[]
musical instrument common name
SYSTEM
64
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1299
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:P1303 ?c . ?x rdf:type ontology:Q502895 . ?c rdf:type ontology:Q34379 } GROUP BY ?c } . FILTER ( ?v = 1299 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
64
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1299
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:instrument ?c . ?x rdf:type ontology:common_name . ?c rdf:type ontology:musical_instrument } GROUP BY ?c } . FILTER ( ?v = 1299 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6143065
P138
Q2235308
USER
Which ship type has James Shedden Palmer as its toponym ?
(c(Q2235308),P138,Q6143065)
action filter_type
action find_reverse
entity Q6143065
relation P138
type Q2235308
[{'concept': 'Q2235308'}, 'P138', 'Q6143065']
SELECT DISTINCT ?l WHERE { ?l property:P138 resource:Q6143065 . ?l rdf:type ontology:Q2235308 }
James Shedden Palmer
action filter_type
action find_reverse
entity James Shedden Palmer
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'James Shedden Palmer']
SELECT DISTINCT ?l WHERE { ?l property:named_after resource:James_Shedden_Palmer . ?l rdf:type ontology:ship_type }
[]
ship type
Q4551563
SYSTEM
USS Palmer
Q4551563
(c(Q2235308),P138,Q6143065)
action filter_type
action find_reverse
entity Q6143065
relation P138
type Q2235308
The [ANSWER] has James Shedden Palmer as its toponym
[{'concept': 'Q2235308'}, 'P138', 'Q6143065']
SELECT DISTINCT ?l WHERE { ?l property:P138 resource:Q6143065 . ?l rdf:type ontology:Q2235308 }
USS Palmer
The USS Palmer has James Shedden Palmer as its toponym
USS Palmer
action filter_type
action find_reverse
entity James Shedden Palmer
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'James Shedden Palmer']
SELECT DISTINCT ?l WHERE { ?l property:named_after resource:James_Shedden_Palmer . ?l rdf:type ontology:ship_type }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4551563
P289
Q2235308
USER
Which ship type represents the vessel classification of that one ?
(Q4551563,P289,c(Q2235308))
action filter_type
action find
entity Q4551563
relation P289
type Q2235308
['Q4551563', 'P289', {'concept': 'Q2235308'}]
SELECT DISTINCT ?e WHERE { resource:Q4551563 property:P289 ?e . ?e rdf:type ontology:Q2235308 }
USS Palmer
action filter_type
action find
entity USS Palmer
relation vessel class
type ship type
['USS Palmer', 'vessel class', {'concept': 'ship type'}]
SELECT DISTINCT ?e WHERE { resource:USS_Palmer property:vessel_class ?e . ?e rdf:type ontology:ship_type }
[]
ship type
Q1359690
SYSTEM
Wickes-class destroyer
Q1359690
(Q4551563,P289,c(Q2235308))
action filter_type
action find
entity Q4551563
relation P289
type Q2235308
[ANSWER] represents the vessel classification of that one
['Q4551563', 'P289', {'concept': 'Q2235308'}]
SELECT DISTINCT ?e WHERE { resource:Q4551563 property:P289 ?e . ?e rdf:type ontology:Q2235308 }
Wickes-class destroyer
Wickes-class destroyer represents the vessel classification of that one
Wickes-class destroyer
action filter_type
action find
entity USS Palmer
relation vessel class
type ship type
['USS Palmer', 'vessel class', {'concept': 'ship type'}]
SELECT DISTINCT ?e WHERE { resource:USS_Palmer property:vessel_class ?e . ?e rdf:type ontology:ship_type }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1359690 Q963354 Q208711
P137
Q781132
USER
Is that ship type the administrator of United States Naval Special Warfare Development Group and Chilean Navy ?
(Q1359690,P137,Q963354) (Q1359690,P137,Q208711)
action is_in
entity Q1359690
action intersection
action find_reverse
entity Q963354
relation P137
action find_reverse
entity Q208711
relation P137
['Q1359690', 'P137', 'Q963354'] ['Q1359690', 'P137', 'Q208711']
ASK WHERE { resource:Q1359690 property:P137 resource:Q208711 . resource:Q1359690 property:P137 resource:Q963354 }
Wickes-class destroyer United States Naval Special Warfare Development Group Chilean Navy
action is_in
entity Wickes-class destroyer
action intersection
action find_reverse
entity United States Naval Special Warfare Development Group
relation operator
action find_reverse
entity Chilean Navy
relation operator
['Wickes-class destroyer', 'operator', 'United States Naval Special Warfare Development Group'] ['Wickes-class destroyer', 'operator', 'Chilean Navy']
ASK WHERE { resource:Wickes-class_destroyer property:operator resource:Chilean_Navy . resource:Wickes-class_destroyer property:operator resource:United_States_Naval_Special_Warfare_Development_Group }
[]
military branch
SYSTEM
NO
(Q1359690,P137,Q963354) (Q1359690,P137,Q208711)
action is_in
entity Q1359690
action intersection
action find_reverse
entity Q963354
relation P137
action find_reverse
entity Q208711
relation P137
[ANSWER]
['Q1359690', 'P137', 'Q963354'] ['Q1359690', 'P137', 'Q208711']
ASK WHERE { resource:Q1359690 property:P137 resource:Q208711 . resource:Q1359690 property:P137 resource:Q963354 }
No
action is_in
entity Wickes-class destroyer
action intersection
action find_reverse
entity United States Naval Special Warfare Development Group
relation operator
action find_reverse
entity Chilean Navy
relation operator
['Wickes-class destroyer', 'operator', 'United States Naval Special Warfare Development Group'] ['Wickes-class destroyer', 'operator', 'Chilean Navy']
ASK WHERE { resource:Wickes-class_destroyer property:operator resource:Chilean_Navy . resource:Wickes-class_destroyer property:operator resource:United_States_Naval_Special_Warfare_Development_Group }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q21527562 Q29 Q4890195
P495
Q15617994
USER
Did Colossal originate in Spain and Bensalem Township School District ?
(Q21527562,P495,Q29) (Q21527562,P495,Q4890195)
action is_in
entity Q21527562
action intersection
action find_reverse
entity Q29
relation P495
action find_reverse
entity Q4890195
relation P495
['Q21527562', 'P495', 'Q29'] ['Q21527562', 'P495', 'Q4890195']
ASK WHERE { resource:Q21527562 property:P495 resource:Q29 . resource:Q21527562 property:P495 resource:Q4890195 }
Colossal Spain Bensalem Township School District
action is_in
entity Colossal
action intersection
action find_reverse
entity Spain
relation country of origin
action find_reverse
entity Bensalem Township School District
relation country of origin
['Colossal', 'country of origin', 'Spain'] ['Colossal', 'country of origin', 'Bensalem Township School District']
ASK WHERE { resource:Colossal property:country_of_origin resource:Spain . resource:Colossal property:country_of_origin resource:Bensalem_Township_School_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q21527562,P495,Q29) (Q21527562,P495,Q4890195)
action is_in
entity Q21527562
action intersection
action find_reverse
entity Q29
relation P495
action find_reverse
entity Q4890195
relation P495
[ANSWER]
['Q21527562', 'P495', 'Q29'] ['Q21527562', 'P495', 'Q4890195']
ASK WHERE { resource:Q21527562 property:P495 resource:Q29 . resource:Q21527562 property:P495 resource:Q4890195 }
YES and NO respectively
action is_in
entity Colossal
action intersection
action find_reverse
entity Spain
relation country of origin
action find_reverse
entity Bensalem Township School District
relation country of origin
['Colossal', 'country of origin', 'Spain'] ['Colossal', 'country of origin', 'Bensalem Township School District']
ASK WHERE { resource:Colossal property:country_of_origin resource:Spain . resource:Colossal property:country_of_origin resource:Bensalem_Township_School_District }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21527562
P58
Q502895
USER
Who wrote the screenplay for that work of art ?
action filter_type
action find
entity Q21527562
relation P58
type Q502895
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q21527562 property:P58 ?b }
Colossal
action filter_type
action find
entity Colossal
relation screenwriter
type common name
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Colossal property:screenwriter ?b }
[]
common name
Q2638166
SYSTEM
Nacho Vigalondo
Q2638166
action filter_type
action find
entity Q21527562
relation P58
type Q502895
[ANSWER] wrote the screenplay for that work of art
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q21527562 property:P58 ?b }
Nacho Vigalondo
Nacho Vigalondo wrote the screenplay for that work of art
Nacho Vigalondo
action filter_type
action find
entity Colossal
relation screenwriter
type common name
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Colossal property:screenwriter ?b }
[]