Simple Question (Direct)
Simple Question
Q491772
P264
Q334453
USER
Which division sponsored the recording of John Dolmayan ?
(Q491772,P264,c(Q334453))
action filter_type
action find
entity Q491772
relation P264
type Q334453
['Q491772', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?a WHERE { resource:Q491772 property:P264 ?a . ?a rdf:type ontology:Q334453 }
John Dolmayan
action filter_type
action find
entity John Dolmayan
relation record label
type division
['John Dolmayan', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?a WHERE { resource:John_Dolmayan property:record_label ?a . ?a rdf:type ontology:division }
[]
division
Q231694
SYSTEM
Interscope Records
Q231694
(Q491772,P264,c(Q334453))
action filter_type
action find
entity Q491772
relation P264
type Q334453
Records [ANSWER] sponsored the recording of John Dolmayan
['Q491772', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?a WHERE { resource:Q491772 property:P264 ?a . ?a rdf:type ontology:Q334453 }
Interscope Records
Records Interscope Records sponsored the recording of John Dolmayan
Interscope Records
action filter_type
action find
entity John Dolmayan
relation record label
type division
['John Dolmayan', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?a WHERE { resource:John_Dolmayan property:record_label ?a . ?a rdf:type ontology:division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q231694
P112
Q502895
USER
Who were the founders of that division ?
(Q231694,P112,c(Q502895))
action filter_type
action find
entity Q231694
relation P112
type Q502895
['Q231694', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q231694 property:P112 ?m . ?m rdf:type ontology:Q502895 }
Interscope Records
action filter_type
action find
entity Interscope Records
relation founder
type common name
['Interscope Records', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Interscope_Records property:founder ?m . ?m rdf:type ontology:common_name }
[]
common name
Q7693189 Q718427
SYSTEM
Ted Field, Jimmy Iovine
Q7693189 Q718427
(Q231694,P112,c(Q502895))
action filter_type
action find
entity Q231694
relation P112
type Q502895
The founders of that division were both [ANSWERS]
['Q231694', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q231694 property:P112 ?m . ?m rdf:type ontology:Q502895 }
Ted Field Jimmy Iovine
The founders of that division were both Ted Field and Jimmy Iovine
Ted Field Jimmy Iovine
action filter_type
action find
entity Interscope Records
relation founder
type common name
['Interscope Records', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Interscope_Records property:founder ?m . ?m rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atleast 1509 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1509
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:P1303 ?e . ?q rdf:type ontology:Q502895 . ?e rdf:type ontology:Q34379 } GROUP BY ?e } . FILTER ( ?n >= 1509 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1509
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:instrument ?e . ?q rdf:type ontology:common_name . ?e rdf:type ontology:musical_instrument } GROUP BY ?e } . FILTER ( ?n >= 1509 ) }
[]
musical instrument common name
Q5994 Q8338 Q8355
SYSTEM
piano, trumpet, violin
Q5994 Q8338 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1509
[ANSWERS] can atleast 1509 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:P1303 ?e . ?q rdf:type ontology:Q502895 . ?e rdf:type ontology:Q34379 } GROUP BY ?e } . FILTER ( ?n >= 1509 ) }
piano trumpet violin organ drum kit
Piano, trumpet and violin can atleast 1509 people perform with
piano trumpet violin
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1509
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:instrument ?e . ?q rdf:type ontology:common_name . ?e rdf:type ontology:musical_instrument } GROUP BY ?e } . FILTER ( ?n >= 1509 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5994 Q8338 Q8355
P870
Q188451
USER
Which music genres have piano, trumpet and violin as a musical instrument ?
(c(Q188451),P870,Q5994) (c(Q188451),P870,Q8338) (c(Q188451),P870,Q8355)
action union
action filter_type
action find_reverse
entity Q5994
relation P870
type Q188451
action filter_type
action find_reverse
entity Q8338
relation P870
type Q188451
action filter_type
action find_reverse
entity Q8355
relation P870
type Q188451
[{'concept': 'Q188451'}, 'P870', 'Q5994'] [{'concept': 'Q188451'}, 'P870', 'Q8338'] [{'concept': 'Q188451'}, 'P870', 'Q8355']
SELECT DISTINCT ?q WHERE { VALUES ( ?k ) { ( resource:Q8338 ) ( resource:Q5994 ) } . ?q property:P870 ?k }
piano trumpet violin
action union
action filter_type
action find_reverse
entity piano
relation instrumentation
type music genre
action filter_type
action find_reverse
entity trumpet
relation instrumentation
type music genre
action filter_type
action find_reverse
entity violin
relation instrumentation
type music genre
[{'concept': 'music genre'}, 'instrumentation', 'piano'] [{'concept': 'music genre'}, 'instrumentation', 'trumpet'] [{'concept': 'music genre'}, 'instrumentation', 'violin']
SELECT DISTINCT ?q WHERE { VALUES ( ?k ) { ( resource:trumpet ) ( resource:piano ) } . ?q property:instrumentation ?k }
[]
music genre
Q1154601 Q669358 Q1154601
SYSTEM
Violin Sonata No. 5 for 2nd, Violin Sonata No. 9 for 1st, 3rd
Q2457349 Q146423 Q5903984 Q550350 Q1999051 Q2375280 Q3490252 Q1635731 Q3540015 Q3066529 Q1300778 Q1271144 Q3490268 Q1635740 Q3490212 Q3490207 Q3490205 Q2270897 Q3490238 Q1635353 Q3490221 Q2252472 Q3069033 Q3393250 Q15975837 Q2719749 Q3069060 Q1489755 Q3069052 Q1395862 Q15632116 Q2269974 Q831870 Q54080 Q3490122 Q3490133 Q2212571 Q3073254 Q3490184 Q3490181 Q3490199 Q3490195 Q3133281 Q1546995 Q1067735 Q2352641 Q428956 Q2719264 Q15975838 Q1053078 Q15975840 Q5058312 Q3490084 Q3490081 Q2412736 Q1890794 Q4428775 Q2735761 Q1154601 Q669358 Q264268 Q1053089 Q146492 Q2181451 Q3490213 Q1892808 Q771591 Q20646569 Q20646570 Q2457349 Q550350 Q2375280 Q1635731 Q20646571 Q1300778 Q1271144 Q3490268 Q1635740 Q3490212 Q3490207 Q3490205 Q2270897 Q1635353 Q3490221 Q2252472 Q3069033 Q2719749 Q3069060 Q3069052 Q15632116 Q2269974 Q3490122 Q3073254 Q3490184 Q3490181 Q3490199 Q3490195 Q3133281 Q7933385 Q1067735 Q2352641 Q428956 Q2412736 Q4428775 Q1154601 Q669358 Q264268 Q3490251 Q2181451 Q3490213 Q1892808
(c(Q188451),P870,Q5994) (c(Q188451),P870,Q8338) (c(Q188451),P870,Q8355)
action union
action filter_type
action find_reverse
entity Q5994
relation P870
type Q188451
action filter_type
action find_reverse
entity Q8338
relation P870
type Q188451
action filter_type
action find_reverse
entity Q8355
relation P870
type Q188451
[ANSWERS]
[{'concept': 'Q188451'}, 'P870', 'Q5994'] [{'concept': 'Q188451'}, 'P870', 'Q8338'] [{'concept': 'Q188451'}, 'P870', 'Q8355']
SELECT DISTINCT ?q WHERE { VALUES ( ?k ) { ( resource:Q8338 ) ( resource:Q5994 ) } . ?q property:P870 ?k }
Violin Sonata No. 1 Piano Sonata No. 20 Horn Sonata Violin Sonata No. 28 clarinet sonata Violin Sonata in F major (Mendelssohn) Oboe Sonata Violin Sonata No. 1 Trois morceaux en forme de poire Fantaisie in F minor Violin Sonata No. 8 Violin Sonata No. 3 Violin Sonata in A Violin Sonata No. 4 Violin Sonata No. 3 Violin Sonata No. 2 Violin Sonata No. 1 F-A-E Sonata Cello Sonata No. 1 (Fauré) Violin Sonata No. 2 Violin Sonatas Violin Sonata No. 29 Violin Sonata No. 33 Pohádka Sonata in C minor, D. 958 Violin Sonata Violin Sonata No. 35 Oboe Sonata Violin Sonata No. 27 Fantasie in C Violin Sonata No. 25 Phantasy for Violin and Piano Sonata for Two Pianos and Percussion Viola Sonata Violin Sonata Piano Sonata No. 1 (Schumann) Sonate for piano (Dutilleux) Violin Sonata No. 1 Violin Sonata No. 24 Violin Sonata in F minor Violin Sonata Violin Sonata Violin Sonata No. 32 piano sonata Violin Sonata No. 10 Violin Sonata No. 2 Violin Sonata No. 6 Sonatas and Interludes Sonata in A major, D. 959 Cello Sonatas Nos. 1 and 2 Sonata in B-flat major, D. 960 Cello Sonata Sonata for Clarinet and Piano Viola Sonata (Shostakovich) Violin Sonata in F major (Mendelssohn) The Entertainer Violin Sonata Sonata for Two Pianos Violin Sonata No. 9 Violin Sonata No. 5 Violin Sonata No. 2 Cello Sonatas Nos. 4 and 5 Piano Sonatas Nos. 19 and 20 Violin Sonata Violin Sonata No. 3 Violin Sonata No. 7 Sonata for Horn, Trumpet, and Trombone Sonata No. 1 in G minor, BWV 1001 Sonata No. 2 in A minor, BWV 1003 Violin Sonata No. 1 Violin Sonata No. 28 Violin Sonata in F major (Mendelssohn) Violin Sonata No. 1 Sonata No. 3 in C major, BWV 1005 Violin Sonata No. 8 Violin Sonata No. 3 Violin Sonata in A Violin Sonata No. 4 Violin Sonata No. 3 Violin Sonata No. 2 Violin Sonata No. 1 F-A-E Sonata Violin Sonata No. 2 Violin Sonatas Violin Sonata No. 29 Violin Sonata No. 33 Violin Sonata Violin Sonata No. 35 Violin Sonata No. 27 Violin Sonata No. 25 Phantasy for Violin and Piano Violin Sonata Violin Sonata No. 1 Violin Sonata No. 24 Violin Sonata in F minor Violin Sonata Violin Sonata Violin Sonata No. 32 Violin sonata Violin Sonata No. 10 Violin Sonata No. 2 Violin Sonata No. 6 Violin Sonata in F major (Mendelssohn) Violin Sonata Violin Sonata No. 9 Violin Sonata No. 5 Violin Sonata No. 2 Rosary Sonatas Violin Sonata Violin Sonata No. 3 Violin Sonata No. 7
Violin Sonata No. 9, Violin Sonata No. 5 and Violin Sonata No. 9 have piano, trumpet and violin as a musical instrument
Violin Sonata No. 9 Violin Sonata No. 5 Violin Sonata No. 9
action union
action filter_type
action find_reverse
entity piano
relation instrumentation
type music genre
action filter_type
action find_reverse
entity trumpet
relation instrumentation
type music genre
action filter_type
action find_reverse
entity violin
relation instrumentation
type music genre
[{'concept': 'music genre'}, 'instrumentation', 'piano'] [{'concept': 'music genre'}, 'instrumentation', 'trumpet'] [{'concept': 'music genre'}, 'instrumentation', 'violin']
SELECT DISTINCT ?q WHERE { VALUES ( ?k ) { ( resource:trumpet ) ( resource:piano ) } . ?q property:instrumentation ?k }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1154601
P825
Q502895
USER
Which person is that music genre dedicated to ?
(Q1154601,P825,c(Q502895))
action filter_type
action find
entity Q1154601
relation P825
type Q502895
['Q1154601', 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q1154601 property:P825 ?m }
Violin Sonata No. 9
action filter_type
action find
entity Violin Sonata No. 9
relation dedicated to
type common name
['Violin Sonata No. 9', 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Violin_Sonata_No._9 property:dedicated_to ?m }
[]
common name
Clarification for simple ques.
Q669358
SYSTEM
Did you mean Violin Sonata No. 5 ?
Q1154601 Q669358 Q1154601
(Q1154601,P825,c(Q502895)) (Q669358,P825,c(Q502895)) (Q1154601,P825,c(Q502895))
[ANSWER]
['Q1154601', 'P825', {'concept': 'Q502895'}] ['Q669358', 'P825', {'concept': 'Q502895'}] ['Q1154601', 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q1154601 property:P825 ?m }
Violin Sonata No. 9 Violin Sonata No. 5 Violin Sonata No. 9
Did you mean Violin Sonata No. 5 ?
Violin Sonata No. 5
['Violin Sonata No. 9', 'dedicated to', {'concept': 'common name'}] ['Violin Sonata No. 5', 'dedicated to', {'concept': 'common name'}] ['Violin Sonata No. 9', 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Violin_Sonata_No._9 property:dedicated_to ?m }
[]
Simple Question (Coreferenced)
USER
No, I meant Violin Sonata No. 9. Could you tell me the answer for that?
(Q1154601,P825,c(Q502895))
Q1154601
['Q1154601', 'P825', {'concept': 'Q502895'}]
['Violin Sonata No. 9', 'dedicated to', {'concept': 'common name'}]
[]
Q336692
SYSTEM
Rodolphe Kreutzer
Q336692
(Q1154601,P825,c(Q502895))
action filter_type
action find
entity Q1154601
relation P825
type Q502895
That music genre is [ANSWER]
['Q1154601', 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q1154601 property:P825 ?m }
Rodolphe Kreutzer
That music genre is Rodolphe Kreutzer
Rodolphe Kreutzer
action filter_type
action find
entity Violin Sonata No. 9
relation dedicated to
type common name
['Violin Sonata No. 9', 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Violin_Sonata_No._9 property:dedicated_to ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q336692
P1066
Q502895
USER
Which people are students of that one ?
(c(Q502895),P1066,Q336692)
action filter_type
action find_reverse
entity Q336692
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q336692']
SELECT DISTINCT ?d WHERE { ?d property:P1066 resource:Q336692 . ?d rdf:type ontology:Q502895 }
Rodolphe Kreutzer
action filter_type
action find_reverse
entity Rodolphe Kreutzer
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Rodolphe Kreutzer']
SELECT DISTINCT ?d WHERE { ?d property:student_of resource:Rodolphe_Kreutzer . ?d rdf:type ontology:common_name }
[]
common name
Q1358737 Q3173698 Q517502
SYSTEM
Lambert Massart, Jean Nicolas Auguste Kreutzer, Charles Philippe Lafont
Q3173698 Q517502 Q1358737 Q441775
(c(Q502895),P1066,Q336692)
action filter_type
action find_reverse
entity Q336692
relation P1066
type Q502895
[ANSWERS] are students of that one
[{'concept': 'Q502895'}, 'P1066', 'Q336692']
SELECT DISTINCT ?d WHERE { ?d property:P1066 resource:Q336692 . ?d rdf:type ontology:Q502895 }
Jean Nicolas Auguste Kreutzer Charles Philippe Lafont Lambert Massart Théophile Tilmant
Lambert Massart, Jean Nicolas Auguste Kreutzer and Charles Philippe Lafont are students of that one
Lambert Massart Jean Nicolas Auguste Kreutzer Charles Philippe Lafont
action filter_type
action find_reverse
entity Rodolphe Kreutzer
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Rodolphe Kreutzer']
SELECT DISTINCT ?d WHERE { ?d property:student_of resource:Rodolphe_Kreutzer . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1358737 Q3173698 Q517502
P802
Q502895
USER
Which people have those ones as their teacher ?
(c(Q502895),P802,Q1358737) (c(Q502895),P802,Q3173698) (c(Q502895),P802,Q517502)
action filter_type
action find_reverse
entity prev_answer
relation P802
type Q502895
[{'concept': 'Q502895'}, 'P802', 'Q1358737'] [{'concept': 'Q502895'}, 'P802', 'Q3173698'] [{'concept': 'Q502895'}, 'P802', 'Q517502']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P802 ?k . VALUES ( ?k ) { ( resource:Q3173698 ) ( resource:Q517502 ) ( resource:Q1358737 ) } }
Lambert Massart Jean Nicolas Auguste Kreutzer Charles Philippe Lafont
action filter_type
action find_reverse
entity prev_answer
relation student
type common name
[{'concept': 'common name'}, 'student', 'Lambert Massart'] [{'concept': 'common name'}, 'student', 'Jean Nicolas Auguste Kreutzer'] [{'concept': 'common name'}, 'student', 'Charles Philippe Lafont']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:student ?k . VALUES ( ?k ) { ( resource:Jean_Nicolas_Auguste_Kreutzer ) ( resource:Charles_Philippe_Lafont ) ( resource:Lambert_Massart ) } }
[]
common name
Q336692 Q336692 Q336692
SYSTEM
Rodolphe Kreutzer
Q336692 Q336692 Q336692 Q19869123
(c(Q502895),P802,Q1358737) (c(Q502895),P802,Q3173698) (c(Q502895),P802,Q517502)
action filter_type
action find_reverse
entity prev_answer
relation P802
type Q502895
[ANSWER], [ANSWER] and [ANSWER] have those ones as their teacher
[{'concept': 'Q502895'}, 'P802', 'Q1358737'] [{'concept': 'Q502895'}, 'P802', 'Q3173698'] [{'concept': 'Q502895'}, 'P802', 'Q517502']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P802 ?k . VALUES ( ?k ) { ( resource:Q3173698 ) ( resource:Q517502 ) ( resource:Q1358737 ) } }
Rodolphe Kreutzer Rodolphe Kreutzer Rodolphe Kreutzer Isidore Bertheaume
Rodolphe Kreutzer, Rodolphe Kreutzer and Rodolphe Kreutzer have those ones as their teacher
Rodolphe Kreutzer Rodolphe Kreutzer Rodolphe Kreutzer
action filter_type
action find_reverse
entity prev_answer
relation student
type common name
[{'concept': 'common name'}, 'student', 'Lambert Massart'] [{'concept': 'common name'}, 'student', 'Jean Nicolas Auguste Kreutzer'] [{'concept': 'common name'}, 'student', 'Charles Philippe Lafont']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:student ?k . VALUES ( ?k ) { ( resource:Jean_Nicolas_Auguste_Kreutzer ) ( resource:Charles_Philippe_Lafont ) ( resource:Lambert_Massart ) } }
[]