Simple Question (Direct)
Simple Question
Q4711289
P21
Q290
USER
Which sex does Albert Sykes have ?
(Q4711289,P21,c(Q290))
action filter_type
action find
entity Q4711289
relation P21
type Q290
['Q4711289', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q4711289 property:P21 ?t . ?t rdf:type ontology:Q290 }
Albert Sykes
action filter_type
action find
entity Albert Sykes
relation gender
type sex
['Albert Sykes', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Albert_Sykes property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4711289,P21,c(Q290))
action filter_type
action find
entity Q4711289
relation P21
type Q290
Albert Sykes has a [ANSWER]
['Q4711289', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q4711289 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
Albert Sykes has a male
male
action filter_type
action find
entity Albert Sykes
relation gender
type sex
['Albert Sykes', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Albert_Sykes property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4711289
P641
Q349
USER
What was the sport that Albert Sykes was a part of ?
(Q4711289,P641,c(Q349))
action filter_type
action find
entity Q4711289
relation P641
type Q349
['Q4711289', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q4711289 property:P641 ?j . ?j rdf:type ontology:Q349 }
Albert Sykes
action filter_type
action find
entity Albert Sykes
relation sport
type sport
['Albert Sykes', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Albert_Sykes property:sport ?j . ?j rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4711289,P641,c(Q349))
action filter_type
action find
entity Q4711289
relation P641
type Q349
The sport that Albert Sykes was a part of was [ANSWER]
['Q4711289', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q4711289 property:P641 ?j . ?j rdf:type ontology:Q349 }
association football
The sport that Albert Sykes was a part of was association football
association football
action filter_type
action find
entity Albert Sykes
relation sport
type sport
['Albert Sykes', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Albert_Sykes property:sport ?j . ?j rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q15971734
P641
Q502895
USER
Is Louis Gascuel associated with playing that sport ?
(Q15971734,P641,Q2736)
action is_in
entity Q15971734
action find
entity Q2736
relation P641
['Q15971734', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q15971734 }
association football Louis Gascuel
action is_in
entity Louis Gascuel
action find
entity association football
relation sport
['Louis Gascuel', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Louis_Gascuel }
[]
common name
SYSTEM
NO
(Q15971734,P641,Q2736)
action is_in
entity Q15971734
action find
entity Q2736
relation P641
[ANSWER]
['Q15971734', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q15971734 }
No
action is_in
entity Louis Gascuel
action find
entity association football
relation sport
['Louis Gascuel', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Louis_Gascuel }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1029
Q502895 Q2235308 Q20027951
USER
How many people are the team member of atleast 1 ship types and aircraft power classes ?
(c(Q2235308)|c(Q20027951),P1029,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q2235308
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q20027951
value 1
[[{'concept': 'Q2235308'}, {'concept': 'Q20027951'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) ?o WHERE { { ?l property:P1029 ?o . ?o rdf:type ontology:Q502895 . ?l rdf:type ontology:Q2235308 } UNION { ?l property:P1029 ?o . ?o rdf:type ontology:Q502895 . ?l rdf:type ontology:Q20027951 } } GROUP BY ?o } . FILTER ( ?x >= 1 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation crew member
type common name
type ship type
action find_reverse_tuple_counts
relation crew member
type common name
type aircraft power class
value 1
[[{'concept': 'ship type'}, {'concept': 'aircraft power class'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) ?o WHERE { { ?l property:crew_member ?o . ?o rdf:type ontology:common_name . ?l rdf:type ontology:ship_type } UNION { ?l property:crew_member ?o . ?o rdf:type ontology:common_name . ?l rdf:type ontology:aircraft_power_class } } GROUP BY ?o } . FILTER ( ?x >= 1 ) }
[]
common name ship type aircraft power class
SYSTEM
6
Q14623220 Q4103224 Q17478723 Q70468 Q334084 Q294555
(c(Q2235308)|c(Q20027951),P1029,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q2235308
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q20027951
value 1
[ANSWER]
[[{'concept': 'Q2235308'}, {'concept': 'Q20027951'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) ?o WHERE { { ?l property:P1029 ?o . ?o rdf:type ontology:Q502895 . ?l rdf:type ontology:Q2235308 } UNION { ?l property:P1029 ?o . ?o rdf:type ontology:Q502895 . ?l rdf:type ontology:Q20027951 } } GROUP BY ?o } . FILTER ( ?x >= 1 ) }
Adolf Schönberg Theodore Van Kirk Hans-Kurt von Bremen Otto von Bülow Thomas Grenville Paul Tibbets
6
action count
action atleast
action union
action find_reverse_tuple_counts
relation crew member
type common name
type ship type
action find_reverse_tuple_counts
relation crew member
type common name
type aircraft power class
value 1
[[{'concept': 'ship type'}, {'concept': 'aircraft power class'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) ?o WHERE { { ?l property:crew_member ?o . ?o rdf:type ontology:common_name . ?l rdf:type ontology:ship_type } UNION { ?l property:crew_member ?o . ?o rdf:type ontology:common_name . ?l rdf:type ontology:aircraft_power_class } } GROUP BY ?o } . FILTER ( ?x >= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2736
P921
Q15416 Q571
USER
How many television programs and books were primarily based on association football ?
(c(Q15416),P921,Q2736) (c(Q571),P921,Q2736)
action count
action union
action filter_type
action find_reverse
entity Q2736
relation P921
type Q15416
action filter_type
action find_reverse
entity Q2736
relation P921
type Q571
[{'concept': 'Q15416'}, 'P921', 'Q2736'] [{'concept': 'Q571'}, 'P921', 'Q2736']
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { ?k rdf:type ?t . VALUES ( ?t ) { ( ontology:Q15416 ) ( ontology:Q571 ) } }
association football
action count
action union
action filter_type
action find_reverse
entity association football
relation main subject
type television program
action filter_type
action find_reverse
entity association football
relation main subject
type book
[{'concept': 'television program'}, 'main subject', 'association football'] [{'concept': 'book'}, 'main subject', 'association football']
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { ?k rdf:type ?t . VALUES ( ?t ) { ( ontology:television_program ) ( ontology:book ) } }
[]
television program book
SYSTEM
18 television programs and 1 books
Q17326629 Q1740812 Q1161659 Q17426152 Q7775956 Q524179 Q7796824 Q6946471 Q7734305 Q94048 Q7803264 Q26430211 Q5222479 Q4881279 Q1167853 Q5763645 Q16959067 Q4660141 Q26852666
(c(Q15416),P921,Q2736) (c(Q571),P921,Q2736)
action count
action union
action filter_type
action find_reverse
entity Q2736
relation P921
type Q15416
action filter_type
action find_reverse
entity Q2736
relation P921
type Q571
[ANSWER]
[{'concept': 'Q15416'}, 'P921', 'Q2736'] [{'concept': 'Q571'}, 'P921', 'Q2736']
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { ?k rdf:type ?t . VALUES ( ?t ) { ( ontology:Q15416 ) ( ontology:Q571 ) } }
Trainer! Her Best Move The Firm An Impossible Job The World Cup: A Captain's Tale United Those Glory Glory Days My Summer with Des The Fix Soccer Dog: The Movie Tim Cahill: The Unseen Journey Offside Dare to Dream: The Story of the U.S. Women's Soccer Team Being: Liverpool The Final Game Hillsborough United A Time for Champions Football: The Association Game
18 television programs and 1 books
action count
action union
action filter_type
action find_reverse
entity association football
relation main subject
type television program
action filter_type
action find_reverse
entity association football
relation main subject
type book
[{'concept': 'television program'}, 'main subject', 'association football'] [{'concept': 'book'}, 'main subject', 'association football']
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { ?k rdf:type ?t . VALUES ( ?t ) { ( ontology:television_program ) ( ontology:book ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4711289
P106
Q12737077
USER
Which occupation is the profession of Albert Sykes ?
(Q4711289,P106,c(Q12737077))
action filter_type
action find
entity Q4711289
relation P106
type Q12737077
['Q4711289', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q4711289 property:P106 ?r }
Albert Sykes
action filter_type
action find
entity Albert Sykes
relation occupation
type occupation
['Albert Sykes', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Albert_Sykes property:occupation ?r }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q4711289,P106,c(Q12737077))
action filter_type
action find
entity Q4711289
relation P106
type Q12737077
Player [ANSWER] is the profession of Albert Sykes
['Q4711289', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q4711289 property:P106 ?r }
association football player
Player association football player is the profession of Albert Sykes
association football player
action filter_type
action find
entity Albert Sykes
relation occupation
type occupation
['Albert Sykes', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Albert_Sykes property:occupation ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4711289
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q4711289
relation P27
type Q15617994
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q4711289 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Albert Sykes
action filter_type
action find
entity Albert Sykes
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Albert_Sykes property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q4711289
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q4711289 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
United Kingdom
That person belongs to the United Kingdom
United Kingdom
action filter_type
action find
entity Albert Sykes
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Albert_Sykes property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q145 Q10394440
P495
Q838948
USER
Is that administrative territory a country of origin of Xuxa Requebra ?
(Q10394440,P495,Q145)
action is_in
entity Q10394440
action find
entity Q145
relation P495
['Q10394440', 'P495', 'Q145']
ASK WHERE { resource:Q145 property:P495 resource:Q10394440 }
United Kingdom Xuxa Requebra
action is_in
entity Xuxa Requebra
action find
entity United Kingdom
relation country of origin
['Xuxa Requebra', 'country of origin', 'United Kingdom']
ASK WHERE { resource:United_Kingdom property:country_of_origin resource:Xuxa_Requebra }
[]
work of art
SYSTEM
NO
(Q10394440,P495,Q145)
action is_in
entity Q10394440
action find
entity Q145
relation P495
[ANSWER]
['Q10394440', 'P495', 'Q145']
ASK WHERE { resource:Q145 property:P495 resource:Q10394440 }
No
action is_in
entity Xuxa Requebra
action find
entity United Kingdom
relation country of origin
['Xuxa Requebra', 'country of origin', 'United Kingdom']
ASK WHERE { resource:United_Kingdom property:country_of_origin resource:Xuxa_Requebra }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q145
P840
Q15416 Q838948
USER
How many television programs and works of art have their narrative set in United Kingdom ?
(c(Q15416),P840,Q145) (c(Q838948),P840,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P840
type Q15416
action filter_type
action find_reverse
entity Q145
relation P840
type Q838948
[{'concept': 'Q15416'}, 'P840', 'Q145'] [{'concept': 'Q838948'}, 'P840', 'Q145']
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { ?b rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } }
United Kingdom
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation narrative location
type television program
action filter_type
action find_reverse
entity United Kingdom
relation narrative location
type work of art
[{'concept': 'television program'}, 'narrative location', 'United Kingdom'] [{'concept': 'work of art'}, 'narrative location', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { ?b rdf:type ?v . VALUES ( ?v ) { ( ontology:television_program ) ( ontology:work_of_art ) } }
[]
television program work of art
SYSTEM
69 television programs and 2 works of art
Q17039455 Q16953956 Q20020291 Q16995658 Q19824815 Q16995048 Q193973 Q16994985 Q16993375 Q16995459 Q5519196 Q10337169 Q15109327 Q7832449 Q16958386 Q7641426 Q16961393 Q16995528 Q16996902 Q15619684 Q16988855 Q16679651 Q16996291 Q17018809 Q16993261 Q16953744 Q17104366 Q21775778 Q17016976 Q17033935 Q18712151 Q752313 Q15974784 Q16992051 Q16956081 Q17150444 Q16997329 Q17018116 Q20713401 Q17022471 Q15109282 Q16992630 Q15270664 Q16385485 Q16997851 Q16994796 Q17019426 Q16993458 Q20718353 Q652460 Q17034138 Q16953842 Q19650404 Q16988682 Q7759292 Q2070312 Q15732968 Q17017945 Q6959460 Q17344458 Q16993244 Q17013583 Q16976961 Q7677671 Q17104024 Q16994352 Q21998276 Q15109310 Q1890400 Q16994324 Q17020225
(c(Q15416),P840,Q145) (c(Q838948),P840,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P840
type Q15416
action filter_type
action find_reverse
entity Q145
relation P840
type Q838948
[ANSWER]
[{'concept': 'Q15416'}, 'P840', 'Q145'] [{'concept': 'Q838948'}, 'P840', 'Q145']
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { ?b rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } }
Wolf Hall The Brits who Built the Modern World 24 Hours in the Past Killer Magic Nurse Invasion of the Job Snatchers Secret State The Interceptor Grey Mates Jonathan Strange & Mr Norrell Gallowglass Noah and Saskia Tudor Monastery Farm Traffic Cops Cilla Sunshine Saving Britain's Past Junior Paramedics London Spy House of Fools Doctor Foster The Line of Beauty The Life of Rock with Brian Pern Remember Me The Great Interior Design Challenge The Big Allotment Challenge Mud, Sweat & Gears Josh Ordinary Lies Watchdog Test House Cara Fi Bridget Jones's Diary The Great Train Robbery Famous, Rich and Hungry Castles in the Sky Barely Legal Drivers Mapp and Lucia Pound Shop Wars The Outcast Supermarket Secrets The Crane Gang The Game Framed Dickensian Mind the Gap: London vs the Rest In and Out of the Kitchen Sacred Wonders of Britain The Guess List Agatha Raisin Trinity Watermen: a Dirty Business Britain and the Sea Life in Squares Detectorists The Railway: Keeping Britain On Track Percy Stuart W1A Poldark Oakie Doke Mr. Holmes Great British Garden Revival The Passing Bells Pat & Cabbage Take Me River The House that £100k Built Tracey Ullman's Show Iceland Foods: Life in the Freezer Cabinet Terry Pratchett's The Colour of Magic Hotel of Mum and Dad The Secrets
69 television programs and 2 works of art
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation narrative location
type television program
action filter_type
action find_reverse
entity United Kingdom
relation narrative location
type work of art
[{'concept': 'television program'}, 'narrative location', 'United Kingdom'] [{'concept': 'work of art'}, 'narrative location', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { ?b rdf:type ?v . VALUES ( ?v ) { ( ontology:television_program ) ( ontology:work_of_art ) } }
[]