Simple Question (Direct)
Simple Question
Q2696796
P21
Q290
USER
What is the sex of Rıdvan Bolatlı ?
(Q2696796,P21,c(Q290))
action filter_type
action find
entity Q2696796
relation P21
type Q290
['Q2696796', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q2696796 property:P21 ?q . ?q rdf:type ontology:Q290 }
Rıdvan Bolatlı
action filter_type
action find
entity Rıdvan Bolatlı
relation gender
type sex
['Rıdvan Bolatlı', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Rıdvan_Bolatlı property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2696796,P21,c(Q290))
action filter_type
action find
entity Q2696796
relation P21
type Q290
The sex of Rıdvan Bolatlı is the [ANSWER]
['Q2696796', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q2696796 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
The sex of Rıdvan Bolatlı is the male
male
action filter_type
action find
entity Rıdvan Bolatlı
relation gender
type sex
['Rıdvan Bolatlı', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Rıdvan_Bolatlı property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2696796
P54
Q1194951
USER
Which national sports team is Rıdvan Bolatlı a member of ?
(Q2696796,P54,c(Q1194951))
action filter_type
action find
entity Q2696796
relation P54
type Q1194951
['Q2696796', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?y WHERE { resource:Q2696796 property:P54 ?y . ?y rdf:type ontology:Q1194951 }
Rıdvan Bolatlı
action filter_type
action find
entity Rıdvan Bolatlı
relation member of sports team
type national sports team
['Rıdvan Bolatlı', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?y WHERE { resource:Rıdvan_Bolatlı property:member_of_sports_team ?y . ?y rdf:type ontology:national_sports_team }
[]
national sports team
Q483856
SYSTEM
Turkey national football team
Q483856
(Q2696796,P54,c(Q1194951))
action filter_type
action find
entity Q2696796
relation P54
type Q1194951
[ANSWER] is Rıdvan Bolatlı a member of
['Q2696796', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?y WHERE { resource:Q2696796 property:P54 ?y . ?y rdf:type ontology:Q1194951 }
Turkey national football team
Turkey national football team is Rıdvan Bolatlı a member of
Turkey national football team
action filter_type
action find
entity Rıdvan Bolatlı
relation member of sports team
type national sports team
['Rıdvan Bolatlı', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?y WHERE { resource:Rıdvan_Bolatlı property:member_of_sports_team ?y . ?y rdf:type ontology:national_sports_team }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5993516
Q1194951
USER
And also tell me about Igor Melher?
(Q5993516,P54,c(Q1194951))
action filter_type
action find
entity Q5993516
relation P54
type Q1194951
['Q5993516', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?w WHERE { resource:Q5993516 property:P54 ?w . ?w rdf:type ontology:Q1194951 }
Igor Melher
action filter_type
action find
entity Igor Melher
relation member of sports team
type national sports team
['Igor Melher', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?w WHERE { resource:Igor_Melher property:member_of_sports_team ?w . ?w rdf:type ontology:national_sports_team }
[]
national sports team
Q181190
SYSTEM
Bosnia and Herzegovina national football team
Q181190
(Q5993516,P54,c(Q1194951))
action filter_type
action find
entity Q5993516
relation P54
type Q1194951
[ANSWER]
['Q5993516', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?w WHERE { resource:Q5993516 property:P54 ?w . ?w rdf:type ontology:Q1194951 }
Bosnia and Herzegovina national football team
Bosnia and Herzegovina national football team
action filter_type
action find
entity Igor Melher
relation member of sports team
type national sports team
['Igor Melher', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?w WHERE { resource:Igor_Melher property:member_of_sports_team ?w . ?w rdf:type ontology:national_sports_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q181190
P1344
Q15275719
USER
How many recurring events did Bosnia and Herzegovina national football team participate in ?
(Q181190,P1344,c(Q15275719))
action count
action filter_type
action find
entity Q181190
relation P1344
type Q15275719
['Q181190', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:Q181190 property:P1344 ?m . ?m rdf:type ontology:Q15275719 }
Bosnia and Herzegovina national football team
action count
action filter_type
action find
entity Bosnia and Herzegovina national football team
relation participant of
type recurring event
['Bosnia and Herzegovina national football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:Bosnia_and_Herzegovina_national_football_team property:participant_of ?m . ?m rdf:type ontology:recurring_event }
[]
recurring event
SYSTEM
1
Q79859
(Q181190,P1344,c(Q15275719))
action count
action filter_type
action find
entity Q181190
relation P1344
type Q15275719
[ANSWER]
['Q181190', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:Q181190 property:P1344 ?m . ?m rdf:type ontology:Q15275719 }
2014 FIFA World Cup
1
action count
action filter_type
action find
entity Bosnia and Herzegovina national football team
relation participant of
type recurring event
['Bosnia and Herzegovina national football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:Bosnia_and_Herzegovina_national_football_team property:participant_of ?m . ?m rdf:type ontology:recurring_event }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2477498
Q15275719
USER
And also tell me about Leonardo Astrada?
(Q2477498,P1344,c(Q15275719))
action count
action filter_type
action find
entity Q2477498
relation P1344
type Q15275719
['Q2477498', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { resource:Q2477498 property:P1344 ?x . ?x rdf:type ontology:Q15275719 }
Leonardo Astrada
action count
action filter_type
action find
entity Leonardo Astrada
relation participant of
type recurring event
['Leonardo Astrada', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { resource:Leonardo_Astrada property:participant_of ?x . ?x rdf:type ontology:recurring_event }
[]
recurring event
SYSTEM
1
(Q2477498,P1344,c(Q15275719))
action count
action filter_type
action find
entity Q2477498
relation P1344
type Q15275719
[ANSWER]
['Q2477498', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { resource:Q2477498 property:P1344 ?x . ?x rdf:type ontology:Q15275719 }
1
action count
action filter_type
action find
entity Leonardo Astrada
relation participant of
type recurring event
['Leonardo Astrada', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { resource:Leonardo_Astrada property:participant_of ?x . ?x rdf:type ontology:recurring_event }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q669370
P1303
Q34379 Q502895
USER
Which musical instruments are played by approximately the same number of people as gusle ?
(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 Q669370
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?r ) WHERE { ?h property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Q669370 property:P1303 ?a . ?a rdf:type ontology:Q34379 } } . FILTER ( ?r = ?e ) }
gusle
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity gusle
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?r ) WHERE { ?h property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:gusle property:instrument ?a . ?a rdf:type ontology:musical_instrument } } . FILTER ( ?r = ?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 Q669370
relation P1303
type Q34379
[ANSWERS] are played by approximately the same number of people as gusle
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?r ) WHERE { ?h property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Q669370 property:P1303 ?a . ?a rdf:type ontology:Q34379 } } . FILTER ( ?r = ?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 and Wurlitzer electric piano are played by approximately the same number of people as gusle
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 gusle
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?r ) WHERE { ?h property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:gusle property:instrument ?a . ?a rdf:type ontology:musical_instrument } } . FILTER ( ?r = ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q3574843
P1303
Q34379 Q502895
USER
And what about tonbak?
(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 Q3574843
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?o ) WHERE { ?z property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Q3574843 property:P1303 ?b . ?b rdf:type ontology:Q34379 } } . FILTER ( ?o = ?q ) }
tonbak
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity tonbak
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?o ) WHERE { ?z property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:tonbak property:instrument ?b . ?b rdf:type ontology:musical_instrument } } . FILTER ( ?o = ?q ) }
[]
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 Q3574843
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?o ) WHERE { ?z property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Q3574843 property:P1303 ?b . ?b rdf:type ontology:Q34379 } } . FILTER ( ?o = ?q ) }
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 tonbak
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?o ) WHERE { ?z property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:tonbak property:instrument ?b . ?b rdf:type ontology:musical_instrument } } . FILTER ( ?o = ?q ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P870
Q34379 Q9748
USER
How many musical instruments are used as instrumentation in lesser number of concertoes than that musical instrument ?
(c(Q9748),P870,c(Q34379))
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q617028 ?y . ?z rdf:type ontology:Q9748 . ?y rdf:type ontology:Q34379 }
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:instrumentation ?y . ?z rdf:type ontology:concerto . ?y rdf:type ontology:musical_instrument }
[]
musical instrument concerto
Comparative|Count over More/Less|Single entity type|Clarification
Q1178361
SYSTEM
Did you mean davul ?
(c(Q9748),P870,c(Q34379))
[ANSWER]
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q617028 ?y . ?z rdf:type ontology:Q9748 . ?y rdf:type ontology:Q34379 }
Did you mean davul ?
davul
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:instrumentation ?y . ?z rdf:type ontology:concerto . ?y rdf:type ontology:musical_instrument }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant harpsichord. Could you tell me the answer for that?
(c(Q9748),P870,c(Q34379))
Q81982
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
[]
SYSTEM
16
Q80284 Q8371 Q213461 Q46185 Q845193 Q190172 Q189737 Q626035 Q593995 Q521151 Q8338 Q320341 Q1444 Q39777 Q11404 Q206987
(c(Q9748),P870,c(Q34379))
[ANSWER]
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q617028 ?y . ?z rdf:type ontology:Q9748 . ?y rdf:type ontology:Q34379 }
viola cello harmonium bass guitar xylorimba cymbal timpani glockenspiel player piano baryton trumpet celesta organ maraca drum vibraphone
16
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:instrumentation ?y . ?z rdf:type ontology:concerto . ?y rdf:type ontology:musical_instrument }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q483856
P1346
Q13406554
USER
Which sport competition was won by Turkey national football team ?
(c(Q13406554),P1346,Q483856)
action filter_type
action find_reverse
entity Q483856
relation P1346
type Q13406554
[{'concept': 'Q13406554'}, 'P1346', 'Q483856']
SELECT DISTINCT ?k WHERE { ?k property:P1346 resource:Q483856 . ?k rdf:type ontology:Q13406554 }
Turkey national football team
action filter_type
action find_reverse
entity Turkey national football team
relation winner
type sport competition
[{'concept': 'sport competition'}, 'winner', 'Turkey national football team']
SELECT DISTINCT ?k WHERE { ?k property:winner resource:Turkey_national_football_team . ?k rdf:type ontology:sport_competition }
[]
sport competition
Q24201962
SYSTEM
Czech Republic v Turkey
Q24201962
(c(Q13406554),P1346,Q483856)
action filter_type
action find_reverse
entity Q483856
relation P1346
type Q13406554
[ANSWER] was won by Turkey national football team
[{'concept': 'Q13406554'}, 'P1346', 'Q483856']
SELECT DISTINCT ?k WHERE { ?k property:P1346 resource:Q483856 . ?k rdf:type ontology:Q13406554 }
Czech Republic v Turkey
Czech Republic v Turkey was won by Turkey national football team
Czech Republic v Turkey
action filter_type
action find_reverse
entity Turkey national football team
relation winner
type sport competition
[{'concept': 'sport competition'}, 'winner', 'Turkey national football team']
SELECT DISTINCT ?k WHERE { ?k property:winner resource:Turkey_national_football_team . ?k rdf:type ontology:sport_competition }
[]