Simple Question (Direct)
Simple Question
Q5679672
P641
Q349
USER
Which sport did Hassan Hissein participate in ?
(Q5679672,P641,c(Q349))
action filter_type
action find
entity Q5679672
relation P641
type Q349
['Q5679672', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q5679672 property:P641 ?u . ?u rdf:type ontology:Q349 }
Hassan Hissein
action filter_type
action find
entity Hassan Hissein
relation sport
type sport
['Hassan Hissein', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Hassan_Hissein property:sport ?u . ?u rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5679672,P641,c(Q349))
action filter_type
action find
entity Q5679672
relation P641
type Q349
Hassan Hissein participated in [ANSWER]
['Q5679672', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q5679672 property:P641 ?u . ?u rdf:type ontology:Q349 }
association football
Hassan Hissein participated in association football
association football
action filter_type
action find
entity Hassan Hissein
relation sport
type sport
['Hassan Hissein', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Hassan_Hissein property:sport ?u . ?u rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5679672
P54
Q1194951
USER
Which national sports team is that person a member of ?
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q5679672
relation P54
type Q1194951
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?c WHERE { resource:Q5679672 property:P54 ?c . ?c rdf:type ontology:Q1194951 }
Hassan Hissein
action filter_type
action find
entity Hassan Hissein
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?c WHERE { resource:Hassan_Hissein property:member_of_sports_team ?c . ?c rdf:type ontology:national_sports_team }
[]
national sports team
Q275675
SYSTEM
Chad national football team
Q275675
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q5679672
relation P54
type Q1194951
The [ANSWER] is that person a member of
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?c WHERE { resource:Q5679672 property:P54 ?c . ?c rdf:type ontology:Q1194951 }
Chad national football team
The Chad national football team is that person a member of
Chad national football team
action filter_type
action find
entity Hassan Hissein
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?c WHERE { resource:Hassan_Hissein property:member_of_sports_team ?c . ?c rdf:type ontology:national_sports_team }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q46938
P1923
Q1194951 Q15275719
USER
How many recurring events did less number of national sports teams participate in than 1986 FIFA World Cup ?
(c(Q15275719),P1923,c(Q1194951))
action count
action less
action find_tuple_counts
relation P1923
type Q15275719
type Q1194951
action count
action filter_type
action find
entity Q46938
relation P1923
type Q1194951
[{'concept': 'Q15275719'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?c ) WHERE { ?x property:P1923 ?s . ?x rdf:type ontology:Q15275719 . ?s rdf:type ontology:Q1194951 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:Q46938 property:P1923 ?n . ?n rdf:type ontology:Q1194951 } } . FILTER ( ?c < ?g ) }
1986 FIFA World Cup
action count
action less
action find_tuple_counts
relation participating teams
type recurring event
type national sports team
action count
action filter_type
action find
entity 1986 FIFA World Cup
relation participating teams
type national sports team
[{'concept': 'recurring event'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?c ) WHERE { ?x property:participating_teams ?s . ?x rdf:type ontology:recurring_event . ?s rdf:type ontology:national_sports_team } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:1986_FIFA_World_Cup property:participating_teams ?n . ?n rdf:type ontology:national_sports_team } } . FILTER ( ?c < ?g ) }
[]
national sports team recurring event
SYSTEM
13
Q132515 Q48432 Q132533 Q131591 Q166121 Q170645 Q134202 Q1477177 Q131075 Q132664 Q160813 Q19967338 Q46943
(c(Q15275719),P1923,c(Q1194951))
action count
action less
action find_tuple_counts
relation P1923
type Q15275719
type Q1194951
action count
action filter_type
action find
entity Q46938
relation P1923
type Q1194951
[ANSWER]
[{'concept': 'Q15275719'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?c ) WHERE { ?x property:P1923 ?s . ?x rdf:type ontology:Q15275719 . ?s rdf:type ontology:Q1194951 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:Q46938 property:P1923 ?n . ?n rdf:type ontology:Q1194951 } } . FILTER ( ?c < ?g ) }
1950 FIFA World Cup 1930 FIFA World Cup 1958 FIFA World Cup 1938 FIFA World Cup 1974 FIFA World Cup 2018 FIFA World Cup 1966 FIFA World Cup 1934 FIFA World Cup 1954 FIFA World Cup 1970 FIFA World Cup 1962 FIFA World Cup La Roue Tourangelle 2015 1978 FIFA World Cup
13
action count
action less
action find_tuple_counts
relation participating teams
type recurring event
type national sports team
action count
action filter_type
action find
entity 1986 FIFA World Cup
relation participating teams
type national sports team
[{'concept': 'recurring event'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?c ) WHERE { ?x property:participating_teams ?s . ?x rdf:type ontology:recurring_event . ?s rdf:type ontology:national_sports_team } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:1986_FIFA_World_Cup property:participating_teams ?n . ?n rdf:type ontology:national_sports_team } } . FILTER ( ?c < ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q176883
P1923
Q1194951 Q15275719
USER
And what about 2010 FIFA World Cup?
(c(Q15275719),P1923,c(Q1194951))
action count
action less
action find_tuple_counts
relation P1923
type Q15275719
type Q1194951
action count
action filter_type
action find
entity Q176883
relation P1923
type Q1194951
[{'concept': 'Q15275719'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?e ) WHERE { ?u rdf:type ontology:Q15275719 . ?h rdf:type ontology:Q1194951 . ?u property:P1923 ?h } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { resource:Q176883 property:P1923 ?n . ?n rdf:type ontology:Q1194951 } } . FILTER ( ?e < ?x ) }
2010 FIFA World Cup
action count
action less
action find_tuple_counts
relation participating teams
type recurring event
type national sports team
action count
action filter_type
action find
entity 2010 FIFA World Cup
relation participating teams
type national sports team
[{'concept': 'recurring event'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?e ) WHERE { ?u rdf:type ontology:recurring_event . ?h rdf:type ontology:national_sports_team . ?u property:participating_teams ?h } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { resource:2010_FIFA_World_Cup property:participating_teams ?n . ?n rdf:type ontology:national_sports_team } } . FILTER ( ?e < ?x ) }
[]
national sports team recurring event
SYSTEM
17
Q132515 Q48432 Q132533 Q46938 Q131591 Q46934 Q166121 Q170645 Q134202 Q1477177 Q132529 Q131075 Q132664 Q160813 Q19967338 Q101751 Q46943
(c(Q15275719),P1923,c(Q1194951))
action count
action less
action find_tuple_counts
relation P1923
type Q15275719
type Q1194951
action count
action filter_type
action find
entity Q176883
relation P1923
type Q1194951
[ANSWER]
[{'concept': 'Q15275719'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?e ) WHERE { ?u rdf:type ontology:Q15275719 . ?h rdf:type ontology:Q1194951 . ?u property:P1923 ?h } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { resource:Q176883 property:P1923 ?n . ?n rdf:type ontology:Q1194951 } } . FILTER ( ?e < ?x ) }
1950 FIFA World Cup 1930 FIFA World Cup 1958 FIFA World Cup 1986 FIFA World Cup 1938 FIFA World Cup 1982 FIFA World Cup 1974 FIFA World Cup 2018 FIFA World Cup 1966 FIFA World Cup 1934 FIFA World Cup 1990 FIFA World Cup 1954 FIFA World Cup 1970 FIFA World Cup 1962 FIFA World Cup La Roue Tourangelle 2015 1994 FIFA World Cup 1978 FIFA World Cup
17
action count
action less
action find_tuple_counts
relation participating teams
type recurring event
type national sports team
action count
action filter_type
action find
entity 2010 FIFA World Cup
relation participating teams
type national sports team
[{'concept': 'recurring event'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?e ) WHERE { ?u rdf:type ontology:recurring_event . ?h rdf:type ontology:national_sports_team . ?u property:participating_teams ?h } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { resource:2010_FIFA_World_Cup property:participating_teams ?n . ?n rdf:type ontology:national_sports_team } } . FILTER ( ?e < ?x ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2736
P495
Q1496967
USER
Which territory is the origin of association football ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?u WHERE { resource:Q2736 property:P495 ?u . ?u rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:association_football property:country_of_origin ?u . ?u rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
[ANSWER] is the origin of association football
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?u WHERE { resource:Q2736 property:P495 ?u . ?u rdf:type ontology:Q1496967 }
England
England is the origin of association football
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:association_football property:country_of_origin ?u . ?u rdf:type ontology:territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5256356
Q1496967
USER
And what about Demos?
(Q5256356,P495,c(Q1496967))
action filter_type
action find
entity Q5256356
relation P495
type Q1496967
['Q5256356', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?c WHERE { resource:Q5256356 property:P495 ?c . ?c rdf:type ontology:Q1496967 }
Demos
action filter_type
action find
entity Demos
relation country of origin
type territorial entity
['Demos', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Demos property:country_of_origin ?c . ?c rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q5256356,P495,c(Q1496967))
action filter_type
action find
entity Q5256356
relation P495
type Q1496967
[ANSWER]
['Q5256356', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?c WHERE { resource:Q5256356 property:P495 ?c . ?c rdf:type ontology:Q1496967 }
England
England
action filter_type
action find
entity Demos
relation country of origin
type territorial entity
['Demos', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Demos property:country_of_origin ?c . ?c rdf:type ontology:territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q21 Q957789
P1532
Q502895
USER
Does John Pulman play for that territory ?
(Q957789,P1532,Q21)
action is_in
entity Q21
action find
entity Q957789
relation P1532
['Q957789', 'P1532', 'Q21']
ASK WHERE { resource:Q957789 property:P1532 resource:Q21 }
England John Pulman
action is_in
entity England
action find
entity John Pulman
relation country for sport
['John Pulman', 'country for sport', 'England']
ASK WHERE { resource:John_Pulman property:country_for_sport resource:England }
[]
common name
SYSTEM
YES
(Q957789,P1532,Q21)
action is_in
entity Q21
action find
entity Q957789
relation P1532
[ANSWER]
['Q957789', 'P1532', 'Q21']
ASK WHERE { resource:Q957789 property:P1532 resource:Q21 }
Yes
action is_in
entity England
action find
entity John Pulman
relation country for sport
['John Pulman', 'country for sport', 'England']
ASK WHERE { resource:John_Pulman property:country_for_sport resource:England }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P641
Q349 Q18608583 Q13406554
USER
Which sports did max number of recurring sporting events or sport competitions participate in ?
(c(Q18608583)|c(Q13406554),P641,c(Q349))
action argmax
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
[[{'concept': 'Q18608583'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) ?d WHERE { ?t rdf:type ?u . VALUES ( ?u ) { ( ontology:Q18608583 ) ( ontology:Q13406554 ) } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?c WHERE { { ?q property:P641 ?c . ?q rdf:type ontology:Q18608583 . ?c rdf:type ontology:Q349 } UNION { ?q property:P641 ?c . ?c rdf:type ontology:Q349 . ?q rdf:type ontology:Q13406554 } } GROUP BY ?c } . FILTER ( ?y = ?a ) }
action argmax
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
[[{'concept': 'recurring sporting event'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) ?d WHERE { ?t rdf:type ?u . VALUES ( ?u ) { ( ontology:recurring_sporting_event ) ( ontology:sport_competition ) } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?c WHERE { { ?q property:sport ?c . ?q rdf:type ontology:recurring_sporting_event . ?c rdf:type ontology:sport } UNION { ?q property:sport ?c . ?c rdf:type ontology:sport . ?q rdf:type ontology:sport_competition } } GROUP BY ?c } . FILTER ( ?y = ?a ) }
[]
sport recurring sporting event sport competition
Q2736
SYSTEM
association football
Q2736
(c(Q18608583)|c(Q13406554),P641,c(Q349))
action argmax
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
[ANSWER] max number of recurred sporting events or sport competitions participate in
[[{'concept': 'Q18608583'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) ?d WHERE { ?t rdf:type ?u . VALUES ( ?u ) { ( ontology:Q18608583 ) ( ontology:Q13406554 ) } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?c WHERE { { ?q property:P641 ?c . ?q rdf:type ontology:Q18608583 . ?c rdf:type ontology:Q349 } UNION { ?q property:P641 ?c . ?c rdf:type ontology:Q349 . ?q rdf:type ontology:Q13406554 } } GROUP BY ?c } . FILTER ( ?y = ?a ) }
association football
Association football max number of recurred sporting events or sport competitions participate in
association football
action argmax
action union
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
[[{'concept': 'recurring sporting event'}, {'concept': 'sport competition'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) ?d WHERE { ?t rdf:type ?u . VALUES ( ?u ) { ( ontology:recurring_sporting_event ) ( ontology:sport_competition ) } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) ?c WHERE { { ?q property:sport ?c . ?q rdf:type ontology:recurring_sporting_event . ?c rdf:type ontology:sport } UNION { ?q property:sport ?c . ?c rdf:type ontology:sport . ?q rdf:type ontology:sport_competition } } GROUP BY ?c } . FILTER ( ?y = ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1930899
P3091
Q502895 Q3745054 Q502895
USER
Which people use approximately the same number of people and horse breeds as steed as Michel Robert ?
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q1930899
relation P3091
type Q502895
type Q3745054
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?c ) WHERE { VALUES ( ?p ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } . ?u rdf:type ?p } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Q1930899 property:P3091 ?a . { { ?a rdf:type ontology:Q3745054 } UNION { ?a rdf:type ontology:Q502895 } } } } . FILTER ( ?c = ?g ) }
Michel Robert
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Michel Robert
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?c ) WHERE { VALUES ( ?p ) { ( ontology:horse_breed ) ( ontology:common_name ) } . ?u rdf:type ?p } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Michel_Robert property:mount ?a . { { ?a rdf:type ontology:horse_breed } UNION { ?a rdf:type ontology:common_name } } } } . FILTER ( ?c = ?g ) }
[]
common name horse breed common name
Q235022 Q175930 Q60968
SYSTEM
Anky van Grunsven, Ian Millar, Ludger Beerbaum
Q69084 Q358777 Q235022 Q3087038 Q14912896 Q3591240 Q3169911 Q952736 Q2287454 Q1617291 Q60968 Q1277320 Q6369922 Q1985582 Q1930899 Q175930 Q673136 Q62253 Q3308301
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q1930899
relation P3091
type Q502895
type Q3745054
[ANSWERS] use approximately the same number of people and horse breeds as steed as Michel Robert
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?c ) WHERE { VALUES ( ?p ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } . ?u rdf:type ?p } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Q1930899 property:P3091 ?a . { { ?a rdf:type ontology:Q3745054 } UNION { ?a rdf:type ontology:Q502895 } } } } . FILTER ( ?c = ?g ) }
Paul Schockemöhle Yves Saint-Martin Anky van Grunsven Freddy Head Bassem Hassan Mohammed Éric Levallois Jean-René Gougeon Nelson Pessoa Simon Delestre Pierre Durand, Jr. Ludger Beerbaum Roger-Yves Bost Karen O'Connor Nick Skelton Michel Robert Ian Millar Steve Guerdat Meredith Michaels-Beerbaum Michael Kinane
Anky van Grunsven, Ian Millar and Ludger Beerbaum use approximately the same number of people and horse breeds as steed as Michel Robert
Anky van Grunsven Ian Millar Ludger Beerbaum
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Michel Robert
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?c ) WHERE { VALUES ( ?p ) { ( ontology:horse_breed ) ( ontology:common_name ) } . ?u rdf:type ?p } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Michel_Robert property:mount ?a . { { ?a rdf:type ontology:horse_breed } UNION { ?a rdf:type ontology:common_name } } } } . FILTER ( ?c = ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1617291
P3091
Q502895 Q3745054 Q502895
USER
And also tell me about Pierre Durand, Jr.?
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q1617291
relation P3091
type Q502895
type Q3745054
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?b ) WHERE { { ?x property:P3091 ?y . ?x rdf:type ontology:Q502895 . ?y rdf:type ontology:Q502895 } UNION { ?x property:P3091 ?y . ?x rdf:type ontology:Q502895 . ?y rdf:type ontology:Q3745054 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { { { ?k rdf:type ontology:Q502895 } UNION { ?k rdf:type ontology:Q3745054 } } . resource:Q1617291 property:P3091 ?k } } . FILTER ( ?b = ?t ) }
Pierre Durand, Jr.
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Pierre Durand, Jr.
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?b ) WHERE { { ?x property:mount ?y . ?x rdf:type ontology:common_name . ?y rdf:type ontology:common_name } UNION { ?x property:mount ?y . ?x rdf:type ontology:common_name . ?y rdf:type ontology:horse_breed } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { { { ?k rdf:type ontology:common_name } UNION { ?k rdf:type ontology:horse_breed } } . resource:Pierre_Durand,_Jr. property:mount ?k } } . FILTER ( ?b = ?t ) }
[]
common name horse breed common name
Q235022 Q175930 Q60968
SYSTEM
Anky van Grunsven, Ian Millar, Ludger Beerbaum
Q69084 Q358777 Q235022 Q3087038 Q14912896 Q3591240 Q3169911 Q952736 Q2287454 Q1617291 Q60968 Q1277320 Q6369922 Q1985582 Q1930899 Q175930 Q673136 Q62253 Q3308301
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q1617291
relation P3091
type Q502895
type Q3745054
[ANSWERS]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?b ) WHERE { { ?x property:P3091 ?y . ?x rdf:type ontology:Q502895 . ?y rdf:type ontology:Q502895 } UNION { ?x property:P3091 ?y . ?x rdf:type ontology:Q502895 . ?y rdf:type ontology:Q3745054 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { { { ?k rdf:type ontology:Q502895 } UNION { ?k rdf:type ontology:Q3745054 } } . resource:Q1617291 property:P3091 ?k } } . FILTER ( ?b = ?t ) }
Paul Schockemöhle Yves Saint-Martin Anky van Grunsven Freddy Head Bassem Hassan Mohammed Éric Levallois Jean-René Gougeon Nelson Pessoa Simon Delestre Pierre Durand, Jr. Ludger Beerbaum Roger-Yves Bost Karen O'Connor Nick Skelton Michel Robert Ian Millar Steve Guerdat Meredith Michaels-Beerbaum Michael Kinane
Anky van Grunsven Ian Millar Ludger Beerbaum
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Pierre Durand, Jr.
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?b ) WHERE { { ?x property:mount ?y . ?x rdf:type ontology:common_name . ?y rdf:type ontology:common_name } UNION { ?x property:mount ?y . ?x rdf:type ontology:common_name . ?y rdf:type ontology:horse_breed } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { { { ?k rdf:type ontology:common_name } UNION { ?k rdf:type ontology:horse_breed } } . resource:Pierre_Durand,_Jr. property:mount ?k } } . FILTER ( ?b = ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q61065
P641
Q349 Q13406554 Q18608583
USER
How many sports were around the same number of sport competitions or recurring sporting events a part of as water sport ?
(c(Q13406554)|c(Q18608583),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q61065
relation P641
type Q13406554
type Q18608583
[[{'concept': 'Q13406554'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?h ) WHERE { { ?v property:P641 ?i . ?i rdf:type ontology:Q349 . ?v rdf:type ontology:Q13406554 } UNION { ?v rdf:type ontology:Q18608583 . ?i rdf:type ontology:Q349 . ?v property:P641 ?i } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { ?r property:P641 resource:Q61065 . { VALUES ( ?z ) { ( ontology:Q13406554 ) ( ontology:Q18608583 ) } . ?r rdf:type ?z } } } . FILTER ( ?h = ?n ) }
water sport
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity water sport
relation sport
type sport competition
type recurring sporting event
[[{'concept': 'sport competition'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?h ) WHERE { { ?v property:sport ?i . ?i rdf:type ontology:sport . ?v rdf:type ontology:sport_competition } UNION { ?v rdf:type ontology:recurring_sporting_event . ?i rdf:type ontology:sport . ?v property:sport ?i } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { ?r property:sport resource:water_sport . { VALUES ( ?z ) { ( ontology:sport_competition ) ( ontology:recurring_sporting_event ) } . ?r rdf:type ?z } } } . FILTER ( ?h = ?n ) }
[]
sport sport competition recurring sporting event
SYSTEM
175
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q7707 Q193387 Q108429 Q171038 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q133201 Q244700 Q1497658 Q847 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q83462 Q192937 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q738622 Q148636 Q136851 Q2887217 Q7856 Q599204 Q5375 Q5377 Q206989 Q690676 Q8418 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q850256 Q204632 Q627165 Q393808 Q213796 Q1866478 Q182570 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q43450 Q6034982 Q12834857 Q61065 Q2284014 Q221635 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q1455 Q2215841 Q36908 Q1081491 Q483693 Q389654 Q61465 Q185851 Q4245261 Q624161 Q327742 Q213711 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q3930 Q797108 Q963312 Q2167372 Q130949 Q535116 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q134211 Q1734 Q31920 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q1748406 Q667692 Q183018 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q210778 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q13406554)|c(Q18608583),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q61065
relation P641
type Q13406554
type Q18608583
[ANSWER]
[[{'concept': 'Q13406554'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?h ) WHERE { { ?v property:P641 ?i . ?i rdf:type ontology:Q349 . ?v rdf:type ontology:Q13406554 } UNION { ?v rdf:type ontology:Q18608583 . ?i rdf:type ontology:Q349 . ?v property:P641 ?i } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { ?r property:P641 resource:Q61065 . { VALUES ( ?z ) { ( ontology:Q13406554 ) ( ontology:Q18608583 ) } . ?r rdf:type ?z } } } . FILTER ( ?h = ?n ) }
rugby league college football beach volleyball long jump mixed martial arts fencing cross country running team time trial yachting water polo croquet archery softball windsurfing motorcycle racing snocross rink bandy BASE jumping para rowing floorball squash Ultimate memory sport tennis equestrian sport puroresu paintball Finswimming Camogie drag racing weightlifting korfball Kettlebell lifting kung fu contract bridge women's boxing motorcycle sport professional wrestling Flying disc games climbing medley swimming judo giant slalom skiing dancesport Kabaddi curling women's basketball rallying rallycross cricket golf shooting sport canoe polo handball natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war racquetball pair skating sumo wrestling pesäpallo Valencian pilota boxe roque shinty Gaelic football Harri-jasotze Dog agility powerlifting American handball discus throw Box lacrosse international draughts harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football Olympic sport gymnastics Inline skating strength training water sport Contact sport track cycling competition aerobatics paralympic swimming gymnastics balkline and straight rail skating field hockey cycle sport mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics lacrosse touring car racing gliding relay race hurling Savate bowling wakeboarding strength athletics CP football table tennis jeu de paume Sledge hockey fell running skiing beach handball real tennis canoeing Indoor American football canoeing and kayaking Powerchair Football eventing K-1 Frisian handball Nordic combined Castell Goalball sport climbing women's association football wheelchair curling nine-ball polo volleyball swimming Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing roller hockey (quad) Nordic walking bandy hockey Chilean rodeo pankration bobsleigh boxing high diving super giant slalom skiing formula racing kick boxing women's tennis Kalari surfing combined track and field events cue sports beach soccer Kart racing korbball mind sport winter sport pallone bodybuilding wheelchair fencing Duathlon
175
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity water sport
relation sport
type sport competition
type recurring sporting event
[[{'concept': 'sport competition'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?h ) WHERE { { ?v property:sport ?i . ?i rdf:type ontology:sport . ?v rdf:type ontology:sport_competition } UNION { ?v rdf:type ontology:recurring_sporting_event . ?i rdf:type ontology:sport . ?v property:sport ?i } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { ?r property:sport resource:water_sport . { VALUES ( ?z ) { ( ontology:sport_competition ) ( ontology:recurring_sporting_event ) } . ?r rdf:type ?z } } } . FILTER ( ?h = ?n ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q386724
USER
How many works have been dubbed by exactly 6 people ?
(c(Q386724),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 6
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?b ) WHERE { ?n rdf:type ontology:Q386724 . ?e rdf:type ontology:Q502895 . ?n property:P725 ?e } GROUP BY ?n } . FILTER ( ?b = 6 ) }
action count
action equal
action find_tuple_counts
relation voice actor
type work
type common name
value 6
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?b ) WHERE { ?n rdf:type ontology:work . ?e rdf:type ontology:common_name . ?n property:voice_actor ?e } GROUP BY ?n } . FILTER ( ?b = 6 ) }
[]
common name work
SYSTEM
2
Q25858085 Q13516675
(c(Q386724),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 6
[ANSWER]
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?b ) WHERE { ?n rdf:type ontology:Q386724 . ?e rdf:type ontology:Q502895 . ?n property:P725 ?e } GROUP BY ?n } . FILTER ( ?b = 6 ) }
Alicia a través del espejo Sakura Trick
2
action count
action equal
action find_tuple_counts
relation voice actor
type work
type common name
value 6
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?b ) WHERE { ?n rdf:type ontology:work . ?e rdf:type ontology:common_name . ?n property:voice_actor ?e } GROUP BY ?n } . FILTER ( ?b = 6 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q790468
P1303
Q34379 Q502895
USER
How many musical instruments do greater number of people know to play than baritone horn ?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q790468
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ontology:Q34379 . resource:Q790468 property:P1303 ?l } } . FILTER ( ?d > ?k ) . { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?c } }
baritone horn
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity baritone horn
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ontology:musical_instrument . resource:baritone_horn property:instrument ?l } } . FILTER ( ?d > ?k ) . { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?c } }
[]
musical instrument common name
SYSTEM
30
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 count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q790468
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ontology:Q34379 . resource:Q790468 property:P1303 ?l } } . FILTER ( ?d > ?k ) . { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?c } }
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
30
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity baritone horn
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ontology:musical_instrument . resource:baritone_horn property:instrument ?l } } . FILTER ( ?d > ?k ) . { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?c } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q963150
P1303
Q34379 Q502895
USER
And how about tenor guitar?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q963150
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?j ) WHERE { ?q rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 . ?x property:P1303 ?q } GROUP BY ?q } . FILTER ( ?j > ?l ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { ?p rdf:type ontology:Q34379 . resource:Q963150 property:P1303 ?p } } }
tenor guitar
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity tenor guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?j ) WHERE { ?q rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name . ?x property:instrument ?q } GROUP BY ?q } . FILTER ( ?j > ?l ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { ?p rdf:type ontology:musical_instrument . resource:tenor_guitar property:instrument ?p } } }
[]
musical instrument common name
SYSTEM
30
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 count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q963150
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?j ) WHERE { ?q rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 . ?x property:P1303 ?q } GROUP BY ?q } . FILTER ( ?j > ?l ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { ?p rdf:type ontology:Q34379 . resource:Q963150 property:P1303 ?p } } }
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
30
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity tenor guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?j ) WHERE { ?q rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name . ?x property:instrument ?q } GROUP BY ?q } . FILTER ( ?j > ?l ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { ?p rdf:type ontology:musical_instrument . resource:tenor_guitar property:instrument ?p } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60968
P21
Q290
USER
What is the sex of Ludger Beerbaum ?
(Q60968,P21,c(Q290))
action filter_type
action find
entity Q60968
relation P21
type Q290
['Q60968', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q60968 property:P21 ?s . ?s rdf:type ontology:Q290 }
Ludger Beerbaum
action filter_type
action find
entity Ludger Beerbaum
relation gender
type sex
['Ludger Beerbaum', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Ludger_Beerbaum property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q60968,P21,c(Q290))
action filter_type
action find
entity Q60968
relation P21
type Q290
The sex of Ludger Beerbaum is the [ANSWER]
['Q60968', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q60968 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
The sex of Ludger Beerbaum is the male
male
action filter_type
action find
entity Ludger Beerbaum
relation gender
type sex
['Ludger Beerbaum', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Ludger_Beerbaum property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5183952
Q290
USER
And how about Creepy Crespi?
(Q5183952,P21,c(Q290))
action filter_type
action find
entity Q5183952
relation P21
type Q290
['Q5183952', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q5183952 property:P21 ?m . ?m rdf:type ontology:Q290 }
Creepy Crespi
action filter_type
action find
entity Creepy Crespi
relation gender
type sex
['Creepy Crespi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Creepy_Crespi property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5183952,P21,c(Q290))
action filter_type
action find
entity Q5183952
relation P21
type Q290
[ANSWER]
['Q5183952', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q5183952 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Creepy Crespi
relation gender
type sex
['Creepy Crespi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Creepy_Crespi property:gender ?m . ?m rdf:type ontology:sex }
[]