Simple Question (Direct)
Simple Question
Q8339569
P39
Q12737077
USER
Which occupation was a position occupied by Félix Bontoux ?
(Q8339569,P39,c(Q12737077))
action filter_type
action find
entity Q8339569
relation P39
type Q12737077
['Q8339569', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q8339569 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
Félix Bontoux
action filter_type
action find
entity Félix Bontoux
relation position held
type occupation
['Félix Bontoux', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Félix_Bontoux property:position_held ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q8339569,P39,c(Q12737077))
action filter_type
action find
entity Q8339569
relation P39
type Q12737077
A member of the French National Assembly was a position occupied by Félix Bontoux
['Q8339569', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q8339569 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
member of the French National Assembly
A member of the French National Assembly was a position occupied by Félix Bontoux
member of the French National Assembly
action filter_type
action find
entity Félix Bontoux
relation position held
type occupation
['Félix Bontoux', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Félix_Bontoux property:position_held ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8339569
P20
Q515
USER
Where did Félix Bontoux expire ?
(Q8339569,P20,c(Q515))
action filter_type
action find
entity Q8339569
relation P20
type Q515
['Q8339569', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q515 . resource:Q8339569 property:P20 ?a }
Félix Bontoux
action filter_type
action find
entity Félix Bontoux
relation place of death
type city
['Félix Bontoux', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:city . resource:Félix_Bontoux property:place_of_death ?a }
[]
city
Q23482
SYSTEM
Marseille
Q23482
(Q8339569,P20,c(Q515))
action filter_type
action find
entity Q8339569
relation P20
type Q515
Félix Bontoux expired [ANSWER]
['Q8339569', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q515 . resource:Q8339569 property:P20 ?a }
Marseille
Félix Bontoux expired Marseille
Marseille
action filter_type
action find
entity Félix Bontoux
relation place of death
type city
['Félix Bontoux', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:city . resource:Félix_Bontoux property:place_of_death ?a }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1376
Q20667921 Q13220204
USER
How many french administrative divisions and administrative country subdivisions have that city as their capital ?
(Q23482,P1376,c(Q20667921)) (Q23482,P1376,c(Q13220204)) (Q23482,P1376,c(Q20667921)) (Q23482,P1376,c(Q13220204))
action count
action union
action filter_type
action find
entity Q23482
relation P1376
type Q20667921
action filter_type
action find
entity Q23482
relation P1376
type Q13220204
['Q23482', 'P1376', {'concept': 'Q20667921'}] ['Q23482', 'P1376', {'concept': 'Q13220204'}] ['Q23482', 'P1376', {'concept': 'Q20667921'}] ['Q23482', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o rdf:type ?t . VALUES ( ?t ) { ( ontology:Q13220204 ) ( ontology:Q20667921 ) } }
action count
action union
action filter_type
action find
entity Marseille
relation capital of
type type of french administrative division
action filter_type
action find
entity Marseille
relation capital of
type second-level administrative country subdivision
['Marseille', 'capital of', {'concept': 'type of french administrative division'}] ['Marseille', 'capital of', {'concept': 'second-level administrative country subdivision'}] ['Marseille', 'capital of', {'concept': 'type of french administrative division'}] ['Marseille', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o rdf:type ?t . VALUES ( ?t ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:type_of_french_administrative_division ) } }
[]
type of french administrative division second-level administrative country subdivision
SYSTEM
26 french administrative divisions and 1 administrative country subdivisions
Q585715 Q1657879 Q1726149 Q701646 Q1726127 Q740598 Q1517425 Q1660878 Q1726147 Q1726143 Q1726141 Q1726150 Q1726121 Q15104 Q930210 Q1726115 Q1726117 Q2035144 Q1726132 Q1726113 Q1726123 Q1605528 Q1726125 Q1726134 Q1726128 Q1726137 Q993282
(Q23482,P1376,c(Q20667921)) (Q23482,P1376,c(Q13220204)) (Q23482,P1376,c(Q20667921)) (Q23482,P1376,c(Q13220204))
action count
action union
action filter_type
action find
entity Q23482
relation P1376
type Q20667921
action filter_type
action find
entity Q23482
relation P1376
type Q13220204
[ANSWER]
['Q23482', 'P1376', {'concept': 'Q20667921'}] ['Q23482', 'P1376', {'concept': 'Q13220204'}] ['Q23482', 'P1376', {'concept': 'Q20667921'}] ['Q23482', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o rdf:type ?t . VALUES ( ?t ) { ( ontology:Q13220204 ) ( ontology:Q20667921 ) } }
canton of Marseille-Les Trois Lucs canton of Marseille-Les Cinq-Avenues canton of Marseille-Vauban arrondissement of Marseille canton of Marseille-Montolivet canton of Marseille-Saint-Marcel canton of Marseille-Belsunce canton of Marseille-La Belle-de-Mai canton of Marseille-Sainte-Marguerite canton of Marseille-Saint-Mauront canton of Marseille-Saint-Lambert canton of Marseille-Verduron canton of Marseille-Les Grands-Carmes Provence-Alpes-Côte d'Azur canton of Marseille-Le Camas canton of Marseille-La Capelette canton of Marseille-La Pomme canton of Marseille-La Rose canton of Marseille-Notre-Dame-du-Mont canton of Marseille-la Blancarde canton of Marseille-Les Olives canton of Marseille-La Pointe-Rouge canton of Marseille-Mazargues canton of Marseille-Saint-Giniez canton of Marseille-Notre-Dame-Limite canton of Marseille-Saint-Just canton of Marseille-Saint-Barthélemy
26 french administrative divisions and 1 administrative country subdivisions
action count
action union
action filter_type
action find
entity Marseille
relation capital of
type type of french administrative division
action filter_type
action find
entity Marseille
relation capital of
type second-level administrative country subdivision
['Marseille', 'capital of', {'concept': 'type of french administrative division'}] ['Marseille', 'capital of', {'concept': 'second-level administrative country subdivision'}] ['Marseille', 'capital of', {'concept': 'type of french administrative division'}] ['Marseille', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o rdf:type ?t . VALUES ( ?t ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:type_of_french_administrative_division ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q181862
P19
Q502895
USER
Which people have place of birth as County Clare ?
(c(Q502895),P19,Q181862)
action filter_type
action find_reverse
entity Q181862
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q181862']
SELECT DISTINCT ?p WHERE { ?p property:P19 resource:Q181862 . ?p rdf:type ontology:Q502895 }
County Clare
action filter_type
action find_reverse
entity County Clare
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'County Clare']
SELECT DISTINCT ?p WHERE { ?p property:place_of_birth resource:County_Clare . ?p rdf:type ontology:common_name }
[]
common name
Q1388702 Q8019718 Q16014466
SYSTEM
Keith Wood, William Vesey-FitzGerald, Michael O'Halloran
Q16014466 Q7147726 Q6138724 Q5131411 Q2434824 Q692430 Q1161216 Q19282427 Q1927594 Q7071874 Q18530511 Q178225 Q6833749 Q1388702 Q2579553 Q16105416 Q6698414 Q1373159 Q6130192 Q2394694 Q1523938 Q2032295 Q23044630 Q4395107 Q5485106 Q656912 Q434446 Q8019718 Q5218292 Q3219885 Q15998960
(c(Q502895),P19,Q181862)
action filter_type
action find_reverse
entity Q181862
relation P19
type Q502895
[ANSWERS] have place of birth as County Clare
[{'concept': 'Q502895'}, 'P19', 'Q181862']
SELECT DISTINCT ?p WHERE { ?p property:P19 resource:Q181862 . ?p rdf:type ontology:Q502895 }
Michael O'Halloran Patrick Thomas Leonard James Macnamara Clement Smyth Timmy Dooley Patrick Hogan Daniel J. Tobin Roderic O'Connor Michael Griffin O'Moore Creagh Nicolette Devas Edna O'Brien Michael Ratchford Keith Wood William Joseph Hynes Joe McDermott Lucy Mansel Eugene O'Curry James Breen Mike McTigue Gilbert Casey Thomas Blood Oisín Mac Diarmada Patricia Roberts Frank B. Arnold Charles Vandeleur Creagh Benjamin Kidd William Vesey-FitzGerald Daniel O'Connell Lawrence Bulger Myra Juliet Farrell
Keith Wood, William Vesey-FitzGerald and Michael O'Halloran have place of birth as County Clare
Keith Wood William Vesey-FitzGerald Michael O'Halloran
action filter_type
action find_reverse
entity County Clare
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'County Clare']
SELECT DISTINCT ?p WHERE { ?p property:place_of_birth resource:County_Clare . ?p rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q8019718
P921
Q191067
USER
Which article has that person as its principal topic ?
(c(Q191067),P921,Q8019718)
action filter_type
action find_reverse
entity Q8019718
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q8019718']
SELECT DISTINCT ?a WHERE { ?a property:P921 resource:Q8019718 . ?a rdf:type ontology:Q191067 }
William Vesey-FitzGerald
action filter_type
action find_reverse
entity William Vesey-FitzGerald
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'William Vesey-FitzGerald']
SELECT DISTINCT ?a WHERE { ?a property:main_subject resource:William_Vesey-FitzGerald . ?a rdf:type ontology:article }
[]
article
Clarification for simple ques.
Q1388702
SYSTEM
Did you mean Keith Wood ?
Q1388702 Q8019718 Q16014466
(c(Q191067),P921,Q1388702) (c(Q191067),P921,Q8019718) (c(Q191067),P921,Q16014466)
[ANSWER]
[{'concept': 'Q191067'}, 'P921', 'Q1388702'] [{'concept': 'Q191067'}, 'P921', 'Q8019718'] [{'concept': 'Q191067'}, 'P921', 'Q16014466']
SELECT DISTINCT ?a WHERE { ?a property:P921 resource:Q8019718 . ?a rdf:type ontology:Q191067 }
Keith Wood William Vesey-FitzGerald Michael O'Halloran
Did you mean Keith Wood ?
Keith Wood
[{'concept': 'article'}, 'main subject', 'Keith Wood'] [{'concept': 'article'}, 'main subject', 'William Vesey-FitzGerald'] [{'concept': 'article'}, 'main subject', "Michael O'Halloran"]
SELECT DISTINCT ?a WHERE { ?a property:main_subject resource:William_Vesey-FitzGerald . ?a rdf:type ontology:article }
[]
Simple Question (Coreferenced)
USER
No, I meant William Vesey-FitzGerald. Could you tell me the answer for that?
(c(Q191067),P921,Q8019718)
Q8019718
[{'concept': 'Q191067'}, 'P921', 'Q8019718']
[{'concept': 'article'}, 'main subject', 'William Vesey-FitzGerald']
[]
Q19027749
SYSTEM
Fitzgerald, William Robert Seymour Vesey (DNB00)
Q19027749
(c(Q191067),P921,Q8019718)
action filter_type
action find_reverse
entity Q8019718
relation P921
type Q191067
[ANSWER] has that person as its principal topic
[{'concept': 'Q191067'}, 'P921', 'Q8019718']
SELECT DISTINCT ?a WHERE { ?a property:P921 resource:Q8019718 . ?a rdf:type ontology:Q191067 }
Fitzgerald, William Robert Seymour Vesey (DNB00)
Fitzgerald, William Robert Seymour Vesey (DNB00) has that person as its principal topic
Fitzgerald, William Robert Seymour Vesey (DNB00)
action filter_type
action find_reverse
entity William Vesey-FitzGerald
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'William Vesey-FitzGerald']
SELECT DISTINCT ?a WHERE { ?a property:main_subject resource:William_Vesey-FitzGerald . ?a rdf:type ontology:article }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19027749
P1433
Q5292
USER
Which encyclopedia was that article published in ?
(Q19027749,P1433,c(Q5292))
action filter_type
action find
entity Q19027749
relation P1433
type Q5292
['Q19027749', 'P1433', {'concept': 'Q5292'}]
SELECT DISTINCT ?l WHERE { resource:Q19027749 property:P1433 ?l . ?l rdf:type ontology:Q5292 }
Fitzgerald, William Robert Seymour Vesey (DNB00)
action filter_type
action find
entity Fitzgerald, William Robert Seymour Vesey (DNB00)
relation published in
type encyclopedia
['Fitzgerald, William Robert Seymour Vesey (DNB00)', 'published in', {'concept': 'encyclopedia'}]
SELECT DISTINCT ?l WHERE { resource:Fitzgerald,_William_Robert_Seymour_Vesey_(DNB00) property:published_in ?l . ?l rdf:type ontology:encyclopedia }
[]
encyclopedia
Q15987216
SYSTEM
Dictionary of National Biography (1885-1900)
Q15987216
(Q19027749,P1433,c(Q5292))
action filter_type
action find
entity Q19027749
relation P1433
type Q5292
That article was published in [ANSWER]
['Q19027749', 'P1433', {'concept': 'Q5292'}]
SELECT DISTINCT ?l WHERE { resource:Q19027749 property:P1433 ?l . ?l rdf:type ontology:Q5292 }
Dictionary of National Biography (1885-1900)
That article was published in Dictionary of National Biography (1885-1900)
Dictionary of National Biography (1885-1900)
action filter_type
action find
entity Fitzgerald, William Robert Seymour Vesey (DNB00)
relation published in
type encyclopedia
['Fitzgerald, William Robert Seymour Vesey (DNB00)', 'published in', {'concept': 'encyclopedia'}]
SELECT DISTINCT ?l WHERE { resource:Fitzgerald,_William_Robert_Seymour_Vesey_(DNB00) property:published_in ?l . ?l rdf:type ontology:encyclopedia }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19027749
P921
Q502895
USER
What was the main subject in the work that article ?
(Q15987216,P921,c(Q502895))
action filter_type
action find
entity Q19027749
relation P921
type Q502895
['Q15987216', 'P921', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q19027749 property:P921 ?z . ?z rdf:type ontology:Q502895 }
Fitzgerald, William Robert Seymour Vesey (DNB00)
action filter_type
action find
entity Fitzgerald, William Robert Seymour Vesey (DNB00)
relation main subject
type common name
['Dictionary of National Biography (1885-1900)', 'main subject', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Fitzgerald,_William_Robert_Seymour_Vesey_(DNB00) property:main_subject ?z . ?z rdf:type ontology:common_name }
[]
common name
Q8019718
SYSTEM
William Vesey-FitzGerald
Q8019718
(Q15987216,P921,c(Q502895))
action filter_type
action find
entity Q19027749
relation P921
type Q502895
The main subject in the work that article was Sir [ANSWER]
['Q15987216', 'P921', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q19027749 property:P921 ?z . ?z rdf:type ontology:Q502895 }
William Vesey-FitzGerald
The main subject in the work that article was Sir William Vesey-FitzGerald
William Vesey-FitzGerald
action filter_type
action find
entity Fitzgerald, William Robert Seymour Vesey (DNB00)
relation main subject
type common name
['Dictionary of National Biography (1885-1900)', 'main subject', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Fitzgerald,_William_Robert_Seymour_Vesey_(DNB00) property:main_subject ?z . ?z rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q886
P725
Q502895 Q15961987
USER
Which television genres did less number of people dub for than The Simpsons ?
(c(Q15961987),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q886
relation P725
type Q502895
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?x ) WHERE { ?n rdf:type ontology:Q15961987 . ?o rdf:type ontology:Q502895 . ?n property:P725 ?o } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Q886 property:P725 ?b . ?b rdf:type ontology:Q502895 } } . FILTER ( ?x < ?g ) }
The Simpsons
action less
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity The Simpsons
relation voice actor
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?x ) WHERE { ?n rdf:type ontology:television_genre . ?o rdf:type ontology:common_name . ?n property:voice_actor ?o } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:The_Simpsons property:voice_actor ?b . ?b rdf:type ontology:common_name } } . FILTER ( ?x < ?g ) }
[]
common name television genre
Q11572 Q576501 Q917543
SYSTEM
Avatar: The Last Airbender, Garfield and Friends, The Garfield Show
Q11572 Q11296848 Q3235151 Q576501 Q847219 Q753848 Q917543 Q2750339
(c(Q15961987),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q886
relation P725
type Q502895
[ANSWERS] less number of people dubbed for than The Simpsons
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?x ) WHERE { ?n rdf:type ontology:Q15961987 . ?o rdf:type ontology:Q502895 . ?n property:P725 ?o } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Q886 property:P725 ?b . ?b rdf:type ontology:Q502895 } } . FILTER ( ?x < ?g ) }
Avatar: The Last Airbender Kiteretsu Daihyakka VeggieTales Garfield and Friends Pururun! Shizuku-chan TaleSpin The Garfield Show Hellsing Ultimate
Avatar: The Last Airbender, Garfield and Friends and The Garfield Show less number of people dubbed for than The Simpsons
Avatar: The Last Airbender Garfield and Friends The Garfield Show
action less
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity The Simpsons
relation voice actor
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?x ) WHERE { ?n rdf:type ontology:television_genre . ?o rdf:type ontology:common_name . ?n property:voice_actor ?o } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:The_Simpsons property:voice_actor ?b . ?b rdf:type ontology:common_name } } . FILTER ( ?x < ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q24034511
P725
Q502895 Q15961987
USER
And how about Voltron: Legendary Defender?
(c(Q15961987),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q24034511
relation P725
type Q502895
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?x ) WHERE { ?v property:P725 ?e . ?v rdf:type ontology:Q15961987 . ?e rdf:type ontology:Q502895 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Q24034511 property:P725 ?j . ?j rdf:type ontology:Q502895 } } . FILTER ( ?x < ?u ) }
Voltron: Legendary Defender
action less
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Voltron: Legendary Defender
relation voice actor
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?x ) WHERE { ?v property:voice_actor ?e . ?v rdf:type ontology:television_genre . ?e rdf:type ontology:common_name } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Voltron:_Legendary_Defender property:voice_actor ?j . ?j rdf:type ontology:common_name } } . FILTER ( ?x < ?u ) }
[]
common name television genre
Q11572 Q576501 Q917543
SYSTEM
Avatar: The Last Airbender, Garfield and Friends, The Garfield Show
Q11572 Q11296848 Q3235151 Q576501 Q847219 Q753848 Q917543 Q2750339
(c(Q15961987),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q24034511
relation P725
type Q502895
[ANSWERS]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?x ) WHERE { ?v property:P725 ?e . ?v rdf:type ontology:Q15961987 . ?e rdf:type ontology:Q502895 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Q24034511 property:P725 ?j . ?j rdf:type ontology:Q502895 } } . FILTER ( ?x < ?u ) }
Avatar: The Last Airbender Kiteretsu Daihyakka VeggieTales Garfield and Friends Pururun! Shizuku-chan TaleSpin The Garfield Show Hellsing Ultimate
Avatar: The Last Airbender Garfield and Friends The Garfield Show
action less
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Voltron: Legendary Defender
relation voice actor
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?x ) WHERE { ?v property:voice_actor ?e . ?v rdf:type ontology:television_genre . ?e rdf:type ontology:common_name } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { resource:Voltron:_Legendary_Defender property:voice_actor ?j . ?j rdf:type ontology:common_name } } . FILTER ( ?x < ?u ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P144
Q15961987 Q15961987
USER
Which television genres are around the same number of television genres a fork of as that television genre ?
(c(Q15961987),P144,c(Q15961987))
[{'concept': 'Q15961987'}, 'P144', {'concept': 'Q15961987'}]
SELECT DISTINCT ?z WHERE { ?z property:P144 ?z . ?z rdf:type ontology:Q15961987 }
[{'concept': 'television genre'}, 'based on', {'concept': 'television genre'}]
SELECT DISTINCT ?z WHERE { ?z property:based_on ?z . ?z rdf:type ontology:television_genre }
[]
television genre television genre
Comparative|More/Less|Single entity type|Clarification
Q576501
SYSTEM
Did you mean Garfield and Friends ?
(c(Q15961987),P144,c(Q15961987))
[ANSWER]
[{'concept': 'Q15961987'}, 'P144', {'concept': 'Q15961987'}]
SELECT DISTINCT ?z WHERE { ?z property:P144 ?z . ?z rdf:type ontology:Q15961987 }
Did you mean Garfield and Friends ?
Garfield and Friends
[{'concept': 'television genre'}, 'based on', {'concept': 'television genre'}]
SELECT DISTINCT ?z WHERE { ?z property:based_on ?z . ?z rdf:type ontology:television_genre }
[]
Comparative Reasoning (All)
USER
No, I meant Avatar: The Last Airbender. Could you tell me the answer for that?
(c(Q15961987),P144,c(Q15961987))
Q11572
[{'concept': 'Q15961987'}, 'P144', {'concept': 'Q15961987'}]
[{'concept': 'television genre'}, 'based on', {'concept': 'television genre'}]
[]
Q1066948 Q11572 Q5415
SYSTEM
Ghost in the Shell, Avatar: The Last Airbender, My Little Pony: Friendship Is Magic
Q679554 Q1784016 Q83279 Q18697290 Q7756888 Q11572 Q82617 Q217679 Q1251705 Q18790 Q622946 Q622435 Q5415 Q2095216 Q184342 Q457409 Q511726 Q210311 Q602883 Q3641021 Q16538 Q1939314 Q1066948 Q653789
(c(Q15961987),P144,c(Q15961987))
Ghost in the Shell, Avatar: The Last Airbender and My Little Pony: Friendship is Magic are around the same number of television genres a fork of as that television genre
[{'concept': 'Q15961987'}, 'P144', {'concept': 'Q15961987'}]
SELECT DISTINCT ?z WHERE { ?z property:P144 ?z . ?z rdf:type ontology:Q15961987 }
Peking Express Name That Tune SpongeBob SquarePants 101st Marriage Proposal The Phil Silvers Show Avatar: The Last Airbender Regular Show Phineas and Ferb Doug The Legend of Korra Aqua Teen Hunger Force Looney Tunes My Little Pony: Friendship Is Magic Raggedy Ann Wizards of Waverly Place The Jetsons Beavis and Butt-head American Dad! The Transformers Blondie South Park Mr. Magoo Ghost in the Shell Pippi Longstocking
Ghost in the Shell, Avatar: The Last Airbender and My Little Pony: Friendship is Magic are around the same number of television genres a fork of as that television genre
Ghost in the Shell Avatar: The Last Airbender My Little Pony: Friendship Is Magic
[{'concept': 'television genre'}, 'based on', {'concept': 'television genre'}]
SELECT DISTINCT ?z WHERE { ?z property:based_on ?z . ?z rdf:type ontology:television_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41117
P991
Q1076105
USER
Which are the general elections from where Kim Il-sung were elected from ?
(c(Q1076105),P991,Q41117)
action filter_type
action find_reverse
entity Q41117
relation P991
type Q1076105
[{'concept': 'Q1076105'}, 'P991', 'Q41117']
SELECT DISTINCT ?b WHERE { ?b property:P991 resource:Q41117 . ?b rdf:type ontology:Q1076105 }
Kim Il-sung
action filter_type
action find_reverse
entity Kim Il-sung
relation successful candidate
type general election
[{'concept': 'general election'}, 'successful candidate', 'Kim Il-sung']
SELECT DISTINCT ?b WHERE { ?b property:successful_candidate resource:Kim_Il-sung . ?b rdf:type ontology:general_election }
[]
general election
Q7055851 Q11270516 Q7055849
SYSTEM
North Korean parliamentary election, 1962, North Korean parliamentary election, 1967, North Korean parliamentary election, 1957
Q7055851 Q11270516 Q7055857 Q7055849
(c(Q1076105),P991,Q41117)
action filter_type
action find_reverse
entity Q41117
relation P991
type Q1076105
[ANSWERS]
[{'concept': 'Q1076105'}, 'P991', 'Q41117']
SELECT DISTINCT ?b WHERE { ?b property:P991 resource:Q41117 . ?b rdf:type ontology:Q1076105 }
North Korean parliamentary election, 1962 North Korean parliamentary election, 1967 North Korean parliamentary election, 1990 North Korean parliamentary election, 1957
The general elections from Kim Il-sung were elected from are held North Korean parliamentary election, 1962, North Korean parliamentary election, 1967 and North Korean parliamentary election, 1957
North Korean parliamentary election, 1962 North Korean parliamentary election, 1967 North Korean parliamentary election, 1957
action filter_type
action find_reverse
entity Kim Il-sung
relation successful candidate
type general election
[{'concept': 'general election'}, 'successful candidate', 'Kim Il-sung']
SELECT DISTINCT ?b WHERE { ?b property:successful_candidate resource:Kim_Il-sung . ?b rdf:type ontology:general_election }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7055851
P17
Q15617994
USER
Which administrative territory does that general election belong to ?
(Q7055851,P17,c(Q15617994))
action filter_type
action find
entity Q7055851
relation P17
type Q15617994
['Q7055851', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q7055851 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
North Korean parliamentary election, 1962
action filter_type
action find
entity North Korean parliamentary election, 1962
relation country
type designation for an administrative territorial entity
['North Korean parliamentary election, 1962', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:North_Korean_parliamentary_election,_1962 property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q7055849
SYSTEM
Did you mean North Korean parliamentary election, 1957 ?
Q7055851 Q11270516 Q7055849
(Q7055851,P17,c(Q15617994)) (Q11270516,P17,c(Q15617994)) (Q7055849,P17,c(Q15617994))
[ANSWER]
['Q7055851', 'P17', {'concept': 'Q15617994'}] ['Q11270516', 'P17', {'concept': 'Q15617994'}] ['Q7055849', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q7055851 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
North Korean parliamentary election, 1962 North Korean parliamentary election, 1967 North Korean parliamentary election, 1957
Did you mean North Korean parliamentary election, 1957 ?
North Korean parliamentary election, 1957
['North Korean parliamentary election, 1962', 'country', {'concept': 'designation for an administrative territorial entity'}] ['North Korean parliamentary election, 1967', 'country', {'concept': 'designation for an administrative territorial entity'}] ['North Korean parliamentary election, 1957', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:North_Korean_parliamentary_election,_1962 property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant North Korean parliamentary election, 1962. Could you tell me the answer for that?
(Q7055851,P17,c(Q15617994))
Q7055851
['Q7055851', 'P17', {'concept': 'Q15617994'}]
['North Korean parliamentary election, 1962', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q423
SYSTEM
North Korea
Q423
(Q7055851,P17,c(Q15617994))
action filter_type
action find
entity Q7055851
relation P17
type Q15617994
That general election belongs to the [ANSWER]
['Q7055851', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q7055851 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
North Korea
That general election belongs to the North Korea
North Korea
action filter_type
action find
entity North Korean parliamentary election, 1962
relation country
type designation for an administrative territorial entity
['North Korean parliamentary election, 1962', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:North_Korean_parliamentary_election,_1962 property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]