Simple Question (Direct)
Simple Question
Q1558932
P21
Q290
USER
Which sex does Gerald Messadié have ?
(Q1558932,P21,c(Q290))
action filter_type
action find
entity Q1558932
relation P21
type Q290
['Q1558932', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q1558932 property:P21 ?l . ?l rdf:type ontology:Q290 }
Gerald Messadié
action filter_type
action find
entity Gerald Messadié
relation gender
type sex
['Gerald Messadié', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Gerald_Messadié property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1558932,P21,c(Q290))
action filter_type
action find
entity Q1558932
relation P21
type Q290
Gerald Messadié has a [ANSWER]
['Q1558932', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q1558932 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
Gerald Messadié has a male
male
action filter_type
action find
entity Gerald Messadié
relation gender
type sex
['Gerald Messadié', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Gerald_Messadié property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1558932
P50
Q2342494
USER
Which collectable is that person an author of ?
(c(Q2342494),P50,Q6581097)
action filter_type
action find_reverse
entity Q1558932
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q6581097']
SELECT DISTINCT ?a WHERE { ?a property:P50 resource:Q1558932 . ?a rdf:type ontology:Q2342494 }
Gerald Messadié
action filter_type
action find_reverse
entity Gerald Messadié
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'male']
SELECT DISTINCT ?a WHERE { ?a property:author resource:Gerald_Messadié . ?a rdf:type ontology:collectable }
[]
collectable
Q4657346
SYSTEM
A History of the Devil
Q4657346
(c(Q2342494),P50,Q6581097)
action filter_type
action find_reverse
entity Q1558932
relation P50
type Q2342494
The [ANSWER] is that person an author of
[{'concept': 'Q2342494'}, 'P50', 'Q6581097']
SELECT DISTINCT ?a WHERE { ?a property:P50 resource:Q1558932 . ?a rdf:type ontology:Q2342494 }
A History of the Devil
The A History of the Devil is that person an author of
A History of the Devil
action filter_type
action find_reverse
entity Gerald Messadié
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'male']
SELECT DISTINCT ?a WHERE { ?a property:author resource:Gerald_Messadié . ?a rdf:type ontology:collectable }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P629
Q5292 Q2342494 Q2342494
USER
Which collectables are an edition or translation of exactly 1 encyclopedias and collectables ?
(c(Q2342494),P629,c(Q5292)|c(Q2342494))
action equal
action union
action find_tuple_counts
relation P629
type Q2342494
type Q5292
action find_tuple_counts
relation P629
type Q2342494
type Q2342494
value 1
[{'concept': 'Q2342494'}, 'P629', [{'concept': 'Q5292'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?b = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?b ) WHERE { ?x rdf:type ?m . VALUES ( ?m ) { ( ontology:Q5292 ) ( ontology:Q2342494 ) } } GROUP BY ?y } }
action equal
action union
action find_tuple_counts
relation edition or translation of
type collectable
type encyclopedia
action find_tuple_counts
relation edition or translation of
type collectable
type collectable
value 1
[{'concept': 'collectable'}, 'edition or translation of', [{'concept': 'encyclopedia'}, {'concept': 'collectable'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?b = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?b ) WHERE { ?x rdf:type ?m . VALUES ( ?m ) { ( ontology:encyclopedia ) ( ontology:collectable ) } } GROUP BY ?y } }
[]
encyclopedia collectable collectable
Q6517916 Q15895126 Q15895076
SYSTEM
Legends II, International Code of Botanical Nomenclature (Vienna Code), International Code of Nomenclature for algae, fungi, and plants (Melbourne Code)
Q961566 Q26937308 Q15732178 Q19219752 Q19200252 Q6517916 Q15895076 Q15895151 Q4894530 Q19842227 Q3526597 Q11306262 Q15895126 Q23809256 Q15895201 Q19366550 Q15732180
(c(Q2342494),P629,c(Q5292)|c(Q2342494))
action equal
action union
action find_tuple_counts
relation P629
type Q2342494
type Q5292
action find_tuple_counts
relation P629
type Q2342494
type Q2342494
value 1
[ANSWERS]
[{'concept': 'Q2342494'}, 'P629', [{'concept': 'Q5292'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?b = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?b ) WHERE { ?x rdf:type ?m . VALUES ( ?m ) { ( ontology:Q5292 ) ( ontology:Q2342494 ) } } GROUP BY ?y } }
The Autumn of the Patriarch Marcus Aureliuser Atmachinta The Adventures of Werner Holt (vol. 1) Meyers Konversations-Lexikon (1888–1889) Le Talisman Legends II International Code of Nomenclature for algae, fungi, and plants (Melbourne Code) International Code of Botanical Nomenclature (Saint Louis Code) Bernie Wrightson's Frankenstein Zwerversbloed The Theology of Aristotle Samkok International Code of Botanical Nomenclature (Vienna Code) Fishes of the World (4th edition) International Code of Botanical Nomenclature (Tokyo Code) Ludwig der Deutsche (1st edition) The Adventures of Werner Holt (vol. 2)
Legends II, International Code of Botanical Nomenclature (Vienna Code) and International Code of Nomenclature for algae, fungi, and plants (Melbourne Code) are an edition or translation of exactly 1 encyclopedias and collectables
Legends II International Code of Botanical Nomenclature (Vienna Code) International Code of Nomenclature for algae, fungi, and plants (Melbourne Code)
action equal
action union
action find_tuple_counts
relation edition or translation of
type collectable
type encyclopedia
action find_tuple_counts
relation edition or translation of
type collectable
type collectable
value 1
[{'concept': 'collectable'}, 'edition or translation of', [{'concept': 'encyclopedia'}, {'concept': 'collectable'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?b = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?b ) WHERE { ?x rdf:type ?m . VALUES ( ?m ) { ( ontology:encyclopedia ) ( ontology:collectable ) } } GROUP BY ?y } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15895076
P98
Q502895
USER
Who served as the editors of that collectable ?
(Q15895076,P98,c(Q502895))
action filter_type
action find
entity Q15895076
relation P98
type Q502895
['Q15895076', 'P98', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q15895076 property:P98 ?o . ?o rdf:type ontology:Q502895 }
International Code of Nomenclature for algae, fungi, and plants (Melbourne Code)
action filter_type
action find
entity International Code of Nomenclature for algae, fungi, and plants (Melbourne Code)
relation editor
type common name
['International Code of Nomenclature for algae, fungi, and plants (Melbourne Code)', 'editor', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:International_Code_of_Nomenclature_for_algae,_fungi,_and_plants_(Melbourne_Code) property:editor ?o . ?o rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q15895126
SYSTEM
Did you mean International Code of Botanical Nomenclature (Vienna Code) ?
Q6517916 Q15895126 Q15895076
(Q6517916,P98,c(Q502895)) (Q15895126,P98,c(Q502895)) (Q15895076,P98,c(Q502895))
[ANSWER]
['Q6517916', 'P98', {'concept': 'Q502895'}] ['Q15895126', 'P98', {'concept': 'Q502895'}] ['Q15895076', 'P98', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q15895076 property:P98 ?o . ?o rdf:type ontology:Q502895 }
Legends II International Code of Botanical Nomenclature (Vienna Code) International Code of Nomenclature for algae, fungi, and plants (Melbourne Code)
Did you mean International Code of Botanical Nomenclature (Vienna Code) ?
International Code of Botanical Nomenclature (Vienna Code)
['Legends II', 'editor', {'concept': 'common name'}] ['International Code of Botanical Nomenclature (Vienna Code)', 'editor', {'concept': 'common name'}] ['International Code of Nomenclature for algae, fungi, and plants (Melbourne Code)', 'editor', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:International_Code_of_Nomenclature_for_algae,_fungi,_and_plants_(Melbourne_Code) property:editor ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant International Code of Nomenclature for algae, fungi, and plants (Melbourne Code). Could you tell me the answer for that?
(Q15895076,P98,c(Q502895))
Q15895076
['Q15895076', 'P98', {'concept': 'Q502895'}]
['International Code of Nomenclature for algae, fungi, and plants (Melbourne Code)', 'editor', {'concept': 'common name'}]
[]
Q12341583 Q123950 Q2531664
SYSTEM
William Russel Buck, Werner Greuter, David Leslie Hawksworth
Q12341583 Q6439357 Q15895410 Q1992963 Q15894989 Q123950 Q15894939 Q2531664 Q2460091 Q5933290 Q13402892 Q2402203 Q276405 Q15894931
(Q15895076,P98,c(Q502895))
action filter_type
action find
entity Q15895076
relation P98
type Q502895
[ANSWERS] served as the editors of that collectable
['Q15895076', 'P98', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q15895076 property:P98 ?o . ?o rdf:type ontology:Q502895 }
William Russel Buck Gideon Francois Smith Patrick S. Herendeen John McNeill Willem F. Prud’homme van Reine Werner Greuter Jefferson Prado David Leslie Hawksworth Nicholas J. Turland John H. Wiersema Karol Marhold Fred Barrie Sandra Knapp Vincent Demoulin
William Russel Buck, Werner Greuter and David Leslie Hawksworth served as the editors of that collectable
William Russel Buck Werner Greuter David Leslie Hawksworth
action filter_type
action find
entity International Code of Nomenclature for algae, fungi, and plants (Melbourne Code)
relation editor
type common name
['International Code of Nomenclature for algae, fungi, and plants (Melbourne Code)', 'editor', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:International_Code_of_Nomenclature_for_algae,_fungi,_and_plants_(Melbourne_Code) property:editor ?o . ?o rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q123950
P184
Q502895
USER
Which person has that one as doctoral advisor ?
(c(Q502895),P184,Q123950)
action filter_type
action find_reverse
entity Q123950
relation P184
type Q502895
[{'concept': 'Q502895'}, 'P184', 'Q123950']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P184 resource:Q123950 }
Werner Greuter
action filter_type
action find_reverse
entity Werner Greuter
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Werner Greuter']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:doctoral_advisor resource:Werner_Greuter }
[]
common name
Clarification for simple ques.
Q123950
SYSTEM
Did you mean Werner Greuter ?
Q12341583 Q123950 Q2531664
(c(Q502895),P184,Q12341583) (c(Q502895),P184,Q123950) (c(Q502895),P184,Q2531664)
[ANSWER]
[{'concept': 'Q502895'}, 'P184', 'Q12341583'] [{'concept': 'Q502895'}, 'P184', 'Q123950'] [{'concept': 'Q502895'}, 'P184', 'Q2531664']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P184 resource:Q123950 }
William Russel Buck Werner Greuter David Leslie Hawksworth
Did you mean Werner Greuter ?
Werner Greuter
[{'concept': 'common name'}, 'doctoral advisor', 'William Russel Buck'] [{'concept': 'common name'}, 'doctoral advisor', 'Werner Greuter'] [{'concept': 'common name'}, 'doctoral advisor', 'David Leslie Hawksworth']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:doctoral_advisor resource:Werner_Greuter }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P184,Q123950)
[{'concept': 'Q502895'}, 'P184', 'Q123950']
[{'concept': 'common name'}, 'doctoral advisor', 'Werner Greuter']
[]
Q20015785
SYSTEM
Eckhard von Raab-Straube
Q20015785
(c(Q502895),P184,Q123950)
action filter_type
action find_reverse
entity Q123950
relation P184
type Q502895
[ANSWER] has that one as doctoral advisor
[{'concept': 'Q502895'}, 'P184', 'Q123950']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P184 resource:Q123950 }
Eckhard von Raab-Straube
Eckhard von Raab-Straube has that one as doctoral advisor
Eckhard von Raab-Straube
action filter_type
action find_reverse
entity Werner Greuter
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Werner Greuter']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:doctoral_advisor resource:Werner_Greuter }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by around 2392 people ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2392
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { FILTER ( ?i = 2392 ) . { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?b } }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2392
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { FILTER ( ?i = 2392 ) . { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?b } }
[]
musical instrument common name
SYSTEM
4
Q46185 Q8338 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2392
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { FILTER ( ?i = 2392 ) . { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?b } }
bass guitar trumpet organ drum kit
4
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2392
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { FILTER ( ?i = 2392 ) . { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?b } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1759986
P1303
Q34379 Q502895
USER
Which musical instruments do greater number of people know to play than Wurlitzer electric piano ?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1759986
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P1303 ?p . ?m rdf:type ontology:Q502895 . ?p rdf:type ontology:Q34379 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Q1759986 property:P1303 ?i . ?i rdf:type ontology:Q34379 } } . FILTER ( ?g > ?n ) }
Wurlitzer electric piano
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Wurlitzer electric piano
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:instrument ?p . ?m rdf:type ontology:common_name . ?p rdf:type ontology:musical_instrument } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Wurlitzer_electric_piano property:instrument ?i . ?i rdf:type ontology:musical_instrument } } . FILTER ( ?g > ?n ) }
[]
musical instrument common name
Q5994 Q81982 Q862501
SYSTEM
piano, harpsichord, ondes Martenot
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1759986
relation P1303
type Q34379
[ANSWERS] greater number of people know to play than Wurlitzer electric piano
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P1303 ?p . ?m rdf:type ontology:Q502895 . ?p rdf:type ontology:Q34379 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Q1759986 property:P1303 ?i . ?i rdf:type ontology:Q34379 } } . FILTER ( ?g > ?n ) }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
Piano, harpsichord and ondes Martenot greater number of people know to play than Wurlitzer electric piano
piano harpsichord ondes Martenot
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Wurlitzer electric piano
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:instrument ?p . ?m rdf:type ontology:common_name . ?p rdf:type ontology:musical_instrument } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Wurlitzer_electric_piano property:instrument ?i . ?i rdf:type ontology:musical_instrument } } . FILTER ( ?g > ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1879664
P1303
Q34379 Q502895
USER
And how about spoon?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1879664
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?m ) WHERE { ?n rdf:type ontology:Q502895 . ?j rdf:type ontology:Q34379 . ?n property:P1303 ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Q1879664 property:P1303 ?g . ?g rdf:type ontology:Q34379 } } . FILTER ( ?m > ?v ) }
spoon
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity spoon
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?m ) WHERE { ?n rdf:type ontology:common_name . ?j rdf:type ontology:musical_instrument . ?n property:instrument ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:spoon property:instrument ?g . ?g rdf:type ontology:musical_instrument } } . FILTER ( ?m > ?v ) }
[]
musical instrument common name
Q1178361 Q5994 Q81982
SYSTEM
davul, piano, harpsichord
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q5994 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1879664
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?m ) WHERE { ?n rdf:type ontology:Q502895 . ?j rdf:type ontology:Q34379 . ?n property:P1303 ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Q1879664 property:P1303 ?g . ?g rdf:type ontology:Q34379 } } . FILTER ( ?m > ?v ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki piano maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
davul piano harpsichord
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity spoon
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?m ) WHERE { ?n rdf:type ontology:common_name . ?j rdf:type ontology:musical_instrument . ?n property:instrument ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:spoon property:instrument ?g . ?g rdf:type ontology:musical_instrument } } . FILTER ( ?m > ?v ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1178361
P495
Q15617994
USER
What is the origin of that musical instrument ?
(Q1178361,P495,c(Q15617994))
action filter_type
action find
entity Q1178361
relation P495
type Q15617994
['Q1178361', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1178361 property:P495 ?c . ?c rdf:type ontology:Q15617994 }
davul
action filter_type
action find
entity davul
relation country of origin
type designation for an administrative territorial entity
['davul', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:davul property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q81982
SYSTEM
Did you mean harpsichord ?
Q1178361 Q5994 Q81982
(Q1178361,P495,c(Q15617994)) (Q5994,P495,c(Q15617994)) (Q81982,P495,c(Q15617994))
[ANSWER]
['Q1178361', 'P495', {'concept': 'Q15617994'}] ['Q5994', 'P495', {'concept': 'Q15617994'}] ['Q81982', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1178361 property:P495 ?c . ?c rdf:type ontology:Q15617994 }
davul piano harpsichord
Did you mean harpsichord ?
harpsichord
['davul', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['piano', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['harpsichord', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:davul property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant davul. Could you tell me the answer for that?
(Q1178361,P495,c(Q15617994))
Q1178361
['Q1178361', 'P495', {'concept': 'Q15617994'}]
['davul', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q43
SYSTEM
Turkey
Q43
(Q1178361,P495,c(Q15617994))
action filter_type
action find
entity Q1178361
relation P495
type Q15617994
The origin of that musical instrument is in [ANSWER]
['Q1178361', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1178361 property:P495 ?c . ?c rdf:type ontology:Q15617994 }
Turkey
The origin of that musical instrument is in Turkey
Turkey
action filter_type
action find
entity davul
relation country of origin
type designation for an administrative territorial entity
['davul', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:davul property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]