Simple Question (Direct)
Simple Question
Q274190
P47
Q20667921
USER
Who share the border with Bourdelles ?
(Q274190,P47,c(Q20667921))
action filter_type
action find
entity Q274190
relation P47
type Q20667921
['Q274190', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q20667921 . resource:Q274190 property:P47 ?x }
Bourdelles
action filter_type
action find
entity Bourdelles
relation shares border with
type type of french administrative division
['Bourdelles', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:type_of_french_administrative_division . resource:Bourdelles property:shares_border_with ?x }
[]
type of french administrative division
Q263456 Q674907 Q717069
SYSTEM
La Réole, Meilhan-sur-Garonne, Fontet
Q720532 Q379899 Q717069 Q717173 Q674907 Q217343 Q263456
(Q274190,P47,c(Q20667921))
action filter_type
action find
entity Q274190
relation P47
type Q20667921
[ANSWERS] share the border with Bourdelles
['Q274190', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q20667921 . resource:Q274190 property:P47 ?x }
Montagoudin Hure Fontet Mongauzy Meilhan-sur-Garonne Jusix La Réole
La Réole, Meilhan-sur-Garonne and Fontet share the border with Bourdelles
La Réole Meilhan-sur-Garonne Fontet
action filter_type
action find
entity Bourdelles
relation shares border with
type type of french administrative division
['Bourdelles', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:type_of_french_administrative_division . resource:Bourdelles property:shares_border_with ?x }
[]
Clarification
Simple Question|Single Entity|Indirect
Q263456
P20
Q502895
USER
Who died in that french administrative division ?
(c(Q502895),P20,Q263456)
action filter_type
action find_reverse
entity Q263456
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q263456']
SELECT DISTINCT ?k WHERE { ?k property:P20 resource:Q263456 . ?k rdf:type ontology:Q502895 }
La Réole
action filter_type
action find_reverse
entity La Réole
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'La Réole']
SELECT DISTINCT ?k WHERE { ?k property:place_of_death resource:La_Réole . ?k rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q674907
SYSTEM
Did you mean Meilhan-sur-Garonne ?
Q263456 Q674907 Q717069
(c(Q502895),P20,Q263456) (c(Q502895),P20,Q674907) (c(Q502895),P20,Q717069)
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q263456'] [{'concept': 'Q502895'}, 'P20', 'Q674907'] [{'concept': 'Q502895'}, 'P20', 'Q717069']
SELECT DISTINCT ?k WHERE { ?k property:P20 resource:Q263456 . ?k rdf:type ontology:Q502895 }
La Réole Meilhan-sur-Garonne Fontet
Did you mean Meilhan-sur-Garonne ?
Meilhan-sur-Garonne
[{'concept': 'common name'}, 'place of death', 'La Réole'] [{'concept': 'common name'}, 'place of death', 'Meilhan-sur-Garonne'] [{'concept': 'common name'}, 'place of death', 'Fontet']
SELECT DISTINCT ?k WHERE { ?k property:place_of_death resource:La_Réole . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant La Réole. Could you tell me the answer for that?
(c(Q502895),P20,Q263456)
Q263456
[{'concept': 'Q502895'}, 'P20', 'Q263456']
[{'concept': 'common name'}, 'place of death', 'La Réole']
[]
Q16027006 Q306658 Q15968079
SYSTEM
Étienne Mazet, Abbo of Fleury, Blaise Charlut
Q16027006 Q3311672 Q3172669 Q306658 Q15968079
(c(Q502895),P20,Q263456)
action filter_type
action find_reverse
entity Q263456
relation P20
type Q502895
[ANSWERS] died in that french administrative division
[{'concept': 'Q502895'}, 'P20', 'Q263456']
SELECT DISTINCT ?k WHERE { ?k property:P20 resource:Q263456 . ?k rdf:type ontology:Q502895 }
Étienne Mazet Michèle Perrein Jean II des Barres Abbo of Fleury Blaise Charlut
Étienne Mazet, Abbo of Fleury and Blaise Charlut died in that french administrative division
Étienne Mazet Abbo of Fleury Blaise Charlut
action filter_type
action find_reverse
entity La Réole
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'La Réole']
SELECT DISTINCT ?k WHERE { ?k property:place_of_death resource:La_Réole . ?k rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1764174
P725
Q502895 Q11424
USER
Which films did greater number of people do the dubbing for than Quest for Camelot ?
(c(Q11424),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q1764174
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?e ) WHERE { ?a property:P725 ?g . ?a rdf:type ontology:Q11424 . ?g rdf:type ontology:Q502895 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:Q1764174 property:P725 ?k . ?k rdf:type ontology:Q11424 } } . FILTER ( ?e > ?z ) }
Quest for Camelot
action greater
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Quest for Camelot
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?e ) WHERE { ?a property:voice_actor ?g . ?a rdf:type ontology:film . ?g rdf:type ontology:common_name } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:Quest_for_Camelot property:voice_actor ?k . ?k rdf:type ontology:film } } . FILTER ( ?e > ?z ) }
[]
common name film
Q190135 Q19090 Q271189
SYSTEM
The Little Mermaid, Robin Hood, Hercules
Q191753 Q6929072 Q785294 Q204662 Q521082 Q270470 Q334132 Q215617 Q179673 Q216929 Q165512 Q578595 Q933887 Q329316 Q213787 Q19090 Q184701 Q2059996 Q190135 Q218894 Q15270775 Q202371 Q40302 Q189875 Q43051 Q917278 Q498434 Q199839 Q36479 Q39722 Q40895 Q271189
(c(Q11424),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q1764174
relation P725
type Q11424
Greater number of people did the dubbing of [ANSWERS] for than Quest for Camelot
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?e ) WHERE { ?a property:P725 ?g . ?a rdf:type ontology:Q11424 . ?g rdf:type ontology:Q502895 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:Q1764174 property:P725 ?k . ?k rdf:type ontology:Q11424 } } . FILTER ( ?e > ?z ) }
Cinderella Mr. Peabody & Sherman Captain of the Forest The Sword in the Stone Szaffi Peter Pan The Great Mouse Detective Sleeping Beauty Beauty and the Beast Oliver & Company One Hundred and One Dalmatians Paprika Tintin and the Temple of the Sun The Black Cauldron The Hunchback of Notre Dame Robin Hood The Aristocats My Little Pony: The Movie The Little Mermaid Pocahontas Hotel Transylvania 2 The Rescuers Down Under The Fox and the Hound Alice in Wonderland Bambi Tokyo Godfathers The Many Adventures of Winnie the Pooh The Jungle Book The Lion King The Rescuers Dumbo Hercules
Greater number of people did the dubbing of The Little Mermaid, Robin Hood and Hercules for than Quest for Camelot
The Little Mermaid Robin Hood Hercules
action greater
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Quest for Camelot
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?e ) WHERE { ?a property:voice_actor ?g . ?a rdf:type ontology:film . ?g rdf:type ontology:common_name } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:Quest_for_Camelot property:voice_actor ?k . ?k rdf:type ontology:film } } . FILTER ( ?e > ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q4341553
P725
Q502895 Q11424
USER
And also tell me about Pinocchio?
(c(Q11424),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q4341553
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?a ) WHERE { ?h property:P725 ?k . ?k rdf:type ontology:Q502895 . ?h rdf:type ontology:Q11424 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Q4341553 property:P725 ?i . ?i rdf:type ontology:Q11424 } } . FILTER ( ?a > ?e ) }
Pinocchio
action greater
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Pinocchio
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?a ) WHERE { ?h property:voice_actor ?k . ?k rdf:type ontology:common_name . ?h rdf:type ontology:film } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Pinocchio property:voice_actor ?i . ?i rdf:type ontology:film } } . FILTER ( ?a > ?e ) }
[]
common name film
Q190135 Q19090 Q271189
SYSTEM
The Little Mermaid, Robin Hood, Hercules
Q378913 Q191753 Q6929072 Q785294 Q204662 Q521082 Q1764174 Q752301 Q270470 Q334132 Q215518 Q1160649 Q134430 Q215617 Q179673 Q216929 Q853718 Q374431 Q12084660 Q165512 Q578595 Q933887 Q329316 Q213787 Q611739 Q980041 Q3588859 Q249967 Q19090 Q184701 Q2059996 Q190135 Q465275 Q218894 Q15270775 Q172284 Q202371 Q40302 Q189875 Q43051 Q917278 Q498434 Q199839 Q36479 Q39722 Q40895 Q1102410 Q271189 Q3226633
(c(Q11424),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q4341553
relation P725
type Q11424
[ANSWERS]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?a ) WHERE { ?h property:P725 ?k . ?k rdf:type ontology:Q502895 . ?h rdf:type ontology:Q11424 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Q4341553 property:P725 ?i . ?i rdf:type ontology:Q11424 } } . FILTER ( ?a > ?e ) }
The Lord of the Rings Cinderella Mr. Peabody & Sherman Captain of the Forest The Sword in the Stone Szaffi Quest for Camelot Flushed Away Peter Pan The Great Mouse Detective Aladdin Mattie the Goose-boy Snow White and the Seven Dwarfs Sleeping Beauty 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 Hunchback of Notre Dame The Ballad of the Daltons The Adventures of Tintin Emilie Jolie Hotel Transylvania Robin Hood The Aristocats My Little Pony: The Movie The Little Mermaid Fantastic Mr. Fox Pocahontas Hotel Transylvania 2 Lady and the Tramp The Rescuers Down Under The Fox and the Hound Alice in Wonderland Bambi Tokyo Godfathers The Many Adventures of Winnie the Pooh The Jungle Book The Lion King The Rescuers Dumbo Johnny Corncob Hercules Renart the Fox
The Little Mermaid Robin Hood Hercules
action greater
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Pinocchio
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?a ) WHERE { ?h property:voice_actor ?k . ?k rdf:type ontology:common_name . ?h rdf:type ontology:film } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Pinocchio property:voice_actor ?i . ?i rdf:type ontology:film } } . FILTER ( ?a > ?e ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q190135 Q19090 Q271189
P136
Q1792379
USER
What can be considered as category for The Little Mermaid, Robin Hood and Hercules ?
(Q190135,P136,c(Q1792379)) (Q19090,P136,c(Q1792379)) (Q271189,P136,c(Q1792379))
action union
action filter_type
action find
entity Q190135
relation P136
type Q1792379
action filter_type
action find
entity Q19090
relation P136
type Q1792379
action filter_type
action find
entity Q271189
relation P136
type Q1792379
['Q190135', 'P136', {'concept': 'Q1792379'}] ['Q19090', 'P136', {'concept': 'Q1792379'}] ['Q271189', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?k WHERE { { resource:Q19090 property:P136 ?k . ?k rdf:type ontology:Q1792379 } UNION { resource:Q190135 property:P136 ?k . ?k rdf:type ontology:Q1792379 } }
The Little Mermaid Robin Hood Hercules
action union
action filter_type
action find
entity The Little Mermaid
relation genre
type art genre
action filter_type
action find
entity Robin Hood
relation genre
type art genre
action filter_type
action find
entity Hercules
relation genre
type art genre
['The Little Mermaid', 'genre', {'concept': 'art genre'}] ['Robin Hood', 'genre', {'concept': 'art genre'}] ['Hercules', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?k WHERE { { resource:Robin_Hood property:genre ?k . ?k rdf:type ontology:art_genre } UNION { resource:The_Little_Mermaid property:genre ?k . ?k rdf:type ontology:art_genre } }
[]
art genre
Q1054574 Q2143665 Q157394
SYSTEM
romance film, children's film, fantasy film
Q2143665 Q1054574 Q157394 Q842256 Q663106 Q157394 Q842256 Q157394 Q842256
(Q190135,P136,c(Q1792379)) (Q19090,P136,c(Q1792379)) (Q271189,P136,c(Q1792379))
action union
action filter_type
action find
entity Q190135
relation P136
type Q1792379
action filter_type
action find
entity Q19090
relation P136
type Q1792379
action filter_type
action find
entity Q271189
relation P136
type Q1792379
[ANSWERS] can be considered as category for The Little Mermaid, Robin Hood and Hercules
['Q190135', 'P136', {'concept': 'Q1792379'}] ['Q19090', 'P136', {'concept': 'Q1792379'}] ['Q271189', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?k WHERE { { resource:Q19090 property:P136 ?k . ?k rdf:type ontology:Q1792379 } UNION { resource:Q190135 property:P136 ?k . ?k rdf:type ontology:Q1792379 } }
children's film romance film fantasy film musical film buddy film fantasy film musical film fantasy film musical film
Romance film, children's film and fantasy film can be considered as category for The Little Mermaid, Robin Hood and Hercules
romance film children's film fantasy film
action union
action filter_type
action find
entity The Little Mermaid
relation genre
type art genre
action filter_type
action find
entity Robin Hood
relation genre
type art genre
action filter_type
action find
entity Hercules
relation genre
type art genre
['The Little Mermaid', 'genre', {'concept': 'art genre'}] ['Robin Hood', 'genre', {'concept': 'art genre'}] ['Hercules', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?k WHERE { { resource:Robin_Hood property:genre ?k . ?k rdf:type ontology:art_genre } UNION { resource:The_Little_Mermaid property:genre ?k . ?k rdf:type ontology:art_genre } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19090
P495
Q15617994
USER
Which administrative territories are the countries of origin of Robin Hood ?
(Q19090,P495,c(Q15617994))
action filter_type
action find
entity Q19090
relation P495
type Q15617994
['Q19090', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q19090 property:P495 ?d . ?d rdf:type ontology:Q15617994 }
Robin Hood
action filter_type
action find
entity Robin Hood
relation country of origin
type designation for an administrative territorial entity
['Robin Hood', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Robin_Hood property:country_of_origin ?d . ?d 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
(Q19090,P495,c(Q15617994))
action filter_type
action find
entity Q19090
relation P495
type Q15617994
[ANSWERS] are the countries of origin of Robin Hood
['Q19090', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q19090 property:P495 ?d . ?d rdf:type ontology:Q15617994 }
United States of America United Kingdom
United States of America and United Kingdom are the countries of origin of Robin Hood
United States of America United Kingdom
action filter_type
action find
entity Robin Hood
relation country of origin
type designation for an administrative territorial entity
['Robin Hood', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Robin_Hood property:country_of_origin ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories holds diplomatic relationship with atmost 119 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 119
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?r ) WHERE { ?h property:P530 ?m . ?h rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?r <= 119 ) }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 119
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?r ) WHERE { ?h property:diplomatic_relation ?m . ?h rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?r <= 119 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
12
Q1000 Q40 Q781 Q778 Q408 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 119
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?r ) WHERE { ?h property:P530 ?m . ?h rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?r <= 119 ) }
Gabon Austria Antigua and Barbuda The Bahamas Australia Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
12
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 119
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?r ) WHERE { ?h property:diplomatic_relation ?m . ?h rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?r <= 119 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19090
P1441
Q95074
USER
Which fictional characters are featured in Robin Hood ?
(c(Q95074),P1441,Q19090)
action filter_type
action find_reverse
entity Q19090
relation P1441
type Q95074
[{'concept': 'Q95074'}, 'P1441', 'Q19090']
SELECT DISTINCT ?b WHERE { ?b property:P1441 resource:Q19090 . ?b rdf:type ontology:Q95074 }
Robin Hood
action filter_type
action find_reverse
entity Robin Hood
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', 'Robin Hood']
SELECT DISTINCT ?b WHERE { ?b property:present_in_work resource:Robin_Hood . ?b rdf:type ontology:fictional_character }
[]
fictional character
Q3437147 Q3403328 Q3377158
SYSTEM
Robin Hood, Prince John, Little John
Q3403328 Q27270825 Q27267295 Q3377158 Q27269717 Q27267273 Q3291275 Q27272794 Q27270096 Q27271937 Q27268652 Q27267091 Q27269137 Q3437147 Q27269911 Q27272386 Q27271402 Q27269399
(c(Q95074),P1441,Q19090)
action filter_type
action find_reverse
entity Q19090
relation P1441
type Q95074
[ANSWERS] are featured in Robin Hood
[{'concept': 'Q95074'}, 'P1441', 'Q19090']
SELECT DISTINCT ?b WHERE { ?b property:P1441 resource:Q19090 . ?b rdf:type ontology:Q95074 }
Prince John Skippy Alan-a-Dale Little John Trigger Sheriff of Nottingham Maid Marian Otto Sexton Mouse Toby Friar Tuck King Richard Sir Hiss Robin Hood Nutsy Captain Crocodile Tagalong Lady Kluck
Robin Hood, Prince John and Little John are featured in Robin Hood
Robin Hood Prince John Little John
action filter_type
action find_reverse
entity Robin Hood
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', 'Robin Hood']
SELECT DISTINCT ?b WHERE { ?b property:present_in_work resource:Robin_Hood . ?b rdf:type ontology:fictional_character }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3437147 Q3403328 Q3377158
P106
Q151885
USER
Which concepts have Robin Hood, Prince John and Little John as his/her 's career ?
(Q3437147,P106,c(Q151885)) (Q3403328,P106,c(Q151885)) (Q3377158,P106,c(Q151885))
action union
action filter_type
action find
entity Q3437147
relation P106
type Q151885
action filter_type
action find
entity Q3403328
relation P106
type Q151885
action filter_type
action find
entity Q3377158
relation P106
type Q151885
['Q3437147', 'P106', {'concept': 'Q151885'}] ['Q3403328', 'P106', {'concept': 'Q151885'}] ['Q3377158', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:Q151885 . resource:Q3437147 property:P106 ?l } UNION { resource:Q3403328 property:P106 ?l . ?l rdf:type ontology:Q151885 } }
Robin Hood Prince John Little John
action union
action filter_type
action find
entity Robin Hood
relation occupation
type concept
action filter_type
action find
entity Prince John
relation occupation
type concept
action filter_type
action find
entity Little John
relation occupation
type concept
['Robin Hood', 'occupation', {'concept': 'concept'}] ['Prince John', 'occupation', {'concept': 'concept'}] ['Little John', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:concept . resource:Robin_Hood property:occupation ?l } UNION { resource:Prince_John property:occupation ?l . ?l rdf:type ontology:concept } }
[]
concept
Q3562775 Q3562775 Q1097498
SYSTEM
ruler for 3rd, thief for 1st, 2nd
Q3562775 Q1097498 Q1862087 Q3562775
(Q3437147,P106,c(Q151885)) (Q3403328,P106,c(Q151885)) (Q3377158,P106,c(Q151885))
action union
action filter_type
action find
entity Q3437147
relation P106
type Q151885
action filter_type
action find
entity Q3403328
relation P106
type Q151885
action filter_type
action find
entity Q3377158
relation P106
type Q151885
[ANSWERS]
['Q3437147', 'P106', {'concept': 'Q151885'}] ['Q3403328', 'P106', {'concept': 'Q151885'}] ['Q3377158', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:Q151885 . resource:Q3437147 property:P106 ?l } UNION { resource:Q3403328 property:P106 ?l . ?l rdf:type ontology:Q151885 } }
thief ruler prisoner thief
Thief, thief and ruler have Robin Hood, Prince John and Little John as his/her 's career
thief thief ruler
action union
action filter_type
action find
entity Robin Hood
relation occupation
type concept
action filter_type
action find
entity Prince John
relation occupation
type concept
action filter_type
action find
entity Little John
relation occupation
type concept
['Robin Hood', 'occupation', {'concept': 'concept'}] ['Prince John', 'occupation', {'concept': 'concept'}] ['Little John', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:concept . resource:Robin_Hood property:occupation ?l } UNION { resource:Prince_John property:occupation ?l . ?l rdf:type ontology:concept } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q190135
P144
Q1183543
USER
Which device is based on The Little Mermaid ?
(c(Q1183543),P144,Q190135)
action filter_type
action find_reverse
entity Q190135
relation P144
type Q1183543
[{'concept': 'Q1183543'}, 'P144', 'Q190135']
SELECT DISTINCT ?o WHERE { ?o property:P144 resource:Q190135 . ?o rdf:type ontology:Q1183543 }
The Little Mermaid
action filter_type
action find_reverse
entity The Little Mermaid
relation based on
type device
[{'concept': 'device'}, 'based on', 'The Little Mermaid']
SELECT DISTINCT ?o WHERE { ?o property:based_on resource:The_Little_Mermaid . ?o rdf:type ontology:device }
[]
device
Q3563379
SYSTEM
Voyage of the Little Mermaid
Q3563379
(c(Q1183543),P144,Q190135)
action filter_type
action find_reverse
entity Q190135
relation P144
type Q1183543
[ANSWER] is based on The Little Mermaid
[{'concept': 'Q1183543'}, 'P144', 'Q190135']
SELECT DISTINCT ?o WHERE { ?o property:P144 resource:Q190135 . ?o rdf:type ontology:Q1183543 }
Voyage of the Little Mermaid
Voyage of the Little Mermaid is based on The Little Mermaid
Voyage of the Little Mermaid
action filter_type
action find_reverse
entity The Little Mermaid
relation based on
type device
[{'concept': 'device'}, 'based on', 'The Little Mermaid']
SELECT DISTINCT ?o WHERE { ?o property:based_on resource:The_Little_Mermaid . ?o rdf:type ontology:device }
[]