Simple Question (Direct)
Simple Question
Q2504700
P136
Q151885
USER
What can be considered as category for Héctor Delgado ?
(Q2504700,P136,c(Q151885))
action filter_type
action find
entity Q2504700
relation P136
type Q151885
['Q2504700', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q151885 . resource:Q2504700 property:P136 ?x }
Héctor Delgado
action filter_type
action find
entity Héctor Delgado
relation genre
type concept
['Héctor Delgado', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:concept . resource:Héctor_Delgado property:genre ?x }
[]
concept
Q202930
SYSTEM
reggaeton
Q202930
(Q2504700,P136,c(Q151885))
action filter_type
action find
entity Q2504700
relation P136
type Q151885
[ANSWER] can be considered as category for Héctor Delgado
['Q2504700', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q151885 . resource:Q2504700 property:P136 ?x }
reggaeton
Reggaeton can be considered as category for Héctor Delgado
reggaeton
action filter_type
action find
entity Héctor Delgado
relation genre
type concept
['Héctor Delgado', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:concept . resource:Héctor_Delgado property:genre ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2504700
P175
Q2031291
USER
Which releases gave the performance of that person ?
(c(Q2031291),P175,Q202930)
action filter_type
action find_reverse
entity Q2504700
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q202930']
SELECT DISTINCT ?h WHERE { ?h property:P175 resource:Q2504700 . ?h rdf:type ontology:Q2031291 }
Héctor Delgado
action filter_type
action find_reverse
entity Héctor Delgado
relation performer
type release
[{'concept': 'release'}, 'performer', 'reggaeton']
SELECT DISTINCT ?h WHERE { ?h property:performer resource:Héctor_Delgado . ?h rdf:type ontology:release }
[]
release
Q7046327 Q7715268 Q6827033
SYSTEM
Noche de Entierro, The Bad Boy, Mi Trayectoria
Q6827033 Q5351471 Q7715268 Q5352053 Q7046327
(c(Q2031291),P175,Q202930)
action filter_type
action find_reverse
entity Q2504700
relation P175
type Q2031291
[ANSWERS] gave the performance of that person
[{'concept': 'Q2031291'}, 'P175', 'Q202930']
SELECT DISTINCT ?h WHERE { ?h property:P175 resource:Q2504700 . ?h rdf:type ontology:Q2031291 }
Mi Trayectoria El Juicio Final The Bad Boy El Rompe Discoteka: The Mix Album Noche de Entierro
Noche de Entierro, The Bad Boy and Mi Trayectoria gave the performance of that person
Noche de Entierro The Bad Boy Mi Trayectoria
action filter_type
action find_reverse
entity Héctor Delgado
relation performer
type release
[{'concept': 'release'}, 'performer', 'reggaeton']
SELECT DISTINCT ?h WHERE { ?h property:performer resource:Héctor_Delgado . ?h rdf:type ontology:release }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2504700
P27
Q15617994
USER
Which administrative territory does Héctor Delgado belong to ?
(Q2504700,P27,c(Q15617994))
action filter_type
action find
entity Q2504700
relation P27
type Q15617994
['Q2504700', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q2504700 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Héctor Delgado
action filter_type
action find
entity Héctor Delgado
relation country of citizenship
type designation for an administrative territorial entity
['Héctor Delgado', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Héctor_Delgado property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q2504700,P27,c(Q15617994))
action filter_type
action find
entity Q2504700
relation P27
type Q15617994
Héctor Delgado belongs to [ANSWER]
['Q2504700', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q2504700 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
United States of America
Héctor Delgado belongs to United States of America
United States of America
action filter_type
action find
entity Héctor Delgado
relation country of citizenship
type designation for an administrative territorial entity
['Héctor Delgado', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Héctor_Delgado property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21092243
Q15617994
USER
And what about Vladimir Vorobey?
(Q21092243,P27,c(Q15617994))
action filter_type
action find
entity Q21092243
relation P27
type Q15617994
['Q21092243', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q21092243 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Vladimir Vorobey
action filter_type
action find
entity Vladimir Vorobey
relation country of citizenship
type designation for an administrative territorial entity
['Vladimir Vorobey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Vladimir_Vorobey property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q21092243,P27,c(Q15617994))
action filter_type
action find
entity Q21092243
relation P27
type Q15617994
[ANSWER]
['Q21092243', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q21092243 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Russia
Russia
action filter_type
action find
entity Vladimir Vorobey
relation country of citizenship
type designation for an administrative territorial entity
['Vladimir Vorobey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Vladimir_Vorobey property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q159 Q13861520
P35
Q502895
USER
Is Filip Deket elected as the head of state of Russia ?
(Q159,P35,Q13861520)
action is_in
entity Q13861520
action find
entity Q159
relation P35
['Q159', 'P35', 'Q13861520']
ASK WHERE { resource:Q159 property:P35 resource:Q13861520 }
Russia Filip Deket
action is_in
entity Filip Deket
action find
entity Russia
relation head of state
['Russia', 'head of state', 'Filip Deket']
ASK WHERE { resource:Russia property:head_of_state resource:Filip_Deket }
[]
common name
SYSTEM
NO
(Q159,P35,Q13861520)
action is_in
entity Q13861520
action find
entity Q159
relation P35
[ANSWER]
['Q159', 'P35', 'Q13861520']
ASK WHERE { resource:Q159 property:P35 resource:Q13861520 }
No
action is_in
entity Filip Deket
action find
entity Russia
relation head of state
['Russia', 'head of state', 'Filip Deket']
ASK WHERE { resource:Russia property:head_of_state resource:Filip_Deket }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q7715268 Q21062389 Q19845661
P175
Q502895
USER
Did The Bad Boy give the performance of Henry Rothstein and Gerhard F Ecker ?
(Q7715268,P175,Q21062389) (Q7715268,P175,Q19845661)
action is_in
entity Q7715268
action intersection
action find_reverse
entity Q21062389
relation P175
action find_reverse
entity Q19845661
relation P175
['Q7715268', 'P175', 'Q21062389'] ['Q7715268', 'P175', 'Q19845661']
ASK WHERE { resource:Q7715268 property:P175 resource:Q21062389 . resource:Q7715268 property:P175 resource:Q19845661 }
The Bad Boy Henry Rothstein Gerhard F Ecker
action is_in
entity The Bad Boy
action intersection
action find_reverse
entity Henry Rothstein
relation performer
action find_reverse
entity Gerhard F Ecker
relation performer
['The Bad Boy', 'performer', 'Henry Rothstein'] ['The Bad Boy', 'performer', 'Gerhard F Ecker']
ASK WHERE { resource:The_Bad_Boy property:performer resource:Henry_Rothstein . resource:The_Bad_Boy property:performer resource:Gerhard_F_Ecker }
[]
common name
SYSTEM
NO
(Q7715268,P175,Q21062389) (Q7715268,P175,Q19845661)
action is_in
entity Q7715268
action intersection
action find_reverse
entity Q21062389
relation P175
action find_reverse
entity Q19845661
relation P175
[ANSWER]
['Q7715268', 'P175', 'Q21062389'] ['Q7715268', 'P175', 'Q19845661']
ASK WHERE { resource:Q7715268 property:P175 resource:Q21062389 . resource:Q7715268 property:P175 resource:Q19845661 }
No
action is_in
entity The Bad Boy
action intersection
action find_reverse
entity Henry Rothstein
relation performer
action find_reverse
entity Gerhard F Ecker
relation performer
['The Bad Boy', 'performer', 'Henry Rothstein'] ['The Bad Boy', 'performer', 'Gerhard F Ecker']
ASK WHERE { resource:The_Bad_Boy property:performer resource:Henry_Rothstein . resource:The_Bad_Boy property:performer resource:Gerhard_F_Ecker }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q2221906 Q56061 Q2031291
USER
Which releases are named after min number of geographic locations or administrative territories ?
(c(Q2031291),P138,c(Q2221906)|c(Q56061))
action argmin
action union
action find_tuple_counts
relation P138
type Q2031291
type Q2221906
action find_tuple_counts
relation P138
type Q2031291
type Q56061
[{'concept': 'Q2031291'}, 'P138', [{'concept': 'Q2221906'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?z WHERE { VALUES ( ?g ) { ( ontology:Q56061 ) ( ontology:Q2221906 ) } . ?x rdf:type ?g } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) ?c WHERE { { ?c property:P138 ?t . ?c rdf:type ontology:Q2031291 . ?t rdf:type ontology:Q2221906 } UNION { ?c property:P138 ?t . ?t rdf:type ontology:Q56061 . ?c rdf:type ontology:Q2031291 } } GROUP BY ?c } . FILTER ( ?w = ?m ) }
action argmin
action union
action find_tuple_counts
relation named after
type release
type geographic location
action find_tuple_counts
relation named after
type release
type administrative territorial entity
[{'concept': 'release'}, 'named after', [{'concept': 'geographic location'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?z WHERE { VALUES ( ?g ) { ( ontology:administrative_territorial_entity ) ( ontology:geographic_location ) } . ?x rdf:type ?g } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) ?c WHERE { { ?c property:named_after ?t . ?c rdf:type ontology:release . ?t rdf:type ontology:geographic_location } UNION { ?c property:named_after ?t . ?t rdf:type ontology:administrative_territorial_entity . ?c rdf:type ontology:release } } GROUP BY ?c } . FILTER ( ?w = ?m ) }
[]
geographic location administrative territorial entity release
Q173643 Q251309 Q740161
SYSTEM
Abbey Road, Bob Dylan, John Wesley Harding
Q18668276 Q2490613 Q22690274 Q20988110 Q19858 Q6686023 Q11743771 Q21893638 Q19847630 Q5978789 Q6375877 Q11229672 Q16958271 Q3428917 Q3605621 Q902572 Q11268427 Q3360641 Q938951 Q7560185 Q2328141 Q15406872 Q3341407 Q13518367 Q1753847 Q3905305 Q25713856 Q17061602 Q3437749 Q569856 Q6698582 Q214139 Q3052448 Q6698455 Q251309 Q1155719 Q1792838 Q684280 Q2498611 Q10268851 Q6698224 Q4857730 Q173643 Q7715886 Q3305923 Q11972434 Q5417504 Q11870397 Q22683058 Q2563202 Q1721506 Q5419352 Q779923 Q25511121 Q492804 Q16954003 Q6698332 Q1753261 Q740161 Q6785481 Q10320388 Q4043244 Q15867296 Q1753076 Q5485835 Q897752 Q2367412 Q277833 Q6304661 Q3489827 Q1648283 Q17508644 Q826146 Q6698151 Q6698153 Q7731072 Q6412126 Q1779491 Q4740276 Q7030231 Q7750286 Q3758929 Q5016483 Q1558281 Q7757221 Q1753009 Q4544588 Q1492288 Q6698146 Q6698148 Q1426301 Q217211 Q1940923 Q10478012 Q6917260 Q11229671 Q15728910 Q7761229 Q2924855 Q2940115 Q3319798 Q17544686 Q6198842 Q2281671 Q1038922
(c(Q2031291),P138,c(Q2221906)|c(Q56061))
action argmin
action union
action find_tuple_counts
relation P138
type Q2031291
type Q2221906
action find_tuple_counts
relation P138
type Q2031291
type Q56061
[ANSWERS] are named after min number of geographic locations or administrative territories
[{'concept': 'Q2031291'}, 'P138', [{'concept': 'Q2221906'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?z WHERE { VALUES ( ?g ) { ( ontology:Q56061 ) ( ontology:Q2221906 ) } . ?x rdf:type ?g } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) ?c WHERE { { ?c property:P138 ?t . ?c rdf:type ontology:Q2031291 . ?t rdf:type ontology:Q2221906 } UNION { ?c property:P138 ?t . ?t rdf:type ontology:Q56061 . ?c rdf:type ontology:Q2031291 } } GROUP BY ?c } . FILTER ( ?w = ?m ) }
Endless Forms Most Beautiful (album) Jimmy Figgatta de Blanc Deepthroat Revolution Meteora Loudon Wainwright III Korova Milky Bar DiscoDildo Surpat' chez Léo Ferré I Remember Clifford Kate and Anna McGarrigle Lucy Love - Winter Season - Trouble: The Jamie Saft Trio Plays Bob Dylan Deià...Vu The 59th Street Bridge Song The Times They Are a-Changin' Saraba Haiseikō Paisley Park Gaudi Something Wicked This Way Comes One Tree Hill Les Perches du Nil Night on Bald Mountain Mercedes-Dance Something Wicked This Way Comes Pinocchio Vari-Colored Songs: A Tribute to Langston Hughes Natalie Merchant Rock Drill Dylan Lucy Woodward Is...Hot and Bothered Morrison Hotel Watarasebashi Lucy Pearl Bob Dylan De Stijl Waterloo Sunset Shot of Love Geidi Primes Du ringde från Flen Lucy Brown Baptized in Blood Abbey Road The Battle of Sealand Highway 61 Revisited Gram Per Person Every Grain of Sand: Barb Jungr Sings Bob Dylan Katra Vincere l'odio Rue des cascades Kairos Excalibur New Jersey Rosetta Kara Best 2007–2010 Muhammad Ali Lucy Gray Saved John Wesley Harding Masters of War Lucy Lucy New Eyes New Morning Inari Excalibur Twin Sons of Different Mothers A-Lex Judy in Disguise Something Wicked This Way Comes David Bowie Pe'ahi Curtis Lucy Lucy The Drowning of Lucy Hamilton King Tut Sunday Bloody Sunday Amarillo Ramp (For Robert Smithson) Nicole and Natalie The March of Brian Boru Gaudí Cadillac Ranch Hier kommt Alex The Pinocchio Theory David Bowie (Do You Wanna Date My) Avatar Pinocchio Lucy & Carly – The Simon Sisters Sing for Children Lucy Wuthering Heights Highway 61 Revisited NATO Dylan Mother-in-Law Lucy Love - Season II - Chantilly Lace The Roches Brian Boru Carpal Tunnel Syndrome Mon Pinocchio - Babar To Your Scattered Bodies Go Jim Webb Sings Jim Webb Rufus Wainwright The Wake of Magellan
Abbey Road, Bob Dylan and John Wesley Harding are named after min number of geographic locations or administrative territories
Abbey Road Bob Dylan John Wesley Harding
action argmin
action union
action find_tuple_counts
relation named after
type release
type geographic location
action find_tuple_counts
relation named after
type release
type administrative territorial entity
[{'concept': 'release'}, 'named after', [{'concept': 'geographic location'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?z WHERE { VALUES ( ?g ) { ( ontology:administrative_territorial_entity ) ( ontology:geographic_location ) } . ?x rdf:type ?g } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) ?c WHERE { { ?c property:named_after ?t . ?c rdf:type ontology:release . ?t rdf:type ontology:geographic_location } UNION { ?c property:named_after ?t . ?t rdf:type ontology:administrative_territorial_entity . ?c rdf:type ontology:release } } GROUP BY ?c } . FILTER ( ?w = ?m ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q740161
P658
Q7725634
USER
Which songs were a part of that release ?
(Q740161,P658,c(Q7725634))
action filter_type
action find
entity Q740161
relation P658
type Q7725634
['Q740161', 'P658', {'concept': 'Q7725634'}]
SELECT DISTINCT ?f WHERE { resource:Q740161 property:P658 ?f . ?f rdf:type ontology:Q7725634 }
John Wesley Harding
action filter_type
action find
entity John Wesley Harding
relation tracklist
type literary work
['John Wesley Harding', 'tracklist', {'concept': 'literary work'}]
SELECT DISTINCT ?f WHERE { resource:John_Wesley_Harding property:tracklist ?f . ?f rdf:type ontology:literary_work }
[]
literary work
Clarification for simple ques.
Q251309
SYSTEM
Did you mean Bob Dylan ?
Q173643 Q251309 Q740161
(Q173643,P658,c(Q7725634)) (Q251309,P658,c(Q7725634)) (Q740161,P658,c(Q7725634))
[ANSWER]
['Q173643', 'P658', {'concept': 'Q7725634'}] ['Q251309', 'P658', {'concept': 'Q7725634'}] ['Q740161', 'P658', {'concept': 'Q7725634'}]
SELECT DISTINCT ?f WHERE { resource:Q740161 property:P658 ?f . ?f rdf:type ontology:Q7725634 }
Abbey Road Bob Dylan John Wesley Harding
Did you mean Bob Dylan ?
Bob Dylan
['Abbey Road', 'tracklist', {'concept': 'literary work'}] ['Bob Dylan', 'tracklist', {'concept': 'literary work'}] ['John Wesley Harding', 'tracklist', {'concept': 'literary work'}]
SELECT DISTINCT ?f WHERE { resource:John_Wesley_Harding property:tracklist ?f . ?f rdf:type ontology:literary_work }
[]
Simple Question (Coreferenced)
USER
No, I meant John Wesley Harding. Could you tell me the answer for that?
(Q740161,P658,c(Q7725634))
Q740161
['Q740161', 'P658', {'concept': 'Q7725634'}]
['John Wesley Harding', 'tracklist', {'concept': 'literary work'}]
[]
Q5307465 Q682236 Q3121988
SYSTEM
Drifter's Escape, John Wesley Harding, I'll Be Your Baby Tonight
Q5976141 Q7774736 Q5977065 Q9203037 Q3121988 Q682236 Q9296708 Q5302783 Q5307465 Q601994 Q4802899
(Q740161,P658,c(Q7725634))
action filter_type
action find
entity Q740161
relation P658
type Q7725634
[ANSWERS] were a part of that release
['Q740161', 'P658', {'concept': 'Q7725634'}]
SELECT DISTINCT ?f WHERE { resource:Q740161 property:P658 ?f . ?f rdf:type ontology:Q7725634 }
I Am a Lonesome Hobo The Wicked Messenger I Dreamed I Saw St. Augustine Dear Landlord I'll Be Your Baby Tonight John Wesley Harding I Pity the Poor Immigrant Down Along the Cove Drifter's Escape The Ballad of Frankie Lee and Judas Priest As I Went Out One Morning
Drifter's Escape, John Wesley Harding and I'll Be Your Baby Tonight were a part of that release
Drifter's Escape John Wesley Harding I'll Be Your Baby Tonight
action filter_type
action find
entity John Wesley Harding
relation tracklist
type literary work
['John Wesley Harding', 'tracklist', {'concept': 'literary work'}]
SELECT DISTINCT ?f WHERE { resource:John_Wesley_Harding property:tracklist ?f . ?f rdf:type ontology:literary_work }
[]