Simple Question (Direct)
Simple Question
Q1337947
P40
Q502895
USER
Which person is an offspring of Guo Boxiong ?
(Q1337947,P40,c(Q502895))
action filter_type
action find
entity Q1337947
relation P40
type Q502895
['Q1337947', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q1337947 property:P40 ?q . ?q rdf:type ontology:Q502895 }
Guo Boxiong
action filter_type
action find
entity Guo Boxiong
relation child
type common name
['Guo Boxiong', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Guo_Boxiong property:child ?q . ?q rdf:type ontology:common_name }
[]
common name
Q17499635
SYSTEM
Guo Zhenggang
Q17499635
(Q1337947,P40,c(Q502895))
action filter_type
action find
entity Q1337947
relation P40
type Q502895
[ANSWER] is an offspring of Guo Boxiong
['Q1337947', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q1337947 property:P40 ?q . ?q rdf:type ontology:Q502895 }
Guo Zhenggang
Guo Zhenggang is an offspring of Guo Boxiong
Guo Zhenggang
action filter_type
action find
entity Guo Boxiong
relation child
type common name
['Guo Boxiong', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Guo_Boxiong property:child ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1337947
P7
Q502895
USER
Which person is the brother of Guo Boxiong ?
(Q1337947,P7,c(Q502895))
action filter_type
action find
entity Q1337947
relation P7
type Q502895
['Q1337947', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1337947 property:P7 ?o . ?o rdf:type ontology:Q502895 }
Guo Boxiong
action filter_type
action find
entity Guo Boxiong
relation brother
type common name
['Guo Boxiong', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Guo_Boxiong property:brother ?o . ?o rdf:type ontology:common_name }
[]
common name
Q17499632
SYSTEM
Guo Boquan
Q17499632
(Q1337947,P7,c(Q502895))
action filter_type
action find
entity Q1337947
relation P7
type Q502895
[ANSWER] is the brother of Guo Boxiong
['Q1337947', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1337947 property:P7 ?o . ?o rdf:type ontology:Q502895 }
Guo Boquan
Guo Boquan is the brother of Guo Boxiong
Guo Boquan
action filter_type
action find
entity Guo Boxiong
relation brother
type common name
['Guo Boxiong', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Guo_Boxiong property:brother ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17499632
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q17499632,P27,c(Q15617994))
action filter_type
action find
entity Q17499632
relation P27
type Q15617994
['Q17499632', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q17499632 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Guo Boquan
action filter_type
action find
entity Guo Boquan
relation country of citizenship
type designation for an administrative territorial entity
['Guo Boquan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Guo_Boquan property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148
SYSTEM
People's Republic of China
Q148
(Q17499632,P27,c(Q15617994))
action filter_type
action find
entity Q17499632
relation P27
type Q15617994
The [ANSWER] is the native country of that person
['Q17499632', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q17499632 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
People's Republic of China
The People's Republic of China is the native country of that person
People's Republic of China
action filter_type
action find
entity Guo Boquan
relation country of citizenship
type designation for an administrative territorial entity
['Guo Boquan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Guo_Boquan property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q76428 Q17499635
P26 P7
Q502895
USER
Which people are the spouses of Guo Zhenggang or are the brothers of Carl Philipp Emanuel Bach ?
OR((Q17499635,P26,c(Q502895)), (Q76428,P7,c(Q502895)))
action filter_type
action union
action find
entity Q17499635
relation P26
action find
entity Q76428
relation P7
type Q502895
{'OR': [['Q17499635', 'P26', {'concept': 'Q502895'}], ['Q76428', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . { { resource:Q76428 property:P7 ?n } UNION { resource:Q17499635 property:P26 ?n } } }
Carl Philipp Emanuel Bach Guo Zhenggang
action filter_type
action union
action find
entity Guo Zhenggang
relation spouse
action find
entity Carl Philipp Emanuel Bach
relation brother
type common name
{'OR': [['Guo Zhenggang', 'spouse', {'concept': 'common name'}], ['Carl Philipp Emanuel Bach', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . { { resource:Carl_Philipp_Emanuel_Bach property:brother ?n } UNION { resource:Guo_Zhenggang property:spouse ?n } } }
[]
common name
Q107277 Q470198 Q21042303 Q20063045 Q21029016 Q21029017 Q57225 Q106641 Q21029012 Q21042316
SYSTEM
Some of them are Wilhelm Friedemann Bach, Johann Gottfried Bernhard Bach, Johann August Abraham Bach, Wu Fangfang, Léopold Augustus Bach, Christiana Sophia Enrietta, Johann Christoph Friedrich Bach, Johann Christian Bach, Johann Christoph Bach, Christian Gottlieb Bach
Q107277 Q21042303 Q21042307 Q710996 Q21042316 Q106641 Q20063045 Q21029016 Q21029012 Q57225 Q21029017 Q470198
OR((Q17499635,P26,c(Q502895)), (Q76428,P7,c(Q502895)))
action filter_type
action union
action find
entity Q17499635
relation P26
action find
entity Q76428
relation P7
type Q502895
[ANSWERS] are the spouses of Guo Zhenggang or are the brothers of Carl Philipp Emanuel Bach
{'OR': [['Q17499635', 'P26', {'concept': 'Q502895'}], ['Q76428', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . { { resource:Q76428 property:P7 ?n } UNION { resource:Q17499635 property:P26 ?n } } }
Wilhelm Friedemann Bach Johann August Abraham Bach Ernestus Andreas Bach Gottfried Heinrich Bach Christian Gottlieb Bach Johann Christian Bach Wu Fangfang Léopold Augustus Bach Johann Christoph Bach Johann Christoph Friedrich Bach Christiana Sophia Enrietta Johann Gottfried Bernhard Bach
Wilhelm Friedemann Bach, Johann Gottfried Bernhard Bach, Johann August Abraham Bach, Wu Fangfang, Léopold Augustus Bach, Christiana Sophia Enrietta, Johann Christoph Friedrich Bach, Johann Christian Bach, Johann Christoph Bach and Christian Gottlieb Bach are the spouses of Guo Zhenggang or are the brothers of Carl Philipp Emanuel Bach
Wilhelm Friedemann Bach Johann Gottfried Bernhard Bach Johann August Abraham Bach Wu Fangfang Léopold Augustus Bach Christiana Sophia Enrietta Johann Christoph Friedrich Bach Johann Christian Bach Johann Christoph Bach Christian Gottlieb Bach
action filter_type
action union
action find
entity Guo Zhenggang
relation spouse
action find
entity Carl Philipp Emanuel Bach
relation brother
type common name
{'OR': [['Guo Zhenggang', 'spouse', {'concept': 'common name'}], ['Carl Philipp Emanuel Bach', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . { { resource:Carl_Philipp_Emanuel_Bach property:brother ?n } UNION { resource:Guo_Zhenggang property:spouse ?n } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q497224
P1303
Q34379 Q502895
USER
Which musical instruments can around the same number of people perform with as Kayamb ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q497224
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { resource:Q497224 property:P1303 ?r . ?r rdf:type ontology:Q34379 } } . FILTER ( ?t = ?j ) }
Kayamb
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Kayamb
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { resource:Kayamb property:instrument ?r . ?r rdf:type ontology:musical_instrument } } . FILTER ( ?t = ?j ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 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
action count
action filter_type
action find
entity Q497224
relation P1303
type Q34379
[ANSWERS] can around the same number of people perform with as Kayamb
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { resource:Q497224 property:P1303 ?r . ?r rdf:type ontology:Q34379 } } . FILTER ( ?t = ?j ) }
viola 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 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 around the same number of people perform with as Kayamb
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Kayamb
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { resource:Kayamb property:instrument ?r . ?r rdf:type ontology:musical_instrument } } . FILTER ( ?t = ?j ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1178361 Q81982 Q1759986
P1303
Q502895
USER
Which people can play those musical instruments ?
(c(Q502895),P1303,Q1178361) (c(Q502895),P1303,Q81982) (c(Q502895),P1303,Q1759986)
action filter_type
action find_reverse
entity prev_answer
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q1178361'] [{'concept': 'Q502895'}, 'P1303', 'Q81982'] [{'concept': 'Q502895'}, 'P1303', 'Q1759986']
SELECT DISTINCT ?f WHERE { ?f property:P1303 ?p . VALUES ( ?p ) { ( resource:Q80284 ) ( resource:Q201129 ) ( resource:Q424017 ) } . ?f rdf:type ontology:Q502895 }
davul harpsichord Wurlitzer electric piano
action filter_type
action find_reverse
entity prev_answer
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', 'davul'] [{'concept': 'common name'}, 'instrument', 'harpsichord'] [{'concept': 'common name'}, 'instrument', 'Wurlitzer electric piano']
SELECT DISTINCT ?f WHERE { ?f property:instrument ?p . VALUES ( ?p ) { ( resource:viola ) ( resource:lyre ) ( resource:acoustic_bass_guitar ) } . ?f 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 filter_type
action find_reverse
entity prev_answer
relation P1303
type Q502895
[ANSWERS] can play those musical instruments
[{'concept': 'Q502895'}, 'P1303', 'Q1178361'] [{'concept': 'Q502895'}, 'P1303', 'Q81982'] [{'concept': 'Q502895'}, 'P1303', 'Q1759986']
SELECT DISTINCT ?f WHERE { ?f property:P1303 ?p . VALUES ( ?p ) { ( resource:Q80284 ) ( resource:Q201129 ) ( resource:Q424017 ) } . ?f 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 can play those musical instruments
John Cale Johann Sebastian Bach Wolfgang Amadeus Mozart
action filter_type
action find_reverse
entity prev_answer
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', 'davul'] [{'concept': 'common name'}, 'instrument', 'harpsichord'] [{'concept': 'common name'}, 'instrument', 'Wurlitzer electric piano']
SELECT DISTINCT ?f WHERE { ?f property:instrument ?p . VALUES ( ?p ) { ( resource:viola ) ( resource:lyre ) ( resource:acoustic_bass_guitar ) } . ?f rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q254
P58
Q838948
USER
Which work of art is that person a screenwriter of ?
(c(Q838948),P58,Q254)
action filter_type
action find_reverse
entity Q254
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q254']
SELECT DISTINCT ?q WHERE { ?q property:P58 resource:Q254 . ?q rdf:type ontology:Q838948 }
Wolfgang Amadeus Mozart
action filter_type
action find_reverse
entity Wolfgang Amadeus Mozart
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Wolfgang Amadeus Mozart']
SELECT DISTINCT ?q WHERE { ?q property:screenwriter resource:Wolfgang_Amadeus_Mozart . ?q rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q1339
SYSTEM
Did you mean Johann Sebastian Bach ?
Q45909 Q1339 Q254
(c(Q838948),P58,Q45909) (c(Q838948),P58,Q1339) (c(Q838948),P58,Q254)
[ANSWER]
[{'concept': 'Q838948'}, 'P58', 'Q45909'] [{'concept': 'Q838948'}, 'P58', 'Q1339'] [{'concept': 'Q838948'}, 'P58', 'Q254']
SELECT DISTINCT ?q WHERE { ?q property:P58 resource:Q254 . ?q rdf:type ontology:Q838948 }
John Cale Johann Sebastian Bach Wolfgang Amadeus Mozart
Did you mean Johann Sebastian Bach ?
Johann Sebastian Bach
[{'concept': 'work of art'}, 'screenwriter', 'John Cale'] [{'concept': 'work of art'}, 'screenwriter', 'Johann Sebastian Bach'] [{'concept': 'work of art'}, 'screenwriter', 'Wolfgang Amadeus Mozart']
SELECT DISTINCT ?q WHERE { ?q property:screenwriter resource:Wolfgang_Amadeus_Mozart . ?q rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
No, I meant Wolfgang Amadeus Mozart. Could you tell me the answer for that?
(c(Q838948),P58,Q254)
Q254
[{'concept': 'Q838948'}, 'P58', 'Q254']
[{'concept': 'work of art'}, 'screenwriter', 'Wolfgang Amadeus Mozart']
[]
Q1056781
SYSTEM
Don Giovanni
Q1056781
(c(Q838948),P58,Q254)
action filter_type
action find_reverse
entity Q254
relation P58
type Q838948
[ANSWER] is that person a screenwriter of
[{'concept': 'Q838948'}, 'P58', 'Q254']
SELECT DISTINCT ?q WHERE { ?q property:P58 resource:Q254 . ?q rdf:type ontology:Q838948 }
Don Giovanni
Don Giovanni is that person a screenwriter of
Don Giovanni
action filter_type
action find_reverse
entity Wolfgang Amadeus Mozart
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Wolfgang Amadeus Mozart']
SELECT DISTINCT ?q WHERE { ?q property:screenwriter resource:Wolfgang_Amadeus_Mozart . ?q rdf:type ontology:work_of_art }
[]