Simple Question (Direct)
Simple Question
Q3436573
P734
Q82799
USER
Which name is associated with Robert Williams ?
(Q3436573,P734,c(Q82799))
action filter_type
action find
entity Q3436573
relation P734
type Q82799
['Q3436573', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q3436573 property:P734 ?c . ?c rdf:type ontology:Q82799 }
Robert Williams
action filter_type
action find
entity Robert Williams
relation family name
type name
['Robert Williams', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:Robert_Williams property:family_name ?c . ?c rdf:type ontology:name }
[]
name
Q1688722
SYSTEM
Williams
Q1688722
(Q3436573,P734,c(Q82799))
action filter_type
action find
entity Q3436573
relation P734
type Q82799
[ANSWER] is associated with Robert [ANSWER]
['Q3436573', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q3436573 property:P734 ?c . ?c rdf:type ontology:Q82799 }
Williams
Williams is associated with Robert Williams
Williams
action filter_type
action find
entity Robert Williams
relation family name
type name
['Robert Williams', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:Robert_Williams property:family_name ?c . ?c rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3436573
P21
Q290
USER
Which sex does Robert Williams belong to ?
(Q3436573,P21,c(Q290))
action filter_type
action find
entity Q3436573
relation P21
type Q290
['Q3436573', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . resource:Q3436573 property:P21 ?m }
Robert Williams
action filter_type
action find
entity Robert Williams
relation gender
type sex
['Robert Williams', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . resource:Robert_Williams property:gender ?m }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3436573,P21,c(Q290))
action filter_type
action find
entity Q3436573
relation P21
type Q290
Robert Williams belongs to [ANSWER]
['Q3436573', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . resource:Q3436573 property:P21 ?m }
male
Robert Williams belongs to male
male
action filter_type
action find
entity Robert Williams
relation gender
type sex
['Robert Williams', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . resource:Robert_Williams property:gender ?m }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20643589
Q290
USER
And what about Jules-Raphaël Casadesus?
(Q20643589,P21,c(Q290))
action filter_type
action find
entity Q20643589
relation P21
type Q290
['Q20643589', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q20643589 property:P21 ?g . ?g rdf:type ontology:Q290 }
Jules-Raphaël Casadesus
action filter_type
action find
entity Jules-Raphaël Casadesus
relation gender
type sex
['Jules-Raphaël Casadesus', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Jules-Raphaël_Casadesus property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q20643589,P21,c(Q290))
action filter_type
action find
entity Q20643589
relation P21
type Q290
[ANSWER]
['Q20643589', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q20643589 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Jules-Raphaël Casadesus
relation gender
type sex
['Jules-Raphaël Casadesus', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Jules-Raphaël_Casadesus property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20643589
P22
Q502895
USER
Which person was the father of that one ?
(Q6581097,P22,c(Q502895))
action filter_type
action find
entity Q20643589
relation P22
type Q502895
['Q6581097', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q20643589 property:P22 ?f . ?f rdf:type ontology:Q502895 }
Jules-Raphaël Casadesus
action filter_type
action find
entity Jules-Raphaël Casadesus
relation father
type common name
['male', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Jules-Raphaël_Casadesus property:father ?f . ?f rdf:type ontology:common_name }
[]
common name
Q1441433
SYSTEM
Francis Casadesus
Q1441433
(Q6581097,P22,c(Q502895))
action filter_type
action find
entity Q20643589
relation P22
type Q502895
[ANSWER] was the father of that one
['Q6581097', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q20643589 property:P22 ?f . ?f rdf:type ontology:Q502895 }
Francis Casadesus
Francis Casadesus was the father of that one
Francis Casadesus
action filter_type
action find
entity Jules-Raphaël Casadesus
relation father
type common name
['male', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Jules-Raphaël_Casadesus property:father ?f . ?f rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q220971
P1303
Q34379 Q502895
USER
How many musical instruments are played by less number of people than marimba ?
(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 Q220971
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?v ) WHERE { ?p rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 . ?h property:P1303 ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q rdf:type ontology:Q502895 . ?q property:P1303 resource:Q220971 } } . FILTER ( ?v < ?d ) }
marimba
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 marimba
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?v ) WHERE { ?p rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name . ?h property:instrument ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q rdf:type ontology:common_name . ?q property:instrument resource:marimba } } . FILTER ( ?v < ?d ) }
[]
musical instrument common name
SYSTEM
50
Q201129 Q424017 Q890073 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q182718 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q213461 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q320341 Q1300012 Q748455 Q669370 Q290951 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q497224 Q3623688
(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 Q220971
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?v ) WHERE { ?p rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 . ?h property:P1303 ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q rdf:type ontology:Q502895 . ?q property:P1303 resource:Q220971 } } . FILTER ( ?v < ?d ) }
lyre acoustic bass guitar Body percussion davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar Nyckelharpa Ondioline Jinghu player piano electronic musical instrument spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa harmonium Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone celesta toy piano cajón gusle Kamancheh Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar Kayamb Paraguayan harp
50
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 marimba
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?v ) WHERE { ?p rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name . ?h property:instrument ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q rdf:type ontology:common_name . ?q property:instrument resource:marimba } } . FILTER ( ?v < ?d ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q16155191
P1303
Q34379 Q502895
USER
And what about 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 ( ?x ) AS ?v ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:P1303 ?x . ?u rdf:type ontology:Q502895 . ?x rdf:type ontology:Q34379 } GROUP BY ?x } . FILTER ( ?g < ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:P1303 resource:Q16155191 . ?p rdf:type ontology:Q502895 } } }
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 ( ?x ) AS ?v ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:instrument ?x . ?u rdf:type ontology:common_name . ?x rdf:type ontology:musical_instrument } GROUP BY ?x } . FILTER ( ?g < ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:instrument resource:Saraswati_veena . ?p rdf:type ontology:common_name } } }
[]
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 ( ?x ) AS ?v ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:P1303 ?x . ?u rdf:type ontology:Q502895 . ?x rdf:type ontology:Q34379 } GROUP BY ?x } . FILTER ( ?g < ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:P1303 resource:Q16155191 . ?p rdf:type ontology:Q502895 } } }
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 ( ?x ) AS ?v ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:instrument ?x . ?u rdf:type ontology:common_name . ?x rdf:type ontology:musical_instrument } GROUP BY ?x } . FILTER ( ?g < ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:instrument resource:Saraswati_veena . ?p rdf:type ontology:common_name } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1441433
P802
Q502895
USER
Who were a notable student of Francis Casadesus ?
(c(Q502895),P802,Q1441433)
action filter_type
action find_reverse
entity Q1441433
relation P802
type Q502895
[{'concept': 'Q502895'}, 'P802', 'Q1441433']
SELECT DISTINCT ?y WHERE { ?y property:P802 resource:Q1441433 . ?y rdf:type ontology:Q502895 }
Francis Casadesus
action filter_type
action find_reverse
entity Francis Casadesus
relation student
type common name
[{'concept': 'common name'}, 'student', 'Francis Casadesus']
SELECT DISTINCT ?y WHERE { ?y property:student resource:Francis_Casadesus . ?y rdf:type ontology:common_name }
[]
common name
Q50187 Q1934522
SYSTEM
César Franck, Albert Lavignac
Q50187 Q1934522
(c(Q502895),P802,Q1441433)
action filter_type
action find_reverse
entity Q1441433
relation P802
type Q502895
A notable student of Francis Casadesus were both [ANSWERS]
[{'concept': 'Q502895'}, 'P802', 'Q1441433']
SELECT DISTINCT ?y WHERE { ?y property:P802 resource:Q1441433 . ?y rdf:type ontology:Q502895 }
César Franck Albert Lavignac
A notable student of Francis Casadesus were both César Franck and Albert Lavignac
César Franck Albert Lavignac
action filter_type
action find_reverse
entity Francis Casadesus
relation student
type common name
[{'concept': 'common name'}, 'student', 'Francis Casadesus']
SELECT DISTINCT ?y WHERE { ?y property:student resource:Francis_Casadesus . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q50187 Q1934522
P802
Q502895
USER
Who were a notable student of those ones ?
(c(Q502895),P802,Q50187) (c(Q502895),P802,Q1934522)
action filter_type
action find_reverse
entity prev_answer
relation P802
type Q502895
[{'concept': 'Q502895'}, 'P802', 'Q50187'] [{'concept': 'Q502895'}, 'P802', 'Q1934522']
SELECT DISTINCT ?h WHERE { VALUES ( ?w ) { ( resource:Q50187 ) ( resource:Q1934522 ) } . ?h property:P802 ?w . ?h rdf:type ontology:Q502895 }
César Franck Albert Lavignac
action filter_type
action find_reverse
entity prev_answer
relation student
type common name
[{'concept': 'common name'}, 'student', 'César Franck'] [{'concept': 'common name'}, 'student', 'Albert Lavignac']
SELECT DISTINCT ?h WHERE { VALUES ( ?w ) { ( resource:César_Franck ) ( resource:Albert_Lavignac ) } . ?h property:student ?w . ?h rdf:type ontology:common_name }
[]
common name
Q586181 Q297717 Q1450915
SYSTEM
Antoine François Marmontel, Ambroise Thomas, François Benoist
Q1348126 Q1450915 Q297717 Q1450915 Q586181
(c(Q502895),P802,Q50187) (c(Q502895),P802,Q1934522)
action filter_type
action find_reverse
entity prev_answer
relation P802
type Q502895
Were a notable student of those ones [ANSWERS]
[{'concept': 'Q502895'}, 'P802', 'Q50187'] [{'concept': 'Q502895'}, 'P802', 'Q1934522']
SELECT DISTINCT ?h WHERE { VALUES ( ?w ) { ( resource:Q50187 ) ( resource:Q1934522 ) } . ?h property:P802 ?w . ?h rdf:type ontology:Q502895 }
Pierre-Joseph-Guillaume Zimmermann François Benoist Ambroise Thomas François Benoist Antoine François Marmontel
Were a notable student of those ones Antoine François Marmontel, Ambroise Thomas and François Benoist
Antoine François Marmontel Ambroise Thomas François Benoist
action filter_type
action find_reverse
entity prev_answer
relation student
type common name
[{'concept': 'common name'}, 'student', 'César Franck'] [{'concept': 'common name'}, 'student', 'Albert Lavignac']
SELECT DISTINCT ?h WHERE { VALUES ( ?w ) { ( resource:César_Franck ) ( resource:Albert_Lavignac ) } . ?h property:student ?w . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q586181 Q297717 Q1450915
P106
Q12737077
USER
What are the professions of Antoine François Marmontel, Ambroise Thomas and François Benoist ?
(Q586181,P106,c(Q12737077)) (Q297717,P106,c(Q12737077)) (Q1450915,P106,c(Q12737077))
action union
action filter_type
action find
entity Q586181
relation P106
type Q12737077
action filter_type
action find
entity Q297717
relation P106
type Q12737077
action filter_type
action find
entity Q1450915
relation P106
type Q12737077
['Q586181', 'P106', {'concept': 'Q12737077'}] ['Q297717', 'P106', {'concept': 'Q12737077'}] ['Q1450915', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { ?v rdf:type ontology:Q12737077 . resource:Q586181 property:P106 ?v } UNION { resource:Q297717 property:P106 ?v . ?v rdf:type ontology:Q12737077 } }
Antoine François Marmontel Ambroise Thomas François Benoist
action union
action filter_type
action find
entity Antoine François Marmontel
relation occupation
type occupation
action filter_type
action find
entity Ambroise Thomas
relation occupation
type occupation
action filter_type
action find
entity François Benoist
relation occupation
type occupation
['Antoine François Marmontel', 'occupation', {'concept': 'occupation'}] ['Ambroise Thomas', 'occupation', {'concept': 'occupation'}] ['François Benoist', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { ?v rdf:type ontology:occupation . resource:Antoine_François_Marmontel property:occupation ?v } UNION { resource:Ambroise_Thomas property:occupation ?v . ?v rdf:type ontology:occupation } }
[]
occupation
Q36834 Q36834 Q1622272
SYSTEM
composer for 1st, 2nd, university teacher for 3rd
Q14915627 Q16145150 Q36834 Q486748 Q14915627 Q16145150 Q36834 Q1622272 Q765778 Q16145150 Q36834
(Q586181,P106,c(Q12737077)) (Q297717,P106,c(Q12737077)) (Q1450915,P106,c(Q12737077))
action union
action filter_type
action find
entity Q586181
relation P106
type Q12737077
action filter_type
action find
entity Q297717
relation P106
type Q12737077
action filter_type
action find
entity Q1450915
relation P106
type Q12737077
[ANSWERS]
['Q586181', 'P106', {'concept': 'Q12737077'}] ['Q297717', 'P106', {'concept': 'Q12737077'}] ['Q1450915', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { ?v rdf:type ontology:Q12737077 . resource:Q586181 property:P106 ?v } UNION { resource:Q297717 property:P106 ?v . ?v rdf:type ontology:Q12737077 } }
musicologist music educator composer pianist musicologist music educator composer university teacher organist music educator composer
The professions of Antoine François Marmontel , Ambroise Thomas and François Benoist are the composer, composer and university teacher
composer composer university teacher
action union
action filter_type
action find
entity Antoine François Marmontel
relation occupation
type occupation
action filter_type
action find
entity Ambroise Thomas
relation occupation
type occupation
action filter_type
action find
entity François Benoist
relation occupation
type occupation
['Antoine François Marmontel', 'occupation', {'concept': 'occupation'}] ['Ambroise Thomas', 'occupation', {'concept': 'occupation'}] ['François Benoist', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { ?v rdf:type ontology:occupation . resource:Antoine_François_Marmontel property:occupation ?v } UNION { resource:Ambroise_Thomas property:occupation ?v . ?v rdf:type ontology:occupation } }
[]