Simple Question (Direct)
Simple Question
Q461667
P26
Q502895
USER
Who are married to Philip II, Duke of Savoy ?
(Q461667,P26,c(Q502895))
action filter_type
action find
entity Q461667
relation P26
type Q502895
['Q461667', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q461667 property:P26 ?w . ?w rdf:type ontology:Q502895 }
Philip II, Duke of Savoy
action filter_type
action find
entity Philip II, Duke of Savoy
relation spouse
type common name
['Philip II, Duke of Savoy', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Philip_II,_Duke_of_Savoy property:spouse ?w . ?w rdf:type ontology:common_name }
[]
common name
Q45644 Q292205
SYSTEM
Claudine de Brosse, Marguerite de Bourbon
Q45644 Q292205
(Q461667,P26,c(Q502895))
action filter_type
action find
entity Q461667
relation P26
type Q502895
[ANSWERS] are married to Philip II, Duke of Savoy
['Q461667', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q461667 property:P26 ?w . ?w rdf:type ontology:Q502895 }
Claudine de Brosse Marguerite de Bourbon
Claudine de Brosse and Marguerite de Bourbon are married to Philip II, Duke of Savoy
Claudine de Brosse Marguerite de Bourbon
action filter_type
action find
entity Philip II, Duke of Savoy
relation spouse
type common name
['Philip II, Duke of Savoy', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Philip_II,_Duke_of_Savoy property:spouse ?w . ?w rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q292205
P40
Q502895
USER
Whose child are that one ?
(c(Q502895),P40,Q292205)
action filter_type
action find_reverse
entity Q292205
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q292205']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P40 resource:Q292205 }
Marguerite de Bourbon
action filter_type
action find_reverse
entity Marguerite de Bourbon
relation child
type common name
[{'concept': 'common name'}, 'child', 'Marguerite de Bourbon']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:child resource:Marguerite_de_Bourbon }
[]
common name
Clarification for simple ques.
Q45644
SYSTEM
Did you mean Claudine de Brosse ?
Q45644 Q292205
(c(Q502895),P40,Q45644) (c(Q502895),P40,Q292205)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q45644'] [{'concept': 'Q502895'}, 'P40', 'Q292205']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P40 resource:Q292205 }
Claudine de Brosse Marguerite de Bourbon
Did you mean Claudine de Brosse ?
Claudine de Brosse
[{'concept': 'common name'}, 'child', 'Claudine de Brosse'] [{'concept': 'common name'}, 'child', 'Marguerite de Bourbon']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:child resource:Marguerite_de_Bourbon }
[]
Simple Question (Coreferenced)
USER
No, I meant Marguerite de Bourbon. Could you tell me the answer for that?
(c(Q502895),P40,Q292205)
Q292205
[{'concept': 'Q502895'}, 'P40', 'Q292205']
[{'concept': 'common name'}, 'child', 'Marguerite de Bourbon']
[]
Q269783 Q692291
SYSTEM
Agnes of Burgundy, Duchess of Bourbon, Charles I, Duke of Bourbon
Q269783 Q692291
(c(Q502895),P40,Q292205)
action filter_type
action find_reverse
entity Q292205
relation P40
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P40', 'Q292205']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P40 resource:Q292205 }
Agnes of Burgundy, Duchess of Bourbon Charles I, Duke of Bourbon
Agnes of Burgundy, Duchess of Bourbon and Charles I, Duke of Bourbon are that one
Agnes of Burgundy, Duchess of Bourbon Charles I, Duke of Bourbon
action filter_type
action find_reverse
entity Marguerite de Bourbon
relation child
type common name
[{'concept': 'common name'}, 'child', 'Marguerite de Bourbon']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:child resource:Marguerite_de_Bourbon }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q16155191
P1303
Q34379 Q502895
USER
How many musical instruments can lesser number of people perform with than Saraswati veena ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q16155191
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:P1303 ?d . ?g rdf:type ontology:Q502895 . ?d rdf:type ontology:Q34379 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { ?h property:P1303 resource:Q16155191 . ?h rdf:type ontology:Q502895 } } . FILTER ( ?m < ?e ) }
Saraswati veena
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Saraswati veena
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:instrument ?d . ?g rdf:type ontology:common_name . ?d rdf:type ontology:musical_instrument } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { ?h property:instrument resource:Saraswati_veena . ?h rdf:type ontology:common_name } } . FILTER ( ?m < ?e ) }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q16155191
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:P1303 ?d . ?g rdf:type ontology:Q502895 . ?d rdf:type ontology:Q34379 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { ?h property:P1303 resource:Q16155191 . ?h rdf:type ontology:Q502895 } } . FILTER ( ?m < ?e ) }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Saraswati veena
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:instrument ?d . ?g rdf:type ontology:common_name . ?d rdf:type ontology:musical_instrument } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { ?h property:instrument resource:Saraswati_veena . ?h rdf:type ontology:common_name } } . FILTER ( ?m < ?e ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q461667
P53
Q8436
USER
What is the family that Philip II, Duke of Savoy belongs to ?
(Q461667,P53,c(Q8436))
action filter_type
action find
entity Q461667
relation P53
type Q8436
['Q461667', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?y WHERE { resource:Q461667 property:P53 ?y . ?y rdf:type ontology:Q8436 }
Philip II, Duke of Savoy
action filter_type
action find
entity Philip II, Duke of Savoy
relation noble family
type family
['Philip II, Duke of Savoy', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?y WHERE { resource:Philip_II,_Duke_of_Savoy property:noble_family ?y . ?y rdf:type ontology:family }
[]
family
Q200229
SYSTEM
House of Savoy
Q200229
(Q461667,P53,c(Q8436))
action filter_type
action find
entity Q461667
relation P53
type Q8436
The family that Philip II , Duke of Savoy belongs to is the [ANSWER]
['Q461667', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?y WHERE { resource:Q461667 property:P53 ?y . ?y rdf:type ontology:Q8436 }
House of Savoy
The family that Philip II , Duke of Savoy belongs to is the House of Savoy
House of Savoy
action filter_type
action find
entity Philip II, Duke of Savoy
relation noble family
type family
['Philip II, Duke of Savoy', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?y WHERE { resource:Philip_II,_Duke_of_Savoy property:noble_family ?y . ?y rdf:type ontology:family }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q461667
P166
Q2003221
USER
Which chivalric order was that person awarded with ?
(Q200229,P166,c(Q2003221))
action filter_type
action find
entity Q461667
relation P166
type Q2003221
['Q200229', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q2003221 . resource:Q461667 property:P166 ?j }
Philip II, Duke of Savoy
action filter_type
action find
entity Philip II, Duke of Savoy
relation award received
type chivalric order
['House of Savoy', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:chivalric_order . resource:Philip_II,_Duke_of_Savoy property:award_received ?j }
[]
chivalric order
Q15117228
SYSTEM
Knight of the Order of the Golden Fleece
Q15117228
(Q200229,P166,c(Q2003221))
action filter_type
action find
entity Q461667
relation P166
type Q2003221
That person was awarded [ANSWER]
['Q200229', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q2003221 . resource:Q461667 property:P166 ?j }
Knight of the Order of the Golden Fleece
That person was awarded Knight of the Order of the Golden Fleece
Knight of the Order of the Golden Fleece
action filter_type
action find
entity Philip II, Duke of Savoy
relation award received
type chivalric order
['House of Savoy', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:chivalric_order . resource:Philip_II,_Duke_of_Savoy property:award_received ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q461667
P140
Q879146
USER
Which Christian denomination does that person relate to ?
(Q15117228,P140,c(Q879146))
action filter_type
action find
entity Q461667
relation P140
type Q879146
['Q15117228', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?a WHERE { resource:Q461667 property:P140 ?a . ?a rdf:type ontology:Q879146 }
Philip II, Duke of Savoy
action filter_type
action find
entity Philip II, Duke of Savoy
relation religion
type Christian denomination
['Knight of the Order of the Golden Fleece', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?a WHERE { resource:Philip_II,_Duke_of_Savoy property:religion ?a . ?a rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q15117228,P140,c(Q879146))
action filter_type
action find
entity Q461667
relation P140
type Q879146
That person relates to [ANSWER]
['Q15117228', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?a WHERE { resource:Q461667 property:P140 ?a . ?a rdf:type ontology:Q879146 }
Roman Catholic Church
That person relates to Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Philip II, Duke of Savoy
relation religion
type Christian denomination
['Knight of the Order of the Golden Fleece', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?a WHERE { resource:Philip_II,_Duke_of_Savoy property:religion ?a . ?a rdf:type ontology:Christian_denomination }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q461667
P7
Q502895
USER
Who are siblings of that one ?
(c(Q502895),P7,Q9592)
action filter_type
action find_reverse
entity Q461667
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q9592']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P7 resource:Q461667 }
Philip II, Duke of Savoy
action filter_type
action find_reverse
entity Philip II, Duke of Savoy
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Roman Catholic Church']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:brother resource:Philip_II,_Duke_of_Savoy }
[]
common name
Q373236 Q231559 Q2721001
SYSTEM
Amadeus IX, Duke of Savoy, Charlotte of Savoy, Bona of Savoy
Q2721001 Q1449991 Q3847630 Q3846996 Q373236 Q2628134 Q231559 Q672446
(c(Q502895),P7,Q9592)
action filter_type
action find_reverse
entity Q461667
relation P7
type Q502895
Siblings of that one are Charles [ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q9592']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P7 resource:Q461667 }
Bona of Savoy François de Savoie Marie of Savoy, Countess of Saint-Pol Margaret of Savoy, Countess of Saint-Pol Amadeus IX, Duke of Savoy Janus of Savoy Charlotte of Savoy Louis of Cyprus
Siblings of that one are Charles Amadeus IX, Duke of Savoy, Charlotte of Savoy and Bona of Savoy
Amadeus IX, Duke of Savoy Charlotte of Savoy Bona of Savoy
action filter_type
action find_reverse
entity Philip II, Duke of Savoy
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Roman Catholic Church']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:brother resource:Philip_II,_Duke_of_Savoy }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q373236 Q2502270
P26
Q502895
USER
How many people are married to Amadeus IX, Duke of Savoy or House of Thani ?
(c(Q502895),P26,Q373236) (c(Q502895),P26,Q2502270)
action count
action union
action filter_type
action find_reverse
entity Q373236
relation P26
type Q502895
action filter_type
action find_reverse
entity Q2502270
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q373236'] [{'concept': 'Q502895'}, 'P26', 'Q2502270']
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { { ?d property:P26 resource:Q373236 . ?d rdf:type ontology:Q502895 } UNION { ?d rdf:type ontology:Q502895 . ?d property:P26 resource:Q2502270 } }
Amadeus IX, Duke of Savoy House of Thani
action count
action union
action filter_type
action find_reverse
entity Amadeus IX, Duke of Savoy
relation spouse
type common name
action filter_type
action find_reverse
entity House of Thani
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Amadeus IX, Duke of Savoy'] [{'concept': 'common name'}, 'spouse', 'House of Thani']
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { { ?d property:spouse resource:Amadeus_IX,_Duke_of_Savoy . ?d rdf:type ontology:common_name } UNION { ?d rdf:type ontology:common_name . ?d property:spouse resource:House_of_Thani } }
[]
common name
SYSTEM
2
Q4116065 Q261082
(c(Q502895),P26,Q373236) (c(Q502895),P26,Q2502270)
action count
action union
action filter_type
action find_reverse
entity Q373236
relation P26
type Q502895
action filter_type
action find_reverse
entity Q2502270
relation P26
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q373236'] [{'concept': 'Q502895'}, 'P26', 'Q2502270']
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { { ?d property:P26 resource:Q373236 . ?d rdf:type ontology:Q502895 } UNION { ?d rdf:type ontology:Q502895 . ?d property:P26 resource:Q2502270 } }
Abdullah bin Jassim Al Thani Yolande of Valois
2
action count
action union
action filter_type
action find_reverse
entity Amadeus IX, Duke of Savoy
relation spouse
type common name
action filter_type
action find_reverse
entity House of Thani
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Amadeus IX, Duke of Savoy'] [{'concept': 'common name'}, 'spouse', 'House of Thani']
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { { ?d property:spouse resource:Amadeus_IX,_Duke_of_Savoy . ?d rdf:type ontology:common_name } UNION { ?d rdf:type ontology:common_name . ?d property:spouse resource:House_of_Thani } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by max number of people ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?b ) { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?a ) WHERE { ?z property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?g } } . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?c ) WHERE { ?d property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?k } . FILTER ( ?c = ?b ) }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?b ) { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?a ) WHERE { ?z property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?g } } . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?c ) WHERE { ?d property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?k } . FILTER ( ?c = ?b ) }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[ANSWER] is played by max number of people
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?b ) { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?a ) WHERE { ?z property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?g } } . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?c ) WHERE { ?d property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?k } . FILTER ( ?c = ?b ) }
piano
Piano is played by max number of people
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?b ) { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?a ) WHERE { ?z property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?g } } . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?c ) WHERE { ?d property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?k } . FILTER ( ?c = ?b ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5994
P870
Q9748
USER
Which concertoes use that musical instrument as a musical instrument ?
(c(Q9748),P870,Q5994)
action filter_type
action find_reverse
entity Q5994
relation P870
type Q9748
[{'concept': 'Q9748'}, 'P870', 'Q5994']
SELECT DISTINCT ?l WHERE { ?l property:P870 resource:Q5994 . ?l rdf:type ontology:Q9748 }
piano
action filter_type
action find_reverse
entity piano
relation instrumentation
type concerto
[{'concept': 'concerto'}, 'instrumentation', 'piano']
SELECT DISTINCT ?l WHERE { ?l property:instrumentation resource:piano . ?l rdf:type ontology:concerto }
[]
concerto
Q7190105 Q162884 Q210210
SYSTEM
Piano Concerto No. 2, Concerto for Piano and Orchestra no. 1 in E minor, op. 11, Concerto for Piano and Orchestra no. 2 in F minor, op. 21
Q1399065 Q5162287 Q166179 Q383974 Q250217 Q2654296 Q4928804 Q246027 Q166173 Q2489998 Q166547 Q11331300 Q162898 Q239683 Q7190105 Q7190103 Q133409 Q1330443 Q17231958 Q19921711 Q489987 Q210203 Q210224 Q210226 Q223331 Q2159797 Q223333 Q7190096 Q223334 Q174884 Q210208 Q769353 Q517285 Q7190092 Q162904 Q7190101 Q230772 Q2991854 Q2599224 Q162868 Q5283952 Q210991 Q650471 Q14613445 Q162876 Q223338 Q2766613 Q239700 Q5162281 Q4736517 Q2502296 Q7190099 Q1317658 Q932649 Q162884 Q166288 Q7661430 Q166293 Q239698 Q7190100 Q210195 Q1783676 Q210210 Q1122361 Q210212 Q210213 Q2991806 Q2640967 Q210219 Q210230 Q2468854 Q7190090 Q162911 Q1995220 Q7190094 Q162915 Q2159788 Q162935 Q223329 Q162918 Q1939070 Q3192460 Q162855
(c(Q9748),P870,Q5994)
action filter_type
action find_reverse
entity Q5994
relation P870
type Q9748
[ANSWERS]
[{'concept': 'Q9748'}, 'P870', 'Q5994']
SELECT DISTINCT ?l WHERE { ?l property:P870 resource:Q5994 . ?l rdf:type ontology:Q9748 }
Piano Concerto Piano Concerto Piano Concerto Piano Concerto Hungarian Fantasy Konzertstück in F minor Blue Piano Concerto No. 6 (Mozart) Rondo for piano and orchestra Concerto for Violin, Piano, and Orchestra Piano Concerto No. 3 Piano Concerto Piano Concerto No. 1 Piano Concerto No. 5 (Mozart) Piano Concerto No. 2 Piano Concerto No. 2 Piano Concerto No. 3 Rhapsody on a Theme of Paganini Piano Concerto (Paderewski) Piano Concerto in C-sharp Minor, Op. 45 Andante and Finale Piano Concerto No. 2 Piano Concerto No. 2 Piano Concerto No. 2 Piano Concerto No. 3 Concerto for Two Pianos and Orchestra in A-flat major Piano Concerto No. 3 Piano Concerto No. 1 Piano Concerto No. 3 Piano Concerto Piano Concerto No. 2 Bachianas Brasileiras Yellow River Piano Concerto Piano Concerto Piano Concerto No. 1 (Mozart) Piano Concerto No. 2 Piano Concerto No. 4 Piano Concerto No. 4 Burleske Piano Concerto No. 1 (Beethoven) Diversions for Piano Left Hand and Orchestra Piano Concerto No. 20 (Mozart) Piano Concerto for the Left Hand Fantaisie for piano and orchestra Piano Concerto No. 1 (Brahms) Piano Concerto No. 3 Piano concerto for two pianos Piano Concerto No. 5 Piano Concerto No.3 Lousadzak Concert Fantasia Piano Concerto No. 1 Concerto in F Piano Concerto No. 3 Concerto for Piano and Orchestra no. 1 in E minor, op. 11 Concerto for Two Pianos and Orchestra Symphonic Variations Piano Concerto No. 2 Piano Concerto No. 5 (Saint-Saëns) Piano Concerto No. 1 Piano Concerto No. 2 Concerto for Two Pianos and Orchestra Concerto for Piano and Orchestra no. 2 in F minor, op. 21 Choral Fantasy Piano Concerto No. 2 Piano Concerto No. 2 Piano Concerto Piano Concerto in C (Anderson) Piano Concerto No. 2 Piano Concerto No. 2 Piano Concerto No. 6 Piano Concerto Piano Concerto No. 1 Nights in the Gardens of Spain Piano Concerto Piano Concerto No. 1 Concerto for Two Pianos and Orchestra in E major Piano Concerto No. 1 Piano Concerto No. 3 Piano Concerto No. 1 (Saint-Saëns) Piano Concerto Kammerkonzert Piano Concerto No. 1
Piano Concerto No. 2, Concerto for Piano and Orchestra no. 1 in E minor, op. 11 and Concerto for Piano and Orchestra no. 2 in F minor, op. 21 use that musical instrument as a musical instrument
Piano Concerto No. 2 Concerto for Piano and Orchestra no. 1 in E minor, op. 11 Concerto for Piano and Orchestra no. 2 in F minor, op. 21
action filter_type
action find_reverse
entity piano
relation instrumentation
type concerto
[{'concept': 'concerto'}, 'instrumentation', 'piano']
SELECT DISTINCT ?l WHERE { ?l property:instrumentation resource:piano . ?l rdf:type ontology:concerto }
[]
Clarification
Simple Question|Single Entity|Indirect
Q162884
P361
Q207628
USER
What is that concerto a portion of ?
(Q162884,P361,c(Q207628))
action filter_type
action find
entity Q162884
relation P361
type Q207628
['Q162884', 'P361', {'concept': 'Q207628'}]
SELECT DISTINCT ?e WHERE { resource:Q162884 property:P361 ?e . ?e rdf:type ontology:Q207628 }
Concerto for Piano and Orchestra no. 1 in E minor, op. 11
action filter_type
action find
entity Concerto for Piano and Orchestra no. 1 in E minor, op. 11
relation part of
type musical composition
['Concerto for Piano and Orchestra no. 1 in E minor, op. 11', 'part of', {'concept': 'musical composition'}]
SELECT DISTINCT ?e WHERE { resource:Concerto_for_Piano_and_Orchestra_no._1_in_E_minor,_op._11 property:part_of ?e . ?e rdf:type ontology:musical_composition }
[]
musical composition
Clarification for simple ques.
Q162884
SYSTEM
Did you mean Concerto for Piano and Orchestra no. 1 in E minor, op. 11 ?
Q7190105 Q162884 Q210210
(Q7190105,P361,c(Q207628)) (Q162884,P361,c(Q207628)) (Q210210,P361,c(Q207628))
[ANSWER]
['Q7190105', 'P361', {'concept': 'Q207628'}] ['Q162884', 'P361', {'concept': 'Q207628'}] ['Q210210', 'P361', {'concept': 'Q207628'}]
SELECT DISTINCT ?e WHERE { resource:Q162884 property:P361 ?e . ?e rdf:type ontology:Q207628 }
Piano Concerto No. 2 Concerto for Piano and Orchestra no. 1 in E minor, op. 11 Concerto for Piano and Orchestra no. 2 in F minor, op. 21
Did you mean Concerto for Piano and Orchestra no. 1 in E minor, op. 11 ?
Concerto for Piano and Orchestra no. 1 in E minor, op. 11
['Piano Concerto No. 2', 'part of', {'concept': 'musical composition'}] ['Concerto for Piano and Orchestra no. 1 in E minor, op. 11', 'part of', {'concept': 'musical composition'}] ['Concerto for Piano and Orchestra no. 2 in F minor, op. 21', 'part of', {'concept': 'musical composition'}]
SELECT DISTINCT ?e WHERE { resource:Concerto_for_Piano_and_Orchestra_no._1_in_E_minor,_op._11 property:part_of ?e . ?e rdf:type ontology:musical_composition }
[]
Simple Question (Coreferenced)
USER
Yes
(Q162884,P361,c(Q207628))
['Q162884', 'P361', {'concept': 'Q207628'}]
['Concerto for Piano and Orchestra no. 1 in E minor, op. 11', 'part of', {'concept': 'musical composition'}]
[]
Q16766317
SYSTEM
Works for Piano and Orchestra
Q16766317
(Q162884,P361,c(Q207628))
action filter_type
action find
entity Q162884
relation P361
type Q207628
Symphony [ANSWER] that is concerto a portion
['Q162884', 'P361', {'concept': 'Q207628'}]
SELECT DISTINCT ?e WHERE { resource:Q162884 property:P361 ?e . ?e rdf:type ontology:Q207628 }
Works for Piano and Orchestra
Symphony Works for Piano and Orchestra that is concerto a portion
Works for Piano and Orchestra
action filter_type
action find
entity Concerto for Piano and Orchestra no. 1 in E minor, op. 11
relation part of
type musical composition
['Concerto for Piano and Orchestra no. 1 in E minor, op. 11', 'part of', {'concept': 'musical composition'}]
SELECT DISTINCT ?e WHERE { resource:Concerto_for_Piano_and_Orchestra_no._1_in_E_minor,_op._11 property:part_of ?e . ?e rdf:type ontology:musical_composition }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q16766317 Q1106321
P361
Q7725634
USER
How many literary works are a part of Works for Piano and Orchestra or Codex Tchacos ?
(c(Q7725634),P361,Q16766317) (c(Q7725634),P361,Q1106321)
action count
action union
action filter_type
action find_reverse
entity Q16766317
relation P361
type Q7725634
action filter_type
action find_reverse
entity Q1106321
relation P361
type Q7725634
[{'concept': 'Q7725634'}, 'P361', 'Q16766317'] [{'concept': 'Q7725634'}, 'P361', 'Q1106321']
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { ?d property:P361 ?n . VALUES ( ?n ) { ( resource:Q16766317 ) ( resource:Q1106321 ) } }
Works for Piano and Orchestra Codex Tchacos
action count
action union
action filter_type
action find_reverse
entity Works for Piano and Orchestra
relation part of
type literary work
action filter_type
action find_reverse
entity Codex Tchacos
relation part of
type literary work
[{'concept': 'literary work'}, 'part of', 'Works for Piano and Orchestra'] [{'concept': 'literary work'}, 'part of', 'Codex Tchacos']
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { ?d property:part_of ?n . VALUES ( ?n ) { ( resource:Works_for_Piano_and_Orchestra ) ( resource:Codex_Tchacos ) } }
[]
literary work
SYSTEM
3
Q654008 Q185129 Q1292915
(c(Q7725634),P361,Q16766317) (c(Q7725634),P361,Q1106321)
action count
action union
action filter_type
action find_reverse
entity Q16766317
relation P361
type Q7725634
action filter_type
action find_reverse
entity Q1106321
relation P361
type Q7725634
[ANSWER]
[{'concept': 'Q7725634'}, 'P361', 'Q16766317'] [{'concept': 'Q7725634'}, 'P361', 'Q1106321']
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { ?d property:P361 ?n . VALUES ( ?n ) { ( resource:Q16766317 ) ( resource:Q1106321 ) } }
Letter of Peter to Philip Gospel of Judas First Apocalypse of James
3
action count
action union
action filter_type
action find_reverse
entity Works for Piano and Orchestra
relation part of
type literary work
action filter_type
action find_reverse
entity Codex Tchacos
relation part of
type literary work
[{'concept': 'literary work'}, 'part of', 'Works for Piano and Orchestra'] [{'concept': 'literary work'}, 'part of', 'Codex Tchacos']
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { ?d property:part_of ?n . VALUES ( ?n ) { ( resource:Works_for_Piano_and_Orchestra ) ( resource:Codex_Tchacos ) } }
[]