Simple Question (Direct)
Simple Question
Q527509
P1412
Q34770
USER
Which language can Albio Sires understand ?
(Q527509,P1412,c(Q34770))
action filter_type
action find
entity Q527509
relation P1412
type Q34770
['Q527509', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q34770 . resource:Q527509 property:P1412 ?y }
Albio Sires
action filter_type
action find
entity Albio Sires
relation languages spoken, written or signed
type language
['Albio Sires', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:language . resource:Albio_Sires property:languages_spoken,_written_or_signed ?y }
[]
language
Q1860
SYSTEM
English
Q1860
(Q527509,P1412,c(Q34770))
action filter_type
action find
entity Q527509
relation P1412
type Q34770
Albio Sires can understand the [ANSWER]
['Q527509', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q34770 . resource:Q527509 property:P1412 ?y }
English
Albio Sires can understand the English
English
action filter_type
action find
entity Albio Sires
relation languages spoken, written or signed
type language
['Albio Sires', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:language . resource:Albio_Sires property:languages_spoken,_written_or_signed ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P361
Q5962346
USER
Which classification schemes are that language a component of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?g WHERE { resource:Q1860 property:P361 ?g . ?g rdf:type ontology:Q5962346 }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?g WHERE { resource:English property:part_of ?g . ?g rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
[ANSWERS] are that language a component of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?g WHERE { resource:Q1860 property:P361 ?g . ?g rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Anglic languages and Anglo-Frisian languages are that language a component of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?g WHERE { resource:English property:part_of ?g . ?g rdf:type ontology:classification_scheme }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q17350580
P3091
Q502895 Q3745054 Q502895
USER
Which people use approximately the same number of people or horse breeds as steed as Fernand Leredde ?
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q17350580
relation P3091
type Q502895
type Q3745054
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?e ) WHERE { { ?u property:P3091 ?g . ?u rdf:type ontology:Q502895 . ?g rdf:type ontology:Q502895 } UNION { ?g rdf:type ontology:Q3745054 . ?u rdf:type ontology:Q502895 . ?u property:P3091 ?g } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Q17350580 property:P3091 ?k . { VALUES ( ?v ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } . ?k rdf:type ?v } } } . FILTER ( ?e = ?p ) }
Fernand Leredde
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Fernand Leredde
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?e ) WHERE { { ?u property:mount ?g . ?u rdf:type ontology:common_name . ?g rdf:type ontology:common_name } UNION { ?g rdf:type ontology:horse_breed . ?u rdf:type ontology:common_name . ?u property:mount ?g } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Fernand_Leredde property:mount ?k . { VALUES ( ?v ) { ( ontology:common_name ) ( ontology:horse_breed ) } . ?k rdf:type ?v } } } . FILTER ( ?e = ?p ) }
[]
common name horse breed common name
Q9682 Q517 Q131691
SYSTEM
Elizabeth II, Napoleon, Arthur Wellesley, 1st Duke of Wellington
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(Q502895)|c(Q3745054))
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q17350580
relation P3091
type Q502895
type Q3745054
[ANSWERS]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?e ) WHERE { { ?u property:P3091 ?g . ?u rdf:type ontology:Q502895 . ?g rdf:type ontology:Q502895 } UNION { ?g rdf:type ontology:Q3745054 . ?u rdf:type ontology:Q502895 . ?u property:P3091 ?g } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Q17350580 property:P3091 ?k . { VALUES ( ?v ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } . ?k rdf:type ?v } } } . FILTER ( ?e = ?p ) }
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
Elizabeth II, Napoleon and Arthur Wellesley, 1st Duke of Wellington use approximately the same number of people or horse breeds as steed as Fernand Leredde
Elizabeth II Napoleon Arthur Wellesley, 1st Duke of Wellington
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Fernand Leredde
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?e ) WHERE { { ?u property:mount ?g . ?u rdf:type ontology:common_name . ?g rdf:type ontology:common_name } UNION { ?g rdf:type ontology:horse_breed . ?u rdf:type ontology:common_name . ?u property:mount ?g } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Fernand_Leredde property:mount ?k . { VALUES ( ?v ) { ( ontology:common_name ) ( ontology:horse_breed ) } . ?k rdf:type ?v } } } . FILTER ( ?e = ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q3524341
P3091
Q502895 Q3745054 Q502895
USER
And also tell me about Thierry Jarnet?
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q3524341
relation P3091
type Q502895
type Q3745054
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?h ) WHERE { ?t rdf:type ?c . VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } } GROUP BY ?x } . FILTER ( ?h = ?l ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { resource:Q3524341 property:P3091 ?y . { ?y rdf:type ?g . VALUES ( ?g ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } } } } }
Thierry Jarnet
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Thierry Jarnet
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?h ) WHERE { ?t rdf:type ?c . VALUES ( ?c ) { ( ontology:common_name ) ( ontology:horse_breed ) } } GROUP BY ?x } . FILTER ( ?h = ?l ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { resource:Thierry_Jarnet property:mount ?y . { ?y rdf:type ?g . VALUES ( ?g ) { ( ontology:horse_breed ) ( ontology:common_name ) } } } } }
[]
common name horse breed common name
Q9682 Q517 Q131691
SYSTEM
Elizabeth II, Napoleon, Arthur Wellesley, 1st Duke of Wellington
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(Q502895)|c(Q3745054))
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q3524341
relation P3091
type Q502895
type Q3745054
[ANSWERS]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?h ) WHERE { ?t rdf:type ?c . VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } } GROUP BY ?x } . FILTER ( ?h = ?l ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { resource:Q3524341 property:P3091 ?y . { ?y rdf:type ?g . VALUES ( ?g ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } } } } }
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
Elizabeth II Napoleon Arthur Wellesley, 1st Duke of Wellington
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Thierry Jarnet
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?h ) WHERE { ?t rdf:type ?c . VALUES ( ?c ) { ( ontology:common_name ) ( ontology:horse_breed ) } } GROUP BY ?x } . FILTER ( ?h = ?l ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { resource:Thierry_Jarnet property:mount ?y . { ?y rdf:type ?g . VALUES ( ?g ) { ( ontology:horse_breed ) ( ontology:common_name ) } } } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q9682
P25
Q502895
USER
Who was the mom of that one ?
(Q9682,P25,c(Q502895))
action filter_type
action find
entity Q9682
relation P25
type Q502895
['Q9682', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q9682 property:P25 ?i }
Elizabeth II
action filter_type
action find
entity Elizabeth II
relation mother
type common name
['Elizabeth II', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Elizabeth_II property:mother ?i }
[]
common name
Clarification for simple ques.
Q131691
SYSTEM
Did you mean Arthur Wellesley, 1st Duke of Wellington ?
Q9682 Q517 Q131691
(Q9682,P25,c(Q502895)) (Q517,P25,c(Q502895)) (Q131691,P25,c(Q502895))
[ANSWER]
['Q9682', 'P25', {'concept': 'Q502895'}] ['Q517', 'P25', {'concept': 'Q502895'}] ['Q131691', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q9682 property:P25 ?i }
Elizabeth II Napoleon Arthur Wellesley, 1st Duke of Wellington
Did you mean Arthur Wellesley, 1st Duke of Wellington ?
Arthur Wellesley, 1st Duke of Wellington
['Elizabeth II', 'mother', {'concept': 'common name'}] ['Napoleon', 'mother', {'concept': 'common name'}] ['Arthur Wellesley, 1st Duke of Wellington', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Elizabeth_II property:mother ?i }
[]
Simple Question (Coreferenced)
USER
No, I meant Elizabeth II. Could you tell me the answer for that?
(Q9682,P25,c(Q502895))
Q9682
['Q9682', 'P25', {'concept': 'Q502895'}]
['Elizabeth II', 'mother', {'concept': 'common name'}]
[]
Q10633
SYSTEM
Queen Elizabeth The Queen Mother
Q10633
(Q9682,P25,c(Q502895))
action filter_type
action find
entity Q9682
relation P25
type Q502895
The mom of that one was the [ANSWER]
['Q9682', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q9682 property:P25 ?i }
Queen Elizabeth The Queen Mother
The mom of that one was the Queen Elizabeth The Queen Mother
Queen Elizabeth The Queen Mother
action filter_type
action find
entity Elizabeth II
relation mother
type common name
['Elizabeth II', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Elizabeth_II property:mother ?i }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q838948
USER
Which works of art did max number of people do the dubbing for ?
(c(Q838948),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q838948
type Q502895
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?t ) { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?c ) WHERE { ?h property:P725 ?u . ?h rdf:type ontology:Q838948 . ?u rdf:type ontology:Q502895 } GROUP BY ?h } } . { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?n ) WHERE { ?b property:P725 ?q . ?b rdf:type ontology:Q838948 . ?q rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?n = ?t ) }
action argmax
action find_tuple_counts
relation voice actor
type work of art
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?t ) { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?c ) WHERE { ?h property:voice_actor ?u . ?h rdf:type ontology:work_of_art . ?u rdf:type ontology:common_name } GROUP BY ?h } } . { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?n ) WHERE { ?b property:voice_actor ?q . ?b rdf:type ontology:work_of_art . ?q rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?n = ?t ) }
[]
common name work of art
Q19263748
SYSTEM
The Anthem of the Heart
Q19263748
(c(Q838948),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q838948
type Q502895
Max number of people did the dubbing for [ANSWER]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?t ) { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?c ) WHERE { ?h property:P725 ?u . ?h rdf:type ontology:Q838948 . ?u rdf:type ontology:Q502895 } GROUP BY ?h } } . { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?n ) WHERE { ?b property:P725 ?q . ?b rdf:type ontology:Q838948 . ?q rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?n = ?t ) }
The Anthem of the Heart
Max number of people did the dubbing for The Anthem of the Heart
The Anthem of the Heart
action argmax
action find_tuple_counts
relation voice actor
type work of art
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?t ) { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?c ) WHERE { ?h property:voice_actor ?u . ?h rdf:type ontology:work_of_art . ?u rdf:type ontology:common_name } GROUP BY ?h } } . { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?n ) WHERE { ?b property:voice_actor ?q . ?b rdf:type ontology:work_of_art . ?q rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?n = ?t ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19263748
P58
Q502895
USER
Who wrote the script for that work of art ?
(Q19263748,P58,c(Q502895))
action filter_type
action find
entity Q19263748
relation P58
type Q502895
['Q19263748', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q19263748 property:P58 ?c . ?c rdf:type ontology:Q502895 }
The Anthem of the Heart
action filter_type
action find
entity The Anthem of the Heart
relation screenwriter
type common name
['The Anthem of the Heart', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:The_Anthem_of_the_Heart property:screenwriter ?c . ?c rdf:type ontology:common_name }
[]
common name
Q3209229
SYSTEM
Mari Okada
Q3209229
(Q19263748,P58,c(Q502895))
action filter_type
action find
entity Q19263748
relation P58
type Q502895
[ANSWER] wrote the script for that work of art
['Q19263748', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q19263748 property:P58 ?c . ?c rdf:type ontology:Q502895 }
Mari Okada
Mari Okada wrote the script for that work of art
Mari Okada
action filter_type
action find
entity The Anthem of the Heart
relation screenwriter
type common name
['The Anthem of the Heart', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:The_Anthem_of_the_Heart property:screenwriter ?c . ?c rdf:type ontology:common_name }
[]