Simple Question (Direct)
Simple Question
Q20877175
P21
Q290
USER
Which sex does John McCourt possess ?
(Q20877175,P21,c(Q290))
action filter_type
action find
entity Q20877175
relation P21
type Q290
['Q20877175', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q20877175 property:P21 ?g . ?g rdf:type ontology:Q290 }
John McCourt
action filter_type
action find
entity John McCourt
relation gender
type sex
['John McCourt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:John_McCourt property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q20877175,P21,c(Q290))
action filter_type
action find
entity Q20877175
relation P21
type Q290
John McCourt possesses un [ANSWER]
['Q20877175', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q20877175 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
John McCourt possesses un male
male
action filter_type
action find
entity John McCourt
relation gender
type sex
['John McCourt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:John_McCourt property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20877175
P641
Q349
USER
Which sport was that person a part of ?
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q20877175
relation P641
type Q349
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q20877175 property:P641 ?r . ?r rdf:type ontology:Q349 }
John McCourt
action filter_type
action find
entity John McCourt
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:John_McCourt property:sport ?r . ?r rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q20877175
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q20877175 property:P641 ?r . ?r rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity John McCourt
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:John_McCourt property:sport ?r . ?r rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P101
Q349 Q2342494 Q502895
USER
Which sports are the area of lesser number of collectables and people than that sport ?
(c(Q2342494)|c(Q502895),P101,c(Q349))
action less
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action find_reverse_tuple_counts
relation P101
type Q349
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q2736
relation P101
type Q2342494
type Q502895
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:P101 resource:Q2736 . { VALUES ( ?e ) { ( ontology:Q2342494 ) ( ontology:Q502895 ) } . ?f rdf:type ?e } } } . FILTER ( ?k < ?x ) . { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?k ) WHERE { { ?n rdf:type ontology:Q349 . ?h rdf:type ontology:Q502895 . ?h property:P101 ?n } UNION { ?h property:P101 ?n . ?n rdf:type ontology:Q349 . ?h rdf:type ontology:Q2342494 } } GROUP BY ?n } }
action less
action union
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action find_reverse_tuple_counts
relation field of work
type sport
type common name
action count
action filter_multi_types
action find_reverse
entity association football
relation field of work
type collectable
type common name
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:field_of_work resource:association_football . { VALUES ( ?e ) { ( ontology:collectable ) ( ontology:common_name ) } . ?f rdf:type ?e } } } . FILTER ( ?k < ?x ) . { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?k ) WHERE { { ?n rdf:type ontology:sport . ?h rdf:type ontology:common_name . ?h property:field_of_work ?n } UNION { ?h property:field_of_work ?n . ?n rdf:type ontology:sport . ?h rdf:type ontology:collectable } } GROUP BY ?n } }
[]
sport collectable common name
Q809831 Q136851 Q10962
SYSTEM
BASE jumping, curling, rugby league
Q10962 Q136851 Q43450 Q1109032 Q170737 Q5375 Q22857 Q14300548 Q1734 Q31920 Q12100 Q8418 Q15991265 Q2215841 Q108429 Q592031 Q7707 Q809831 Q847 Q3177899 Q177275 Q42486 Q5372 Q2167372 Q130949 Q1497658 Q178678 Q41466 Q114466 Q328716 Q131359 Q201965 Q2922870 Q204686 Q11420 Q124100 Q1541373 Q41323
(c(Q2342494)|c(Q502895),P101,c(Q349))
action less
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action find_reverse_tuple_counts
relation P101
type Q349
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q2736
relation P101
type Q2342494
type Q502895
[ANSWERS] are the area of lesser number of collectables and people than that sport
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:P101 resource:Q2736 . { VALUES ( ?e ) { ( ontology:Q2342494 ) ( ontology:Q502895 ) } . ?f rdf:type ?e } } } . FILTER ( ?k < ?x ) . { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?k ) WHERE { { ?n rdf:type ontology:Q349 . ?h rdf:type ontology:Q502895 . ?h property:P101 ?n } UNION { ?h property:P101 ?n . ?n rdf:type ontology:Q349 . ?h rdf:type ontology:Q2342494 } } GROUP BY ?n } }
rugby league curling gymnastics college football long jump cricket climbing skating volleyball swimming fencing handball amateur football cycle sport archery wingsuit flying water polo BASE jumping tennis bowling 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
BASE jumping, curling and rugby league are the area of lesser number of collectables and people than that sport
BASE jumping curling rugby league
action less
action union
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action find_reverse_tuple_counts
relation field of work
type sport
type common name
action count
action filter_multi_types
action find_reverse
entity association football
relation field of work
type collectable
type common name
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:field_of_work resource:association_football . { VALUES ( ?e ) { ( ontology:collectable ) ( ontology:common_name ) } . ?f rdf:type ?e } } } . FILTER ( ?k < ?x ) . { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?k ) WHERE { { ?n rdf:type ontology:sport . ?h rdf:type ontology:common_name . ?h property:field_of_work ?n } UNION { ?h property:field_of_work ?n . ?n rdf:type ontology:sport . ?h rdf:type ontology:collectable } } GROUP BY ?n } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P101
Q349 Q502895 Q43229
USER
Which sports are the field of work of around the same number of people or organizations as that sport ?
(c(Q502895)|c(Q43229),P101,c(Q349))
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?o ) { ( ?z ) ( ?x ) } . ?o property:Q627436 ?y } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q43229 }
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?o ) { ( ?z ) ( ?x ) } . ?o property:field_of_work ?y } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:sport . ?x rdf:type ontology:organization }
[]
sport common name organization
Comparative|More/Less|Mult. entity type|Clarification
Q10962
SYSTEM
Did you mean rugby league ?
(c(Q502895)|c(Q43229),P101,c(Q349))
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?o ) { ( ?z ) ( ?x ) } . ?o property:Q627436 ?y } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q43229 }
Did you mean rugby league ?
rugby league
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?o ) { ( ?z ) ( ?x ) } . ?o property:field_of_work ?y } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:sport . ?x rdf:type ontology:organization }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q502895)|c(Q43229),P101,c(Q349))
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q349'}]
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'sport'}]
[]
Q809831 Q136851 Q10962
SYSTEM
BASE jumping, curling, rugby league
Q10962 Q136851 Q43450 Q170737 Q5375 Q22857 Q1734 Q12100 Q8418 Q15991265 Q2215841 Q108429 Q592031 Q7707 Q809831 Q847 Q3177899 Q177275 Q42486 Q5372 Q2167372 Q1497658 Q178678 Q41466 Q114466 Q328716 Q201965 Q2922870 Q204686 Q11420 Q124100 Q1541373 Q41323
(c(Q502895)|c(Q43229),P101,c(Q349))
[ANSWERS] are the field of work of around the same number of people or organizations as that sport
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q43229 }
rugby league curling gymnastics long jump cricket climbing volleyball fencing handball amateur football cycle sport archery wingsuit flying water polo BASE jumping tennis bowling bobsleigh wrestling basketball fell running memory sport kick boxing ice hockey mixed martial arts motorcycle sport Nordic combined boxe winter sport judo bodybuilding sport climbing American football
BASE jumping, curling and rugby league are the field of work of around the same number of people or organizations as that sport
BASE jumping curling rugby league
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:sport . ?x rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q809831 Q136851 Q10962
P101
Q502895
USER
Which people have field of work as those sports ?
(c(Q502895),P101,Q809831) (c(Q502895),P101,Q136851) (c(Q502895),P101,Q10962)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q809831'] [{'concept': 'Q502895'}, 'P101', 'Q136851'] [{'concept': 'Q502895'}, 'P101', 'Q10962']
SELECT DISTINCT ?z WHERE { ?z property:P101 ?i . ?z rdf:type ontology:Q502895 . VALUES ( ?i ) { ( resource:Q10962 ) ( resource:Q136851 ) ( resource:Q43450 ) } }
BASE jumping curling rugby league
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'BASE jumping'] [{'concept': 'common name'}, 'field of work', 'curling'] [{'concept': 'common name'}, 'field of work', 'rugby league']
SELECT DISTINCT ?z WHERE { ?z property:field_of_work ?i . ?z rdf:type ontology:common_name . VALUES ( ?i ) { ( resource:rugby_league ) ( resource:curling ) ( resource:gymnastics ) } }
[]
common name
Q331467 Q6141195 Q15294474
SYSTEM
Henri Aldebert, James Peters, Fred Fugen
Q15294474 Q331467 Q6141195 Q6701930
(c(Q502895),P101,Q809831) (c(Q502895),P101,Q136851) (c(Q502895),P101,Q10962)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[ANSWERS] have field of work as those sports
[{'concept': 'Q502895'}, 'P101', 'Q809831'] [{'concept': 'Q502895'}, 'P101', 'Q136851'] [{'concept': 'Q502895'}, 'P101', 'Q10962']
SELECT DISTINCT ?z WHERE { ?z property:P101 ?i . ?z rdf:type ontology:Q502895 . VALUES ( ?i ) { ( resource:Q10962 ) ( resource:Q136851 ) ( resource:Q43450 ) } }
Fred Fugen Henri Aldebert James Peters Luke Duffy
Henri Aldebert, James Peters and Fred Fugen have field of work as those sports
Henri Aldebert James Peters Fred Fugen
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'BASE jumping'] [{'concept': 'common name'}, 'field of work', 'curling'] [{'concept': 'common name'}, 'field of work', 'rugby league']
SELECT DISTINCT ?z WHERE { ?z property:field_of_work ?i . ?z rdf:type ontology:common_name . VALUES ( ?i ) { ( resource:rugby_league ) ( resource:curling ) ( resource:gymnastics ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q331467 Q6141195 Q15294474
P27
Q15617994
USER
Which administrative territories do Henri Aldebert, James Peters and Fred Fugen belong to ?
(Q331467,P27,c(Q15617994)) (Q6141195,P27,c(Q15617994)) (Q15294474,P27,c(Q15617994))
action union
action filter_type
action find
entity Q331467
relation P27
type Q15617994
action filter_type
action find
entity Q6141195
relation P27
type Q15617994
action filter_type
action find
entity Q15294474
relation P27
type Q15617994
['Q331467', 'P27', {'concept': 'Q15617994'}] ['Q6141195', 'P27', {'concept': 'Q15617994'}] ['Q15294474', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { resource:Q331467 property:P27 ?r . ?r rdf:type ontology:Q15617994 } UNION { resource:Q6141195 property:P27 ?r . ?r rdf:type ontology:Q15617994 } }
Henri Aldebert James Peters Fred Fugen
action union
action filter_type
action find
entity Henri Aldebert
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity James Peters
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Fred Fugen
relation country of citizenship
type designation for an administrative territorial entity
['Henri Aldebert', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['James Peters', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Fred Fugen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { resource:Henri_Aldebert property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:James_Peters property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q142 Q145 Q142
SYSTEM
France for 1st, 3rd, United Kingdom for 2nd
Q142 Q145 Q142
(Q331467,P27,c(Q15617994)) (Q6141195,P27,c(Q15617994)) (Q15294474,P27,c(Q15617994))
action union
action filter_type
action find
entity Q331467
relation P27
type Q15617994
action filter_type
action find
entity Q6141195
relation P27
type Q15617994
action filter_type
action find
entity Q15294474
relation P27
type Q15617994
[ANSWERS]
['Q331467', 'P27', {'concept': 'Q15617994'}] ['Q6141195', 'P27', {'concept': 'Q15617994'}] ['Q15294474', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { resource:Q331467 property:P27 ?r . ?r rdf:type ontology:Q15617994 } UNION { resource:Q6141195 property:P27 ?r . ?r rdf:type ontology:Q15617994 } }
France United Kingdom France
France, United Kingdom and France Henri Aldebert, James Peters and Fred Fugen belong to
France United Kingdom France
action union
action filter_type
action find
entity Henri Aldebert
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity James Peters
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Fred Fugen
relation country of citizenship
type designation for an administrative territorial entity
['Henri Aldebert', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['James Peters', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Fred Fugen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { resource:Henri_Aldebert property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:James_Peters property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]