Simple Question (Direct)
Simple Question
Q560862
P21
Q290
USER
Which sex does Marie Alfred Cornu possess ?
(Q560862,P21,c(Q290))
action filter_type
action find
entity Q560862
relation P21
type Q290
['Q560862', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q560862 property:P21 ?c . ?c rdf:type ontology:Q290 }
Marie Alfred Cornu
action filter_type
action find
entity Marie Alfred Cornu
relation gender
type sex
['Marie Alfred Cornu', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Marie_Alfred_Cornu property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q560862,P21,c(Q290))
action filter_type
action find
entity Q560862
relation P21
type Q290
Marie Alfred Cornu possesses un [ANSWER]
['Q560862', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q560862 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
Marie Alfred Cornu possesses un male
male
action filter_type
action find
entity Marie Alfred Cornu
relation gender
type sex
['Marie Alfred Cornu', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Marie_Alfred_Cornu property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q560862
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q560862
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q560862 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Marie Alfred Cornu
action filter_type
action find
entity Marie Alfred Cornu
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Marie_Alfred_Cornu property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q169470 Q1231865
SYSTEM
physicist, educationist
Q169470 Q1231865
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q560862
relation P106
type Q12737077
And [ANSWERS] have that person as his/her 's career
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q560862 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
physicist educationist
And physicist and educationist have that person as his/her 's career
physicist educationist
action filter_type
action find
entity Marie Alfred Cornu
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Marie_Alfred_Cornu property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q169470 Q1231865
P101
Q502895
USER
Which people have field of work as those occupations ?
(c(Q502895),P101,Q169470) (c(Q502895),P101,Q1231865)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q169470'] [{'concept': 'Q502895'}, 'P101', 'Q1231865']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P101 ?q . VALUES ( ?q ) { ( resource:Q169470 ) ( resource:Q1231865 ) } }
physicist educationist
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'physicist'] [{'concept': 'common name'}, 'field of work', 'educationist']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:field_of_work ?q . VALUES ( ?q ) { ( resource:physicist ) ( resource:educationist ) } }
[]
common name
Q505197 Q2624029 Q1612625
SYSTEM
Henry Augustus Rowland, António Feliciano de Castilho, Hermann Schmidt
Q505197 Q1530613 Q4682592 Q7025641 Q1612625 Q2624029
(c(Q502895),P101,Q169470) (c(Q502895),P101,Q1231865)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[ANSWERS] have field of work as those occupations
[{'concept': 'Q502895'}, 'P101', 'Q169470'] [{'concept': 'Q502895'}, 'P101', 'Q1231865']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P101 ?q . VALUES ( ?q ) { ( resource:Q169470 ) ( resource:Q1231865 ) } }
Henry Augustus Rowland James S. Langer Adi Bulsara Nicholas J. Phillips Hermann Schmidt António Feliciano de Castilho
Henry Augustus Rowland, António Feliciano de Castilho and Hermann Schmidt have field of work as those occupations
Henry Augustus Rowland António Feliciano de Castilho Hermann Schmidt
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'physicist'] [{'concept': 'common name'}, 'field of work', 'educationist']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:field_of_work ?q . VALUES ( ?q ) { ( resource:physicist ) ( resource:educationist ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q505197 Q2624029 Q1612625
P106
Q12737077
USER
What are the job of Henry Augustus Rowland, António Feliciano de Castilho and Hermann Schmidt ?
(Q505197,P106,c(Q12737077)) (Q2624029,P106,c(Q12737077)) (Q1612625,P106,c(Q12737077))
action union
action filter_type
action find
entity Q505197
relation P106
type Q12737077
action filter_type
action find
entity Q2624029
relation P106
type Q12737077
action filter_type
action find
entity Q1612625
relation P106
type Q12737077
['Q505197', 'P106', {'concept': 'Q12737077'}] ['Q2624029', 'P106', {'concept': 'Q12737077'}] ['Q1612625', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { { ?d rdf:type ontology:Q12737077 . resource:Q505197 property:P106 ?d } UNION { resource:Q2624029 property:P106 ?d . ?d rdf:type ontology:Q12737077 } }
Henry Augustus Rowland António Feliciano de Castilho Hermann Schmidt
action union
action filter_type
action find
entity Henry Augustus Rowland
relation occupation
type occupation
action filter_type
action find
entity António Feliciano de Castilho
relation occupation
type occupation
action filter_type
action find
entity Hermann Schmidt
relation occupation
type occupation
['Henry Augustus Rowland', 'occupation', {'concept': 'occupation'}] ['António Feliciano de Castilho', 'occupation', {'concept': 'occupation'}] ['Hermann Schmidt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { { ?d rdf:type ontology:occupation . resource:Henry_Augustus_Rowland property:occupation ?d } UNION { resource:António_Feliciano_de_Castilho property:occupation ?d . ?d rdf:type ontology:occupation } }
[]
occupation
Q1622272 Q1930187 Q1622272
SYSTEM
journalist for 2nd, university teacher for 1st, 3rd
Q169470 Q1622272 Q1930187 Q14467526 Q36180 Q49757 Q1622272
(Q505197,P106,c(Q12737077)) (Q2624029,P106,c(Q12737077)) (Q1612625,P106,c(Q12737077))
action union
action filter_type
action find
entity Q505197
relation P106
type Q12737077
action filter_type
action find
entity Q2624029
relation P106
type Q12737077
action filter_type
action find
entity Q1612625
relation P106
type Q12737077
[ANSWERS]
['Q505197', 'P106', {'concept': 'Q12737077'}] ['Q2624029', 'P106', {'concept': 'Q12737077'}] ['Q1612625', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { { ?d rdf:type ontology:Q12737077 . resource:Q505197 property:P106 ?d } UNION { resource:Q2624029 property:P106 ?d . ?d rdf:type ontology:Q12737077 } }
physicist university teacher journalist linguist writer poet university teacher
The job of Henry Augustus Rowland , António Feliciano de Castilho and Hermann Schmidt are the university teacher, journalist and university teacher
university teacher journalist university teacher
action union
action filter_type
action find
entity Henry Augustus Rowland
relation occupation
type occupation
action filter_type
action find
entity António Feliciano de Castilho
relation occupation
type occupation
action filter_type
action find
entity Hermann Schmidt
relation occupation
type occupation
['Henry Augustus Rowland', 'occupation', {'concept': 'occupation'}] ['António Feliciano de Castilho', 'occupation', {'concept': 'occupation'}] ['Hermann Schmidt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { { ?d rdf:type ontology:occupation . resource:Henry_Augustus_Rowland property:occupation ?d } UNION { resource:António_Feliciano_de_Castilho property:occupation ?d . ?d rdf:type ontology:occupation } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q505197
P166
Q618779
USER
Which award was Henry Augustus Rowland awarded with ?
(Q505197,P166,c(Q618779))
action filter_type
action find
entity Q505197
relation P166
type Q618779
['Q505197', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?a WHERE { resource:Q505197 property:P166 ?a . ?a rdf:type ontology:Q618779 }
Henry Augustus Rowland
action filter_type
action find
entity Henry Augustus Rowland
relation award received
type award
['Henry Augustus Rowland', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?a WHERE { resource:Henry_Augustus_Rowland property:award_received ?a . ?a rdf:type ontology:award }
[]
award
Q746633
SYSTEM
Henry Draper Medal
Q746633
(Q505197,P166,c(Q618779))
action filter_type
action find
entity Q505197
relation P166
type Q618779
Henry Augustus Rowland was awarded the [ANSWER]
['Q505197', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?a WHERE { resource:Q505197 property:P166 ?a . ?a rdf:type ontology:Q618779 }
Henry Draper Medal
Henry Augustus Rowland was awarded the Henry Draper Medal
Henry Draper Medal
action filter_type
action find
entity Henry Augustus Rowland
relation award received
type award
['Henry Augustus Rowland', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?a WHERE { resource:Henry_Augustus_Rowland property:award_received ?a . ?a rdf:type ontology:award }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q204338
Q618779
USER
And how about Rodion Malinovsky?
(Q204338,P166,c(Q618779))
action filter_type
action find
entity Q204338
relation P166
type Q618779
['Q204338', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q618779 . resource:Q204338 property:P166 ?x }
Rodion Malinovsky
action filter_type
action find
entity Rodion Malinovsky
relation award received
type award
['Rodion Malinovsky', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:award . resource:Rodion_Malinovsky property:award_received ?x }
[]
award
Q185493 Q530008 Q93728
SYSTEM
Order of Lenin, Order of Sukhbaatar, Order of the White Lion
Q2671955 Q93728 Q742789 Q1081449 Q465316 Q80589 Q178473 Q2727598 Q337463 Q185493 Q1262166 Q869896 Q530008
(Q204338,P166,c(Q618779))
action filter_type
action find
entity Q204338
relation P166
type Q618779
[ANSWERS]
['Q204338', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q618779 . resource:Q204338 property:P166 ?x }
Order of the Partisan Star Order of the White Lion Order of the National Flag Medal "For the Victory over Japan" Order of Victory National Hero of Yugoslavia Hero of the Soviet Union Croix de guerre 1914–1918 Order of the Red Banner Order of Lenin Order of the People's Hero Croix de guerre Order of Sukhbaatar
Order of Lenin Order of Sukhbaatar Order of the White Lion
action filter_type
action find
entity Rodion Malinovsky
relation award received
type award
['Rodion Malinovsky', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:award . resource:Rodion_Malinovsky property:award_received ?x }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q35314
P166
Q502895
USER
Were Nikita Khrushchev honoured with those awards ?
(Q35314,P166,Q185493) (Q35314,P166,Q530008) (Q35314,P166,Q93728)
action is_in
entity prev_answer
action find
entity Q35314
relation P166
['Q35314', 'P166', 'Q185493'] ['Q35314', 'P166', 'Q530008'] ['Q35314', 'P166', 'Q93728']
ASK WHERE { VALUES ( ?q ) { ( resource:Q2671955 ) ( resource:Q93728 ) ( resource:Q742789 ) } . resource:Q35314 property:P166 ?q }
Nikita Khrushchev
action is_in
entity prev_answer
action find
entity Nikita Khrushchev
relation award received
['Nikita Khrushchev', 'award received', 'Order of Lenin'] ['Nikita Khrushchev', 'award received', 'Order of Sukhbaatar'] ['Nikita Khrushchev', 'award received', 'Order of the White Lion']
ASK WHERE { VALUES ( ?q ) { ( resource:Order_of_the_Partisan_Star ) ( resource:Order_of_the_White_Lion ) ( resource:Order_of_the_National_Flag ) } . resource:Nikita_Khrushchev property:award_received ?q }
[]
common name
SYSTEM
YES
(Q35314,P166,Q185493) (Q35314,P166,Q530008) (Q35314,P166,Q93728)
action is_in
entity prev_answer
action find
entity Q35314
relation P166
[ANSWER]
['Q35314', 'P166', 'Q185493'] ['Q35314', 'P166', 'Q530008'] ['Q35314', 'P166', 'Q93728']
ASK WHERE { VALUES ( ?q ) { ( resource:Q2671955 ) ( resource:Q93728 ) ( resource:Q742789 ) } . resource:Q35314 property:P166 ?q }
Yes
action is_in
entity prev_answer
action find
entity Nikita Khrushchev
relation award received
['Nikita Khrushchev', 'award received', 'Order of Lenin'] ['Nikita Khrushchev', 'award received', 'Order of Sukhbaatar'] ['Nikita Khrushchev', 'award received', 'Order of the White Lion']
ASK WHERE { VALUES ( ?q ) { ( resource:Order_of_the_Partisan_Star ) ( resource:Order_of_the_White_Lion ) ( resource:Order_of_the_National_Flag ) } . resource:Nikita_Khrushchev property:award_received ?q }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q505197 Q30
P27
Q15617994
USER
Is United States of America the country of citizenship of that person ?
(Q505197,P27,Q30)
action is_in
entity Q30
action find
entity Q505197
relation P27
['Q505197', 'P27', 'Q30']
ASK WHERE { resource:Q505197 property:P27 resource:Q30 }
Henry Augustus Rowland United States of America
action is_in
entity United States of America
action find
entity Henry Augustus Rowland
relation country of citizenship
['Henry Augustus Rowland', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Henry_Augustus_Rowland property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q505197,P27,Q30)
action is_in
entity Q30
action find
entity Q505197
relation P27
[ANSWER]
['Q505197', 'P27', 'Q30']
ASK WHERE { resource:Q505197 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Henry Augustus Rowland
relation country of citizenship
['Henry Augustus Rowland', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Henry_Augustus_Rowland property:country_of_citizenship resource:United_States_of_America }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1622272
P417
Q502895
USER
Which person is the patron saint of university teacher ?
(Q1622272,P417,c(Q502895))
action filter_type
action find
entity Q1622272
relation P417
type Q502895
['Q1622272', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q1622272 property:P417 ?r . ?r rdf:type ontology:Q502895 }
university teacher
action filter_type
action find
entity university teacher
relation patron saint
type common name
['university teacher', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:university_teacher property:patron_saint ?r . ?r rdf:type ontology:common_name }
[]
common name
Q9438
SYSTEM
Thomas Aquinas
Q9438
(Q1622272,P417,c(Q502895))
action filter_type
action find
entity Q1622272
relation P417
type Q502895
[ANSWER] is the patron saint of university teacher
['Q1622272', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q1622272 property:P417 ?r . ?r rdf:type ontology:Q502895 }
Thomas Aquinas
Thomas Aquinas is the patron saint of university teacher
Thomas Aquinas
action filter_type
action find
entity university teacher
relation patron saint
type common name
['university teacher', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:university_teacher property:patron_saint ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1622272
P512
Q502895
USER
Who have the academic degree university teacher ?
(c(Q502895),P512,Q1622272)
action filter_type
action find_reverse
entity Q1622272
relation P512
type Q502895
[{'concept': 'Q502895'}, 'P512', 'Q1622272']
SELECT DISTINCT ?b WHERE { ?b property:P512 resource:Q1622272 . ?b rdf:type ontology:Q502895 }
university teacher
action filter_type
action find_reverse
entity university teacher
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'university teacher']
SELECT DISTINCT ?b WHERE { ?b property:academic_degree resource:university_teacher . ?b rdf:type ontology:common_name }
[]
common name
Q1362287 Q1631650 Q4074760
SYSTEM
Manolis Andronikos, Hovhannes Barseghian, Edvard Baghdasaryan
Q4074760 Q22116332 Q5697983 Q1631650 Q1362287 Q3350761 Q26338766
(c(Q502895),P512,Q1622272)
action filter_type
action find_reverse
entity Q1622272
relation P512
type Q502895
[ANSWERS] have the academic degree university teacher
[{'concept': 'Q502895'}, 'P512', 'Q1622272']
SELECT DISTINCT ?b WHERE { ?b property:P512 resource:Q1622272 . ?b rdf:type ontology:Q502895 }
Edvard Baghdasaryan Helmut Neef Antonio Campos Muñoz Hovhannes Barseghian Manolis Andronikos Olivier Archambeau Athanasios Dimopoulos
Manolis Andronikos, Hovhannes Barseghian and Edvard Baghdasaryan have the academic degree university teacher
Manolis Andronikos Hovhannes Barseghian Edvard Baghdasaryan
action filter_type
action find_reverse
entity university teacher
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'university teacher']
SELECT DISTINCT ?b WHERE { ?b property:academic_degree resource:university_teacher . ?b rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1362287
P802
Q502895
USER
Which person was a pupil of that one ?
(c(Q502895),P802,Q1362287)
action filter_type
action find_reverse
entity Q1362287
relation P802
type Q502895
[{'concept': 'Q502895'}, 'P802', 'Q1362287']
SELECT DISTINCT ?a WHERE { ?a property:P802 resource:Q1362287 . ?a rdf:type ontology:Q502895 }
Manolis Andronikos
action filter_type
action find_reverse
entity Manolis Andronikos
relation student
type common name
[{'concept': 'common name'}, 'student', 'Manolis Andronikos']
SELECT DISTINCT ?a WHERE { ?a property:student resource:Manolis_Andronikos . ?a rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q4074760
SYSTEM
Did you mean Edvard Baghdasaryan ?
Q1362287 Q1631650 Q4074760
(c(Q502895),P802,Q1362287) (c(Q502895),P802,Q1631650) (c(Q502895),P802,Q4074760)
[ANSWER]
[{'concept': 'Q502895'}, 'P802', 'Q1362287'] [{'concept': 'Q502895'}, 'P802', 'Q1631650'] [{'concept': 'Q502895'}, 'P802', 'Q4074760']
SELECT DISTINCT ?a WHERE { ?a property:P802 resource:Q1362287 . ?a rdf:type ontology:Q502895 }
Manolis Andronikos Hovhannes Barseghian Edvard Baghdasaryan
Did you mean Edvard Baghdasaryan ?
Edvard Baghdasaryan
[{'concept': 'common name'}, 'student', 'Manolis Andronikos'] [{'concept': 'common name'}, 'student', 'Hovhannes Barseghian'] [{'concept': 'common name'}, 'student', 'Edvard Baghdasaryan']
SELECT DISTINCT ?a WHERE { ?a property:student resource:Manolis_Andronikos . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Manolis Andronikos. Could you tell me the answer for that?
(c(Q502895),P802,Q1362287)
Q1362287
[{'concept': 'Q502895'}, 'P802', 'Q1362287']
[{'concept': 'common name'}, 'student', 'Manolis Andronikos']
[]
Q704230
SYSTEM
John Beazley
Q704230
(c(Q502895),P802,Q1362287)
action filter_type
action find_reverse
entity Q1362287
relation P802
type Q502895
[ANSWER] was a pupil of that one
[{'concept': 'Q502895'}, 'P802', 'Q1362287']
SELECT DISTINCT ?a WHERE { ?a property:P802 resource:Q1362287 . ?a rdf:type ontology:Q502895 }
John Beazley
John Beazley was a pupil of that one
John Beazley
action filter_type
action find_reverse
entity Manolis Andronikos
relation student
type common name
[{'concept': 'common name'}, 'student', 'Manolis Andronikos']
SELECT DISTINCT ?a WHERE { ?a property:student resource:Manolis_Andronikos . ?a rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q81982
P1303
Q34379 Q502895
USER
Which musical instruments can around the same number of people perform with as harpsichord ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q81982
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?s = ?g ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w rdf:type ontology:Q34379 . resource:Q81982 property:P1303 ?w } } . { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?i } }
harpsichord
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity harpsichord
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?s = ?g ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w rdf:type ontology:musical_instrument . resource:harpsichord property:instrument ?w } } . { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?i } }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q81982
relation P1303
type Q34379
[ANSWERS] can around the same number of people perform with as harpsichord
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?s = ?g ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w rdf:type ontology:Q34379 . resource:Q81982 property:P1303 ?w } } . { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?i } }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano can around the same number of people perform with as harpsichord
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity harpsichord
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?s = ?g ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w rdf:type ontology:musical_instrument . resource:harpsichord property:instrument ?w } } . { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?i } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q626035
P1303
Q34379 Q502895
USER
And what about glockenspiel?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q626035
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?f ) WHERE { ?t rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 . ?q property:P1303 ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:Q626035 property:P1303 ?k . ?k rdf:type ontology:Q34379 } } . FILTER ( ?f = ?o ) }
glockenspiel
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity glockenspiel
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?f ) WHERE { ?t rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name . ?q property:instrument ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:glockenspiel property:instrument ?k . ?k rdf:type ontology:musical_instrument } } . FILTER ( ?f = ?o ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q626035
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?f ) WHERE { ?t rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 . ?q property:P1303 ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:Q626035 property:P1303 ?k . ?k rdf:type ontology:Q34379 } } . FILTER ( ?f = ?o ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity glockenspiel
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?q ) AS ?f ) WHERE { ?t rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name . ?q property:instrument ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:glockenspiel property:instrument ?k . ?k rdf:type ontology:musical_instrument } } . FILTER ( ?f = ?o ) }
[]