Simple Question (Direct)
Simple Question
Q3719608
P734
Q82799
USER
Who has the surname Edoardo Leo ?
(Q3719608,P734,c(Q82799))
action filter_type
action find
entity Q3719608
relation P734
type Q82799
['Q3719608', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q3719608 property:P734 ?s . ?s rdf:type ontology:Q82799 }
Edoardo Leo
action filter_type
action find
entity Edoardo Leo
relation family name
type name
['Edoardo Leo', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Edoardo_Leo property:family_name ?s . ?s rdf:type ontology:name }
[]
name
Q6523505
SYSTEM
Leo
Q6523505
(Q3719608,P734,c(Q82799))
action filter_type
action find
entity Q3719608
relation P734
type Q82799
[ANSWER] has the surname Edoardo [ANSWER]
['Q3719608', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q3719608 property:P734 ?s . ?s rdf:type ontology:Q82799 }
Leo
Leo has the surname Edoardo Leo
Leo
action filter_type
action find
entity Edoardo Leo
relation family name
type name
['Edoardo Leo', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Edoardo_Leo property:family_name ?s . ?s rdf:type ontology:name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3169911
P3091
Q3745054 Q502895 Q502895
USER
How many people rides on a lesser number of horse breeds or people than Jean-René Gougeon ?
(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 Q3169911
relation P3091
type Q3745054
type Q502895
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?o ) WHERE { { ?m property:P3091 ?r . ?m rdf:type ontology:Q502895 . ?r rdf:type ontology:Q502895 } UNION { ?m property:P3091 ?r . ?m rdf:type ontology:Q502895 . ?r rdf:type ontology:Q3745054 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { resource:Q3169911 property:P3091 ?x . { { ?x rdf:type ontology:Q3745054 } UNION { ?x rdf:type ontology:Q502895 } } } } . FILTER ( ?o < ?a ) }
Jean-René Gougeon
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 Jean-René Gougeon
relation mount
type horse breed
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?o ) WHERE { { ?m property:mount ?r . ?m rdf:type ontology:common_name . ?r rdf:type ontology:common_name } UNION { ?m property:mount ?r . ?m rdf:type ontology:common_name . ?r rdf:type ontology:horse_breed } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { resource:Jean-René_Gougeon property:mount ?x . { { ?x rdf:type ontology:horse_breed } UNION { ?x rdf:type ontology:common_name } } } } . FILTER ( ?o < ?a ) }
[]
horse breed common name common name
SYSTEM
141
Q2831786 Q71451 Q2964761 Q2643622 Q64650 Q1682742 Q451395 Q1311486 Q682476 Q1088130 Q186164 Q7934379 Q262338 Q527657 Q364671 Q2965770 Q3089727 Q1038847 Q20240956 Q364502 Q919677 Q16208274 Q3400624 Q15782408 Q3081121 Q947032 Q3428317 Q131691 Q17350580 Q438197 Q25906162 Q355148 Q3035045 Q2396962 Q19630218 Q3106094 Q3351282 Q958372 Q319522 Q678324 Q78028 Q7647583 Q823503 Q147663 Q513487 Q494315 Q151754 Q997380 Q377345 Q5247967 Q84536 Q3056396 Q8409 Q2831635 Q207535 Q2941011 Q3565906 Q1710812 Q467676 Q1545318 Q942215 Q34836 Q238769 Q3385955 Q745510 Q318626 Q608440 Q249233 Q19839389 Q364920 Q2162566 Q3134506 Q926771 Q3309932 Q3573625 Q517 Q1351428 Q62177 Q450267 Q2577320 Q458399 Q4351964 Q317846 Q3501998 Q2903241 Q529497 Q3380679 Q1337633 Q840001 Q953867 Q364659 Q19880092 Q3167944 Q1119157 Q1581746 Q72502 Q6409976 Q25906137 Q6765126 Q15972334 Q6148833 Q1391424 Q2094373 Q3299860 Q5079900 Q19630255 Q1342822 Q444585 Q76246 Q34479 Q1691413 Q270476 Q272533 Q3074167 Q449891 Q1292304 Q312391 Q1343527 Q1061259 Q2041036 Q2966249 Q1739026 Q690536 Q43958 Q1081174 Q3428878 Q16104944 Q5908769 Q886901 Q1261810 Q967780 Q77560 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 Q3169911
relation P3091
type Q3745054
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?o ) WHERE { { ?m property:P3091 ?r . ?m rdf:type ontology:Q502895 . ?r rdf:type ontology:Q502895 } UNION { ?m property:P3091 ?r . ?m rdf:type ontology:Q502895 . ?r rdf:type ontology:Q3745054 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { resource:Q3169911 property:P3091 ?x . { { ?x rdf:type ontology:Q3745054 } UNION { ?x rdf:type ontology:Q502895 } } } } . FILTER ( ?o < ?a ) }
Alberto Larraguibel Franke Sloothaak Chris Kappler Alexandra Ledermann Ingrid Klimke Janika Sprunger Fritz Thiedemann Mario Deslauriers Paul Estermann Maxime Guyon Pippa Funnell Virginia Leng Nicole Uphoff Margit Otto-Crépin Jean Teulère 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 Kieren Fallon Pierre Jonquères d'Oriola Torrance Fleischmann Arthur Wellesley, 1st Duke of Wellington Fernand Leredde Helen Langehanenberg Thibaut Vallette Adelinde Cornelissen Dominique Boeuf 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 Hugo Simon Eric Saint-Martin Alexander the Great Albert Voorn Roland 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 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 Scott Brash Christophe Soumillon Conrad Homfeld Cédric Lyard Lendon Gray Jean-Michel Bazire Frankie Dettori Hans Peter Minderhoud Otto Becker Kimberly Severson Astier Nicolas Marion Coakes Natasha Baker Jan Ebeling Jos Lansink Rolf-Göran Bengtsson Matthieu Abrivard Charles Kurtsinger Léopold Verroken William Fox-Pitt Ulla Salzgeber Marcus Ehning Hirohito Joseph Fargis Sara Algotsson Ostholt Charlotte Dujardin Florian Angot Beezie Madden Edward Gal Philippe Leclerc de Hauteclocque Karin Rehbein Johnny Murtagh Christophe Lemaire Christophe Gallier Kent Farrington Pius Schwizer El Cid Gérald Mossé Reynald Angot Michael Page Örjan Kihlström Blyth Tait Eddie Macken Franck Nivard Michael Jung Thierry Jarnet Éric Raffin Jan Tops Elizabeth II Mark Todd Ian Stark Hubert Bourdy Thierry Pomel Fritz Ligges
141
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 Jean-René Gougeon
relation mount
type horse breed
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?o ) WHERE { { ?m property:mount ?r . ?m rdf:type ontology:common_name . ?r rdf:type ontology:common_name } UNION { ?m property:mount ?r . ?m rdf:type ontology:common_name . ?r rdf:type ontology:horse_breed } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { resource:Jean-René_Gougeon property:mount ?x . { { ?x rdf:type ontology:horse_breed } UNION { ?x rdf:type ontology:common_name } } } } . FILTER ( ?o < ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1985582
P3091
Q3745054 Q502895 Q502895
USER
And also tell me about Nick Skelton?
(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 Q1985582
relation P3091
type Q3745054
type Q502895
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?h ) WHERE { ?g rdf:type ?w . VALUES ( ?w ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { resource:Q1985582 property:P3091 ?q . { { ?q rdf:type ontology:Q3745054 } UNION { ?q rdf:type ontology:Q502895 } } } } . FILTER ( ?h < ?e ) }
Nick Skelton
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 Nick Skelton
relation mount
type horse breed
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?h ) WHERE { ?g rdf:type ?w . VALUES ( ?w ) { ( ontology:horse_breed ) ( ontology:common_name ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { resource:Nick_Skelton property:mount ?q . { { ?q rdf:type ontology:horse_breed } UNION { ?q rdf:type ontology:common_name } } } } . FILTER ( ?h < ?e ) }
[]
horse breed common name common name
SYSTEM
141
Q2831786 Q71451 Q2964761 Q2643622 Q64650 Q1682742 Q451395 Q1311486 Q682476 Q1088130 Q186164 Q7934379 Q262338 Q527657 Q364671 Q2965770 Q3089727 Q1038847 Q20240956 Q364502 Q919677 Q16208274 Q3400624 Q15782408 Q3081121 Q947032 Q3428317 Q131691 Q17350580 Q438197 Q25906162 Q355148 Q3035045 Q2396962 Q19630218 Q3106094 Q3351282 Q958372 Q319522 Q678324 Q78028 Q7647583 Q823503 Q147663 Q513487 Q494315 Q151754 Q997380 Q377345 Q5247967 Q84536 Q3056396 Q8409 Q2831635 Q207535 Q2941011 Q3565906 Q1710812 Q467676 Q1545318 Q942215 Q34836 Q238769 Q3385955 Q745510 Q318626 Q608440 Q249233 Q19839389 Q364920 Q2162566 Q3134506 Q926771 Q3309932 Q3573625 Q517 Q1351428 Q62177 Q450267 Q2577320 Q458399 Q4351964 Q317846 Q3501998 Q2903241 Q529497 Q3380679 Q1337633 Q840001 Q953867 Q364659 Q19880092 Q3167944 Q1119157 Q1581746 Q72502 Q6409976 Q25906137 Q6765126 Q15972334 Q6148833 Q1391424 Q2094373 Q3299860 Q5079900 Q19630255 Q1342822 Q444585 Q76246 Q34479 Q1691413 Q270476 Q272533 Q3074167 Q449891 Q1292304 Q312391 Q1343527 Q1061259 Q2041036 Q2966249 Q1739026 Q690536 Q43958 Q1081174 Q3428878 Q16104944 Q5908769 Q886901 Q1261810 Q967780 Q77560 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 Q1985582
relation P3091
type Q3745054
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?h ) WHERE { ?g rdf:type ?w . VALUES ( ?w ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { resource:Q1985582 property:P3091 ?q . { { ?q rdf:type ontology:Q3745054 } UNION { ?q rdf:type ontology:Q502895 } } } } . FILTER ( ?h < ?e ) }
Alberto Larraguibel Franke Sloothaak Chris Kappler Alexandra Ledermann Ingrid Klimke Janika Sprunger Fritz Thiedemann Mario Deslauriers Paul Estermann Maxime Guyon Pippa Funnell Virginia Leng Nicole Uphoff Margit Otto-Crépin Jean Teulère 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 Kieren Fallon Pierre Jonquères d'Oriola Torrance Fleischmann Arthur Wellesley, 1st Duke of Wellington Fernand Leredde Helen Langehanenberg Thibaut Vallette Adelinde Cornelissen Dominique Boeuf 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 Hugo Simon Eric Saint-Martin Alexander the Great Albert Voorn Roland 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 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 Scott Brash Christophe Soumillon Conrad Homfeld Cédric Lyard Lendon Gray Jean-Michel Bazire Frankie Dettori Hans Peter Minderhoud Otto Becker Kimberly Severson Astier Nicolas Marion Coakes Natasha Baker Jan Ebeling Jos Lansink Rolf-Göran Bengtsson Matthieu Abrivard Charles Kurtsinger Léopold Verroken William Fox-Pitt Ulla Salzgeber Marcus Ehning Hirohito Joseph Fargis Sara Algotsson Ostholt Charlotte Dujardin Florian Angot Beezie Madden Edward Gal Philippe Leclerc de Hauteclocque Karin Rehbein Johnny Murtagh Christophe Lemaire Christophe Gallier Kent Farrington Pius Schwizer El Cid Gérald Mossé Reynald Angot Michael Page Örjan Kihlström Blyth Tait Eddie Macken Franck Nivard Michael Jung Thierry Jarnet Éric Raffin Jan Tops Elizabeth II Mark Todd Ian Stark Hubert Bourdy Thierry Pomel Fritz Ligges
141
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 Nick Skelton
relation mount
type horse breed
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?h ) WHERE { ?g rdf:type ?w . VALUES ( ?w ) { ( ontology:horse_breed ) ( ontology:common_name ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { resource:Nick_Skelton property:mount ?q . { { ?q rdf:type ontology:horse_breed } UNION { ?q rdf:type ontology:common_name } } } } . FILTER ( ?h < ?e ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3719608
P57
Q838948
USER
Which works of art are Edoardo Leo a director of ?
(c(Q838948),P57,Q3719608)
action filter_type
action find_reverse
entity Q3719608
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q3719608']
SELECT DISTINCT ?r WHERE { ?r property:P57 resource:Q3719608 . ?r rdf:type ontology:Q838948 }
Edoardo Leo
action filter_type
action find_reverse
entity Edoardo Leo
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Edoardo Leo']
SELECT DISTINCT ?r WHERE { ?r property:director resource:Edoardo_Leo . ?r rdf:type ontology:work_of_art }
[]
work of art
Q19299876 Q3706935 Q8989664
SYSTEM
The Legendary Giulia and Other Miracles, 18 Years Later, Out of the Blue
Q19299876 Q3706935 Q8989664
(c(Q838948),P57,Q3719608)
action filter_type
action find_reverse
entity Q3719608
relation P57
type Q838948
[ANSWERS] are Edoardo Leo a director of
[{'concept': 'Q838948'}, 'P57', 'Q3719608']
SELECT DISTINCT ?r WHERE { ?r property:P57 resource:Q3719608 . ?r rdf:type ontology:Q838948 }
The Legendary Giulia and Other Miracles 18 Years Later Out of the Blue
The Legendary Giulia and Other Miracles, 18 Years Later and Out of the Blue are Edoardo Leo a director of
The Legendary Giulia and Other Miracles 18 Years Later Out of the Blue
action filter_type
action find_reverse
entity Edoardo Leo
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Edoardo Leo']
SELECT DISTINCT ?r WHERE { ?r property:director resource:Edoardo_Leo . ?r rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q19299876 Q3706935 Q8989664
P364
Q34770
USER
What are the original languages of creation of those works of art ?
(Q19299876,P364,c(Q34770)) (Q3706935,P364,c(Q34770)) (Q8989664,P364,c(Q34770))
action filter_type
action find
entity prev_answer
relation P364
type Q34770
['Q19299876', 'P364', {'concept': 'Q34770'}] ['Q3706935', 'P364', {'concept': 'Q34770'}] ['Q8989664', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?z ) { ( resource:Q19299876 ) ( resource:Q3706935 ) ( resource:Q8989664 ) } . ?z property:P364 ?l . ?l rdf:type ontology:Q34770 }
The Legendary Giulia and Other Miracles 18 Years Later Out of the Blue
action filter_type
action find
entity prev_answer
relation original language of work
type language
['The Legendary Giulia and Other Miracles', 'original language of work', {'concept': 'language'}] ['18 Years Later', 'original language of work', {'concept': 'language'}] ['Out of the Blue', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?z ) { ( resource:The_Legendary_Giulia_and_Other_Miracles ) ( resource:18_Years_Later ) ( resource:Out_of_the_Blue ) } . ?z property:original_language_of_work ?l . ?l rdf:type ontology:language }
[]
language
Q652 Q652 Q652
SYSTEM
Italian
Q652 Q652 Q652
(Q19299876,P364,c(Q34770)) (Q3706935,P364,c(Q34770)) (Q8989664,P364,c(Q34770))
action filter_type
action find
entity prev_answer
relation P364
type Q34770
The original languages of creation of those works of art are [ANSWER], [ANSWER] and [ANSWER]
['Q19299876', 'P364', {'concept': 'Q34770'}] ['Q3706935', 'P364', {'concept': 'Q34770'}] ['Q8989664', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?z ) { ( resource:Q19299876 ) ( resource:Q3706935 ) ( resource:Q8989664 ) } . ?z property:P364 ?l . ?l rdf:type ontology:Q34770 }
Italian Italian Italian
The original languages of creation of those works of art are Italian, Italian and Italian
Italian Italian Italian
action filter_type
action find
entity prev_answer
relation original language of work
type language
['The Legendary Giulia and Other Miracles', 'original language of work', {'concept': 'language'}] ['18 Years Later', 'original language of work', {'concept': 'language'}] ['Out of the Blue', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?z ) { ( resource:The_Legendary_Giulia_and_Other_Miracles ) ( resource:18_Years_Later ) ( resource:Out_of_the_Blue ) } . ?z property:original_language_of_work ?l . ?l rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q652
P282
Q9779
USER
What is the writing system of Italian known as ?
(Q652,P282,c(Q9779))
action filter_type
action find
entity Q652
relation P282
type Q9779
['Q652', 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q9779 . resource:Q652 property:P282 ?x }
Italian
action filter_type
action find
entity Italian
relation writing system
type alphabet
['Italian', 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:alphabet . resource:Italian property:writing_system ?x }
[]
alphabet
Q550383
SYSTEM
Italian alphabet
Q550383
(Q652,P282,c(Q9779))
action filter_type
action find
entity Q652
relation P282
type Q9779
The writing system of Italian known as is the [ANSWER]
['Q652', 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q9779 . resource:Q652 property:P282 ?x }
Italian alphabet
The writing system of Italian known as is the Italian alphabet
Italian alphabet
action filter_type
action find
entity Italian
relation writing system
type alphabet
['Italian', 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:alphabet . resource:Italian property:writing_system ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8989664
P344
Q502895
USER
Who is the cinematographer of Out of the Blue ?
(Q8989664,P344,c(Q502895))
action filter_type
action find
entity Q8989664
relation P344
type Q502895
['Q8989664', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q8989664 property:P344 ?w }
Out of the Blue
action filter_type
action find
entity Out of the Blue
relation director of photography
type common name
['Out of the Blue', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Out_of_the_Blue property:director_of_photography ?w }
[]
common name
Q690290
SYSTEM
Arnaldo Catinari
Q690290
(Q8989664,P344,c(Q502895))
action filter_type
action find
entity Q8989664
relation P344
type Q502895
The cinematographer of Out of the Blue is the [ANSWER]
['Q8989664', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q8989664 property:P344 ?w }
Arnaldo Catinari
The cinematographer of Out of the Blue is the Arnaldo Catinari
Arnaldo Catinari
action filter_type
action find
entity Out of the Blue
relation director of photography
type common name
['Out of the Blue', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Out_of_the_Blue property:director_of_photography ?w }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q166355
Q502895
USER
And how about Knockin' on Heaven's Door?
(Q166355,P344,c(Q502895))
action filter_type
action find
entity Q166355
relation P344
type Q502895
['Q166355', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q166355 property:P344 ?p . ?p rdf:type ontology:Q502895 }
Knockin' on Heaven's Door
action filter_type
action find
entity Knockin' on Heaven's Door
relation director of photography
type common name
["Knockin' on Heaven's Door", 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Knockin'_on_Heaven's_Door property:director_of_photography ?p . ?p rdf:type ontology:common_name }
[]
common name
Q19283970
SYSTEM
Gero Steffen
Q19283970
(Q166355,P344,c(Q502895))
action filter_type
action find
entity Q166355
relation P344
type Q502895
[ANSWER]
['Q166355', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q166355 property:P344 ?p . ?p rdf:type ontology:Q502895 }
Gero Steffen
Gero Steffen
action filter_type
action find
entity Knockin' on Heaven's Door
relation director of photography
type common name
["Knockin' on Heaven's Door", 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Knockin'_on_Heaven's_Door property:director_of_photography ?p . ?p rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can max number of people perform with ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?r ) { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?f ) WHERE { ?s property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?i } } . FILTER ( ?y = ?r ) . { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?y ) WHERE { ?b rdf:type ontology:Q502895 . ?d rdf:type ontology:Q34379 . ?b property:P1303 ?d } GROUP BY ?d } }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?r ) { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?f ) WHERE { ?s property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?i } } . FILTER ( ?y = ?r ) . { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?y ) WHERE { ?b rdf:type ontology:common_name . ?d rdf:type ontology:musical_instrument . ?b property:instrument ?d } GROUP BY ?d } }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Max number of people can perform on [ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?r ) { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?f ) WHERE { ?s property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?i } } . FILTER ( ?y = ?r ) . { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?y ) WHERE { ?b rdf:type ontology:Q502895 . ?d rdf:type ontology:Q34379 . ?b property:P1303 ?d } GROUP BY ?d } }
piano
Max number of people can perform on piano
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?r ) { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?f ) WHERE { ?s property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?i } } . FILTER ( ?y = ?r ) . { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?y ) WHERE { ?b rdf:type ontology:common_name . ?d rdf:type ontology:musical_instrument . ?b property:instrument ?d } GROUP BY ?d } }
[]