Simple Question (Direct)
Simple Question
Q522935
P641
Q349
USER
Which sport did Dyanne Bito participate in ?
(Q522935,P641,c(Q349))
action filter_type
action find
entity Q522935
relation P641
type Q349
['Q522935', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q349 . resource:Q522935 property:P641 ?v }
Dyanne Bito
action filter_type
action find
entity Dyanne Bito
relation sport
type sport
['Dyanne Bito', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sport . resource:Dyanne_Bito property:sport ?v }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q522935,P641,c(Q349))
action filter_type
action find
entity Q522935
relation P641
type Q349
Dyanne Bito participated in [ANSWER]
['Q522935', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q349 . resource:Q522935 property:P641 ?v }
association football
Dyanne Bito participated in association football
association football
action filter_type
action find
entity Dyanne Bito
relation sport
type sport
['Dyanne Bito', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sport . resource:Dyanne_Bito property:sport ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
Which territory is the origin of that sport ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?b WHERE { resource:Q2736 property:P495 ?b . ?b 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 ?b WHERE { resource:association_football property:country_of_origin ?b . ?b 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 that sport
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?b WHERE { resource:Q2736 property:P495 ?b . ?b rdf:type ontology:Q1496967 }
England
England is the origin of that sport
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 ?b WHERE { resource:association_football property:country_of_origin ?b . ?b rdf:type ontology:territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3091
Q3745054 Q502895 Q502895
USER
How many people rides on a around 1 horse breeds and people ?
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
value 1
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?n ) WHERE { { ?j property:P3091 ?g . ?j rdf:type ontology:Q502895 . ?g rdf:type ontology:Q3745054 } UNION { ?j rdf:type ontology:Q502895 . ?g rdf:type ontology:Q502895 . ?j property:P3091 ?g } } GROUP BY ?j } . FILTER ( ?n = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
value 1
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?n ) WHERE { { ?j property:mount ?g . ?j rdf:type ontology:common_name . ?g rdf:type ontology:horse_breed } UNION { ?j rdf:type ontology:common_name . ?g rdf:type ontology:common_name . ?j property:mount ?g } } GROUP BY ?j } . FILTER ( ?n = 1 ) }
[]
horse breed common name common name
SYSTEM
88
Q2831786 Q2964761 Q2643622 Q1682742 Q451395 Q1311486 Q682476 Q1088130 Q527657 Q364671 Q3089727 Q919677 Q16208274 Q3400624 Q15782408 Q947032 Q3428317 Q131691 Q17350580 Q438197 Q2396962 Q19630218 Q3106094 Q958372 Q319522 Q78028 Q7647583 Q823503 Q147663 Q513487 Q494315 Q377345 Q5247967 Q8409 Q2831635 Q1710812 Q467676 Q1545318 Q34836 Q238769 Q745510 Q318626 Q608440 Q19839389 Q3134506 Q926771 Q3309932 Q517 Q1351428 Q62177 Q458399 Q2903241 Q529497 Q3380679 Q1337633 Q953867 Q364659 Q19880092 Q1119157 Q1581746 Q72502 Q25906137 Q6765126 Q15972334 Q6148833 Q1391424 Q2094373 Q5079900 Q1342822 Q76246 Q1691413 Q270476 Q272533 Q3074167 Q449891 Q1292304 Q1343527 Q690536 Q43958 Q3428878 Q886901 Q1261810 Q77560 Q3524341 Q3591324 Q9682 Q1633084 Q2420937
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
value 1
[ANSWER]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?n ) WHERE { { ?j property:P3091 ?g . ?j rdf:type ontology:Q502895 . ?g rdf:type ontology:Q3745054 } UNION { ?j rdf:type ontology:Q502895 . ?g rdf:type ontology:Q502895 . ?j property:P3091 ?g } } GROUP BY ?j } . FILTER ( ?n = 1 ) }
Alberto Larraguibel Chris Kappler Alexandra Ledermann Janika Sprunger Fritz Thiedemann Mario Deslauriers Paul Estermann Maxime Guyon Margit Otto-Crépin Jean Teulère Frédéric Cottier Nicolas Touzaint Barbara Minneci Sir Harry Llewellyn, 3rd Baronet Ali Al Rumaihi Pierre Jonquères d'Oriola Torrance Fleischmann Arthur Wellesley, 1st Duke of Wellington Fernand Leredde Helen Langehanenberg Ron Turcotte Michel-Marcel Gougeon Gilles Bertrán de Balanda Piet Raijmakers Ulrich Kirchhoff Marco Kutscher Susan Blinks Uwe Sauer Zara Phillips Linda Algotsson Gerco Schröder Lester Piggott Debbie McDonald Alexander the Great Albert Voorn Richard Spooner Reiner Klimke Greg Best Ulysses S. Grant Isabell Werth Ludo Philippaerts Lars Nieberg John Whitaker Abdelkebir Ouaddar Hervé Godignon Earl Foster Thomson Michel Hécart Napoleon Eric Lamaze Hans Günter Winkler Laura Bechtolsheimer Bill Hartack Edwina Tops-Alexander Philippe Rozier Scott Brash Conrad Homfeld Cédric Lyard Lendon Gray Frankie Dettori Hans Peter Minderhoud Otto Becker Astier Nicolas Marion Coakes Natasha Baker Jan Ebeling Jos Lansink Rolf-Göran Bengtsson Charles Kurtsinger William Fox-Pitt Marcus Ehning Joseph Fargis Sara Algotsson Ostholt Charlotte Dujardin Florian Angot Beezie Madden Edward Gal Karin Rehbein Pius Schwizer El Cid Reynald Angot Blyth Tait Eddie Macken Michael Jung Thierry Jarnet Éric Raffin Elizabeth II Hubert Bourdy Thierry Pomel
88
action count
action approx
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
value 1
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?n ) WHERE { { ?j property:mount ?g . ?j rdf:type ontology:common_name . ?g rdf:type ontology:horse_breed } UNION { ?j rdf:type ontology:common_name . ?g rdf:type ontology:common_name . ?j property:mount ?g } } GROUP BY ?j } . FILTER ( ?n = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q21
P85
Q484692 Q7725634
USER
How many hymns and literary works are the national anthems of England ?
(Q21,P85,c(Q484692)) (Q21,P85,c(Q7725634))
action count
action union
action filter_type
action find
entity Q21
relation P85
type Q484692
action filter_type
action find
entity Q21
relation P85
type Q7725634
['Q21', 'P85', {'concept': 'Q484692'}] ['Q21', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { resource:Q21 property:P85 ?f . ?f rdf:type ontology:Q484692 } UNION { resource:Q21 property:P85 ?f . ?f rdf:type ontology:Q7725634 } }
England
action count
action union
action filter_type
action find
entity England
relation anthem
type hymn
action filter_type
action find
entity England
relation anthem
type literary work
['England', 'anthem', {'concept': 'hymn'}] ['England', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { resource:England property:anthem ?f . ?f rdf:type ontology:hymn } UNION { resource:England property:anthem ?f . ?f rdf:type ontology:literary_work } }
[]
hymn literary work
SYSTEM
2 hymns and 1 literary works
Q489607 Q40807 Q182268
(Q21,P85,c(Q484692)) (Q21,P85,c(Q7725634))
action count
action union
action filter_type
action find
entity Q21
relation P85
type Q484692
action filter_type
action find
entity Q21
relation P85
type Q7725634
[ANSWER]
['Q21', 'P85', {'concept': 'Q484692'}] ['Q21', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { resource:Q21 property:P85 ?f . ?f rdf:type ontology:Q484692 } UNION { resource:Q21 property:P85 ?f . ?f rdf:type ontology:Q7725634 } }
And did those feet in ancient time God Save the Queen Land of Hope and Glory
2 hymns and 1 literary works
action count
action union
action filter_type
action find
entity England
relation anthem
type hymn
action filter_type
action find
entity England
relation anthem
type literary work
['England', 'anthem', {'concept': 'hymn'}] ['England', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { resource:England property:anthem ?f . ?f rdf:type ontology:hymn } UNION { resource:England property:anthem ?f . ?f rdf:type ontology:literary_work } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P417
Q502895
USER
Which person is the patron saint of that territory ?
action filter_type
action find
entity Q21
relation P417
type Q502895
SELECT DISTINCT ?p WHERE { resource:Q21 property:P417 ?p . ?p rdf:type ontology:Q502895 }
England
action filter_type
action find
entity England
relation patron saint
type common name
SELECT DISTINCT ?p WHERE { resource:England property:patron_saint ?p . ?p rdf:type ontology:common_name }
[]
common name
Q48438
SYSTEM
Saint George
Q48438
action filter_type
action find
entity Q21
relation P417
type Q502895
[ANSWER] is the patron saint of that territory
SELECT DISTINCT ?p WHERE { resource:Q21 property:P417 ?p . ?p rdf:type ontology:Q502895 }
Saint George
Saint George is the patron saint of that territory
Saint George
action filter_type
action find
entity England
relation patron saint
type common name
SELECT DISTINCT ?p WHERE { resource:England property:patron_saint ?p . ?p rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q21 Q23156
P840
Q838948
USER
How many works of art have a setting location of England and Devon ?
(c(Q838948),P840,Q21) (c(Q838948),P840,Q23156)
action count
action intersection
action filter_type
action find_reverse
entity Q21
relation P840
type Q838948
action filter_type
action find_reverse
entity Q23156
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q21'] [{'concept': 'Q838948'}, 'P840', 'Q23156']
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i property:P840 resource:Q23156 . ?i rdf:type ontology:Q838948 . ?i rdf:type ontology:Q838948 . ?i property:P840 resource:Q21 }
England Devon
action count
action intersection
action filter_type
action find_reverse
entity England
relation narrative location
type work of art
action filter_type
action find_reverse
entity Devon
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'England'] [{'concept': 'work of art'}, 'narrative location', 'Devon']
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i property:narrative_location resource:Devon . ?i rdf:type ontology:work_of_art . ?i rdf:type ontology:work_of_art . ?i property:narrative_location resource:England }
[]
work of art
SYSTEM
6
Q5166548 Q2194153 Q1194469 Q7993340 Q5188291 Q7998655
(c(Q838948),P840,Q21) (c(Q838948),P840,Q23156)
action count
action intersection
action filter_type
action find_reverse
entity Q21
relation P840
type Q838948
action filter_type
action find_reverse
entity Q23156
relation P840
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P840', 'Q21'] [{'concept': 'Q838948'}, 'P840', 'Q23156']
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i property:P840 resource:Q23156 . ?i rdf:type ontology:Q838948 . ?i rdf:type ontology:Q838948 . ?i property:P840 resource:Q21 }
Convict 99 Escape The Hound of the Baskervilles Where There's a Will Cross Currents Widecombe Fair
6
action count
action intersection
action filter_type
action find_reverse
entity England
relation narrative location
type work of art
action filter_type
action find_reverse
entity Devon
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'England'] [{'concept': 'work of art'}, 'narrative location', 'Devon']
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i property:narrative_location resource:Devon . ?i rdf:type ontology:work_of_art . ?i rdf:type ontology:work_of_art . ?i property:narrative_location resource:England }
[]