Simple Question (Direct)
Simple Question
Q7175696
P19
Q56061
USER
Which administrative territory was Peter Maslo born in ?
(Q7175696,P19,c(Q56061))
action filter_type
action find
entity Q7175696
relation P19
type Q56061
['Q7175696', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q7175696 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Peter Maslo
action filter_type
action find
entity Peter Maslo
relation place of birth
type administrative territorial entity
['Peter Maslo', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Peter_Maslo property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q847350
SYSTEM
Trstená
Q847350
(Q7175696,P19,c(Q56061))
action filter_type
action find
entity Q7175696
relation P19
type Q56061
Peter Maslo was born in [ANSWER]
['Q7175696', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q7175696 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Trstená
Peter Maslo was born in Trstená
Trstená
action filter_type
action find
entity Peter Maslo
relation place of birth
type administrative territorial entity
['Peter Maslo', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Peter_Maslo property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7175696
P641
Q349
USER
What did that person participate in ?
(Q847350,P641,c(Q349))
action filter_type
action find
entity Q7175696
relation P641
type Q349
['Q847350', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q7175696 property:P641 ?k . ?k rdf:type ontology:Q349 }
Peter Maslo
action filter_type
action find
entity Peter Maslo
relation sport
type sport
['Trstená', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Peter_Maslo property:sport ?k . ?k rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q847350,P641,c(Q349))
action filter_type
action find
entity Q7175696
relation P641
type Q349
That person participated in [ANSWER]
['Q847350', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q7175696 property:P641 ?k . ?k rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Peter Maslo
relation sport
type sport
['Trstená', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Peter_Maslo property:sport ?k . ?k rdf:type ontology:sport }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P101
Q349 Q2342494
USER
How many sports are the area of approximately the same number of collectables as that sport ?
(c(Q2342494),P101,c(Q349))
action count
action approx
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action count
action filter_type
action find
entity Q2736
relation P101
type Q349
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?k ) WHERE { ?e rdf:type ontology:Q349 . ?v rdf:type ontology:Q2342494 . ?v property:P101 ?e } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Q2736 property:P101 ?x . ?x rdf:type ontology:Q349 } } . FILTER ( ?k = ?u ) }
action count
action approx
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action count
action filter_type
action find
entity association football
relation field of work
type sport
[{'concept': 'collectable'}, 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?k ) WHERE { ?e rdf:type ontology:sport . ?v rdf:type ontology:collectable . ?v property:field_of_work ?e } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:association_football property:field_of_work ?x . ?x rdf:type ontology:sport } } . FILTER ( ?k = ?u ) }
[]
sport collectable
SYSTEM
40
Q10962 Q136851 Q43450 Q4543 Q170737 Q5375 Q22857 Q14300548 Q1734 Q31920 Q12100 Q8418 Q15991265 Q2215841 Q500050 Q108429 Q592031 Q7707 Q809831 Q847 Q3177899 Q2736 Q177275 Q42486 Q5372 Q2167372 Q130949 Q1497658 Q178678 Q41466 Q114466 Q328716 Q131359 Q201965 Q2922870 Q204686 Q11420 Q124100 Q1541373 Q41323
(c(Q2342494),P101,c(Q349))
action count
action approx
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action count
action filter_type
action find
entity Q2736
relation P101
type Q349
[ANSWER]
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?k ) WHERE { ?e rdf:type ontology:Q349 . ?v rdf:type ontology:Q2342494 . ?v property:P101 ?e } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Q2736 property:P101 ?x . ?x rdf:type ontology:Q349 } } . FILTER ( ?k = ?u ) }
rugby league curling gymnastics beach volleyball long jump cricket climbing skating volleyball swimming fencing handball amateur football cycle sport cross country running archery wingsuit flying water polo BASE jumping tennis bowling association football bobsleigh wrestling basketball fell running skiing memory sport kick boxing ice hockey mixed martial arts motorcycle sport professional wrestling Nordic combined boxe winter sport judo bodybuilding sport climbing American football
40
action count
action approx
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action count
action filter_type
action find
entity association football
relation field of work
type sport
[{'concept': 'collectable'}, 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?k ) WHERE { ?e rdf:type ontology:sport . ?v rdf:type ontology:collectable . ?v property:field_of_work ?e } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:association_football property:field_of_work ?x . ?x rdf:type ontology:sport } } . FILTER ( ?k = ?u ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q847350
P17
Q15617994
USER
Which administrative territory is Trstená present in ?
(Q847350,P17,c(Q15617994))
action filter_type
action find
entity Q847350
relation P17
type Q15617994
['Q847350', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q847350 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Trstená
action filter_type
action find
entity Trstená
relation country
type designation for an administrative territorial entity
['Trstená', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Trstená property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q214
SYSTEM
Slovakia
Q214
(Q847350,P17,c(Q15617994))
action filter_type
action find
entity Q847350
relation P17
type Q15617994
Which administrative territory is Trstená present in
['Q847350', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q847350 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Slovakia
Which administrative territory is Trstená present in
Slovakia
action filter_type
action find
entity Trstená
relation country
type designation for an administrative territorial entity
['Trstená', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Trstená property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19285194
Q15617994
USER
And what about Kalmoesberg?
(Q19285194,P17,c(Q15617994))
action filter_type
action find
entity Q19285194
relation P17
type Q15617994
['Q19285194', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q19285194 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Kalmoesberg
action filter_type
action find
entity Kalmoesberg
relation country
type designation for an administrative territorial entity
['Kalmoesberg', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Kalmoesberg property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q19285194,P17,c(Q15617994))
action filter_type
action find
entity Q19285194
relation P17
type Q15617994
[ANSWER]
['Q19285194', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q19285194 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Netherlands
Netherlands
action filter_type
action find
entity Kalmoesberg
relation country
type designation for an administrative territorial entity
['Kalmoesberg', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Kalmoesberg property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19285194
P276
Q56061
USER
Where is that road located ?
(Q55,P276,c(Q56061))
action filter_type
action find
entity Q19285194
relation P276
type Q56061
['Q55', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q19285194 property:P276 ?l }
Kalmoesberg
action filter_type
action find
entity Kalmoesberg
relation location
type administrative territorial entity
['Netherlands', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Kalmoesberg property:location ?l }
[]
administrative territorial entity
Q6903267
SYSTEM
Roosendaal
Q6903267
(Q55,P276,c(Q56061))
action filter_type
action find
entity Q19285194
relation P276
type Q56061
That road is located in [ANSWER]
['Q55', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q19285194 property:P276 ?l }
Roosendaal
That road is located in Roosendaal
Roosendaal
action filter_type
action find
entity Kalmoesberg
relation location
type administrative territorial entity
['Netherlands', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Kalmoesberg property:location ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q214
P610
Q14524493
USER
Which terrain is the highest point of Slovakia ?
(Q214,P610,c(Q14524493))
action filter_type
action find
entity Q214
relation P610
type Q14524493
['Q214', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?p WHERE { resource:Q214 property:P610 ?p . ?p rdf:type ontology:Q14524493 }
Slovakia
action filter_type
action find
entity Slovakia
relation highest point
type terrain
['Slovakia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?p WHERE { resource:Slovakia property:highest_point ?p . ?p rdf:type ontology:terrain }
[]
terrain
Q81213
SYSTEM
Gerlachovský štít
Q81213
(Q214,P610,c(Q14524493))
action filter_type
action find
entity Q214
relation P610
type Q14524493
[ANSWER] is the highest point of Slovakia
['Q214', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?p WHERE { resource:Q214 property:P610 ?p . ?p rdf:type ontology:Q14524493 }
Gerlachovský štít
Gerlachovský štít is the highest point of Slovakia
Gerlachovský štít
action filter_type
action find
entity Slovakia
relation highest point
type terrain
['Slovakia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?p WHERE { resource:Slovakia property:highest_point ?p . ?p rdf:type ontology:terrain }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P610
Q271669
USER
How many landforms are that terrain the highest peak of ?
(c(Q271669),P610,Q81213)
action count
action filter_type
action find_reverse
entity Q81213
relation P610
type Q271669
[{'concept': 'Q271669'}, 'P610', 'Q81213']
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:P610 resource:Q81213 . ?s rdf:type ontology:Q271669 }
action count
action filter_type
action find_reverse
entity Gerlachovský štít
relation highest point
type landform
[{'concept': 'landform'}, 'highest point', 'Gerlachovský štít']
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:highest_point resource:Gerlachovský_štít . ?s rdf:type ontology:landform }
[]
landform
SYSTEM
1
Q1288
(c(Q271669),P610,Q81213)
action count
action filter_type
action find_reverse
entity Q81213
relation P610
type Q271669
[ANSWER]
[{'concept': 'Q271669'}, 'P610', 'Q81213']
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:P610 resource:Q81213 . ?s rdf:type ontology:Q271669 }
Carpathian Mountains
1
action count
action filter_type
action find_reverse
entity Gerlachovský štít
relation highest point
type landform
[{'concept': 'landform'}, 'highest point', 'Gerlachovský štít']
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:highest_point resource:Gerlachovský_štít . ?s rdf:type ontology:landform }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q81213
P138
Q502895
USER
Which people are the etymology of Gerlachovský štít ?
(Q81213,P138,c(Q502895))
action filter_type
action find
entity Q81213
relation P138
type Q502895
['Q81213', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q81213 property:P138 ?y }
Gerlachovský štít
action filter_type
action find
entity Gerlachovský štít
relation named after
type common name
['Gerlachovský štít', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Gerlachovský_štít property:named_after ?y }
[]
common name
Q51056 Q855
SYSTEM
Franz Joseph I of Austria, Joseph Stalin
Q51056 Q855
(Q81213,P138,c(Q502895))
action filter_type
action find
entity Q81213
relation P138
type Q502895
[ANSWERS] are the etymology of Gerlachovský štít
['Q81213', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q81213 property:P138 ?y }
Franz Joseph I of Austria Joseph Stalin
Franz Joseph I of Austria and Joseph Stalin are the etymology of Gerlachovský štít
Franz Joseph I of Austria Joseph Stalin
action filter_type
action find
entity Gerlachovský štít
relation named after
type common name
['Gerlachovský štít', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Gerlachovský_štít property:named_after ?y }
[]
Clarification
Simple Question|Single Entity|Indirect
Q855
P26
Q502895
USER
Who are married to that one ?
(c(Q502895),P26,Q855)
action filter_type
action find
entity Q855
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q855']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q855 property:P26 ?s }
Joseph Stalin
action filter_type
action find
entity Joseph Stalin
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Joseph Stalin']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Joseph_Stalin property:spouse ?s }
[]
common name
Clarification for simple ques.
Q855
SYSTEM
Did you mean Joseph Stalin ?
Q51056 Q855
(c(Q502895),P26,Q51056) (c(Q502895),P26,Q855)
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q51056'] [{'concept': 'Q502895'}, 'P26', 'Q855']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q855 property:P26 ?s }
Franz Joseph I of Austria Joseph Stalin
Did you mean Joseph Stalin ?
Joseph Stalin
[{'concept': 'common name'}, 'spouse', 'Franz Joseph I of Austria'] [{'concept': 'common name'}, 'spouse', 'Joseph Stalin']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Joseph_Stalin property:spouse ?s }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P26,Q855)
[{'concept': 'Q502895'}, 'P26', 'Q855']
[{'concept': 'common name'}, 'spouse', 'Joseph Stalin']
[]
Q233999 Q254673
SYSTEM
Nadezhda Alliluyeva, Ekaterina Svanidze
Q233999 Q254673
(c(Q502895),P26,Q855)
action filter_type
action find
entity Q855
relation P26
type Q502895
[ANSWERS] are married to that one
[{'concept': 'Q502895'}, 'P26', 'Q855']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q855 property:P26 ?s }
Nadezhda Alliluyeva Ekaterina Svanidze
Nadezhda Alliluyeva and Ekaterina Svanidze are married to that one
Nadezhda Alliluyeva Ekaterina Svanidze
action filter_type
action find
entity Joseph Stalin
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Joseph Stalin']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Joseph_Stalin property:spouse ?s }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q173453
P1303
Q34379 Q502895
USER
How many musical instruments can approximately the same number of people perform with as wind instrument ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q173453
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?s ) WHERE { ?c property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Q173453 property:P1303 ?k . ?k rdf:type ontology:Q34379 } } . FILTER ( ?s = ?y ) }
wind instrument
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity wind instrument
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?s ) WHERE { ?c property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:wind_instrument property:instrument ?k . ?k rdf:type ontology:musical_instrument } } . FILTER ( ?s = ?y ) }
[]
musical instrument common name
SYSTEM
60
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 count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q173453
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?s ) WHERE { ?c property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Q173453 property:P1303 ?k . ?k rdf:type ontology:Q34379 } } . FILTER ( ?s = ?y ) }
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
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity wind instrument
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?s ) WHERE { ?c property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:wind_instrument property:instrument ?k . ?k rdf:type ontology:musical_instrument } } . FILTER ( ?s = ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q2563510
P1303
Q34379 Q502895
USER
And also tell me about steel-string acoustic guitar?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q2563510
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?y ) WHERE { ?a property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { resource:Q2563510 property:P1303 ?v . ?v rdf:type ontology:Q34379 } } . FILTER ( ?y = ?i ) }
steel-string acoustic guitar
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity steel-string acoustic guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?y ) WHERE { ?a property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { resource:steel-string_acoustic_guitar property:instrument ?v . ?v rdf:type ontology:musical_instrument } } . FILTER ( ?y = ?i ) }
[]
musical instrument common name
SYSTEM
60
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 count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q2563510
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?y ) WHERE { ?a property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { resource:Q2563510 property:P1303 ?v . ?v rdf:type ontology:Q34379 } } . FILTER ( ?y = ?i ) }
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
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity steel-string acoustic guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?y ) WHERE { ?a property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { resource:steel-string_acoustic_guitar property:instrument ?v . ?v rdf:type ontology:musical_instrument } } . FILTER ( ?y = ?i ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q55
P137
Q20027951 Q811430
USER
How many aircraft power classes and constructions were operated by Netherlands ?
(c(Q20027951),P137,Q55) (c(Q811430),P137,Q55)
action count
action union
action filter_type
action find_reverse
entity Q55
relation P137
type Q20027951
action filter_type
action find_reverse
entity Q55
relation P137
type Q811430
[{'concept': 'Q20027951'}, 'P137', 'Q55'] [{'concept': 'Q811430'}, 'P137', 'Q55']
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:Q20027951 ) ( ontology:Q811430 ) } }
Netherlands
action count
action union
action filter_type
action find_reverse
entity Netherlands
relation operator
type aircraft power class
action filter_type
action find_reverse
entity Netherlands
relation operator
type construction
[{'concept': 'aircraft power class'}, 'operator', 'Netherlands'] [{'concept': 'construction'}, 'operator', 'Netherlands']
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:aircraft_power_class ) ( ontology:construction ) } }
[]
aircraft power class construction
SYSTEM
1 aircraft power classes and 1 constructions
Q815688 Q873010
(c(Q20027951),P137,Q55) (c(Q811430),P137,Q55)
action count
action union
action filter_type
action find_reverse
entity Q55
relation P137
type Q20027951
action filter_type
action find_reverse
entity Q55
relation P137
type Q811430
[ANSWER]
[{'concept': 'Q20027951'}, 'P137', 'Q55'] [{'concept': 'Q811430'}, 'P137', 'Q55']
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:Q20027951 ) ( ontology:Q811430 ) } }
Bell 412 Embassy of the Netherlands, Berlin
1 aircraft power classes and 1 constructions
action count
action union
action filter_type
action find_reverse
entity Netherlands
relation operator
type aircraft power class
action filter_type
action find_reverse
entity Netherlands
relation operator
type construction
[{'concept': 'aircraft power class'}, 'operator', 'Netherlands'] [{'concept': 'construction'}, 'operator', 'Netherlands']
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:aircraft_power_class ) ( ontology:construction ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1129422
P1303
Q34379 Q502895
USER
How many musical instruments are played by lesser number of people than morin khuur ?
(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 Q1129422
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:P1303 resource:Q1129422 . ?d rdf:type ontology:Q502895 } } . FILTER ( ?s < ?t ) }
morin khuur
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 morin khuur
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:instrument resource:morin_khuur . ?d rdf:type ontology:common_name } } . FILTER ( ?s < ?t ) }
[]
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 Q1129422
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:P1303 resource:Q1129422 . ?d rdf:type ontology:Q502895 } } . FILTER ( ?s < ?t ) }
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 morin khuur
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:instrument resource:morin_khuur . ?d rdf:type ontology:common_name } } . FILTER ( ?s < ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q593995
P1303
Q34379 Q502895
USER
And what about player piano?
(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 Q593995
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:P1303 resource:Q593995 . ?k rdf:type ontology:Q502895 } } . FILTER ( ?j < ?i ) . { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?j ) WHERE { ?n property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?p } }
player piano
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 player piano
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:instrument resource:player_piano . ?k rdf:type ontology:common_name } } . FILTER ( ?j < ?i ) . { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?j ) WHERE { ?n property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?p } }
[]
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 Q593995
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:P1303 resource:Q593995 . ?k rdf:type ontology:Q502895 } } . FILTER ( ?j < ?i ) . { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?j ) WHERE { ?n property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?p } }
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 player piano
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:instrument resource:player_piano . ?k rdf:type ontology:common_name } } . FILTER ( ?j < ?i ) . { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?j ) WHERE { ?n property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?p } }
[]