Simple Question (Direct)
Simple Question
Q567331
P21
Q290
USER
What is the sex of Louis d'Aurelle de Paladines ?
(Q567331,P21,c(Q290))
action filter_type
action find
entity Q567331
relation P21
type Q290
['Q567331', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q567331 property:P21 ?n . ?n rdf:type ontology:Q290 }
Louis d'Aurelle de Paladines
action filter_type
action find
entity Louis d'Aurelle de Paladines
relation gender
type sex
["Louis d'Aurelle de Paladines", 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Louis_d'Aurelle_de_Paladines property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q567331,P21,c(Q290))
action filter_type
action find
entity Q567331
relation P21
type Q290
The sex of Louis d' Aurelle de Paladines is the [ANSWER]
['Q567331', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q567331 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
The sex of Louis d' Aurelle de Paladines is the male
male
action filter_type
action find
entity Louis d'Aurelle de Paladines
relation gender
type sex
["Louis d'Aurelle de Paladines", 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Louis_d'Aurelle_de_Paladines property:gender ?n . ?n rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1300012
P1303
Q34379 Q502895
USER
Which musical instruments do more number of people know to play than toy piano ?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1300012
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ontology:Q34379 . resource:Q1300012 property:P1303 ?k } } . FILTER ( ?i > ?g ) }
toy piano
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity toy piano
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ontology:musical_instrument . resource:toy_piano property:instrument ?k } } . FILTER ( ?i > ?g ) }
[]
musical instrument common name
Q5994 Q81982 Q80284
SYSTEM
piano, harpsichord, viola
Q80284 Q46185 Q80019 Q2563510 Q5994 Q81982 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q213100 Q626035 Q742180 Q1444 Q220971 Q128309 Q726306 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1300012
relation P1303
type Q34379
[ANSWERS] more number of people know to play than toy piano
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ontology:Q34379 . resource:Q1300012 property:P1303 ?k } } . FILTER ( ?i > ?g ) }
viola bass guitar double bass steel-string acoustic guitar piano harpsichord vibraphone timpani trumpet cello violin harmonium upright piano tabla glockenspiel viola d'amore organ marimba drum kit erhu electronic keyboard drum
Piano, harpsichord and viola more number of people know to play than toy piano
piano harpsichord viola
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity toy piano
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ontology:musical_instrument . resource:toy_piano property:instrument ?k } } . FILTER ( ?i > ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q173453
P1303
Q34379 Q502895
USER
And also tell me about wind instrument?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q173453
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?c ) WHERE { ?q property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { ?t rdf:type ontology:Q34379 . resource:Q173453 property:P1303 ?t } } . FILTER ( ?c > ?k ) }
wind instrument
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity wind instrument
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?c ) WHERE { ?q property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { ?t rdf:type ontology:musical_instrument . resource:wind_instrument property:instrument ?t } } . FILTER ( ?c > ?k ) }
[]
musical instrument common name
Q1178361 Q5994 Q81982
SYSTEM
davul, piano, harpsichord
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q5994 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q173453
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?c ) WHERE { ?q property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { ?t rdf:type ontology:Q34379 . resource:Q173453 property:P1303 ?t } } . FILTER ( ?c > ?k ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki piano maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
davul piano harpsichord
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity wind instrument
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?c ) WHERE { ?q property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { ?t rdf:type ontology:musical_instrument . resource:wind_instrument property:instrument ?t } } . FILTER ( ?c > ?k ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P870
Q34379 Q15850590 Q9748
USER
Which musical instruments are used in exactly 1 theatrical genres or concertoes ?
(c(Q15850590)|c(Q9748),P870,c(Q34379))
action equal
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q15850590
action find_reverse_tuple_counts
relation P870
type Q34379
type Q9748
value 1
[[{'concept': 'Q15850590'}, {'concept': 'Q9748'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?l = 1 ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?e WHERE { { ?m property:P870 ?e . ?e rdf:type ontology:Q34379 . ?m rdf:type ontology:Q15850590 } UNION { ?e rdf:type ontology:Q34379 . ?m rdf:type ontology:Q9748 . ?m property:P870 ?e } } GROUP BY ?e } }
action equal
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type theatrical genre
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type concerto
value 1
[[{'concept': 'theatrical genre'}, {'concept': 'concerto'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?l = 1 ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?e WHERE { { ?m property:instrumentation ?e . ?e rdf:type ontology:musical_instrument . ?m rdf:type ontology:theatrical_genre } UNION { ?e rdf:type ontology:musical_instrument . ?m rdf:type ontology:concerto . ?m property:instrumentation ?e } } GROUP BY ?e } }
[]
musical instrument theatrical genre concerto
Q80284 Q8371
SYSTEM
viola, cello
Q80284 Q8371
(c(Q15850590)|c(Q9748),P870,c(Q34379))
action equal
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q15850590
action find_reverse_tuple_counts
relation P870
type Q34379
type Q9748
value 1
[ANSWERS] are used in exactly 1 theatrical genres or concertoes
[[{'concept': 'Q15850590'}, {'concept': 'Q9748'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?l = 1 ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?e WHERE { { ?m property:P870 ?e . ?e rdf:type ontology:Q34379 . ?m rdf:type ontology:Q15850590 } UNION { ?e rdf:type ontology:Q34379 . ?m rdf:type ontology:Q9748 . ?m property:P870 ?e } } GROUP BY ?e } }
viola cello
Viola and cello are used in exactly 1 theatrical genres or concertoes
viola cello
action equal
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type theatrical genre
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type concerto
value 1
[[{'concept': 'theatrical genre'}, {'concept': 'concerto'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?l = 1 ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?e WHERE { { ?m property:instrumentation ?e . ?e rdf:type ontology:musical_instrument . ?m rdf:type ontology:theatrical_genre } UNION { ?e rdf:type ontology:musical_instrument . ?m rdf:type ontology:concerto . ?m property:instrumentation ?e } } GROUP BY ?e } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q567331 Q187880
P138
Q2031291
USER
How many releases are the eponym of Louis d'Aurelle de Paladines or Excalibur ?
(c(Q2031291),P138,Q567331) (c(Q2031291),P138,Q187880)
action count
action union
action filter_type
action find_reverse
entity Q567331
relation P138
type Q2031291
action filter_type
action find_reverse
entity Q187880
relation P138
type Q2031291
[{'concept': 'Q2031291'}, 'P138', 'Q567331'] [{'concept': 'Q2031291'}, 'P138', 'Q187880']
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { ?j property:P138 resource:Q567331 . ?j rdf:type ontology:Q2031291 } UNION { ?j property:P138 resource:Q187880 . ?j rdf:type ontology:Q2031291 } }
Louis d'Aurelle de Paladines Excalibur
action count
action union
action filter_type
action find_reverse
entity Louis d'Aurelle de Paladines
relation named after
type release
action filter_type
action find_reverse
entity Excalibur
relation named after
type release
[{'concept': 'release'}, 'named after', "Louis d'Aurelle de Paladines"] [{'concept': 'release'}, 'named after', 'Excalibur']
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { ?j property:named_after resource:Louis_d'Aurelle_de_Paladines . ?j rdf:type ontology:release } UNION { ?j property:named_after resource:Excalibur . ?j rdf:type ontology:release } }
[]
release
SYSTEM
2
Q897752 Q5419352
(c(Q2031291),P138,Q567331) (c(Q2031291),P138,Q187880)
action count
action union
action filter_type
action find_reverse
entity Q567331
relation P138
type Q2031291
action filter_type
action find_reverse
entity Q187880
relation P138
type Q2031291
[ANSWER]
[{'concept': 'Q2031291'}, 'P138', 'Q567331'] [{'concept': 'Q2031291'}, 'P138', 'Q187880']
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { ?j property:P138 resource:Q567331 . ?j rdf:type ontology:Q2031291 } UNION { ?j property:P138 resource:Q187880 . ?j rdf:type ontology:Q2031291 } }
Excalibur Excalibur
2
action count
action union
action filter_type
action find_reverse
entity Louis d'Aurelle de Paladines
relation named after
type release
action filter_type
action find_reverse
entity Excalibur
relation named after
type release
[{'concept': 'release'}, 'named after', "Louis d'Aurelle de Paladines"] [{'concept': 'release'}, 'named after', 'Excalibur']
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { ?j property:named_after resource:Louis_d'Aurelle_de_Paladines . ?j rdf:type ontology:release } UNION { ?j property:named_after resource:Excalibur . ?j rdf:type ontology:release } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q426948
P180
Q34379 Q340169 Q1792379
USER
How many musical instruments are demonstrated in more number of medias and art genres than sistrum ?
(c(Q340169)|c(Q1792379),P180,c(Q34379))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q34379
type Q340169
action find_reverse_tuple_counts
relation P180
type Q34379
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q426948
relation P180
type Q340169
type Q1792379
[[{'concept': 'Q340169'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?j WHERE { { ?c property:P180 ?j . ?j rdf:type ontology:Q34379 . ?c rdf:type ontology:Q340169 } UNION { ?c property:P180 ?j . ?j rdf:type ontology:Q34379 . ?c rdf:type ontology:Q1792379 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:P180 resource:Q426948 . { { ?o rdf:type ontology:Q1792379 } UNION { ?o rdf:type ontology:Q340169 } } } } . FILTER ( ?k > ?n ) }
sistrum
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type musical instrument
type media
action find_reverse_tuple_counts
relation depicts
type musical instrument
type art genre
action count
action filter_multi_types
action find_reverse
entity sistrum
relation depicts
type media
type art genre
[[{'concept': 'media'}, {'concept': 'art genre'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?j WHERE { { ?c property:depicts ?j . ?j rdf:type ontology:musical_instrument . ?c rdf:type ontology:media } UNION { ?c property:depicts ?j . ?j rdf:type ontology:musical_instrument . ?c rdf:type ontology:art_genre } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:depicts resource:sistrum . { { ?o rdf:type ontology:art_genre } UNION { ?o rdf:type ontology:media } } } } . FILTER ( ?k > ?n ) }
[]
musical instrument media art genre
SYSTEM
3
Q80019 Q8355 Q11404
(c(Q340169)|c(Q1792379),P180,c(Q34379))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q34379
type Q340169
action find_reverse_tuple_counts
relation P180
type Q34379
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q426948
relation P180
type Q340169
type Q1792379
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?j WHERE { { ?c property:P180 ?j . ?j rdf:type ontology:Q34379 . ?c rdf:type ontology:Q340169 } UNION { ?c property:P180 ?j . ?j rdf:type ontology:Q34379 . ?c rdf:type ontology:Q1792379 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:P180 resource:Q426948 . { { ?o rdf:type ontology:Q1792379 } UNION { ?o rdf:type ontology:Q340169 } } } } . FILTER ( ?k > ?n ) }
double bass violin drum
3
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type musical instrument
type media
action find_reverse_tuple_counts
relation depicts
type musical instrument
type art genre
action count
action filter_multi_types
action find_reverse
entity sistrum
relation depicts
type media
type art genre
[[{'concept': 'media'}, {'concept': 'art genre'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?j WHERE { { ?c property:depicts ?j . ?j rdf:type ontology:musical_instrument . ?c rdf:type ontology:media } UNION { ?c property:depicts ?j . ?j rdf:type ontology:musical_instrument . ?c rdf:type ontology:art_genre } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:depicts resource:sistrum . { { ?o rdf:type ontology:art_genre } UNION { ?o rdf:type ontology:media } } } } . FILTER ( ?k > ?n ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q81982
P870
Q2342494 Q234460
USER
How many collectables or texts have harpsichord as a musical instrument ?
(c(Q2342494),P870,Q81982) (c(Q234460),P870,Q81982)
action count
action union
action filter_type
action find_reverse
entity Q81982
relation P870
type Q2342494
action filter_type
action find_reverse
entity Q81982
relation P870
type Q234460
[{'concept': 'Q2342494'}, 'P870', 'Q81982'] [{'concept': 'Q234460'}, 'P870', 'Q81982']
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { ?m property:P870 resource:Q81982 . ?m rdf:type ontology:Q2342494 } UNION { ?m property:P870 resource:Q81982 . ?m rdf:type ontology:Q234460 } }
harpsichord
action count
action union
action filter_type
action find_reverse
entity harpsichord
relation instrumentation
type collectable
action filter_type
action find_reverse
entity harpsichord
relation instrumentation
type text
[{'concept': 'collectable'}, 'instrumentation', 'harpsichord'] [{'concept': 'text'}, 'instrumentation', 'harpsichord']
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { ?m property:instrumentation resource:harpsichord . ?m rdf:type ontology:collectable } UNION { ?m property:instrumentation resource:harpsichord . ?m rdf:type ontology:text } }
[]
collectable text
SYSTEM
5
Q1341631 Q3331204 Q3680437 Q1421448 Q3817964
(c(Q2342494),P870,Q81982) (c(Q234460),P870,Q81982)
action count
action union
action filter_type
action find_reverse
entity Q81982
relation P870
type Q2342494
action filter_type
action find_reverse
entity Q81982
relation P870
type Q234460
[ANSWER]
[{'concept': 'Q2342494'}, 'P870', 'Q81982'] [{'concept': 'Q234460'}, 'P870', 'Q81982']
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { ?m property:P870 resource:Q81982 . ?m rdf:type ontology:Q2342494 } UNION { ?m property:P870 resource:Q81982 . ?m rdf:type ontology:Q234460 } }
Notebook for Anna Magdalena Bach My Ladye Nevells Booke Clement Matchett's Virginal Book Fitzwilliam Virginal Book L'art de toucher le clavecin
5
action count
action union
action filter_type
action find_reverse
entity harpsichord
relation instrumentation
type collectable
action filter_type
action find_reverse
entity harpsichord
relation instrumentation
type text
[{'concept': 'collectable'}, 'instrumentation', 'harpsichord'] [{'concept': 'text'}, 'instrumentation', 'harpsichord']
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { ?m property:instrumentation resource:harpsichord . ?m rdf:type ontology:collectable } UNION { ?m property:instrumentation resource:harpsichord . ?m rdf:type ontology:text } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q81982
P106
Q502895
USER
Which people have career as harpsichord ?
(c(Q502895),P106,Q81982)
action filter_type
action find_reverse
entity Q81982
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q81982']
SELECT DISTINCT ?h WHERE { ?h property:P106 resource:Q81982 . ?h rdf:type ontology:Q502895 }
harpsichord
action filter_type
action find_reverse
entity harpsichord
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'harpsichord']
SELECT DISTINCT ?h WHERE { ?h property:occupation resource:harpsichord . ?h rdf:type ontology:common_name }
[]
common name
Q710929 Q23014020
SYSTEM
Jan Křtitel Kuchař, Stefan Gottfried
Q710929 Q23014020
(c(Q502895),P106,Q81982)
action filter_type
action find_reverse
entity Q81982
relation P106
type Q502895
[ANSWERS] have career as harpsichord
[{'concept': 'Q502895'}, 'P106', 'Q81982']
SELECT DISTINCT ?h WHERE { ?h property:P106 resource:Q81982 . ?h rdf:type ontology:Q502895 }
Jan Křtitel Kuchař Stefan Gottfried
Jan Křtitel Kuchař and Stefan Gottfried have career as harpsichord
Jan Křtitel Kuchař Stefan Gottfried
action filter_type
action find_reverse
entity harpsichord
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'harpsichord']
SELECT DISTINCT ?h WHERE { ?h property:occupation resource:harpsichord . ?h rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q710929
P1066
Q502895
USER
Which person is a pupil of that one ?
(c(Q502895),P1066,Q710929)
action filter_type
action find_reverse
entity Q710929
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q710929']
SELECT DISTINCT ?b WHERE { ?b property:P1066 resource:Q710929 . ?b rdf:type ontology:Q502895 }
Jan Křtitel Kuchař
action filter_type
action find_reverse
entity Jan Křtitel Kuchař
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Jan Křtitel Kuchař']
SELECT DISTINCT ?b WHERE { ?b property:student_of resource:Jan_Křtitel_Kuchař . ?b rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q23014020
SYSTEM
Did you mean Stefan Gottfried ?
Q710929 Q23014020
(c(Q502895),P1066,Q710929) (c(Q502895),P1066,Q23014020)
[ANSWER]
[{'concept': 'Q502895'}, 'P1066', 'Q710929'] [{'concept': 'Q502895'}, 'P1066', 'Q23014020']
SELECT DISTINCT ?b WHERE { ?b property:P1066 resource:Q710929 . ?b rdf:type ontology:Q502895 }
Jan Křtitel Kuchař Stefan Gottfried
Did you mean Stefan Gottfried ?
Stefan Gottfried
[{'concept': 'common name'}, 'student of', 'Jan Křtitel Kuchař'] [{'concept': 'common name'}, 'student of', 'Stefan Gottfried']
SELECT DISTINCT ?b WHERE { ?b property:student_of resource:Jan_Křtitel_Kuchař . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Jan Křtitel Kuchař. Could you tell me the answer for that?
(c(Q502895),P1066,Q710929)
Q710929
[{'concept': 'Q502895'}, 'P1066', 'Q710929']
[{'concept': 'common name'}, 'student of', 'Jan Křtitel Kuchař']
[]
Q443519
SYSTEM
Wojciech Żywny
Q443519
(c(Q502895),P1066,Q710929)
action filter_type
action find_reverse
entity Q710929
relation P1066
type Q502895
[ANSWER] is a pupil of that one
[{'concept': 'Q502895'}, 'P1066', 'Q710929']
SELECT DISTINCT ?b WHERE { ?b property:P1066 resource:Q710929 . ?b rdf:type ontology:Q502895 }
Wojciech Żywny
Wojciech Żywny is a pupil of that one
Wojciech Żywny
action filter_type
action find_reverse
entity Jan Křtitel Kuchař
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Jan Křtitel Kuchař']
SELECT DISTINCT ?b WHERE { ?b property:student_of resource:Jan_Křtitel_Kuchař . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q443519
P1066
Q502895
USER
Which people are a pupil of that one ?
(c(Q502895),P1066,Q443519)
action filter_type
action find_reverse
entity Q443519
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q443519']
SELECT DISTINCT ?c WHERE { ?c property:P1066 resource:Q443519 . ?c rdf:type ontology:Q502895 }
Wojciech Żywny
action filter_type
action find_reverse
entity Wojciech Żywny
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Wojciech Żywny']
SELECT DISTINCT ?c WHERE { ?c property:student_of resource:Wojciech_Żywny . ?c rdf:type ontology:common_name }
[]
common name
Q1268 Q6699463
SYSTEM
Frédéric Chopin, Ludwika Jędrzejewicz
Q1268 Q6699463
(c(Q502895),P1066,Q443519)
action filter_type
action find_reverse
entity Q443519
relation P1066
type Q502895
[ANSWERS] are a pupil of that one
[{'concept': 'Q502895'}, 'P1066', 'Q443519']
SELECT DISTINCT ?c WHERE { ?c property:P1066 resource:Q443519 . ?c rdf:type ontology:Q502895 }
Frédéric Chopin Ludwika Jędrzejewicz
Frédéric Chopin and Ludwika Jędrzejewicz are a pupil of that one
Frédéric Chopin Ludwika Jędrzejewicz
action filter_type
action find_reverse
entity Wojciech Żywny
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Wojciech Żywny']
SELECT DISTINCT ?c WHERE { ?c property:student_of resource:Wojciech_Żywny . ?c rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6699463
P9
Q502895
USER
Which person has that one as their sibling ?
(c(Q502895),P9,Q6699463)
action filter_type
action find_reverse
entity Q6699463
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q6699463']
SELECT DISTINCT ?z WHERE { ?z property:P9 resource:Q6699463 . ?z rdf:type ontology:Q502895 }
Ludwika Jędrzejewicz
action filter_type
action find_reverse
entity Ludwika Jędrzejewicz
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Ludwika Jędrzejewicz']
SELECT DISTINCT ?z WHERE { ?z property:sister resource:Ludwika_Jędrzejewicz . ?z rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q6699463
SYSTEM
Did you mean Ludwika Jędrzejewicz ?
Q1268 Q6699463
(c(Q502895),P9,Q1268) (c(Q502895),P9,Q6699463)
[ANSWER]
[{'concept': 'Q502895'}, 'P9', 'Q1268'] [{'concept': 'Q502895'}, 'P9', 'Q6699463']
SELECT DISTINCT ?z WHERE { ?z property:P9 resource:Q6699463 . ?z rdf:type ontology:Q502895 }
Frédéric Chopin Ludwika Jędrzejewicz
Did you mean Ludwika Jędrzejewicz ?
Ludwika Jędrzejewicz
[{'concept': 'common name'}, 'sister', 'Frédéric Chopin'] [{'concept': 'common name'}, 'sister', 'Ludwika Jędrzejewicz']
SELECT DISTINCT ?z WHERE { ?z property:sister resource:Ludwika_Jędrzejewicz . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P9,Q6699463)
[{'concept': 'Q502895'}, 'P9', 'Q6699463']
[{'concept': 'common name'}, 'sister', 'Ludwika Jędrzejewicz']
[]
Q1268
SYSTEM
Frédéric Chopin
Q1268
(c(Q502895),P9,Q6699463)
action filter_type
action find_reverse
entity Q6699463
relation P9
type Q502895
[ANSWER] has that one as their sibling
[{'concept': 'Q502895'}, 'P9', 'Q6699463']
SELECT DISTINCT ?z WHERE { ?z property:P9 resource:Q6699463 . ?z rdf:type ontology:Q502895 }
Frédéric Chopin
Frédéric Chopin has that one as their sibling
Frédéric Chopin
action filter_type
action find_reverse
entity Ludwika Jędrzejewicz
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Ludwika Jędrzejewicz']
SELECT DISTINCT ?z WHERE { ?z property:sister resource:Ludwika_Jędrzejewicz . ?z rdf:type ontology:common_name }
[]