Simple Question (Direct)
Simple Question
Q17318908
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Žanko Savov ?
(Q17318908,P27,c(Q15617994))
action filter_type
action find
entity Q17318908
relation P27
type Q15617994
['Q17318908', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q17318908 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Žanko Savov
action filter_type
action find
entity Žanko Savov
relation country of citizenship
type designation for an administrative territorial entity
['Žanko Savov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Žanko_Savov property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884
SYSTEM
South Korea
Q884
(Q17318908,P27,c(Q15617994))
action filter_type
action find
entity Q17318908
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Žanko Savov
['Q17318908', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q17318908 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
South Korea
South Korea is the country of citizenship of Žanko Savov
South Korea
action filter_type
action find
entity Žanko Savov
relation country of citizenship
type designation for an administrative territorial entity
['Žanko Savov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Žanko_Savov property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17318908
P21
Q290
USER
Which sex does that person belong to ?
(Q884,P21,c(Q290))
action filter_type
action find
entity Q17318908
relation P21
type Q290
['Q884', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q17318908 property:P21 ?k . ?k rdf:type ontology:Q290 }
Žanko Savov
action filter_type
action find
entity Žanko Savov
relation gender
type sex
['South Korea', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Žanko_Savov property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q884,P21,c(Q290))
action filter_type
action find
entity Q17318908
relation P21
type Q290
That person belongs to [ANSWER]
['Q884', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q17318908 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Žanko Savov
relation gender
type sex
['South Korea', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Žanko_Savov property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17318908
P641
Q349
USER
Which sport did Žanko Savov participate in ?
(Q17318908,P641,c(Q349))
action filter_type
action find
entity Q17318908
relation P641
type Q349
['Q17318908', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q17318908 property:P641 ?z . ?z rdf:type ontology:Q349 }
Žanko Savov
action filter_type
action find
entity Žanko Savov
relation sport
type sport
['Žanko Savov', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Žanko_Savov property:sport ?z . ?z rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q17318908,P641,c(Q349))
action filter_type
action find
entity Q17318908
relation P641
type Q349
Žanko Savov participated in [ANSWER]
['Q17318908', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q17318908 property:P641 ?z . ?z rdf:type ontology:Q349 }
association football
Žanko Savov participated in association football
association football
action filter_type
action find
entity Žanko Savov
relation sport
type sport
['Žanko Savov', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Žanko_Savov property:sport ?z . ?z rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3040287
Q349
USER
And also tell me about Stefan Meyer?
(Q3040287,P641,c(Q349))
action filter_type
action find
entity Q3040287
relation P641
type Q349
['Q3040287', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q3040287 property:P641 ?g . ?g rdf:type ontology:Q349 }
Stefan Meyer
action filter_type
action find
entity Stefan Meyer
relation sport
type sport
['Stefan Meyer', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Stefan_Meyer property:sport ?g . ?g rdf:type ontology:sport }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q3040287,P641,c(Q349))
action filter_type
action find
entity Q3040287
relation P641
type Q349
[ANSWER]
['Q3040287', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q3040287 property:P641 ?g . ?g rdf:type ontology:Q349 }
ice hockey
ice hockey
action filter_type
action find
entity Stefan Meyer
relation sport
type sport
['Stefan Meyer', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Stefan_Meyer property:sport ?g . ?g rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P101
Q349 Q43229 Q502895
USER
Which sports are the fields of work of less number of organizations and people than that sport ?
(c(Q43229)|c(Q502895),P101,c(Q349))
action less
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q43229
action find_reverse_tuple_counts
relation P101
type Q349
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q41466
relation P101
type Q43229
type Q502895
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?b ) WHERE { VALUES ( ?z ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } . ?n rdf:type ?z } GROUP BY ?j } . FILTER ( ?b < ?g ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:P101 resource:Q41466 . { ?c rdf:type ?v . VALUES ( ?v ) { ( ontology:Q43229 ) ( ontology:Q502895 ) } } } } }
action less
action union
action find_reverse_tuple_counts
relation field of work
type sport
type organization
action find_reverse_tuple_counts
relation field of work
type sport
type common name
action count
action filter_multi_types
action find_reverse
entity ice hockey
relation field of work
type organization
type common name
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?b ) WHERE { VALUES ( ?z ) { ( ontology:common_name ) ( ontology:organization ) } . ?n rdf:type ?z } GROUP BY ?j } . FILTER ( ?b < ?g ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:field_of_work resource:ice_hockey . { ?c rdf:type ?v . VALUES ( ?v ) { ( ontology:organization ) ( ontology:common_name ) } } } } }
[]
sport organization common name
Q1109032 Q14300548 Q130949
SYSTEM
college football, skating, skiing
Q1109032 Q14300548 Q130949 Q131359
(c(Q43229)|c(Q502895),P101,c(Q349))
action less
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q43229
action find_reverse_tuple_counts
relation P101
type Q349
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q41466
relation P101
type Q43229
type Q502895
[ANSWERS] are the fields of work of less number of organizations and people than that sport
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?b ) WHERE { VALUES ( ?z ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } . ?n rdf:type ?z } GROUP BY ?j } . FILTER ( ?b < ?g ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:P101 resource:Q41466 . { ?c rdf:type ?v . VALUES ( ?v ) { ( ontology:Q43229 ) ( ontology:Q502895 ) } } } } }
college football skating skiing professional wrestling
College football, skating and skiing are the fields of work of less number of organizations and people than that sport
college football skating skiing
action less
action union
action find_reverse_tuple_counts
relation field of work
type sport
type organization
action find_reverse_tuple_counts
relation field of work
type sport
type common name
action count
action filter_multi_types
action find_reverse
entity ice hockey
relation field of work
type organization
type common name
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?b ) WHERE { VALUES ( ?z ) { ( ontology:common_name ) ( ontology:organization ) } . ?n rdf:type ?z } GROUP BY ?j } . FILTER ( ?b < ?g ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:field_of_work resource:ice_hockey . { ?c rdf:type ?v . VALUES ( ?v ) { ( ontology:organization ) ( ontology:common_name ) } } } } }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P101
Q349 Q2342494
USER
How many sports do around the same number of collectables belong to as that sport ?
(c(Q2342494),P101,c(Q349))
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q1567764 }
[{'concept': 'collectable'}, 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:sport }
[]
sport collectable
Comparative|Count over More/Less|Single entity type|Clarification
Q1109032
SYSTEM
Did you mean college football ?
(c(Q2342494),P101,c(Q349))
[ANSWER]
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q1567764 }
Did you mean college football ?
college football
[{'concept': 'collectable'}, 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:sport }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant skiing. Could you tell me the answer for that?
(c(Q2342494),P101,c(Q349))
Q130949
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q349'}]
[{'concept': 'collectable'}, 'field of work', {'concept': 'sport'}]
[]
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))
[ANSWER]
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q1567764 }
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
[{'concept': 'collectable'}, 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q884
P361
Q14911880
USER
Which Catholic seminary is a portion of South Korea ?
(c(Q14911880),P361,Q884)
action filter_type
action find_reverse
entity Q884
relation P361
type Q14911880
[{'concept': 'Q14911880'}, 'P361', 'Q884']
SELECT DISTINCT ?x WHERE { ?x property:P361 resource:Q884 . ?x rdf:type ontology:Q14911880 }
South Korea
action filter_type
action find_reverse
entity South Korea
relation part of
type Catholic seminary
[{'concept': 'Catholic seminary'}, 'part of', 'South Korea']
SELECT DISTINCT ?x WHERE { ?x property:part_of resource:South_Korea . ?x rdf:type ontology:Catholic_seminary }
[]
Catholic seminary
Q16098986
SYSTEM
Honam Theological University and Seminary
Q16098986
(c(Q14911880),P361,Q884)
action filter_type
action find_reverse
entity Q884
relation P361
type Q14911880
[ANSWER] is a portion of South Korea
[{'concept': 'Q14911880'}, 'P361', 'Q884']
SELECT DISTINCT ?x WHERE { ?x property:P361 resource:Q884 . ?x rdf:type ontology:Q14911880 }
Honam Theological University and Seminary
Honam Theological University and Seminary is a portion of South Korea
Honam Theological University and Seminary
action filter_type
action find_reverse
entity South Korea
relation part of
type Catholic seminary
[{'concept': 'Catholic seminary'}, 'part of', 'South Korea']
SELECT DISTINCT ?x WHERE { ?x property:part_of resource:South_Korea . ?x rdf:type ontology:Catholic_seminary }
[]