Simple Question (Direct)
Simple Question
Q6271007
P106
Q12737077
USER
What are the job of Jon Jørundson Mannsåker ?
(Q6271007,P106,c(Q12737077))
action filter_type
action find
entity Q6271007
relation P106
type Q12737077
['Q6271007', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q6271007 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Jon Jørundson Mannsåker
action filter_type
action find
entity Jon Jørundson Mannsåker
relation occupation
type occupation
['Jon Jørundson Mannsåker', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Jon_Jørundson_Mannsåker property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q82955 Q42603
SYSTEM
politician, priest
Q82955 Q42603
(Q6271007,P106,c(Q12737077))
action filter_type
action find
entity Q6271007
relation P106
type Q12737077
The job of Jon Jørundson Mannsåker are a [ANSWERS]
['Q6271007', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q6271007 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
politician priest
The job of Jon Jørundson Mannsåker are a politician and priest
politician priest
action filter_type
action find
entity Jon Jørundson Mannsåker
relation occupation
type occupation
['Jon Jørundson Mannsåker', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Jon_Jørundson_Mannsåker property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6271007
P102
Q7210356
USER
Which political organization is Jon Jørundson Mannsåker a member of ?
(Q6271007,P102,c(Q7210356))
action filter_type
action find
entity Q6271007
relation P102
type Q7210356
['Q6271007', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { resource:Q6271007 property:P102 ?k . ?k rdf:type ontology:Q7210356 }
Jon Jørundson Mannsåker
action filter_type
action find
entity Jon Jørundson Mannsåker
relation member of political party
type political organization
['Jon Jørundson Mannsåker', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { resource:Jon_Jørundson_Mannsåker property:member_of_political_party ?k . ?k rdf:type ontology:political_organization }
[]
political organization
Q500190
SYSTEM
Liberal Party
Q500190
(Q6271007,P102,c(Q7210356))
action filter_type
action find
entity Q6271007
relation P102
type Q7210356
The [ANSWER] is Jon Jørundson Mannsåker a member of
['Q6271007', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { resource:Q6271007 property:P102 ?k . ?k rdf:type ontology:Q7210356 }
Liberal Party
The Liberal Party is Jon Jørundson Mannsåker a member of
Liberal Party
action filter_type
action find
entity Jon Jørundson Mannsåker
relation member of political party
type political organization
['Jon Jørundson Mannsåker', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { resource:Jon_Jørundson_Mannsåker property:member_of_political_party ?k . ?k rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16765239
Q7210356
USER
And also tell me about Josef Habermann?
(Q16765239,P102,c(Q7210356))
action filter_type
action find
entity Q16765239
relation P102
type Q7210356
['Q16765239', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?e WHERE { resource:Q16765239 property:P102 ?e . ?e rdf:type ontology:Q7210356 }
Josef Habermann
action filter_type
action find
entity Josef Habermann
relation member of political party
type political organization
['Josef Habermann', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?e WHERE { resource:Josef_Habermann property:member_of_political_party ?e . ?e rdf:type ontology:political_organization }
[]
political organization
Q379922
SYSTEM
Constitutional Party
Q379922
(Q16765239,P102,c(Q7210356))
action filter_type
action find
entity Q16765239
relation P102
type Q7210356
[ANSWER]
['Q16765239', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?e WHERE { resource:Q16765239 property:P102 ?e . ?e rdf:type ontology:Q7210356 }
Constitutional Party
Constitutional Party
action filter_type
action find
entity Josef Habermann
relation member of political party
type political organization
['Josef Habermann', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?e WHERE { resource:Josef_Habermann property:member_of_political_party ?e . ?e rdf:type ontology:political_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q16765239
P20
Q515
USER
How many cities did the demise of Josef Habermann occur ?
(Q16765239,P20,c(Q515))
action count
action filter_type
action find
entity Q16765239
relation P20
type Q515
['Q16765239', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { resource:Q16765239 property:P20 ?q . ?q rdf:type ontology:Q515 }
Josef Habermann
action count
action filter_type
action find
entity Josef Habermann
relation place of death
type city
['Josef Habermann', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { resource:Josef_Habermann property:place_of_death ?q . ?q rdf:type ontology:city }
[]
city
SYSTEM
1
Q14960
(Q16765239,P20,c(Q515))
action count
action filter_type
action find
entity Q16765239
relation P20
type Q515
[ANSWER]
['Q16765239', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { resource:Q16765239 property:P20 ?q . ?q rdf:type ontology:Q515 }
Brno
1
action count
action filter_type
action find
entity Josef Habermann
relation place of death
type city
['Josef Habermann', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { resource:Josef_Habermann property:place_of_death ?q . ?q rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q23777327
Q515
USER
And how about Bors István?
(Q23777327,P20,c(Q515))
action count
action filter_type
action find
entity Q23777327
relation P20
type Q515
['Q23777327', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Q23777327 property:P20 ?h . ?h rdf:type ontology:Q515 }
Bors István
action count
action filter_type
action find
entity Bors István
relation place of death
type city
['Bors István', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Bors_István property:place_of_death ?h . ?h rdf:type ontology:city }
[]
city
SYSTEM
1
(Q23777327,P20,c(Q515))
action count
action filter_type
action find
entity Q23777327
relation P20
type Q515
[ANSWER]
['Q23777327', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Q23777327 property:P20 ?h . ?h rdf:type ontology:Q515 }
1
action count
action filter_type
action find
entity Bors István
relation place of death
type city
['Bors István', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Bors_István property:place_of_death ?h . ?h rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q82955
P39
Q502895
USER
Who was responsible for occupying the position of politician ?
(c(Q502895),P39,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q82955']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P39 resource:Q82955 }
politician
action filter_type
action find_reverse
entity politician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'politician']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:position_held resource:politician }
[]
common name
Q26215129
SYSTEM
Morteza Azari
Q26215129
(c(Q502895),P39,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
[ANSWER] was responsible for occupying the position of politician
[{'concept': 'Q502895'}, 'P39', 'Q82955']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P39 resource:Q82955 }
Morteza Azari
Morteza Azari was responsible for occupying the position of politician
Morteza Azari
action filter_type
action find_reverse
entity politician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'politician']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:position_held resource:politician }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q82955
P425
Q3769299
USER
Who has that one as the associated field of occupation ?
(Q26215129,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
['Q26215129', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?i WHERE { resource:Q82955 property:P425 ?i . ?i rdf:type ontology:Q3769299 }
politician
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['Morteza Azari', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?i WHERE { resource:politician property:field_of_this_occupation ?i . ?i rdf:type ontology:human_behaviour }
[]
human behaviour
Q7163
SYSTEM
politics
Q7163
(Q26215129,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
[ANSWER] has that one as the associated field of occupation
['Q26215129', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?i WHERE { resource:Q82955 property:P425 ?i . ?i rdf:type ontology:Q3769299 }
politics
Politics has that one as the associated field of occupation
politics
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['Morteza Azari', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?i WHERE { resource:politician property:field_of_this_occupation ?i . ?i rdf:type ontology:human_behaviour }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q7330070 Q82955
P425
Q3769299
USER
Or foreign minister?
OR((Q82955,P425,c(Q3769299)), (Q7330070,P425,c(Q3769299)))
action filter_type
action union
action find
entity Q82955
relation P425
action find
entity Q7330070
relation P425
type Q3769299
{'OR': [['Q82955', 'P425', {'concept': 'Q3769299'}], ['Q7330070', 'P425', {'concept': 'Q3769299'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q82955 property:P425 ?h } UNION { resource:Q7330070 property:P425 ?h } } . ?h rdf:type ontology:Q3769299 }
foreign minister politician
action filter_type
action union
action find
entity politician
relation field of this occupation
action find
entity foreign minister
relation field of this occupation
type human behaviour
{'OR': [['politician', 'field of this occupation', {'concept': 'human behaviour'}], ['foreign minister', 'field of this occupation', {'concept': 'human behaviour'}]]}
SELECT DISTINCT ?h WHERE { { { resource:politician property:field_of_this_occupation ?h } UNION { resource:foreign_minister property:field_of_this_occupation ?h } } . ?h rdf:type ontology:human_behaviour }
[]
human behaviour
Q7163
SYSTEM
politics
Q7163
OR((Q82955,P425,c(Q3769299)), (Q7330070,P425,c(Q3769299)))
action filter_type
action union
action find
entity Q82955
relation P425
action find
entity Q7330070
relation P425
type Q3769299
[ANSWER]
{'OR': [['Q82955', 'P425', {'concept': 'Q3769299'}], ['Q7330070', 'P425', {'concept': 'Q3769299'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q82955 property:P425 ?h } UNION { resource:Q7330070 property:P425 ?h } } . ?h rdf:type ontology:Q3769299 }
politics
politics
action filter_type
action union
action find
entity politician
relation field of this occupation
action find
entity foreign minister
relation field of this occupation
type human behaviour
{'OR': [['politician', 'field of this occupation', {'concept': 'human behaviour'}], ['foreign minister', 'field of this occupation', {'concept': 'human behaviour'}]]}
SELECT DISTINCT ?h WHERE { { { resource:politician property:field_of_this_occupation ?h } UNION { resource:foreign_minister property:field_of_this_occupation ?h } } . ?h rdf:type ontology:human_behaviour }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do max number of people know to play ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?q ) { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:P1303 ?p . ?n rdf:type ontology:Q502895 . ?p rdf:type ontology:Q34379 } GROUP BY ?p } } . { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?t ) WHERE { ?a rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 . ?r property:P1303 ?a } GROUP BY ?a } . FILTER ( ?t = ?q ) }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?q ) { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:instrument ?p . ?n rdf:type ontology:common_name . ?p rdf:type ontology:musical_instrument } GROUP BY ?p } } . { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?t ) WHERE { ?a rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name . ?r property:instrument ?a } GROUP BY ?a } . FILTER ( ?t = ?q ) }
[]
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 know how [ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?q ) { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:P1303 ?p . ?n rdf:type ontology:Q502895 . ?p rdf:type ontology:Q34379 } GROUP BY ?p } } . { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?t ) WHERE { ?a rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 . ?r property:P1303 ?a } GROUP BY ?a } . FILTER ( ?t = ?q ) }
piano
Max number of people know how 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 ?a WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?q ) { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:instrument ?p . ?n rdf:type ontology:common_name . ?p rdf:type ontology:musical_instrument } GROUP BY ?p } } . { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?t ) WHERE { ?a rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name . ?r property:instrument ?a } GROUP BY ?a } . FILTER ( ?t = ?q ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5994
P61
Q502895
USER
Who was the inventor or discoverer of that musical instrument ?
(Q5994,P61,c(Q502895))
action filter_type
action find
entity Q5994
relation P61
type Q502895
['Q5994', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q5994 property:P61 ?s . ?s rdf:type ontology:Q502895 }
piano
action filter_type
action find
entity piano
relation discoverer or inventor
type common name
['piano', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:piano property:discoverer_or_inventor ?s . ?s rdf:type ontology:common_name }
[]
common name
Q301597
SYSTEM
Bartolomeo Cristofori
Q301597
(Q5994,P61,c(Q502895))
action filter_type
action find
entity Q5994
relation P61
type Q502895
The inventor or discoverer of that musical instrument was [ANSWER]
['Q5994', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q5994 property:P61 ?s . ?s rdf:type ontology:Q502895 }
Bartolomeo Cristofori
The inventor or discoverer of that musical instrument was Bartolomeo Cristofori
Bartolomeo Cristofori
action filter_type
action find
entity piano
relation discoverer or inventor
type common name
['piano', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:piano property:discoverer_or_inventor ?s . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q11424
USER
Which films have been dubbed by atmost 23 people ?
(c(Q11424),P725,c(Q502895))
action atmost
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 23
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?u <= 23 ) . { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?u ) WHERE { ?e rdf:type ontology:Q502895 . ?v rdf:type ontology:Q11424 . ?v property:P725 ?e } GROUP BY ?v } }
action atmost
action find_tuple_counts
relation voice actor
type film
type common name
value 23
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?u <= 23 ) . { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?u ) WHERE { ?e rdf:type ontology:common_name . ?v rdf:type ontology:film . ?v property:voice_actor ?e } GROUP BY ?v } }
[]
common name film
Q19090 Q270470 Q39722
SYSTEM
Robin Hood, Peter Pan, The Rescuers
Q1235519 Q378913 Q4499813 Q3038714 Q191753 Q6929072 Q1138751 Q785294 Q6296387 Q204662 Q521082 Q713543 Q1764174 Q752301 Q270470 Q334132 Q449917 Q909740 Q842306 Q4341553 Q1491010 Q215518 Q156401 Q1160649 Q134430 Q215617 Q811980 Q254671 Q2918397 Q853718 Q374431 Q12084660 Q578595 Q329316 Q44817 Q29355 Q9019373 Q223359 Q213787 Q611739 Q980041 Q2898231 Q1418615 Q785363 Q869741 Q3588859 Q371490 Q1656435 Q3836716 Q1032225 Q264873 Q249967 Q19090 Q4189838 Q943192 Q2059996 Q1361113 Q736731 Q318428 Q465275 Q218894 Q172284 Q202371 Q40302 Q19703751 Q189875 Q1513926 Q336012 Q43051 Q2299779 Q1494230 Q917278 Q1406374 Q2068444 Q498434 Q199839 Q36479 Q1634740 Q39722 Q40895 Q3190021 Q1102410 Q543486 Q3226633 Q1195096 Q240852
(c(Q11424),P725,c(Q502895))
action atmost
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 23
[ANSWERS] have been dubbed by atmost 23 people
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?u <= 23 ) . { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?u ) WHERE { ?e rdf:type ontology:Q502895 . ?v rdf:type ontology:Q11424 . ?v property:P725 ?e } GROUP BY ?v } }
Panda and the Magic Serpent The Lord of the Rings Home Lucky Luke: The Daltons on the Run Cinderella Mr. Peabody & Sherman The Plague Dogs Captain of the Forest Rio 2 The Sword in the Stone Szaffi Cat City Quest for Camelot Flushed Away Peter Pan The Great Mouse Detective The Chipmunk Adventure Krabat – The Sorcerer's Apprentice Saludos Amigos Pinocchio Tintin and the Lake of Sharks Aladdin Chicken Run Mattie the Goose-boy Snow White and the Seven Dwarfs Sleeping Beauty The Adventures of Lolo the Penguin Coonskin The Bugs Bunny/Road Runner Movie Fun and Fancy Free The Tigger Movie The Princess and the Goblin Paprika The Black Cauldron The Little Fox Space Dogs The Legend of the North Wind Rio The Hunchback of Notre Dame The Ballad of the Daltons The Adventures of Tintin The Real Shlemiel Fritz the Cat The Time Masters Melody Time Emilie Jolie Son of the White Mare Ico, the Brave Horse The Looney Looney Looney Bugs Bunny Movie Foam Bath Willy the Sparrow Hotel Transylvania Robin Hood Starchaser: The Legend of Orin Fantasia My Little Pony: The Movie Pooh's Heffalump Movie The Three Caballeros Wallace & Gromit: The Curse of the Were-Rabbit Fantastic Mr. Fox Pocahontas Lady and the Tramp The Rescuers Down Under The Fox and the Hound Millionaire Dogs Alice in Wonderland Magic Boy The Girl Who Leapt Through Time Bambi Animal Farms Garfield Gets Real Tokyo Godfathers Piglet's Big Movie Felix the Cat: The Movie The Many Adventures of Winnie the Pooh The Jungle Book The Lion King Jungledyret Hugo The Rescuers Dumbo Jungledyret Hugo - den store filmhelt Johnny Corncob Daisy Town Renart the Fox Havoc in Heaven FernGully: The Last Rainforest
Robin Hood, Peter Pan and The Rescuers have been dubbed by atmost 23 people
Robin Hood Peter Pan The Rescuers
action atmost
action find_tuple_counts
relation voice actor
type film
type common name
value 23
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?u <= 23 ) . { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?u ) WHERE { ?e rdf:type ontology:common_name . ?v rdf:type ontology:film . ?v property:voice_actor ?e } GROUP BY ?v } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q270470
P1441
Q95074
USER
How many fictional characters appear in Peter Pan ?
(c(Q95074),P1441,Q270470)
action count
action filter_type
action find_reverse
entity Q270470
relation P1441
type Q95074
[{'concept': 'Q95074'}, 'P1441', 'Q270470']
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { ?r property:P1441 resource:Q270470 . ?r rdf:type ontology:Q95074 }
Peter Pan
action count
action filter_type
action find_reverse
entity Peter Pan
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', 'Peter Pan']
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { ?r property:present_in_work resource:Peter_Pan . ?r rdf:type ontology:fictional_character }
[]
fictional character
SYSTEM
13
Q27663642 Q27666446 Q27666216 Q27666236 Q27666260 Q27666386 Q27666118 Q27666112 Q27663814 Q27666068 Q27666317 Q27663545 Q27666036
(c(Q95074),P1441,Q270470)
action count
action filter_type
action find_reverse
entity Q270470
relation P1441
type Q95074
[ANSWER]
[{'concept': 'Q95074'}, 'P1441', 'Q270470']
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { ?r property:P1441 resource:Q270470 . ?r rdf:type ontology:Q95074 }
Wendy Darling Tiger Lily Tinker Bell Nana Mr. Smee Indian Chief Michael Darling Mary Darling Captain Hook John Darling Crocodile Peter Pan George Darling
13
action count
action filter_type
action find_reverse
entity Peter Pan
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', 'Peter Pan']
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { ?r property:present_in_work resource:Peter_Pan . ?r rdf:type ontology:fictional_character }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q208460
P1441
Q95074
USER
And also tell me about Nineteen Eighty-Four?
(c(Q95074),P1441,Q208460)
action count
action filter_type
action find_reverse
entity Q208460
relation P1441
type Q95074
[{'concept': 'Q95074'}, 'P1441', 'Q208460']
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ontology:Q95074 . ?l property:P1441 resource:Q208460 }
Nineteen Eighty-Four
action count
action filter_type
action find_reverse
entity Nineteen Eighty-Four
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', 'Nineteen Eighty-Four']
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ontology:fictional_character . ?l property:present_in_work resource:Nineteen_Eighty-Four }
[]
fictional character
SYSTEM
1
Q651130
(c(Q95074),P1441,Q208460)
action count
action filter_type
action find_reverse
entity Q208460
relation P1441
type Q95074
[ANSWER]
[{'concept': 'Q95074'}, 'P1441', 'Q208460']
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ontology:Q95074 . ?l property:P1441 resource:Q208460 }
Julia
1
action count
action filter_type
action find_reverse
entity Nineteen Eighty-Four
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', 'Nineteen Eighty-Four']
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ontology:fictional_character . ?l property:present_in_work resource:Nineteen_Eighty-Four }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q270470
P272
Q375336
USER
Who produced Peter Pan ?
(Q270470,P272,c(Q375336))
action filter_type
action find
entity Q270470
relation P272
type Q375336
['Q270470', 'P272', {'concept': 'Q375336'}]
SELECT DISTINCT ?a WHERE { resource:Q270470 property:P272 ?a . ?a rdf:type ontology:Q375336 }
Peter Pan
action filter_type
action find
entity Peter Pan
relation production company
type film studio
['Peter Pan', 'production company', {'concept': 'film studio'}]
SELECT DISTINCT ?a WHERE { resource:Peter_Pan property:production_company ?a . ?a rdf:type ontology:film_studio }
[]
film studio
Q1047410
SYSTEM
Walt Disney Animation Studios
Q1047410
(Q270470,P272,c(Q375336))
action filter_type
action find
entity Q270470
relation P272
type Q375336
The [ANSWER] produced Peter Pan
['Q270470', 'P272', {'concept': 'Q375336'}]
SELECT DISTINCT ?a WHERE { resource:Q270470 property:P272 ?a . ?a rdf:type ontology:Q375336 }
Walt Disney Animation Studios
The Walt Disney Animation Studios produced Peter Pan
Walt Disney Animation Studios
action filter_type
action find
entity Peter Pan
relation production company
type film studio
['Peter Pan', 'production company', {'concept': 'film studio'}]
SELECT DISTINCT ?a WHERE { resource:Peter_Pan property:production_company ?a . ?a rdf:type ontology:film_studio }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q270470
P674
Q95074
USER
What are the name of the persons who plays a role in that film ?
(Q1047410,P674,c(Q95074))
action filter_type
action find
entity Q270470
relation P674
type Q95074
['Q1047410', 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ?j WHERE { resource:Q270470 property:P674 ?j . ?j rdf:type ontology:Q95074 }
Peter Pan
action filter_type
action find
entity Peter Pan
relation characters
type fictional character
['Walt Disney Animation Studios', 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ?j WHERE { resource:Peter_Pan property:characters ?j . ?j rdf:type ontology:fictional_character }
[]
fictional character
Q27663642 Q27663814 Q27666260
SYSTEM
Wendy Darling, Captain Hook, Mr. Smee
Q27666260 Q27663545 Q27666118 Q27663642 Q27666236 Q27666317 Q27666036 Q27663814 Q27666216 Q27666446 Q27666068 Q27666112
(Q1047410,P674,c(Q95074))
action filter_type
action find
entity Q270470
relation P674
type Q95074
The name of the persons plays a role in that film are [ANSWERS]
['Q1047410', 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ?j WHERE { resource:Q270470 property:P674 ?j . ?j rdf:type ontology:Q95074 }
Mr. Smee Peter Pan Michael Darling Wendy Darling Nana Crocodile George Darling Captain Hook Tinker Bell Tiger Lily John Darling Mary Darling
The name of the persons plays a role in that film are Wendy Darling, Captain Hook and Mr. Smee
Wendy Darling Captain Hook Mr. Smee
action filter_type
action find
entity Peter Pan
relation characters
type fictional character
['Walt Disney Animation Studios', 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ?j WHERE { resource:Peter_Pan property:characters ?j . ?j rdf:type ontology:fictional_character }
[]