Simple Question (Direct)
Simple Question
Q808407
P102
Q7210356
USER
Which party does Barnabas Kelet Henagan belong to ?
(Q808407,P102,c(Q7210356))
action filter_type
action find
entity Q808407
relation P102
type Q7210356
['Q808407', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { resource:Q808407 property:P102 ?l . ?l rdf:type ontology:Q7210356 }
Barnabas Kelet Henagan
action filter_type
action find
entity Barnabas Kelet Henagan
relation member of political party
type political organization
['Barnabas Kelet Henagan', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { resource:Barnabas_Kelet_Henagan property:member_of_political_party ?l . ?l rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q808407,P102,c(Q7210356))
action filter_type
action find
entity Q808407
relation P102
type Q7210356
Barnabas Kelet Henagan belongs to [ANSWER]
['Q808407', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { resource:Q808407 property:P102 ?l . ?l rdf:type ontology:Q7210356 }
Democratic Party
Barnabas Kelet Henagan belongs to Democratic Party
Democratic Party
action filter_type
action find
entity Barnabas Kelet Henagan
relation member of political party
type political organization
['Barnabas Kelet Henagan', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { resource:Barnabas_Kelet_Henagan property:member_of_political_party ?l . ?l rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q808407
P20
Q56061
USER
Where did the demise of Barnabas Kelet Henagan occur ?
(Q808407,P20,c(Q56061))
action filter_type
action find
entity Q808407
relation P20
type Q56061
['Q808407', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q808407 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Barnabas Kelet Henagan
action filter_type
action find
entity Barnabas Kelet Henagan
relation place of death
type administrative territorial entity
['Barnabas Kelet Henagan', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Barnabas_Kelet_Henagan property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q47716
SYSTEM
Charleston
Q47716
(Q808407,P20,c(Q56061))
action filter_type
action find
entity Q808407
relation P20
type Q56061
The demise of Barnabas Kelet Henagan occurred in [ANSWER]
['Q808407', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q808407 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Charleston
The demise of Barnabas Kelet Henagan occurred in Charleston
Charleston
action filter_type
action find
entity Barnabas Kelet Henagan
relation place of death
type administrative territorial entity
['Barnabas Kelet Henagan', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Barnabas_Kelet_Henagan property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q47716
P840
Q166142
USER
Which application has its narrative set in that administrative territory ?
(c(Q166142),P840,Q47716)
action filter_type
action find_reverse
entity Q47716
relation P840
type Q166142
[{'concept': 'Q166142'}, 'P840', 'Q47716']
SELECT DISTINCT ?j WHERE { ?j property:P840 resource:Q47716 . ?j rdf:type ontology:Q166142 }
Charleston
action filter_type
action find_reverse
entity Charleston
relation narrative location
type application
[{'concept': 'application'}, 'narrative location', 'Charleston']
SELECT DISTINCT ?j WHERE { ?j property:narrative_location resource:Charleston . ?j rdf:type ontology:application }
[]
application
Q1767176
SYSTEM
SimCity 2000
Q1767176
(c(Q166142),P840,Q47716)
action filter_type
action find_reverse
entity Q47716
relation P840
type Q166142
[ANSWER] has its narrative set in that administrative territory
[{'concept': 'Q166142'}, 'P840', 'Q47716']
SELECT DISTINCT ?j WHERE { ?j property:P840 resource:Q47716 . ?j rdf:type ontology:Q166142 }
SimCity 2000
SimCity 2000 has its narrative set in that administrative territory
SimCity 2000
action filter_type
action find_reverse
entity Charleston
relation narrative location
type application
[{'concept': 'application'}, 'narrative location', 'Charleston']
SELECT DISTINCT ?j WHERE { ?j property:narrative_location resource:Charleston . ?j rdf:type ontology:application }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1767176
P287
Q502895
USER
Who designed that application ?
(Q1767176,P287,c(Q502895))
action filter_type
action find
entity Q1767176
relation P287
type Q502895
['Q1767176', 'P287', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q1767176 property:P287 ?s . ?s rdf:type ontology:Q502895 }
SimCity 2000
action filter_type
action find
entity SimCity 2000
relation designer
type common name
['SimCity 2000', 'designer', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:SimCity_2000 property:designer ?s . ?s rdf:type ontology:common_name }
[]
common name
Q309493
SYSTEM
Will Wright
Q309493
(Q1767176,P287,c(Q502895))
action filter_type
action find
entity Q1767176
relation P287
type Q502895
[ANSWER] designed that application
['Q1767176', 'P287', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q1767176 property:P287 ?s . ?s rdf:type ontology:Q502895 }
Will Wright
Will Wright designed that application
Will Wright
action filter_type
action find
entity SimCity 2000
relation designer
type common name
['SimCity 2000', 'designer', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:SimCity_2000 property:designer ?s . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by min number of people ?
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?q ) { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?r } } . { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?g ) WHERE { ?a property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?g = ?q ) }
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?q ) { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?r } } . { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?g ) WHERE { ?a property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?g = ?q ) }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[ANSWERS] are played by min number of people
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?q ) { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?r } } . { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?g ) WHERE { ?a property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?g = ?q ) }
spoon cajón wind instrument
Spoon, cajón and wind instrument are played by min number of people
spoon cajón wind instrument
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?q ) { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?r } } . { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?g ) WHERE { ?a property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?g = ?q ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P1303
Q34379 Q502895
USER
Which musical instruments are played by around the same number of people as that musical instrument ?
(c(Q502895),P1303,c(Q34379))
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { ?z property:P1303 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 }
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { ?z property:instrument ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument }
[]
musical instrument common name
Comparative|More/Less|Single entity type|Clarification
Q173453
SYSTEM
Did you mean wind instrument ?
(c(Q502895),P1303,c(Q34379))
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { ?z property:P1303 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 }
Did you mean wind instrument ?
wind instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { ?z property:instrument ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument }
[]
Comparative Reasoning (All)
USER
No, I meant cajón. Could you tell me the answer for that?
(c(Q502895),P1303,c(Q34379))
Q748455
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
[]
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))
[ANSWERS] are played by around the same number of people as that musical instrument
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { ?z property:P1303 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 }
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 are played by around the same number of people as that musical instrument
davul harpsichord Wurlitzer electric piano
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { ?z property:instrument ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1178361 Q81982 Q1759986
P1303
Q502895
USER
Who 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 ?a WHERE { ?a property:P1303 ?z . ?a rdf:type ontology:Q502895 . VALUES ( ?z ) { ( resource:Q80284 ) ( resource:Q201129 ) ( resource:Q424017 ) } }
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 ?a WHERE { ?a property:instrument ?z . ?a rdf:type ontology:common_name . VALUES ( ?z ) { ( resource:viola ) ( resource:lyre ) ( resource:acoustic_bass_guitar ) } }
[]
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 ?a WHERE { ?a property:P1303 ?z . ?a rdf:type ontology:Q502895 . VALUES ( ?z ) { ( resource:Q80284 ) ( resource:Q201129 ) ( resource:Q424017 ) } }
İ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 ?a WHERE { ?a property:instrument ?z . ?a rdf:type ontology:common_name . VALUES ( ?z ) { ( resource:viola ) ( resource:lyre ) ( resource:acoustic_bass_guitar ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q45909 Q1339 Q254
P40
Q502895
USER
Whose child are John Cale, Johann Sebastian Bach and Wolfgang Amadeus Mozart ?
(c(Q502895),P40,Q45909) (c(Q502895),P40,Q1339) (c(Q502895),P40,Q254)
action union
action filter_type
action find_reverse
entity Q45909
relation P40
type Q502895
action filter_type
action find_reverse
entity Q1339
relation P40
type Q502895
action filter_type
action find_reverse
entity Q254
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q45909'] [{'concept': 'Q502895'}, 'P40', 'Q1339'] [{'concept': 'Q502895'}, 'P40', 'Q254']
SELECT DISTINCT ?u WHERE { { ?u property:P40 resource:Q1339 . ?u rdf:type ontology:Q502895 } UNION { ?u property:P40 resource:Q45909 . ?u rdf:type ontology:Q502895 } }
John Cale Johann Sebastian Bach Wolfgang Amadeus Mozart
action union
action filter_type
action find_reverse
entity John Cale
relation child
type common name
action filter_type
action find_reverse
entity Johann Sebastian Bach
relation child
type common name
action filter_type
action find_reverse
entity Wolfgang Amadeus Mozart
relation child
type common name
[{'concept': 'common name'}, 'child', 'John Cale'] [{'concept': 'common name'}, 'child', 'Johann Sebastian Bach'] [{'concept': 'common name'}, 'child', 'Wolfgang Amadeus Mozart']
SELECT DISTINCT ?u WHERE { { ?u property:child resource:Johann_Sebastian_Bach . ?u rdf:type ontology:common_name } UNION { ?u property:child resource:John_Cale . ?u rdf:type ontology:common_name } }
[]
common name
Q156280 Q309470 Q167981
SYSTEM
Leopold Mozart, Johann Ambrosius Bach, Anna Maria Mozart
Q17370487 Q17370468 Q309470 Q66671 Q156280 Q167981
(c(Q502895),P40,Q45909) (c(Q502895),P40,Q1339) (c(Q502895),P40,Q254)
action union
action filter_type
action find_reverse
entity Q45909
relation P40
type Q502895
action filter_type
action find_reverse
entity Q1339
relation P40
type Q502895
action filter_type
action find_reverse
entity Q254
relation P40
type Q502895
[ANSWERS] are John Cale, Johann Sebastian Bach and Wolfgang Amadeus Mozart
[{'concept': 'Q502895'}, 'P40', 'Q45909'] [{'concept': 'Q502895'}, 'P40', 'Q1339'] [{'concept': 'Q502895'}, 'P40', 'Q254']
SELECT DISTINCT ?u WHERE { { ?u property:P40 resource:Q1339 . ?u rdf:type ontology:Q502895 } UNION { ?u property:P40 resource:Q45909 . ?u rdf:type ontology:Q502895 } }
William Arthur George Cale Margaret Davies Johann Ambrosius Bach Maria Elisabeth Lämmerhirt Leopold Mozart Anna Maria Mozart
Leopold Mozart, Johann Ambrosius Bach and Anna Maria Mozart are John Cale, Johann Sebastian Bach and Wolfgang Amadeus Mozart
Leopold Mozart Johann Ambrosius Bach Anna Maria Mozart
action union
action filter_type
action find_reverse
entity John Cale
relation child
type common name
action filter_type
action find_reverse
entity Johann Sebastian Bach
relation child
type common name
action filter_type
action find_reverse
entity Wolfgang Amadeus Mozart
relation child
type common name
[{'concept': 'common name'}, 'child', 'John Cale'] [{'concept': 'common name'}, 'child', 'Johann Sebastian Bach'] [{'concept': 'common name'}, 'child', 'Wolfgang Amadeus Mozart']
SELECT DISTINCT ?u WHERE { { ?u property:child resource:Johann_Sebastian_Bach . ?u rdf:type ontology:common_name } UNION { ?u property:child resource:John_Cale . ?u rdf:type ontology:common_name } }
[]