Simple Question (Direct)
Simple Question
Q6205421
P106
Q12737077
USER
What is the job of Joan Sabaté Borràs ?
(Q6205421,P106,c(Q12737077))
action filter_type
action find
entity Q6205421
relation P106
type Q12737077
['Q6205421', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q6205421 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Joan Sabaté Borràs
action filter_type
action find
entity Joan Sabaté Borràs
relation occupation
type occupation
['Joan Sabaté Borràs', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Joan_Sabaté_Borràs property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6205421,P106,c(Q12737077))
action filter_type
action find
entity Q6205421
relation P106
type Q12737077
The job of Joan Sabaté Borràs is an [ANSWER]
['Q6205421', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q6205421 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
association football player
The job of Joan Sabaté Borràs is an association football player
association football player
action filter_type
action find
entity Joan Sabaté Borràs
relation occupation
type occupation
['Joan Sabaté Borràs', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Joan_Sabaté_Borràs property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6205421
P21
Q290
USER
What is the sex of that person ?
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q6205421
relation P21
type Q290
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q6205421 property:P21 ?k . ?k rdf:type ontology:Q290 }
Joan Sabaté Borràs
action filter_type
action find
entity Joan Sabaté Borràs
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Joan_Sabaté_Borràs property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q6205421
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q6205421 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Joan Sabaté Borràs
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Joan_Sabaté_Borràs property:gender ?k . ?k rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q2689275
P21
Q502895
USER
Is Eric Bruskotter a that sex ?
(Q2689275,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q2689275
relation P21
['Q2689275', 'P21', 'Q6581097']
ASK WHERE { resource:Q2689275 property:P21 resource:Q6581097 }
male Eric Bruskotter
action is_in
entity male
action find
entity Eric Bruskotter
relation gender
['Eric Bruskotter', 'gender', 'male']
ASK WHERE { resource:Eric_Bruskotter property:gender resource:male }
[]
common name
SYSTEM
YES
(Q2689275,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q2689275
relation P21
[ANSWER]
['Q2689275', 'P21', 'Q6581097']
ASK WHERE { resource:Q2689275 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Eric Bruskotter
relation gender
['Eric Bruskotter', 'gender', 'male']
ASK WHERE { resource:Eric_Bruskotter property:gender resource:male }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q937857
P106
Q6619679 Q16979650
USER
How many fictional humanoids and sibling groups have a job as association football player ?
(c(Q6619679),P106,Q937857) (c(Q16979650),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q6619679
action filter_type
action find_reverse
entity Q937857
relation P106
type Q16979650
[{'concept': 'Q6619679'}, 'P106', 'Q937857'] [{'concept': 'Q16979650'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { { ?b property:P106 resource:Q937857 . ?b rdf:type ontology:Q16979650 } UNION { ?b rdf:type ontology:Q6619679 . ?b property:P106 resource:Q937857 } }
association football player
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type fictional humanoid
action filter_type
action find_reverse
entity association football player
relation occupation
type sibling group
[{'concept': 'fictional humanoid'}, 'occupation', 'association football player'] [{'concept': 'sibling group'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { { ?b property:occupation resource:association_football_player . ?b rdf:type ontology:sibling_group } UNION { ?b rdf:type ontology:fictional_humanoid . ?b property:occupation resource:association_football_player } }
[]
fictional humanoid sibling group
SYSTEM
24 fictional humanoids and 1 sibling groups
Q8994224 Q6371793 Q1000043 Q7626893 Q3482197 Q5292194 Q3498435 Q10303719 Q5220860 Q5246215 Q2567460 Q2939461 Q7937796 Q5136888 Q3482651 Q7384370 Q6701906 Q5195672 Q6163280 Q5049092 Q1000560 Q4913115 Q6027090 Q5360264 Q5489814
(c(Q6619679),P106,Q937857) (c(Q16979650),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q6619679
action filter_type
action find_reverse
entity Q937857
relation P106
type Q16979650
[ANSWER]
[{'concept': 'Q6619679'}, 'P106', 'Q937857'] [{'concept': 'Q16979650'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { { ?b property:P106 resource:Q937857 . ?b rdf:type ontology:Q16979650 } UNION { ?b rdf:type ontology:Q6619679 . ?b property:P106 resource:Q937857 } }
Lee Presley Karl Fletcher Ken Wakashimazu Stuart Naysmith Shingo Aoi Don Barker Stephan Levin Tachibana brothers Danny Sullivan Dean Hocknell Santiago Muñez Cardona Carlos Santana Vivian Wright Clyde Connelly Shun Nitta Ryan Naysmith Luke Davenport Curtis Alexander Jason Porter Casper Rose Hikaru Matsuyama Billy O'Neil Milija and Pavle Bakić Eli Knox Frank Stone
24 fictional humanoids and 1 sibling groups
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type fictional humanoid
action filter_type
action find_reverse
entity association football player
relation occupation
type sibling group
[{'concept': 'fictional humanoid'}, 'occupation', 'association football player'] [{'concept': 'sibling group'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { { ?b property:occupation resource:association_football_player . ?b rdf:type ontology:sibling_group } UNION { ?b rdf:type ontology:fictional_humanoid . ?b property:occupation resource:association_football_player } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2720774 Q937857
P425 P641
Q349
USER
Which sports have association football player as thier associated field of occupation or were 1979 US Open – Men's Singles a part of ?
OR((Q937857,P425,c(Q349)), (Q2720774,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q2720774
relation P641
type Q349
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q2720774', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q2720774 property:P641 ?p } UNION { resource:Q937857 property:P425 ?p } } . ?p rdf:type ontology:Q349 }
1979 US Open – Men's Singles association football player
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity 1979 US Open – Men's Singles
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ["1979 US Open – Men's Singles", 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?p WHERE { { { resource:1979_US_Open_–_Men's_Singles property:sport ?p } UNION { resource:association_football_player property:field_of_this_occupation ?p } } . ?p rdf:type ontology:sport }
[]
sport
Q847 Q2736
SYSTEM
tennis, association football
Q847 Q2736
OR((Q937857,P425,c(Q349)), (Q2720774,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q2720774
relation P641
type Q349
As [ANSWERS] have association football player as thier associated field of occupation or were 1979 US Open – Men's Singles a part of
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q2720774', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q2720774 property:P641 ?p } UNION { resource:Q937857 property:P425 ?p } } . ?p rdf:type ontology:Q349 }
tennis association football
As tennis and association football have association football player as thier associated field of occupation or were 1979 US Open – Men's Singles a part of
tennis association football
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity 1979 US Open – Men's Singles
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ["1979 US Open – Men's Singles", 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?p WHERE { { { resource:1979_US_Open_–_Men's_Singles property:sport ?p } UNION { resource:association_football_player property:field_of_this_occupation ?p } } . ?p rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q847 Q2736
P921
Q2342494
USER
Which collectables have tennis and association football as their principal topic ?
(c(Q2342494),P921,Q847) (c(Q2342494),P921,Q2736)
action union
action filter_type
action find_reverse
entity Q847
relation P921
type Q2342494
action filter_type
action find_reverse
entity Q2736
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q847'] [{'concept': 'Q2342494'}, 'P921', 'Q2736']
SELECT DISTINCT ?z WHERE { VALUES ( ?l ) { ( resource:Q847 ) ( resource:Q2736 ) } . ?z property:P921 ?l }
tennis association football
action union
action filter_type
action find_reverse
entity tennis
relation main subject
type collectable
action filter_type
action find_reverse
entity association football
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'tennis'] [{'concept': 'collectable'}, 'main subject', 'association football']
SELECT DISTINCT ?z WHERE { VALUES ( ?l ) { ( resource:tennis ) ( resource:association_football ) } . ?z property:main_subject ?l }
[]
collectable
Q19845002 Q13410659 Q21014398
SYSTEM
Citizens and minstermen : a who's who of York City FC, 1922-1997, 100 years of Wimbledon, World of Tennis 1985
Q13410659 Q21014398 Q23978365 Q13415851 Q19845002 Q17689986 Q19971888 Q24548386 Q21570245 Q22675629 Q20824881 Q20856033
(c(Q2342494),P921,Q847) (c(Q2342494),P921,Q2736)
action union
action filter_type
action find_reverse
entity Q847
relation P921
type Q2342494
action filter_type
action find_reverse
entity Q2736
relation P921
type Q2342494
[ANSWERS] have tennis and association football as their principal topic
[{'concept': 'Q2342494'}, 'P921', 'Q847'] [{'concept': 'Q2342494'}, 'P921', 'Q2736']
SELECT DISTINCT ?z WHERE { VALUES ( ?l ) { ( resource:Q847 ) ( resource:Q2736 ) } . ?z property:P921 ?l }
100 years of Wimbledon World of Tennis 1985 Who's Who in International Tennis The Bud Collins History of Tennis Citizens and minstermen : a who's who of York City FC, 1922-1997 Le Foot: The Legends of French Football Football league players' records: 1888 to 1939 100 år med allsvensk fotboll Who's who of Welsh international soccer players Crystal Palace: The Complete Record 1905-2011 Pompey: the history of Portsmouth Football Club The PFA Premier & Football League players' records, 1946-2005
Citizens and minstermen : a who's who of York City FC, 1922-1997, 100 years of Wimbledon and World of Tennis 1985 have tennis and association football as their principal topic
Citizens and minstermen : a who's who of York City FC, 1922-1997 100 years of Wimbledon World of Tennis 1985
action union
action filter_type
action find_reverse
entity tennis
relation main subject
type collectable
action filter_type
action find_reverse
entity association football
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'tennis'] [{'concept': 'collectable'}, 'main subject', 'association football']
SELECT DISTINCT ?z WHERE { VALUES ( ?l ) { ( resource:tennis ) ( resource:association_football ) } . ?z property:main_subject ?l }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q19845002 Q13410659 Q21014398
P364
Q34770
USER
Which languages are the original languages of creation of those collectables ?
(Q19845002,P364,c(Q34770)) (Q13410659,P364,c(Q34770)) (Q21014398,P364,c(Q34770))
action filter_type
action find
entity prev_answer
relation P364
type Q34770
['Q19845002', 'P364', {'concept': 'Q34770'}] ['Q13410659', 'P364', {'concept': 'Q34770'}] ['Q21014398', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { ?h property:P364 ?s . VALUES ( ?h ) { ( resource:Q13410659 ) ( resource:Q21014398 ) ( resource:Q23978365 ) } . ?s rdf:type ontology:Q34770 }
Citizens and minstermen : a who's who of York City FC, 1922-1997 100 years of Wimbledon World of Tennis 1985
action filter_type
action find
entity prev_answer
relation original language of work
type language
["Citizens and minstermen : a who's who of York City FC, 1922-1997", 'original language of work', {'concept': 'language'}] ['100 years of Wimbledon', 'original language of work', {'concept': 'language'}] ['World of Tennis 1985', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { ?h property:original_language_of_work ?s . VALUES ( ?h ) { ( resource:100_years_of_Wimbledon ) ( resource:World_of_Tennis_1985 ) ( resource:Who's_Who_in_International_Tennis ) } . ?s rdf:type ontology:language }
[]
language
Q1860 Q1860 Q1860
SYSTEM
English
Q1860 Q1860 Q1860
(Q19845002,P364,c(Q34770)) (Q13410659,P364,c(Q34770)) (Q21014398,P364,c(Q34770))
action filter_type
action find
entity prev_answer
relation P364
type Q34770
[ANSWER], [ANSWER] and [ANSWER] are the original languages of creation of those collectables
['Q19845002', 'P364', {'concept': 'Q34770'}] ['Q13410659', 'P364', {'concept': 'Q34770'}] ['Q21014398', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { ?h property:P364 ?s . VALUES ( ?h ) { ( resource:Q13410659 ) ( resource:Q21014398 ) ( resource:Q23978365 ) } . ?s rdf:type ontology:Q34770 }
English English English
English, English and English are the original languages of creation of those collectables
English English English
action filter_type
action find
entity prev_answer
relation original language of work
type language
["Citizens and minstermen : a who's who of York City FC, 1922-1997", 'original language of work', {'concept': 'language'}] ['100 years of Wimbledon', 'original language of work', {'concept': 'language'}] ['World of Tennis 1985', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { ?h property:original_language_of_work ?s . VALUES ( ?h ) { ( resource:100_years_of_Wimbledon ) ( resource:World_of_Tennis_1985 ) ( resource:Who's_Who_in_International_Tennis ) } . ?s rdf:type ontology:language }
[]