Simple Question (Direct)
Simple Question
Q212675
P161
Q502895
USER
Who were casted in Mysterious Island ?
(Q212675,P161,c(Q502895))
action filter_type
action find
entity Q212675
relation P161
type Q502895
['Q212675', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q212675 property:P161 ?z . ?z rdf:type ontology:Q502895 }
Mysterious Island
action filter_type
action find
entity Mysterious Island
relation cast member
type common name
['Mysterious Island', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Mysterious_Island property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
common name
Q446064 Q562339 Q165357
SYSTEM
Joan Greenwood, Gary Merrill, Herbert Lom
Q446064 Q562339 Q519321 Q370026 Q165357 Q1927128
(Q212675,P161,c(Q502895))
action filter_type
action find
entity Q212675
relation P161
type Q502895
[ANSWERS] were casted in Mysterious Island
['Q212675', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q212675 property:P161 ?z . ?z rdf:type ontology:Q502895 }
Joan Greenwood Gary Merrill Michael Craig Percy Herbert Herbert Lom Michael Callan
Joan Greenwood, Gary Merrill and Herbert Lom were casted in Mysterious Island
Joan Greenwood Gary Merrill Herbert Lom
action filter_type
action find
entity Mysterious Island
relation cast member
type common name
['Mysterious Island', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Mysterious_Island property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q446064 Q562339 Q165357
P27
Q15617994
USER
Which administrative territories do those people belong to ?
(Q446064,P27,c(Q15617994)) (Q562339,P27,c(Q15617994)) (Q165357,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
['Q446064', 'P27', {'concept': 'Q15617994'}] ['Q562339', 'P27', {'concept': 'Q15617994'}] ['Q165357', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . VALUES ( ?x ) { ( resource:Q446064 ) ( resource:Q562339 ) ( resource:Q519321 ) } . ?x property:P27 ?d }
Joan Greenwood Gary Merrill Herbert Lom
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Joan Greenwood', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Gary Merrill', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Herbert Lom', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?x ) { ( resource:Joan_Greenwood ) ( resource:Gary_Merrill ) ( resource:Michael_Craig ) } . ?x property:country_of_citizenship ?d }
[]
designation for an administrative territorial entity
Q30 Q145 Q145
SYSTEM
United States of America for 1st, United Kingdom for 2nd, 3rd
Q145 Q30 Q213 Q145
(Q446064,P27,c(Q15617994)) (Q562339,P27,c(Q15617994)) (Q165357,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
[ANSWERS]
['Q446064', 'P27', {'concept': 'Q15617994'}] ['Q562339', 'P27', {'concept': 'Q15617994'}] ['Q165357', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . VALUES ( ?x ) { ( resource:Q446064 ) ( resource:Q562339 ) ( resource:Q519321 ) } . ?x property:P27 ?d }
United Kingdom United States of America Czech Republic United Kingdom
Those people belong to United States of America, United Kingdom and United Kingdom
United States of America United Kingdom United Kingdom
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Joan Greenwood', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Gary Merrill', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Herbert Lom', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?x ) { ( resource:Joan_Greenwood ) ( resource:Gary_Merrill ) ( resource:Michael_Craig ) } . ?x property:country_of_citizenship ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q212675
P86
Q502895
USER
Who wrote the music for Mysterious Island ?
(Q212675,P86,c(Q502895))
action filter_type
action find
entity Q212675
relation P86
type Q502895
['Q212675', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q212675 property:P86 ?c . ?c rdf:type ontology:Q502895 }
Mysterious Island
action filter_type
action find
entity Mysterious Island
relation composer
type common name
['Mysterious Island', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Mysterious_Island property:composer ?c . ?c rdf:type ontology:common_name }
[]
common name
Q296804
SYSTEM
Bernard Herrmann
Q296804
(Q212675,P86,c(Q502895))
action filter_type
action find
entity Q212675
relation P86
type Q502895
[ANSWER] wrote the music for Mysterious Island
['Q212675', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q212675 property:P86 ?c . ?c rdf:type ontology:Q502895 }
Bernard Herrmann
Bernard Herrmann wrote the music for Mysterious Island
Bernard Herrmann
action filter_type
action find
entity Mysterious Island
relation composer
type common name
['Mysterious Island', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Mysterious_Island property:composer ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3028480
Q502895
USER
And also tell me about Terra Diver?
(Q3028480,P86,c(Q502895))
action filter_type
action find
entity Q3028480
relation P86
type Q502895
['Q3028480', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q3028480 property:P86 ?n . ?n rdf:type ontology:Q502895 }
Terra Diver
action filter_type
action find
entity Terra Diver
relation composer
type common name
['Terra Diver', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Terra_Diver property:composer ?n . ?n rdf:type ontology:common_name }
[]
common name
Q1196596
SYSTEM
Hitoshi Sakimoto
Q1196596
(Q3028480,P86,c(Q502895))
action filter_type
action find
entity Q3028480
relation P86
type Q502895
[ANSWER]
['Q3028480', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q3028480 property:P86 ?n . ?n rdf:type ontology:Q502895 }
Hitoshi Sakimoto
Hitoshi Sakimoto
action filter_type
action find
entity Terra Diver
relation composer
type common name
['Terra Diver', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Terra_Diver property:composer ?n . ?n rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1196596 Q11292341
P86
Q166142
USER
Is Opoona composed by that person ?
(Q11292341,P86,Q1196596)
action is_in
entity Q1196596
action find
entity Q11292341
relation P86
['Q11292341', 'P86', 'Q1196596']
ASK WHERE { resource:Q11292341 property:P86 resource:Q1196596 }
Hitoshi Sakimoto Opoona
action is_in
entity Hitoshi Sakimoto
action find
entity Opoona
relation composer
['Opoona', 'composer', 'Hitoshi Sakimoto']
ASK WHERE { resource:Opoona property:composer resource:Hitoshi_Sakimoto }
[]
application
SYSTEM
YES
(Q11292341,P86,Q1196596)
action is_in
entity Q1196596
action find
entity Q11292341
relation P86
[ANSWER]
['Q11292341', 'P86', 'Q1196596']
ASK WHERE { resource:Q11292341 property:P86 resource:Q1196596 }
Yes
action is_in
entity Hitoshi Sakimoto
action find
entity Opoona
relation composer
['Opoona', 'composer', 'Hitoshi Sakimoto']
ASK WHERE { resource:Opoona property:composer resource:Hitoshi_Sakimoto }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q562339 Q47912
P509
Q2057971
USER
Does lung cancer lead to the death of Gary Merrill ?
(Q562339,P509,Q47912)
action is_in
entity Q47912
action find
entity Q562339
relation P509
['Q562339', 'P509', 'Q47912']
ASK WHERE { resource:Q562339 property:P509 resource:Q47912 }
Gary Merrill lung cancer
action is_in
entity lung cancer
action find
entity Gary Merrill
relation cause of death
['Gary Merrill', 'cause of death', 'lung cancer']
ASK WHERE { resource:Gary_Merrill property:cause_of_death resource:lung_cancer }
[]
health problem
SYSTEM
YES
(Q562339,P509,Q47912)
action is_in
entity Q47912
action find
entity Q562339
relation P509
[ANSWER]
['Q562339', 'P509', 'Q47912']
ASK WHERE { resource:Q562339 property:P509 resource:Q47912 }
Yes
action is_in
entity lung cancer
action find
entity Gary Merrill
relation cause of death
['Gary Merrill', 'cause of death', 'lung cancer']
ASK WHERE { resource:Gary_Merrill property:cause_of_death resource:lung_cancer }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q212675 Q145
P495
Q15617994
USER
Is United Kingdom the origin of Mysterious Island ?
(Q212675,P495,Q145)
action is_in
entity Q145
action find
entity Q212675
relation P495
['Q212675', 'P495', 'Q145']
ASK WHERE { resource:Q212675 property:P495 resource:Q145 }
Mysterious Island United Kingdom
action is_in
entity United Kingdom
action find
entity Mysterious Island
relation country of origin
['Mysterious Island', 'country of origin', 'United Kingdom']
ASK WHERE { resource:Mysterious_Island property:country_of_origin resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q212675,P495,Q145)
action is_in
entity Q145
action find
entity Q212675
relation P495
[ANSWER]
['Q212675', 'P495', 'Q145']
ASK WHERE { resource:Q212675 property:P495 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Mysterious Island
relation country of origin
['Mysterious Island', 'country of origin', 'United Kingdom']
ASK WHERE { resource:Mysterious_Island property:country_of_origin resource:United_Kingdom }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can approximately 509 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 509
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?w = 509 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 509
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?w = 509 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
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 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 509
[ANSWERS] can approximately 509 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?w = 509 ) }
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 cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano can approximately 509 people perform with
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 509
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?w = 509 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1178361 Q81982 Q1759986
P1303
Q502895
USER
Who knows to play davul, harpsichord and Wurlitzer electric piano ?
(c(Q502895),P1303,Q1178361) (c(Q502895),P1303,Q81982) (c(Q502895),P1303,Q1759986)
action union
action filter_type
action find_reverse
entity Q1178361
relation P1303
type Q502895
action filter_type
action find_reverse
entity Q81982
relation P1303
type Q502895
action filter_type
action find_reverse
entity Q1759986
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q1178361'] [{'concept': 'Q502895'}, 'P1303', 'Q81982'] [{'concept': 'Q502895'}, 'P1303', 'Q1759986']
SELECT DISTINCT ?p WHERE { { ?p property:P1303 resource:Q1178361 . ?p rdf:type ontology:Q502895 } UNION { ?p property:P1303 resource:Q81982 . ?p rdf:type ontology:Q502895 } }
davul harpsichord Wurlitzer electric piano
action union
action filter_type
action find_reverse
entity davul
relation instrument
type common name
action filter_type
action find_reverse
entity harpsichord
relation instrument
type common name
action filter_type
action find_reverse
entity Wurlitzer electric piano
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', 'davul'] [{'concept': 'common name'}, 'instrument', 'harpsichord'] [{'concept': 'common name'}, 'instrument', 'Wurlitzer electric piano']
SELECT DISTINCT ?p WHERE { { ?p property:instrument resource:davul . ?p rdf:type ontology:common_name } UNION { ?p property:instrument resource:harpsichord . ?p rdf:type ontology:common_name } }
[]
common name
Q45909 Q1339 Q254
SYSTEM
John Cale, Johann Sebastian Bach, Wolfgang Amadeus Mozart
Q343394 Q5125310 Q3147213 Q45909 Q1270605 Q3218863 Q4497156 Q2965877 Q18889499 Q3613839 Q11434081 Q378905 Q96304 Q289847 Q446103 Q3295831 Q2805699 Q2556199 Q339128 Q876342 Q1348195 Q11454604 Q3560424 Q1895475 Q459715 Q3573587 Q17648436 Q2958126 Q3148824 Q1976924 Q551008 Q3619994 Q3724246 Q2528311 Q3181642 Q3106857 Q3411056 Q160257 Q3168308 Q3190862 Q434644 Q3667494 Q2424360 Q3827718 Q2034506 Q2553716 Q1284831 Q2535808 Q699207 Q463998 Q22712389 Q1046616 Q13334256 Q314799 Q3298708 Q457010 Q2094389 Q3350801 Q6264882 Q1709071 Q2526926 Q590410 Q965256 Q2837040 Q3452937 Q6733079 Q3168042 Q3142793 Q3568609 Q9253269 Q1959923 Q3183956 Q509362 Q254 Q3168842 Q434774 Q2414155 Q3154364 Q1339 Q963003 Q15041700 Q700648 Q18642513 Q70011 Q969937 Q3761917 Q3010160 Q3587893 Q2462092 Q1682366 Q21088137 Q231234 Q2564666 Q4526398 Q339929 Q1682344 Q3507386 Q2416902 Q3141950 Q3524273 Q199856 Q4979366 Q928954 Q571445 Q3446656 Q3219532 Q963831 Q2959912 Q1406863 Q2848507 Q3162009 Q3287715 Q119189 Q3136187 Q3315982 Q2451955 Q3725604 Q92244 Q5112624 Q376588 Q1843799 Q445985 Q521250 Q4980119 Q2140912 Q17630873 Q76735 Q181474 Q18214287 Q319306 Q435198 Q2870861 Q563321 Q2574241 Q597101 Q2982659 Q3351094 Q3187447 Q560325 Q2735112 Q697674 Q3294067 Q739019 Q274544 Q3147203 Q2898792 Q4133063 Q718398 Q2899489 Q3167320 Q3154996 Q23001989 Q609940 Q2856990 Q3317233 Q3293546 Q7281591
(c(Q502895),P1303,Q1178361) (c(Q502895),P1303,Q81982) (c(Q502895),P1303,Q1759986)
action union
action filter_type
action find_reverse
entity Q1178361
relation P1303
type Q502895
action filter_type
action find_reverse
entity Q81982
relation P1303
type Q502895
action filter_type
action find_reverse
entity Q1759986
relation P1303
type Q502895
[ANSWERS] know to play davul, harpsichord and Wurlitzer electric piano
[{'concept': 'Q502895'}, 'P1303', 'Q1178361'] [{'concept': 'Q502895'}, 'P1303', 'Q81982'] [{'concept': 'Q502895'}, 'P1303', 'Q1759986']
SELECT DISTINCT ?p WHERE { { ?p property:P1303 resource:Q1178361 . ?p rdf:type ontology:Q502895 } UNION { ?p property:P1303 resource:Q81982 . ?p rdf:type ontology:Q502895 } }
İbrahim Tatlıses Claire Schapira Iakovos Pappas John Cale Lars Ulrik Mortensen Laurence Boulay Stanislav Heller Christine Auger Francesco Mazzoli Ambrogio Minoja Naoya Ōtsuka Michael Wollny Tobias Koch Étienne Loulié Huguette Dreyfus Martine Roche Frédérick Haas Anne Gallet Rafael Puyana Fritz Neumeyer Louis-Emmanuel Jadin Kanoko Miyazaki Violet Gordon-Woodhouse Marguerite Roesgen-Champion Matteo Messori Yves Cuenot Władysław Kłosiewicz Charles-Henri Plantade Ilton Wjuniski Aimée Van de Wiele Jon Laukvik Antonio Palella Emilia Fadini Jovanka Marville John Grew Giovanni Pietro Del Buono Putnam Aldrich Wanda Landowska Jean-Patrice Brosse Jérôme Correas Christiane Jaccottet Chiara Massini Antoine Geoffroy-Dechaume Laura Alvini Luciano Sgrizzi Jean Rondeau Eta Harich-Schneider Václav Luks Joseph Anton Steffan James Nares Martine Reymond Tim Rice-Oxley Anne-Catherine Bucher Antonio Soler Mathieu Duguay Igor Kipnis Pietro Alessandro Guglielmi Olivier Baumont John Worgan Martha Goldstein Vincenzo Lavigna Christophe Rousset Alan Curtis Aline d'Ambricourt Ruggero Gerlin Mahan Esfahani Jean-Michel Hasler Huguette Grémy-Chauliac William Felton Elżbieta Stefańska Christine Whiffen Jory Vinikour Françoise-Charlotte de Senneterre Ménétou Wolfgang Amadeus Mozart Jean-Philippe Navarre Trevor Pinnock Skip Sempé Irina Danšina Johann Sebastian Bach Thurston Dart Cosimo Damiano Lanza Masaaki Suzuki Pierre-Alain Clerc Edith Picht-Axenfeld Denis Bédard Giacinto Manna Céline Frisch Élisabeth Joyé Pascal Dubreuil Jan Willem Jansen Yasuko Uyama-Bouvard Zuzana Růžičková Beatrice Berstel Miklós Spányi Thomas Linley the elder Joseph-Nicolas-Pancrace Royer Sylvie Pécot-Douatte Blandine Verlet Hubert Bédard Thierry Geffrotin Johann Christian Schieferdecker Bruno Procopio Vincenzo Manfredini Rinaldo Alessandrini Rudi Jacques Laurent Teycheney Ottavio Dantone Charles Noblet Fernando Valenti André Raynaud Janine Reiss Marc-Roger Normand Vital Julian Frey Nicholas McGegan Mireille Lagacé Yves Rechsteiner Enrico Baiano Johann Paul Schulthesius Christopher Jackson William Christie Frédéric Champion Emmanuelle Haïm Marcelle de Lacour Sophie Stebnowska Blandine Rannou Jean-Luc Ho Karl Richter Teodorico Pedrini Véronique Carrot Oscar Milani Christopher Hogwood Marguerite-Antoinette Couperin Kenneth Gilbert Elisabeth Chojnacka Ralph Kirkpatrick Colin Tilney Olivier Houette Joël Pontet Hervé Niquet William Babell René Clemencic Mark Edwards Giovanni Battista Lampugnani Isolde Ahlgrimm Iain Simcock Bernard de Bury Malcolm Hamilton Robert Veyron-Lacroix Bertrand Cuiller Jean-Marc Aymes Isabelle Nef György Vashegyi Marguerite-Louise Couperin Anton Bemetzrieder Mitzi Meyerson Mario Raskin Radoslav Lorković
John Cale, Johann Sebastian Bach and Wolfgang Amadeus Mozart know to play davul, harpsichord and Wurlitzer electric piano
John Cale Johann Sebastian Bach Wolfgang Amadeus Mozart
action union
action filter_type
action find_reverse
entity davul
relation instrument
type common name
action filter_type
action find_reverse
entity harpsichord
relation instrument
type common name
action filter_type
action find_reverse
entity Wurlitzer electric piano
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', 'davul'] [{'concept': 'common name'}, 'instrument', 'harpsichord'] [{'concept': 'common name'}, 'instrument', 'Wurlitzer electric piano']
SELECT DISTINCT ?p WHERE { { ?p property:instrument resource:davul . ?p rdf:type ontology:common_name } UNION { ?p property:instrument resource:harpsichord . ?p rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q45909
P451
Q502895
USER
Who are the partners of John Cale ?
(Q45909,P451,c(Q502895))
action filter_type
action find
entity Q45909
relation P451
type Q502895
['Q45909', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q45909 property:P451 ?u . ?u rdf:type ontology:Q502895 }
John Cale
action filter_type
action find
entity John Cale
relation partner
type common name
['John Cale', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:John_Cale property:partner ?u . ?u rdf:type ontology:common_name }
[]
common name
Q5129179 Q19637076
SYSTEM
Claudia Gould, Jane Friedman
Q5129179 Q19637076
(Q45909,P451,c(Q502895))
action filter_type
action find
entity Q45909
relation P451
type Q502895
The partners of John Cale are [ANSWERS]
['Q45909', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q45909 property:P451 ?u . ?u rdf:type ontology:Q502895 }
Claudia Gould Jane Friedman
The partners of John Cale are Claudia Gould and Jane Friedman
Claudia Gould Jane Friedman
action filter_type
action find
entity John Cale
relation partner
type common name
['John Cale', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:John_Cale property:partner ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q38111
Q502895
USER
And how about Leonardo DiCaprio?
(Q38111,P451,c(Q502895))
action filter_type
action find
entity Q38111
relation P451
type Q502895
['Q38111', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q38111 property:P451 ?e }
Leonardo DiCaprio
action filter_type
action find
entity Leonardo DiCaprio
relation partner
type common name
['Leonardo DiCaprio', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:Leonardo_DiCaprio property:partner ?e }
[]
common name
Q298197 Q152208
SYSTEM
Bar Refaeli, Gisele Bündchen
Q298197 Q152208
(Q38111,P451,c(Q502895))
action filter_type
action find
entity Q38111
relation P451
type Q502895
[ANSWERS]
['Q38111', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q38111 property:P451 ?e }
Bar Refaeli Gisele Bündchen
Bar Refaeli Gisele Bündchen
action filter_type
action find
entity Leonardo DiCaprio
relation partner
type common name
['Leonardo DiCaprio', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:Leonardo_DiCaprio property:partner ?e }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q38111
P451
Q502895
USER
Did Leonardo DiCaprio have those ones as their mistress ?
(Q38111,P451,Q298197) (Q38111,P451,Q152208)
action is_in
entity prev_answer
action find
entity Q38111
relation P451
['Q38111', 'P451', 'Q298197'] ['Q38111', 'P451', 'Q152208']
ASK WHERE { resource:Q38111 property:P451 ?w . VALUES ( ?w ) { ( resource:Q298197 ) ( resource:Q152208 ) } }
Leonardo DiCaprio
action is_in
entity prev_answer
action find
entity Leonardo DiCaprio
relation partner
['Leonardo DiCaprio', 'partner', 'Bar Refaeli'] ['Leonardo DiCaprio', 'partner', 'Gisele Bündchen']
ASK WHERE { resource:Leonardo_DiCaprio property:partner ?w . VALUES ( ?w ) { ( resource:Bar_Refaeli ) ( resource:Gisele_Bündchen ) } }
[]
common name
SYSTEM
YES
(Q38111,P451,Q298197) (Q38111,P451,Q152208)
action is_in
entity prev_answer
action find
entity Q38111
relation P451
[ANSWER]
['Q38111', 'P451', 'Q298197'] ['Q38111', 'P451', 'Q152208']
ASK WHERE { resource:Q38111 property:P451 ?w . VALUES ( ?w ) { ( resource:Q298197 ) ( resource:Q152208 ) } }
Yes
action is_in
entity prev_answer
action find
entity Leonardo DiCaprio
relation partner
['Leonardo DiCaprio', 'partner', 'Bar Refaeli'] ['Leonardo DiCaprio', 'partner', 'Gisele Bündchen']
ASK WHERE { resource:Leonardo_DiCaprio property:partner ?w . VALUES ( ?w ) { ( resource:Bar_Refaeli ) ( resource:Gisele_Bündchen ) } }
[]