Simple Question (Direct)
Simple Question
Q18414523
P58
Q502895
USER
Who served as the screenwriter for President Haudecoeur ?
(Q18414523,P58,c(Q502895))
action filter_type
action find
entity Q18414523
relation P58
type Q502895
['Q18414523', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q18414523 property:P58 ?w . ?w rdf:type ontology:Q502895 }
President Haudecoeur
action filter_type
action find
entity President Haudecoeur
relation screenwriter
type common name
['President Haudecoeur', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:President_Haudecoeur property:screenwriter ?w . ?w rdf:type ontology:common_name }
[]
common name
Q660078
SYSTEM
Roger Ferdinand
Q660078
(Q18414523,P58,c(Q502895))
action filter_type
action find
entity Q18414523
relation P58
type Q502895
[ANSWER] served as the screenwriter for President Haudecoeur
['Q18414523', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q18414523 property:P58 ?w . ?w rdf:type ontology:Q502895 }
Roger Ferdinand
Roger Ferdinand served as the screenwriter for President Haudecoeur
Roger Ferdinand
action filter_type
action find
entity President Haudecoeur
relation screenwriter
type common name
['President Haudecoeur', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:President_Haudecoeur property:screenwriter ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18414523
P462
Q1075
USER
Which color is that work of art associated with ?
(Q660078,P462,c(Q1075))
action filter_type
action find
entity Q18414523
relation P462
type Q1075
['Q660078', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?o WHERE { resource:Q18414523 property:P462 ?o . ?o rdf:type ontology:Q1075 }
President Haudecoeur
action filter_type
action find
entity President Haudecoeur
relation color
type color
['Roger Ferdinand', 'color', {'concept': 'color'}]
SELECT DISTINCT ?o WHERE { resource:President_Haudecoeur property:color ?o . ?o rdf:type ontology:color }
[]
color
Q2254548
SYSTEM
black-and-white film
Q2254548
(Q660078,P462,c(Q1075))
action filter_type
action find
entity Q18414523
relation P462
type Q1075
That work of art is associated with [ANSWER]
['Q660078', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?o WHERE { resource:Q18414523 property:P462 ?o . ?o rdf:type ontology:Q1075 }
black-and-white film
That work of art is associated with black-and-white film
black-and-white film
action filter_type
action find
entity President Haudecoeur
relation color
type color
['Roger Ferdinand', 'color', {'concept': 'color'}]
SELECT DISTINCT ?o WHERE { resource:President_Haudecoeur property:color ?o . ?o rdf:type ontology:color }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1113936 Q18414523
P161
Q502895
USER
Which people starred in President Haudecoeur or Comeback ?
OR((Q18414523,P161,c(Q502895)), (Q1113936,P161,c(Q502895)))
action filter_type
action union
action find
entity Q18414523
relation P161
action find
entity Q1113936
relation P161
type Q502895
{'OR': [['Q18414523', 'P161', {'concept': 'Q502895'}], ['Q1113936', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?r ) { ( resource:Q1113936 ) ( resource:Q18414523 ) } . ?r property:P161 ?t } . ?t rdf:type ontology:Q502895 }
Comeback President Haudecoeur
action filter_type
action union
action find
entity President Haudecoeur
relation cast member
action find
entity Comeback
relation cast member
type common name
{'OR': [['President Haudecoeur', 'cast member', {'concept': 'common name'}], ['Comeback', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?r ) { ( resource:Comeback ) ( resource:President_Haudecoeur ) } . ?r property:cast_member ?t } . ?t rdf:type ontology:common_name }
[]
common name
Q1715470 Q3176143 Q1508842 Q44648 Q2848366 Q2900267 Q97616 Q1575582 Q3290696 Q263518
SYSTEM
Some of them are Jörg Pfennigwerth, Jeanne Provost, Georges Chamarat, Eric Burdon, André Numès Fils, Betty Stockfeld, Dan van Husen, Michael Cavanaugh, Marguerite Deval, Louisiana Red
Q3176143 Q2848366 Q3174753 Q1715470 Q2900267 Q508681 Q3289216 Q1508842 Q3290696 Q97616 Q3436087 Q263518 Q1575582 Q552063 Q44648
OR((Q18414523,P161,c(Q502895)), (Q1113936,P161,c(Q502895)))
action filter_type
action union
action find
entity Q18414523
relation P161
action find
entity Q1113936
relation P161
type Q502895
[ANSWERS] starred in President Haudecoeur or Comeback
{'OR': [['Q18414523', 'P161', {'concept': 'Q502895'}], ['Q1113936', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?r ) { ( resource:Q1113936 ) ( resource:Q18414523 ) } . ?r property:P161 ?t } . ?t rdf:type ontology:Q502895 }
Jeanne Provost André Numès Fils Jean Témerson Jörg Pfennigwerth Betty Stockfeld Julie Carmen Marcel Maupi Georges Chamarat Marguerite Deval Dan van Husen Robert Pizani Louisiana Red Michael Cavanaugh Harry Baur Eric Burdon
Jörg Pfennigwerth, Jeanne Provost, Georges Chamarat, Eric Burdon, André Numès Fils, Betty Stockfeld, Dan van Husen, Michael Cavanaugh, Marguerite Deval and Louisiana Red starred in President Haudecoeur or Comeback
Jörg Pfennigwerth Jeanne Provost Georges Chamarat Eric Burdon André Numès Fils Betty Stockfeld Dan van Husen Michael Cavanaugh Marguerite Deval Louisiana Red
action filter_type
action union
action find
entity President Haudecoeur
relation cast member
action find
entity Comeback
relation cast member
type common name
{'OR': [['President Haudecoeur', 'cast member', {'concept': 'common name'}], ['Comeback', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?r ) { ( resource:Comeback ) ( resource:President_Haudecoeur ) } . ?r property:cast_member ?t } . ?t rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q9682
P3091
Q3745054 Q502895 Q502895
USER
How many people utilize lesser number of horse breeds and people as steed than Elizabeth II ?
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action count
action less
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action count
action filter_multi_types
action find
entity Q9682
relation P3091
type Q3745054
type Q502895
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?a ) WHERE { { ?c property:P3091 ?k . ?c rdf:type ontology:Q502895 . ?k rdf:type ontology:Q3745054 } UNION { ?c rdf:type ontology:Q502895 . ?k rdf:type ontology:Q502895 . ?c property:P3091 ?k } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { resource:Q9682 property:P3091 ?q . { { ?q rdf:type ontology:Q502895 } UNION { ?q rdf:type ontology:Q3745054 } } } } . FILTER ( ?a < ?s ) }
Elizabeth II
action count
action less
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
action count
action filter_multi_types
action find
entity Elizabeth II
relation mount
type horse breed
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?a ) WHERE { { ?c property:mount ?k . ?c rdf:type ontology:common_name . ?k rdf:type ontology:horse_breed } UNION { ?c rdf:type ontology:common_name . ?k rdf:type ontology:common_name . ?c property:mount ?k } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { resource:Elizabeth_II property:mount ?q . { { ?q rdf:type ontology:common_name } UNION { ?q rdf:type ontology:horse_breed } } } } . FILTER ( ?a < ?s ) }
[]
horse breed common name common name
SYSTEM
53
Q71451 Q64650 Q186164 Q7934379 Q262338 Q2965770 Q1038847 Q20240956 Q364502 Q3081121 Q25906162 Q355148 Q3035045 Q3351282 Q678324 Q151754 Q997380 Q84536 Q3056396 Q207535 Q2941011 Q3565906 Q942215 Q3385955 Q249233 Q364920 Q2162566 Q3573625 Q450267 Q2577320 Q4351964 Q317846 Q3501998 Q840001 Q3167944 Q6409976 Q3299860 Q19630255 Q444585 Q34479 Q312391 Q1061259 Q2041036 Q2966249 Q1739026 Q1081174 Q16104944 Q5908769 Q967780 Q488277 Q1332346 Q3147326 Q454614
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action count
action less
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action count
action filter_multi_types
action find
entity Q9682
relation P3091
type Q3745054
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?a ) WHERE { { ?c property:P3091 ?k . ?c rdf:type ontology:Q502895 . ?k rdf:type ontology:Q3745054 } UNION { ?c rdf:type ontology:Q502895 . ?k rdf:type ontology:Q502895 . ?c property:P3091 ?k } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { resource:Q9682 property:P3091 ?q . { { ?q rdf:type ontology:Q502895 } UNION { ?q rdf:type ontology:Q3745054 } } } } . FILTER ( ?a < ?s ) }
Franke Sloothaak Ingrid Klimke Pippa Funnell Virginia Leng Nicole Uphoff Criquette Head-Maarek Carl Hester Arnaud Serre David O'Connor Kieren Fallon Thibaut Vallette Adelinde Cornelissen Dominique Boeuf Olivier Peslier Jorma Kontio Anne, Princess Royal Yutaka Take Hugo Simon Eric Saint-Martin Roland Cash Asmussen Walter Swinburn Jean-Claude Van Geenberghe Pierre Levesque Kristina Sprehe Bruce Davidson Ryan Moore Yves Dreux Nadine Capellmann Wilhelm Melliger Björn Goop Lü Bu Stéphane Pasquier Christophe Soumillon Jean-Michel Bazire Kimberly Severson Matthieu Abrivard Léopold Verroken Ulla Salzgeber Hirohito Philippe Leclerc de Hauteclocque Johnny Murtagh Christophe Lemaire Christophe Gallier Kent Farrington Gérald Mossé Michael Page Örjan Kihlström Franck Nivard Jan Tops Mark Todd Ian Stark Fritz Ligges
53
action count
action less
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
action count
action filter_multi_types
action find
entity Elizabeth II
relation mount
type horse breed
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?a ) WHERE { { ?c property:mount ?k . ?c rdf:type ontology:common_name . ?k rdf:type ontology:horse_breed } UNION { ?c rdf:type ontology:common_name . ?k rdf:type ontology:common_name . ?c property:mount ?k } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { resource:Elizabeth_II property:mount ?q . { { ?q rdf:type ontology:common_name } UNION { ?q rdf:type ontology:horse_breed } } } } . FILTER ( ?a < ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q288267
P3091
Q3745054 Q502895 Q502895
USER
And how about Éric Navet?
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action count
action less
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action count
action filter_multi_types
action find
entity Q288267
relation P3091
type Q3745054
type Q502895
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?e ) AS ?i ) WHERE { { ?k property:P3091 ?e . ?e rdf:type ontology:Q3745054 . ?k rdf:type ontology:Q502895 } UNION { ?k property:P3091 ?e . ?k rdf:type ontology:Q502895 . ?e rdf:type ontology:Q502895 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { resource:Q288267 property:P3091 ?h . { VALUES ( ?n ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } . ?h rdf:type ?n } } } . FILTER ( ?i < ?c ) }
Éric Navet
action count
action less
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
action count
action filter_multi_types
action find
entity Éric Navet
relation mount
type horse breed
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?e ) AS ?i ) WHERE { { ?k property:mount ?e . ?e rdf:type ontology:horse_breed . ?k rdf:type ontology:common_name } UNION { ?k property:mount ?e . ?k rdf:type ontology:common_name . ?e rdf:type ontology:common_name } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { resource:Éric_Navet property:mount ?h . { VALUES ( ?n ) { ( ontology:horse_breed ) ( ontology:common_name ) } . ?h rdf:type ?n } } } . FILTER ( ?i < ?c ) }
[]
horse breed common name common name
SYSTEM
163
Q2831786 Q71451 Q2964761 Q2643622 Q69084 Q64650 Q1682742 Q451395 Q1311486 Q682476 Q358777 Q1088130 Q186164 Q7934379 Q262338 Q527657 Q364671 Q235022 Q2965770 Q3089727 Q1038847 Q20240956 Q364502 Q919677 Q16208274 Q3400624 Q15782408 Q3087038 Q3081121 Q947032 Q3428317 Q2057115 Q131691 Q17350580 Q14912896 Q438197 Q25906162 Q355148 Q3035045 Q3591240 Q3169911 Q2396962 Q19630218 Q3106094 Q3351282 Q958372 Q319522 Q678324 Q78028 Q7647583 Q823503 Q147663 Q513487 Q494315 Q151754 Q997380 Q377345 Q5247967 Q538006 Q84536 Q3056396 Q8409 Q2831635 Q207535 Q952736 Q2941011 Q3565906 Q1710812 Q467676 Q1545318 Q942215 Q34836 Q238769 Q3385955 Q745510 Q318626 Q608440 Q249233 Q19839389 Q364920 Q2162566 Q2287454 Q3134506 Q926771 Q3309932 Q3573625 Q517 Q1351428 Q62177 Q450267 Q2577320 Q458399 Q4351964 Q317846 Q3501998 Q2903241 Q529497 Q3380679 Q1617291 Q1337633 Q840001 Q953867 Q364659 Q19880092 Q3167944 Q1119157 Q1581746 Q60968 Q72502 Q6409976 Q25906137 Q6765126 Q15972334 Q6148833 Q1391424 Q2094373 Q3299860 Q5079900 Q1277320 Q6369922 Q1985582 Q19630255 Q1342822 Q444585 Q76246 Q34479 Q1691413 Q270476 Q272533 Q3074167 Q1930899 Q449891 Q1292304 Q312391 Q1343527 Q1061259 Q2041036 Q2966249 Q1739026 Q690536 Q175930 Q43958 Q1081174 Q3428878 Q673136 Q16104944 Q5908769 Q886901 Q1261810 Q967780 Q77560 Q62253 Q3308301 Q1538882 Q3524341 Q3591324 Q488277 Q9682 Q1332346 Q3147326 Q1633084 Q2420937 Q454614
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action count
action less
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action count
action filter_multi_types
action find
entity Q288267
relation P3091
type Q3745054
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?e ) AS ?i ) WHERE { { ?k property:P3091 ?e . ?e rdf:type ontology:Q3745054 . ?k rdf:type ontology:Q502895 } UNION { ?k property:P3091 ?e . ?k rdf:type ontology:Q502895 . ?e rdf:type ontology:Q502895 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { resource:Q288267 property:P3091 ?h . { VALUES ( ?n ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } . ?h rdf:type ?n } } } . FILTER ( ?i < ?c ) }
Alberto Larraguibel Franke Sloothaak Chris Kappler Alexandra Ledermann Paul Schockemöhle Ingrid Klimke Janika Sprunger Fritz Thiedemann Mario Deslauriers Paul Estermann Yves Saint-Martin Maxime Guyon Pippa Funnell Virginia Leng Nicole Uphoff Margit Otto-Crépin Jean Teulère Anky van Grunsven Criquette Head-Maarek Frédéric Cottier Carl Hester Arnaud Serre David O'Connor Nicolas Touzaint Barbara Minneci Sir Harry Llewellyn, 3rd Baronet Ali Al Rumaihi Freddy Head Kieren Fallon Pierre Jonquères d'Oriola Torrance Fleischmann Patrice Delaveau Arthur Wellesley, 1st Duke of Wellington Fernand Leredde Bassem Hassan Mohammed Helen Langehanenberg Thibaut Vallette Adelinde Cornelissen Dominique Boeuf Éric Levallois Jean-René Gougeon Ron Turcotte Michel-Marcel Gougeon Gilles Bertrán de Balanda Olivier Peslier Piet Raijmakers Ulrich Kirchhoff Jorma Kontio Marco Kutscher Susan Blinks Uwe Sauer Zara Phillips Linda Algotsson Gerco Schröder Anne, Princess Royal Yutaka Take Lester Piggott Debbie McDonald Pat Eddery Hugo Simon Eric Saint-Martin Alexander the Great Albert Voorn Roland Nelson Pessoa Cash Asmussen Walter Swinburn Richard Spooner Reiner Klimke Greg Best Jean-Claude Van Geenberghe Ulysses S. Grant Isabell Werth Pierre Levesque Ludo Philippaerts Lars Nieberg John Whitaker Kristina Sprehe Abdelkebir Ouaddar Bruce Davidson Ryan Moore Simon Delestre Hervé Godignon Earl Foster Thomson Michel Hécart Yves Dreux Napoleon Eric Lamaze Hans Günter Winkler Nadine Capellmann Wilhelm Melliger Laura Bechtolsheimer Björn Goop Lü Bu Stéphane Pasquier Bill Hartack Edwina Tops-Alexander Philippe Rozier Pierre Durand, Jr. Scott Brash Christophe Soumillon Conrad Homfeld Cédric Lyard Lendon Gray Jean-Michel Bazire Frankie Dettori Hans Peter Minderhoud Ludger Beerbaum Otto Becker Kimberly Severson Astier Nicolas Marion Coakes Natasha Baker Jan Ebeling Jos Lansink Rolf-Göran Bengtsson Matthieu Abrivard Charles Kurtsinger Roger-Yves Bost Karen O'Connor Nick Skelton Léopold Verroken William Fox-Pitt Ulla Salzgeber Marcus Ehning Hirohito Joseph Fargis Sara Algotsson Ostholt Charlotte Dujardin Florian Angot Michel Robert Beezie Madden Edward Gal Philippe Leclerc de Hauteclocque Karin Rehbein Johnny Murtagh Christophe Lemaire Christophe Gallier Kent Farrington Pius Schwizer Ian Millar El Cid Gérald Mossé Reynald Angot Steve Guerdat Michael Page Örjan Kihlström Blyth Tait Eddie Macken Franck Nivard Michael Jung Meredith Michaels-Beerbaum Michael Kinane Kevin Staut Thierry Jarnet Éric Raffin Jan Tops Elizabeth II Mark Todd Ian Stark Hubert Bourdy Thierry Pomel Fritz Ligges
163
action count
action less
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
action count
action filter_multi_types
action find
entity Éric Navet
relation mount
type horse breed
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?e ) AS ?i ) WHERE { { ?k property:mount ?e . ?e rdf:type ontology:horse_breed . ?k rdf:type ontology:common_name } UNION { ?k property:mount ?e . ?k rdf:type ontology:common_name . ?e rdf:type ontology:common_name } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { resource:Éric_Navet property:mount ?h . { VALUES ( ?n ) { ( ontology:horse_breed ) ( ontology:common_name ) } . ?h rdf:type ?n } } } . FILTER ( ?i < ?c ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1113936
P495
Q1048835
USER
How many political territories are the origin of Comeback ?
(Q1113936,P495,c(Q1048835))
action count
action filter_type
action find
entity Q1113936
relation P495
type Q1048835
['Q1113936', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Q1113936 property:P495 ?v . ?v rdf:type ontology:Q1048835 }
Comeback
action count
action filter_type
action find
entity Comeback
relation country of origin
type political territorial entity
['Comeback', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Comeback property:country_of_origin ?v . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q1113936,P495,c(Q1048835))
action count
action filter_type
action find
entity Q1113936
relation P495
type Q1048835
[ANSWER]
['Q1113936', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Q1113936 property:P495 ?v . ?v rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Comeback
relation country of origin
type political territorial entity
['Comeback', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Comeback property:country_of_origin ?v . ?v rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1113936
P364
Q34770
USER
Which language was used originally for the creation of that work of art ?
action filter_type
action find
entity Q1113936
relation P364
type Q34770
SELECT DISTINCT ?h WHERE { resource:Q1113936 property:P364 ?h . ?h rdf:type ontology:Q34770 }
Comeback
action filter_type
action find
entity Comeback
relation original language of work
type language
SELECT DISTINCT ?h WHERE { resource:Comeback property:original_language_of_work ?h . ?h rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
action filter_type
action find
entity Q1113936
relation P364
type Q34770
[ANSWER] was used originally for the creation of that work of art
SELECT DISTINCT ?h WHERE { resource:Q1113936 property:P364 ?h . ?h rdf:type ontology:Q34770 }
English
English was used originally for the creation of that work of art
English
action filter_type
action find
entity Comeback
relation original language of work
type language
SELECT DISTINCT ?h WHERE { resource:Comeback property:original_language_of_work ?h . ?h rdf:type ontology:language }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q877906
P282
Q8192 Q34770
USER
Which writing systems are used as the alphabet set for around the same number of languages as Thaana ?
(c(Q34770),P282,c(Q8192))
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q877906
relation P282
type Q8192
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:P282 ?g . ?p rdf:type ontology:Q34770 . ?g rdf:type ontology:Q8192 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { resource:Q877906 property:P282 ?v . ?v rdf:type ontology:Q8192 } } . FILTER ( ?i = ?m ) }
Thaana
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Thaana
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:writing_system ?g . ?p rdf:type ontology:language . ?g rdf:type ontology:writing_system } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { resource:Thaana property:writing_system ?v . ?v rdf:type ontology:writing_system } } . FILTER ( ?i = ?m ) }
[]
writing system language
Q1314503 Q26549 Q2613755
SYSTEM
Tai Tham alphabet, Cherokee syllabary, Tocharian alphabet
Q854968 Q689894 Q257634 Q1140801 Q2274646 Q467037 Q933796 Q570450 Q2613755 Q1054190 Q2385276 Q1574992 Q1314503 Q51592 Q1703713 Q877906 Q38592 Q756802 Q804984 Q2374532 Q1060381 Q839666 Q1760127 Q2566326 Q79199 Q191272 Q26549 Q1471822 Q26803
(c(Q34770),P282,c(Q8192))
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q877906
relation P282
type Q8192
[ANSWERS] are used as the alphabet set for around the same number of languages as Thaana
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:P282 ?g . ?p rdf:type ontology:Q34770 . ?g rdf:type ontology:Q8192 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { resource:Q877906 property:P282 ?v . ?v rdf:type ontology:Q8192 } } . FILTER ( ?i = ?m ) }
Burmese alphabet Gurmukhī alphabet Ge'ez script Vietnamese Braille Inuktitut syllabics Brahmic script Limbu alphabet Telugu script Tocharian alphabet Khmer alphabet Ranjana alphabet Sinhala script Tai Tham alphabet Batak alphabet Modi alphabet Thaana Devanagari Bengali alphabet Balinese alphabet Uyghur Arabic alphabet Cham alphabet Kannada alphabet Oriya alphabet Tai Le alphabet Varang Kshiti Assamese alphabet Cherokee syllabary Old Persian cuneiform Tamil script
Tai Tham alphabet, Cherokee syllabary and Tocharian alphabet are used as the alphabet set for around the same number of languages as Thaana
Tai Tham alphabet Cherokee syllabary Tocharian alphabet
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Thaana
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:writing_system ?g . ?p rdf:type ontology:language . ?g rdf:type ontology:writing_system } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { resource:Thaana property:writing_system ?v . ?v rdf:type ontology:writing_system } } . FILTER ( ?i = ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1574992
P282
Q8192 Q34770
USER
And how about Sinhala script?
(c(Q34770),P282,c(Q8192))
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q1574992
relation P282
type Q8192
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:P282 ?f . ?p rdf:type ontology:Q34770 . ?f rdf:type ontology:Q8192 } GROUP BY ?f } . FILTER ( ?r = ?h ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { resource:Q1574992 property:P282 ?j . ?j rdf:type ontology:Q8192 } } }
Sinhala script
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Sinhala script
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:writing_system ?f . ?p rdf:type ontology:language . ?f rdf:type ontology:writing_system } GROUP BY ?f } . FILTER ( ?r = ?h ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { resource:Sinhala_script property:writing_system ?j . ?j rdf:type ontology:writing_system } } }
[]
writing system language
Q1314503 Q26549 Q2613755
SYSTEM
Tai Tham alphabet, Cherokee syllabary, Tocharian alphabet
Q854968 Q689894 Q257634 Q1140801 Q2274646 Q467037 Q933796 Q570450 Q2613755 Q1054190 Q2385276 Q1574992 Q1314503 Q51592 Q1703713 Q877906 Q38592 Q756802 Q804984 Q2374532 Q1060381 Q839666 Q1760127 Q2566326 Q79199 Q191272 Q26549 Q1471822 Q26803
(c(Q34770),P282,c(Q8192))
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q1574992
relation P282
type Q8192
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:P282 ?f . ?p rdf:type ontology:Q34770 . ?f rdf:type ontology:Q8192 } GROUP BY ?f } . FILTER ( ?r = ?h ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { resource:Q1574992 property:P282 ?j . ?j rdf:type ontology:Q8192 } } }
Burmese alphabet Gurmukhī alphabet Ge'ez script Vietnamese Braille Inuktitut syllabics Brahmic script Limbu alphabet Telugu script Tocharian alphabet Khmer alphabet Ranjana alphabet Sinhala script Tai Tham alphabet Batak alphabet Modi alphabet Thaana Devanagari Bengali alphabet Balinese alphabet Uyghur Arabic alphabet Cham alphabet Kannada alphabet Oriya alphabet Tai Le alphabet Varang Kshiti Assamese alphabet Cherokee syllabary Old Persian cuneiform Tamil script
Tai Tham alphabet Cherokee syllabary Tocharian alphabet
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Sinhala script
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:writing_system ?f . ?p rdf:type ontology:language . ?f rdf:type ontology:writing_system } GROUP BY ?f } . FILTER ( ?r = ?h ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { resource:Sinhala_script property:writing_system ?j . ?j rdf:type ontology:writing_system } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q44648
P86
Q838948
USER
Which work of art has Eric Burdon as the melodist ?
(c(Q838948),P86,Q44648)
action filter_type
action find_reverse
entity Q44648
relation P86
type Q838948
[{'concept': 'Q838948'}, 'P86', 'Q44648']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q838948 . ?x property:P86 resource:Q44648 }
Eric Burdon
action filter_type
action find_reverse
entity Eric Burdon
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Eric Burdon']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:work_of_art . ?x property:composer resource:Eric_Burdon }
[]
work of art
Q1113936
SYSTEM
Comeback
Q1113936
(c(Q838948),P86,Q44648)
action filter_type
action find_reverse
entity Q44648
relation P86
type Q838948
[ANSWER] has Eric Burdon as the melodist
[{'concept': 'Q838948'}, 'P86', 'Q44648']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q838948 . ?x property:P86 resource:Q44648 }
Comeback
Comeback has Eric Burdon as the melodist
Comeback
action filter_type
action find_reverse
entity Eric Burdon
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Eric Burdon']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:work_of_art . ?x property:composer resource:Eric_Burdon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1113936
P495
Q1048835
USER
What is the origin of that work of art ?
(Q1113936,P495,c(Q1048835))
action filter_type
action find
entity Q1113936
relation P495
type Q1048835
['Q1113936', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q1113936 property:P495 ?g . ?g rdf:type ontology:Q1048835 }
Comeback
action filter_type
action find
entity Comeback
relation country of origin
type political territorial entity
['Comeback', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Comeback property:country_of_origin ?g . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1113936,P495,c(Q1048835))
action filter_type
action find
entity Q1113936
relation P495
type Q1048835
The origin of that work of art is in [ANSWER]
['Q1113936', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q1113936 property:P495 ?g . ?g rdf:type ontology:Q1048835 }
Germany
The origin of that work of art is in Germany
Germany
action filter_type
action find
entity Comeback
relation country of origin
type political territorial entity
['Comeback', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Comeback property:country_of_origin ?g . ?g rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q183 Q262 Q181443
P530
Q15617994
USER
Does Germany have tactful political relations with Algeria and Walkertshofen ?
(Q183,P530,Q262) (Q183,P530,Q181443)
action is_in
entity Q183
action intersection
action find_reverse
entity Q262
relation P530
action find_reverse
entity Q181443
relation P530
['Q183', 'P530', 'Q262'] ['Q183', 'P530', 'Q181443']
ASK WHERE { resource:Q183 property:P530 resource:Q262 . resource:Q183 property:P530 resource:Q181443 }
Germany Algeria Walkertshofen
action is_in
entity Germany
action intersection
action find_reverse
entity Algeria
relation diplomatic relation
action find_reverse
entity Walkertshofen
relation diplomatic relation
['Germany', 'diplomatic relation', 'Algeria'] ['Germany', 'diplomatic relation', 'Walkertshofen']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Algeria . resource:Germany property:diplomatic_relation resource:Walkertshofen }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q183,P530,Q262) (Q183,P530,Q181443)
action is_in
entity Q183
action intersection
action find_reverse
entity Q262
relation P530
action find_reverse
entity Q181443
relation P530
[ANSWER]
['Q183', 'P530', 'Q262'] ['Q183', 'P530', 'Q181443']
ASK WHERE { resource:Q183 property:P530 resource:Q262 . resource:Q183 property:P530 resource:Q181443 }
YES and NO respectively
action is_in
entity Germany
action intersection
action find_reverse
entity Algeria
relation diplomatic relation
action find_reverse
entity Walkertshofen
relation diplomatic relation
['Germany', 'diplomatic relation', 'Algeria'] ['Germany', 'diplomatic relation', 'Walkertshofen']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Algeria . resource:Germany property:diplomatic_relation resource:Walkertshofen }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q26549 Q313595
P61
Q502895
USER
Was Sequoyah the inventor or discoverer of Cherokee syllabary ?
(Q26549,P61,Q313595)
action is_in
entity Q313595
action find
entity Q26549
relation P61
['Q26549', 'P61', 'Q313595']
ASK WHERE { resource:Q26549 property:P61 resource:Q313595 }
Cherokee syllabary Sequoyah
action is_in
entity Sequoyah
action find
entity Cherokee syllabary
relation discoverer or inventor
['Cherokee syllabary', 'discoverer or inventor', 'Sequoyah']
ASK WHERE { resource:Cherokee_syllabary property:discoverer_or_inventor resource:Sequoyah }
[]
common name
SYSTEM
YES
(Q26549,P61,Q313595)
action is_in
entity Q313595
action find
entity Q26549
relation P61
[ANSWER]
['Q26549', 'P61', 'Q313595']
ASK WHERE { resource:Q26549 property:P61 resource:Q313595 }
Yes
action is_in
entity Sequoyah
action find
entity Cherokee syllabary
relation discoverer or inventor
['Cherokee syllabary', 'discoverer or inventor', 'Sequoyah']
ASK WHERE { resource:Cherokee_syllabary property:discoverer_or_inventor resource:Sequoyah }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q660078 Q142
P27
Q15617994
USER
Does Roger Ferdinand belong to France ?
(Q660078,P27,Q142)
action is_in
entity Q142
action find
entity Q660078
relation P27
['Q660078', 'P27', 'Q142']
ASK WHERE { resource:Q660078 property:P27 resource:Q142 }
Roger Ferdinand France
action is_in
entity France
action find
entity Roger Ferdinand
relation country of citizenship
['Roger Ferdinand', 'country of citizenship', 'France']
ASK WHERE { resource:Roger_Ferdinand property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q660078,P27,Q142)
action is_in
entity Q142
action find
entity Q660078
relation P27
[ANSWER]
['Q660078', 'P27', 'Q142']
ASK WHERE { resource:Q660078 property:P27 resource:Q142 }
Yes
action is_in
entity France
action find
entity Roger Ferdinand
relation country of citizenship
['Roger Ferdinand', 'country of citizenship', 'France']
ASK WHERE { resource:Roger_Ferdinand property:country_of_citizenship resource:France }
[]