Simple Question (Direct)
Simple Question
Q3093930
P21
Q290
USER
Which sex does Gabriel Revel belong to ?
(Q3093930,P21,c(Q290))
action filter_type
action find
entity Q3093930
relation P21
type Q290
['Q3093930', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q3093930 property:P21 ?c . ?c rdf:type ontology:Q290 }
Gabriel Revel
action filter_type
action find
entity Gabriel Revel
relation gender
type sex
['Gabriel Revel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Gabriel_Revel property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3093930,P21,c(Q290))
action filter_type
action find
entity Q3093930
relation P21
type Q290
Gabriel Revel belongs to [ANSWER]
['Q3093930', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q3093930 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
Gabriel Revel belongs to male
male
action filter_type
action find
entity Gabriel Revel
relation gender
type sex
['Gabriel Revel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Gabriel_Revel property:gender ?c . ?c rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q290951
P1303
Q34379 Q502895
USER
Which musical instruments are played by more number of people than Kamancheh ?
(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 Q290951
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Q290951 property:P1303 ?c . ?c rdf:type ontology:Q34379 } } . FILTER ( ?p > ?x ) . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?b } }
Kamancheh
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Kamancheh
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Kamancheh property:instrument ?c . ?c rdf:type ontology:musical_instrument } } . FILTER ( ?p > ?x ) . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?b } }
[]
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 Q290951
relation P1303
type Q34379
[ANSWERS] are played by more number of people than Kamancheh
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Q290951 property:P1303 ?c . ?c rdf:type ontology:Q34379 } } . FILTER ( ?p > ?x ) . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?b } }
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 are played by more number of people than Kamancheh
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 Kamancheh
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { resource:Kamancheh property:instrument ?c . ?c rdf:type ontology:musical_instrument } } . FILTER ( ?p > ?x ) . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?b } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q206987
P1303
Q34379 Q502895
USER
Which musical instruments do approximately the same number of people know to play as vibraphone ?
(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 Q206987
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Q206987 property:P1303 ?m . ?m rdf:type ontology:Q34379 } } . FILTER ( ?e = ?j ) . { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?e ) WHERE { ?g property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?b } }
vibraphone
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity vibraphone
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:vibraphone property:instrument ?m . ?m rdf:type ontology:musical_instrument } } . FILTER ( ?e = ?j ) . { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?e ) WHERE { ?g property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?b } }
[]
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 Q206987
relation P1303
type Q34379
[ANSWERS] approximately the same number of people know to play as vibraphone
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Q206987 property:P1303 ?m . ?m rdf:type ontology:Q34379 } } . FILTER ( ?e = ?j ) . { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?e ) WHERE { ?g property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?b } }
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 approximately the same number of people know to play as vibraphone
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 vibraphone
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:vibraphone property:instrument ?m . ?m rdf:type ontology:musical_instrument } } . FILTER ( ?e = ?j ) . { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?e ) WHERE { ?g property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?b } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1343007
P1303
Q34379 Q502895
USER
And how about electronic keyboard?
(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 Q1343007
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?m ) WHERE { ?h property:P1303 ?j . ?h rdf:type ontology:Q502895 . ?j rdf:type ontology:Q34379 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:Q1343007 property:P1303 ?r . ?r rdf:type ontology:Q34379 } } . FILTER ( ?m = ?u ) }
electronic keyboard
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity electronic keyboard
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?m ) WHERE { ?h property:instrument ?j . ?h rdf:type ontology:common_name . ?j rdf:type ontology:musical_instrument } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:electronic_keyboard property:instrument ?r . ?r rdf:type ontology:musical_instrument } } . FILTER ( ?m = ?u ) }
[]
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 Q8338 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 Q1343007
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?m ) WHERE { ?h property:P1303 ?j . ?h rdf:type ontology:Q502895 . ?j rdf:type ontology:Q34379 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:Q1343007 property:P1303 ?r . ?r rdf:type ontology:Q34379 } } . FILTER ( ?m = ?u ) }
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 trumpet 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 electronic keyboard
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?m ) WHERE { ?h property:instrument ?j . ?h rdf:type ontology:common_name . ?j rdf:type ontology:musical_instrument } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:electronic_keyboard property:instrument ?r . ?r rdf:type ontology:musical_instrument } } . FILTER ( ?m = ?u ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P425
Q12737077
USER
How many occupations have that musical instrument as thier associated field of occupation ?
(Q81982,P425,c(Q12737077))
['Q81982', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q81982 property:P425 ?z . ?z rdf:type ontology:Q528892 }
['harpsichord', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:harpsichord property:field_of_this_occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Quantitative|Count|Single entity type|Clarification
Q1178361
SYSTEM
Did you mean davul ?
(Q1178361,P425,c(Q12737077)) (Q81982,P425,c(Q12737077)) (Q1759986,P425,c(Q12737077))
[ANSWER]
['Q1178361', 'P425', {'concept': 'Q12737077'}] ['Q81982', 'P425', {'concept': 'Q12737077'}] ['Q1759986', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q81982 property:P425 ?z . ?z rdf:type ontology:Q528892 }
Did you mean davul ?
davul
['davul', 'field of this occupation', {'concept': 'occupation'}] ['harpsichord', 'field of this occupation', {'concept': 'occupation'}] ['Wurlitzer electric piano', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:harpsichord property:field_of_this_occupation ?z . ?z rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant harpsichord. Could you tell me the answer for that?
(Q81982,P425,c(Q12737077))
Q81982
['Q81982', 'P425', {'concept': 'Q12737077'}]
['harpsichord', 'field of this occupation', {'concept': 'occupation'}]
[]
SYSTEM
1
Q5371902
(Q81982,P425,c(Q12737077))
[ANSWER]
['Q81982', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q81982 property:P425 ?z . ?z rdf:type ontology:Q528892 }
harpsichordist
1
['harpsichord', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:harpsichord property:field_of_this_occupation ?z . ?z rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q178933
P1303
Q34379 Q502895
USER
Which musical instruments are played by approximately the same number of people as Hardanger fiddle ?
(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 Q178933
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?m ) WHERE { ?l rdf:type ontology:Q502895 . ?u rdf:type ontology:Q34379 . ?l property:P1303 ?u } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Q178933 property:P1303 ?b . ?b rdf:type ontology:Q34379 } } . FILTER ( ?m = ?g ) }
Hardanger fiddle
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Hardanger fiddle
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?m ) WHERE { ?l rdf:type ontology:common_name . ?u rdf:type ontology:musical_instrument . ?l property:instrument ?u } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Hardanger_fiddle property:instrument ?b . ?b rdf:type ontology:musical_instrument } } . FILTER ( ?m = ?g ) }
[]
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 Q178933
relation P1303
type Q34379
[ANSWERS] are played by approximately the same number of people as Hardanger fiddle
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?m ) WHERE { ?l rdf:type ontology:Q502895 . ?u rdf:type ontology:Q34379 . ?l property:P1303 ?u } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Q178933 property:P1303 ?b . ?b rdf:type ontology:Q34379 } } . FILTER ( ?m = ?g ) }
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 and Wurlitzer electric piano are played by approximately the same number of people as Hardanger fiddle
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 Hardanger fiddle
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?m ) WHERE { ?l rdf:type ontology:common_name . ?u rdf:type ontology:musical_instrument . ?l property:instrument ?u } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Hardanger_fiddle property:instrument ?b . ?b rdf:type ontology:musical_instrument } } . FILTER ( ?m = ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q244976
P1303
Q34379 Q502895
USER
And how about bodhrán?
(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 Q244976
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { resource:Q244976 property:P1303 ?c . ?c rdf:type ontology:Q34379 } } . FILTER ( ?n = ?l ) . { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?e } }
bodhrán
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity bodhrán
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { resource:bodhrán property:instrument ?c . ?c rdf:type ontology:musical_instrument } } . FILTER ( ?n = ?l ) . { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?e } }
[]
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 Q244976
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { resource:Q244976 property:P1303 ?c . ?c rdf:type ontology:Q34379 } } . FILTER ( ?n = ?l ) . { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?e } }
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 bodhrán
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { resource:bodhrán property:instrument ?c . ?c rdf:type ontology:musical_instrument } } . FILTER ( ?n = ?l ) . { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?e } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P870
Q34379 Q9748 Q862597
USER
How many musical instruments are the instrumentations used in greater number of concertoes or musical forms than that musical instrument ?
(c(Q9748)|c(Q862597),P870,c(Q34379))
[[{'concept': 'Q9748'}, {'concept': 'Q862597'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { { ?z property:Q617028 ?y } UNION { ?x property:Q617028 ?y } } . ?z rdf:type ontology:Q9748 . ?y rdf:type ontology:Q34379 . ?x rdf:type ontology:Q862597 }
[[{'concept': 'concerto'}, {'concept': 'musical form'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { { ?z property:instrumentation ?y } UNION { ?x property:instrumentation ?y } } . ?z rdf:type ontology:concerto . ?y rdf:type ontology:musical_instrument . ?x rdf:type ontology:musical_form }
[]
musical instrument concerto musical form
Comparative|Count over More/Less|Mult. entity type|Clarification
Q1178361
SYSTEM
Did you mean davul ?
(c(Q9748)|c(Q862597),P870,c(Q34379))
[ANSWER]
[[{'concept': 'Q9748'}, {'concept': 'Q862597'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { { ?z property:Q617028 ?y } UNION { ?x property:Q617028 ?y } } . ?z rdf:type ontology:Q9748 . ?y rdf:type ontology:Q34379 . ?x rdf:type ontology:Q862597 }
Did you mean davul ?
davul
[[{'concept': 'concerto'}, {'concept': 'musical form'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { { ?z property:instrumentation ?y } UNION { ?x property:instrumentation ?y } } . ?z rdf:type ontology:concerto . ?y rdf:type ontology:musical_instrument . ?x rdf:type ontology:musical_form }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant harpsichord. Could you tell me the answer for that?
(c(Q9748)|c(Q862597),P870,c(Q34379))
Q81982
[[{'concept': 'Q9748'}, {'concept': 'Q862597'}], 'P870', {'concept': 'Q34379'}]
[[{'concept': 'concerto'}, {'concept': 'musical form'}], 'instrumentation', {'concept': 'musical instrument'}]
[]
SYSTEM
4
Q8371 Q5994 Q1444 Q8355
(c(Q9748)|c(Q862597),P870,c(Q34379))
[ANSWER]
[[{'concept': 'Q9748'}, {'concept': 'Q862597'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { { ?z property:Q617028 ?y } UNION { ?x property:Q617028 ?y } } . ?z rdf:type ontology:Q9748 . ?y rdf:type ontology:Q34379 . ?x rdf:type ontology:Q862597 }
cello piano organ violin
4
[[{'concept': 'concerto'}, {'concept': 'musical form'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { { ?z property:instrumentation ?y } UNION { ?x property:instrumentation ?y } } . ?z rdf:type ontology:concerto . ?y rdf:type ontology:musical_instrument . ?x rdf:type ontology:musical_form }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q4943560 Q1759986
P17
Q15617994
USER
Which administrative territories are Wurlitzer electric piano and Boon Brick Store located in ?
AND((Q1759986,P17,c(Q15617994)), (Q4943560,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1759986
relation P17
action find
entity Q4943560
relation P17
type Q15617994
{'AND': [['Q1759986', 'P17', {'concept': 'Q15617994'}], ['Q4943560', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { resource:Q1759986 property:P17 ?p . resource:Q4943560 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Boon Brick Store Wurlitzer electric piano
action filter_type
action intersection
action find
entity Wurlitzer electric piano
relation country
action find
entity Boon Brick Store
relation country
type designation for an administrative territorial entity
{'AND': [['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Boon Brick Store', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:Wurlitzer_electric_piano property:country ?p . resource:Boon_Brick_Store property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q1759986,P17,c(Q15617994)), (Q4943560,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1759986
relation P17
action find
entity Q4943560
relation P17
type Q15617994
Wurlitzer electric piano and Boon Brick Store are located in [ANSWER]
{'AND': [['Q1759986', 'P17', {'concept': 'Q15617994'}], ['Q4943560', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { resource:Q1759986 property:P17 ?p . resource:Q4943560 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
United States of America
Wurlitzer electric piano and Boon Brick Store are located in United States of America
United States of America
action filter_type
action intersection
action find
entity Wurlitzer electric piano
relation country
action find
entity Boon Brick Store
relation country
type designation for an administrative territorial entity
{'AND': [['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Boon Brick Store', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:Wurlitzer_electric_piano property:country ?p . resource:Boon_Brick_Store property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4943560
P1435
Q2065736
USER
Which cultural property represents the heritage status given to that construction ?
(Q30,P1435,c(Q2065736))
action filter_type
action find
entity Q4943560
relation P1435
type Q2065736
['Q30', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?r WHERE { resource:Q4943560 property:P1435 ?r . ?r rdf:type ontology:Q2065736 }
Boon Brick Store
action filter_type
action find
entity Boon Brick Store
relation heritage status
type cultural property
['United States of America', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?r WHERE { resource:Boon_Brick_Store property:heritage_status ?r . ?r rdf:type ontology:cultural_property }
[]
cultural property
Q19558910
SYSTEM
place listed on the National Register of Historic Places
Q19558910
(Q30,P1435,c(Q2065736))
action filter_type
action find
entity Q4943560
relation P1435
type Q2065736
An [ANSWER] represents the heritage status given to that construction
['Q30', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?r WHERE { resource:Q4943560 property:P1435 ?r . ?r rdf:type ontology:Q2065736 }
place listed on the National Register of Historic Places
An place listed on the National Register of Historic Places represents the heritage status given to that construction
place listed on the National Register of Historic Places
action filter_type
action find
entity Boon Brick Store
relation heritage status
type cultural property
['United States of America', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?r WHERE { resource:Boon_Brick_Store property:heritage_status ?r . ?r rdf:type ontology:cultural_property }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q4943560
Q2065736
USER
And which cultural property?
(Q4943560,P1435,c(Q2065736))
action filter_type
action find
entity Q4943560
relation P1435
type Q2065736
['Q4943560', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?s WHERE { resource:Q4943560 property:P1435 ?s . ?s rdf:type ontology:Q2065736 }
Boon Brick Store
action filter_type
action find
entity Boon Brick Store
relation heritage status
type cultural property
['Boon Brick Store', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?s WHERE { resource:Boon_Brick_Store property:heritage_status ?s . ?s rdf:type ontology:cultural_property }
[]
cultural property
Q19558910
SYSTEM
place listed on the National Register of Historic Places
Q19558910
(Q4943560,P1435,c(Q2065736))
action filter_type
action find
entity Q4943560
relation P1435
type Q2065736
[ANSWER]
['Q4943560', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?s WHERE { resource:Q4943560 property:P1435 ?s . ?s rdf:type ontology:Q2065736 }
place listed on the National Register of Historic Places
place listed on the National Register of Historic Places
action filter_type
action find
entity Boon Brick Store
relation heritage status
type cultural property
['Boon Brick Store', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?s WHERE { resource:Boon_Brick_Store property:heritage_status ?s . ?s rdf:type ontology:cultural_property }
[]