Simple Question (Direct)
Simple Question
Q186571
P20
Q56061
USER
Where did Robert Rogers die ?
(Q186571,P20,c(Q56061))
action filter_type
action find
entity Q186571
relation P20
type Q56061
['Q186571', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q186571 property:P20 ?u . ?u rdf:type ontology:Q56061 }
Robert Rogers
action filter_type
action find
entity Robert Rogers
relation place of death
type administrative territorial entity
['Robert Rogers', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Robert_Rogers property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q186571,P20,c(Q56061))
action filter_type
action find
entity Q186571
relation P20
type Q56061
Robert Rogers died in [ANSWER]
['Q186571', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q186571 property:P20 ?u . ?u rdf:type ontology:Q56061 }
London
Robert Rogers died in London
London
action filter_type
action find
entity Robert Rogers
relation place of death
type administrative territorial entity
['Robert Rogers', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Robert_Rogers property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q186571
P21
Q290
USER
Which sex does that person have ?
(Q84,P21,c(Q290))
action filter_type
action find
entity Q186571
relation P21
type Q290
['Q84', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q186571 property:P21 ?a . ?a rdf:type ontology:Q290 }
Robert Rogers
action filter_type
action find
entity Robert Rogers
relation gender
type sex
['London', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Robert_Rogers property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q84,P21,c(Q290))
action filter_type
action find
entity Q186571
relation P21
type Q290
That person has a [ANSWER]
['Q84', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q186571 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Robert Rogers
relation gender
type sex
['London', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Robert_Rogers property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q186571
P921
Q191067
USER
Which article was mainly based on that person ?
(c(Q191067),P921,Q6581097)
action filter_type
action find_reverse
entity Q186571
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q6581097']
SELECT DISTINCT ?c WHERE { ?c property:P921 resource:Q186571 . ?c rdf:type ontology:Q191067 }
Robert Rogers
action filter_type
action find_reverse
entity Robert Rogers
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'male']
SELECT DISTINCT ?c WHERE { ?c property:main_subject resource:Robert_Rogers . ?c rdf:type ontology:article }
[]
article
Q19101309
SYSTEM
Rogers, Robert (DNB00)
Q19101309
(c(Q191067),P921,Q6581097)
action filter_type
action find_reverse
entity Q186571
relation P921
type Q191067
[ANSWER] was mainly based on that person
[{'concept': 'Q191067'}, 'P921', 'Q6581097']
SELECT DISTINCT ?c WHERE { ?c property:P921 resource:Q186571 . ?c rdf:type ontology:Q191067 }
Rogers, Robert (DNB00)
Rogers, Robert (DNB00) was mainly based on that person
Rogers, Robert (DNB00)
action filter_type
action find_reverse
entity Robert Rogers
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'male']
SELECT DISTINCT ?c WHERE { ?c property:main_subject resource:Robert_Rogers . ?c rdf:type ontology:article }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P1433
Q5292
USER
How many encyclopedias are that article published ?
(Q19101309,P1433,c(Q5292))
action count
action filter_type
action find
entity Q19101309
relation P1433
type Q5292
['Q19101309', 'P1433', {'concept': 'Q5292'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Q19101309 property:P1433 ?k . ?k rdf:type ontology:Q5292 }
action count
action filter_type
action find
entity Rogers, Robert (DNB00)
relation published in
type encyclopedia
['Rogers, Robert (DNB00)', 'published in', {'concept': 'encyclopedia'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Rogers,_Robert_(DNB00) property:published_in ?k . ?k rdf:type ontology:encyclopedia }
[]
encyclopedia
SYSTEM
1
Q15987216
(Q19101309,P1433,c(Q5292))
action count
action filter_type
action find
entity Q19101309
relation P1433
type Q5292
[ANSWER]
['Q19101309', 'P1433', {'concept': 'Q5292'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Q19101309 property:P1433 ?k . ?k rdf:type ontology:Q5292 }
Dictionary of National Biography (1885-1900)
1
action count
action filter_type
action find
entity Rogers, Robert (DNB00)
relation published in
type encyclopedia
['Rogers, Robert (DNB00)', 'published in', {'concept': 'encyclopedia'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Rogers,_Robert_(DNB00) property:published_in ?k . ?k rdf:type ontology:encyclopedia }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q19101309 Q20088085
P1433
Q5292
USER
How many encyclopedias have Rogers, Robert (DNB00) or dictionary page in Wikipedia in it ?
(Q19101309,P1433,c(Q5292)) (Q20088085,P1433,c(Q5292))
action count
action union
action filter_type
action find
entity Q19101309
relation P1433
type Q5292
action filter_type
action find
entity Q20088085
relation P1433
type Q5292
['Q19101309', 'P1433', {'concept': 'Q5292'}] ['Q20088085', 'P1433', {'concept': 'Q5292'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?y property:P1433 ?a . VALUES ( ?y ) { ( resource:Q19101309 ) ( resource:Q20088085 ) } }
Rogers, Robert (DNB00) dictionary page in Wikipedia
action count
action union
action filter_type
action find
entity Rogers, Robert (DNB00)
relation published in
type encyclopedia
action filter_type
action find
entity dictionary page in Wikipedia
relation published in
type encyclopedia
['Rogers, Robert (DNB00)', 'published in', {'concept': 'encyclopedia'}] ['dictionary page in Wikipedia', 'published in', {'concept': 'encyclopedia'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?y property:published_in ?a . VALUES ( ?y ) { ( resource:Rogers,_Robert_(DNB00) ) ( resource:dictionary_page_in_Wikipedia ) } }
[]
encyclopedia
SYSTEM
2
Q52 Q15987216
(Q19101309,P1433,c(Q5292)) (Q20088085,P1433,c(Q5292))
action count
action union
action filter_type
action find
entity Q19101309
relation P1433
type Q5292
action filter_type
action find
entity Q20088085
relation P1433
type Q5292
[ANSWER]
['Q19101309', 'P1433', {'concept': 'Q5292'}] ['Q20088085', 'P1433', {'concept': 'Q5292'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?y property:P1433 ?a . VALUES ( ?y ) { ( resource:Q19101309 ) ( resource:Q20088085 ) } }
Wikipedia Dictionary of National Biography (1885-1900)
2
action count
action union
action filter_type
action find
entity Rogers, Robert (DNB00)
relation published in
type encyclopedia
action filter_type
action find
entity dictionary page in Wikipedia
relation published in
type encyclopedia
['Rogers, Robert (DNB00)', 'published in', {'concept': 'encyclopedia'}] ['dictionary page in Wikipedia', 'published in', {'concept': 'encyclopedia'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?y property:published_in ?a . VALUES ( ?y ) { ( resource:Rogers,_Robert_(DNB00) ) ( resource:dictionary_page_in_Wikipedia ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19101309
P50
Q502895
USER
Which person authored Rogers, Robert (DNB00) ?
(Q19101309,P50,c(Q502895))
action filter_type
action find
entity Q19101309
relation P50
type Q502895
['Q19101309', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q19101309 property:P50 ?o . ?o rdf:type ontology:Q502895 }
Rogers, Robert (DNB00)
action filter_type
action find
entity Rogers, Robert (DNB00)
relation author
type common name
['Rogers, Robert (DNB00)', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Rogers,_Robert_(DNB00) property:author ?o . ?o rdf:type ontology:common_name }
[]
common name
Q2886799
SYSTEM
Basil Harrington Soulsby
Q2886799
(Q19101309,P50,c(Q502895))
action filter_type
action find
entity Q19101309
relation P50
type Q502895
[ANSWER] authored Rogers, Robert (DNB00)
['Q19101309', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q19101309 property:P50 ?o . ?o rdf:type ontology:Q502895 }
Basil Harrington Soulsby
Basil Harrington Soulsby authored Rogers, Robert (DNB00)
Basil Harrington Soulsby
action filter_type
action find
entity Rogers, Robert (DNB00)
relation author
type common name
['Rogers, Robert (DNB00)', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Rogers,_Robert_(DNB00) property:author ?o . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q11424
USER
How many films had their voice dubbing done by atleast 1 person ?
(c(Q11424),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 1
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?q ) WHERE { ?d property:P725 ?k . ?d rdf:type ontology:Q11424 . ?k rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?q >= 1 ) }
action count
action atleast
action find_tuple_counts
relation voice actor
type film
type common name
value 1
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?q ) WHERE { ?d property:voice_actor ?k . ?d rdf:type ontology:film . ?k rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?q >= 1 ) }
[]
common name film
SYSTEM
93
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 Q179673 Q216929 Q853718 Q374431 Q12084660 Q165512 Q578595 Q933887 Q329316 Q44817 Q29355 Q9019373 Q223359 Q213787 Q611739 Q980041 Q2898231 Q1418615 Q785363 Q869741 Q3588859 Q371490 Q1656435 Q3836716 Q1032225 Q264873 Q249967 Q19090 Q4189838 Q184701 Q2059996 Q1361113 Q190135 Q736731 Q318428 Q465275 Q218894 Q15270775 Q172284 Q202371 Q40302 Q19703751 Q189875 Q1513926 Q336012 Q43051 Q2299779 Q1494230 Q917278 Q1406374 Q2068444 Q498434 Q199839 Q36479 Q1634740 Q39722 Q40895 Q3190021 Q1102410 Q543486 Q271189 Q3226633 Q1195096 Q240852
(c(Q11424),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 1
[ANSWER]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?q ) WHERE { ?d property:P725 ?k . ?d rdf:type ontology:Q11424 . ?k rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?q >= 1 ) }
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 Beauty and the Beast Oliver & Company Fun and Fancy Free The Tigger Movie The Princess and the Goblin One Hundred and One Dalmatians Paprika Tintin and the Temple of the Sun 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 The Aristocats My Little Pony: The Movie Pooh's Heffalump Movie The Little Mermaid The Three Caballeros Wallace & Gromit: The Curse of the Were-Rabbit Fantastic Mr. Fox Pocahontas Hotel Transylvania 2 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 Hercules Renart the Fox Havoc in Heaven FernGully: The Last Rainforest
93
action count
action atleast
action find_tuple_counts
relation voice actor
type film
type common name
value 1
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?q ) WHERE { ?d property:voice_actor ?k . ?d rdf:type ontology:film . ?k rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?q >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2886799
P27
Q15617994
USER
Which administrative territory is the native country of Basil Harrington Soulsby ?
(Q2886799,P27,c(Q15617994))
action filter_type
action find
entity Q2886799
relation P27
type Q15617994
['Q2886799', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q2886799 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Basil Harrington Soulsby
action filter_type
action find
entity Basil Harrington Soulsby
relation country of citizenship
type designation for an administrative territorial entity
['Basil Harrington Soulsby', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Basil_Harrington_Soulsby property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q2886799,P27,c(Q15617994))
action filter_type
action find
entity Q2886799
relation P27
type Q15617994
The [ANSWER] is the native country of Basil Harrington Soulsby
['Q2886799', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q2886799 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom is the native country of Basil Harrington Soulsby
United Kingdom
action filter_type
action find
entity Basil Harrington Soulsby
relation country of citizenship
type designation for an administrative territorial entity
['Basil Harrington Soulsby', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Basil_Harrington_Soulsby property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q2506411 Q2886799
P27
Q15617994
USER
Or Alexander Boyd?
OR((Q2886799,P27,c(Q15617994)), (Q2506411,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2886799
relation P27
action find
entity Q2506411
relation P27
type Q15617994
{'OR': [['Q2886799', 'P27', {'concept': 'Q15617994'}], ['Q2506411', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { ?h property:P27 ?b . VALUES ( ?h ) { ( resource:Q2886799 ) ( resource:Q2506411 ) } } . ?b rdf:type ontology:Q15617994 }
Alexander Boyd Basil Harrington Soulsby
action filter_type
action union
action find
entity Basil Harrington Soulsby
relation country of citizenship
action find
entity Alexander Boyd
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Basil Harrington Soulsby', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Alexander Boyd', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { ?h property:country_of_citizenship ?b . VALUES ( ?h ) { ( resource:Basil_Harrington_Soulsby ) ( resource:Alexander_Boyd ) } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q145
SYSTEM
United States of America, United Kingdom
Q30 Q145
OR((Q2886799,P27,c(Q15617994)), (Q2506411,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2886799
relation P27
action find
entity Q2506411
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q2886799', 'P27', {'concept': 'Q15617994'}], ['Q2506411', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { ?h property:P27 ?b . VALUES ( ?h ) { ( resource:Q2886799 ) ( resource:Q2506411 ) } } . ?b rdf:type ontology:Q15617994 }
United States of America United Kingdom
United States of America United Kingdom
action filter_type
action union
action find
entity Basil Harrington Soulsby
relation country of citizenship
action find
entity Alexander Boyd
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Basil Harrington Soulsby', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Alexander Boyd', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { ?h property:country_of_citizenship ?b . VALUES ( ?h ) { ( resource:Basil_Harrington_Soulsby ) ( resource:Alexander_Boyd ) } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]