Simple Question (Direct)
Simple Question
Q2041360
P162
Q502895
USER
Who is the producer of Cargo ?
(Q2041360,P162,c(Q502895))
action filter_type
action find
entity Q2041360
relation P162
type Q502895
['Q2041360', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q2041360 property:P162 ?o . ?o rdf:type ontology:Q502895 }
Cargo
action filter_type
action find
entity Cargo
relation producer
type common name
['Cargo', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Cargo property:producer ?o . ?o rdf:type ontology:common_name }
[]
common name
Q4754999
SYSTEM
Andrea Calderwood
Q4754999
(Q2041360,P162,c(Q502895))
action filter_type
action find
entity Q2041360
relation P162
type Q502895
The producer of Cargo is the [ANSWER]
['Q2041360', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q2041360 property:P162 ?o . ?o rdf:type ontology:Q502895 }
Andrea Calderwood
The producer of Cargo is the Andrea Calderwood
Andrea Calderwood
action filter_type
action find
entity Cargo
relation producer
type common name
['Cargo', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Cargo property:producer ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4754999
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q4754999,P19,c(Q56061))
action filter_type
action find
entity Q4754999
relation P19
type Q56061
['Q4754999', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q4754999 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Andrea Calderwood
action filter_type
action find
entity Andrea Calderwood
relation place of birth
type administrative territorial entity
['Andrea Calderwood', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Andrea_Calderwood property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q4093
SYSTEM
Glasgow
Q4093
(Q4754999,P19,c(Q56061))
action filter_type
action find
entity Q4754999
relation P19
type Q56061
That person was born in [ANSWER]
['Q4754999', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q4754999 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Glasgow
That person was born in Glasgow
Glasgow
action filter_type
action find
entity Andrea Calderwood
relation place of birth
type administrative territorial entity
['Andrea Calderwood', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Andrea_Calderwood property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4093 Q28979
P190
Q515
USER
Is Jixi the sister city of Glasgow ?
(Q4093,P190,Q28979)
action is_in
entity Q28979
action find
entity Q4093
relation P190
['Q4093', 'P190', 'Q28979']
ASK WHERE { resource:Q4093 property:P190 resource:Q28979 }
Glasgow Jixi
action is_in
entity Jixi
action find
entity Glasgow
relation sister city
['Glasgow', 'sister city', 'Jixi']
ASK WHERE { resource:Glasgow property:sister_city resource:Jixi }
[]
city
SYSTEM
NO
(Q4093,P190,Q28979)
action is_in
entity Q28979
action find
entity Q4093
relation P190
[ANSWER]
['Q4093', 'P190', 'Q28979']
ASK WHERE { resource:Q4093 property:P190 resource:Q28979 }
No
action is_in
entity Jixi
action find
entity Glasgow
relation sister city
['Glasgow', 'sister city', 'Jixi']
ASK WHERE { resource:Glasgow property:sister_city resource:Jixi }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q28979
P19 P21
Q502895
USER
Which people have place of birth as Jixi and are a male ?
AND((c(Q502895),P19,Q28979), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q28979
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q28979'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P21 resource:Q6581097 . ?q property:P19 resource:Q28979 }
male Jixi
action filter_type
action intersection
action find_reverse
entity Jixi
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Jixi'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:gender resource:male . ?q property:place_of_birth resource:Jixi }
[]
common name
Q94182
SYSTEM
Liu Tianqi
Q94182
AND((c(Q502895),P19,Q28979), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q28979
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have place of birth as Jixi and are a male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q28979'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P21 resource:Q6581097 . ?q property:P19 resource:Q28979 }
Liu Tianqi
Liu Tianqi have place of birth as Jixi and are a male
Liu Tianqi
action filter_type
action intersection
action find_reverse
entity Jixi
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Jixi'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:gender resource:male . ?q property:place_of_birth resource:Jixi }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q19090
P725
Q502895 Q11424
USER
How many films had approximately the same number of people as the dubbing artist as Robin Hood ?
(c(Q11424),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q19090
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?k ) WHERE { ?q property:P725 ?z . ?q rdf:type ontology:Q11424 . ?z rdf:type ontology:Q502895 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Q19090 property:P725 ?o . ?o rdf:type ontology:Q11424 } } . FILTER ( ?k = ?n ) }
Robin Hood
action count
action approx
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Robin Hood
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?k ) WHERE { ?q property:voice_actor ?z . ?q rdf:type ontology:film . ?z rdf:type ontology:common_name } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Robin_Hood property:voice_actor ?o . ?o rdf:type ontology:film } } . FILTER ( ?k = ?n ) }
[]
common name film
SYSTEM
41
Q378913 Q191753 Q6929072 Q785294 Q204662 Q521082 Q1764174 Q752301 Q270470 Q334132 Q215518 Q1160649 Q134430 Q215617 Q853718 Q578595 Q933887 Q329316 Q213787 Q611739 Q980041 Q3588859 Q249967 Q19090 Q184701 Q2059996 Q465275 Q218894 Q15270775 Q172284 Q202371 Q40302 Q189875 Q43051 Q917278 Q498434 Q199839 Q36479 Q39722 Q40895 Q3226633
(c(Q11424),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q19090
relation P725
type Q11424
[ANSWER]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?k ) WHERE { ?q property:P725 ?z . ?q rdf:type ontology:Q11424 . ?z rdf:type ontology:Q502895 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Q19090 property:P725 ?o . ?o rdf:type ontology:Q11424 } } . FILTER ( ?k = ?n ) }
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 Fun and Fancy Free 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 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 Renart the Fox
41
action count
action approx
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Robin Hood
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?k ) WHERE { ?q property:voice_actor ?z . ?q rdf:type ontology:film . ?z rdf:type ontology:common_name } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Robin_Hood property:voice_actor ?o . ?o rdf:type ontology:film } } . FILTER ( ?k = ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1160649
P725
Q502895 Q11424
USER
And what about Mattie the Goose-boy?
(c(Q11424),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q1160649
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ontology:Q502895 . ?v rdf:type ontology:Q11424 . ?v property:P725 ?s } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Q1160649 property:P725 ?a . ?a rdf:type ontology:Q11424 } } . FILTER ( ?t = ?d ) }
Mattie the Goose-boy
action count
action approx
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Mattie the Goose-boy
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ontology:common_name . ?v rdf:type ontology:film . ?v property:voice_actor ?s } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Mattie_the_Goose-boy property:voice_actor ?a . ?a rdf:type ontology:film } } . FILTER ( ?t = ?d ) }
[]
common name film
SYSTEM
66
Q1235519 Q378913 Q4499813 Q3038714 Q191753 Q6929072 Q785294 Q6296387 Q204662 Q521082 Q1764174 Q752301 Q270470 Q334132 Q449917 Q4341553 Q1491010 Q215518 Q156401 Q1160649 Q134430 Q215617 Q811980 Q254671 Q853718 Q374431 Q12084660 Q578595 Q329316 Q44817 Q9019373 Q223359 Q213787 Q611739 Q980041 Q869741 Q3588859 Q371490 Q3836716 Q249967 Q19090 Q4189838 Q2059996 Q736731 Q318428 Q465275 Q218894 Q172284 Q202371 Q40302 Q336012 Q43051 Q1494230 Q917278 Q1406374 Q2068444 Q498434 Q199839 Q36479 Q1634740 Q39722 Q40895 Q3190021 Q1102410 Q3226633 Q240852
(c(Q11424),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q1160649
relation P725
type Q11424
[ANSWER]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ontology:Q502895 . ?v rdf:type ontology:Q11424 . ?v property:P725 ?s } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Q1160649 property:P725 ?a . ?a rdf:type ontology:Q11424 } } . FILTER ( ?t = ?d ) }
Panda and the Magic Serpent The Lord of the Rings Home Lucky Luke: The Daltons on the Run Cinderella Mr. Peabody & Sherman Captain of the Forest Rio 2 The Sword in the Stone Szaffi Quest for Camelot Flushed Away Peter Pan The Great Mouse Detective The Chipmunk Adventure 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 Fun and Fancy Free The Tigger Movie The Princess and the Goblin Paprika The Black Cauldron The Little Fox The Legend of the North Wind Rio The Hunchback of Notre Dame The Ballad of the Daltons The Adventures of Tintin Melody Time Emilie Jolie Son of the White Mare The Looney Looney Looney Bugs Bunny Movie Hotel Transylvania Robin Hood Starchaser: The Legend of Orin My Little Pony: The 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 The Girl Who Leapt Through Time Bambi 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 Renart the Fox FernGully: The Last Rainforest
66
action count
action approx
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Mattie the Goose-boy
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ontology:common_name . ?v rdf:type ontology:film . ?v property:voice_actor ?s } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Mattie_the_Goose-boy property:voice_actor ?a . ?a rdf:type ontology:film } } . FILTER ( ?t = ?d ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4093
P47
Q1048835
USER
Which political territory is adjacent to Glasgow ?
(Q4093,P47,c(Q1048835))
action filter_type
action find
entity Q4093
relation P47
type Q1048835
['Q4093', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q4093 property:P47 ?e . ?e rdf:type ontology:Q1048835 }
Glasgow
action filter_type
action find
entity Glasgow
relation shares border with
type political territorial entity
['Glasgow', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Glasgow property:shares_border_with ?e . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q209142
SYSTEM
South Lanarkshire
Q209142
(Q4093,P47,c(Q1048835))
action filter_type
action find
entity Q4093
relation P47
type Q1048835
Glasgow [ANSWER] is adjacent to Glasgow
['Q4093', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q4093 property:P47 ?e . ?e rdf:type ontology:Q1048835 }
South Lanarkshire
Glasgow South Lanarkshire is adjacent to Glasgow
South Lanarkshire
action filter_type
action find
entity Glasgow
relation shares border with
type political territorial entity
['Glasgow', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Glasgow property:shares_border_with ?e . ?e rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1640144
Q1048835
USER
And what about Villaobispo de Otero?
(Q1640144,P47,c(Q1048835))
action filter_type
action find
entity Q1640144
relation P47
type Q1048835
['Q1640144', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q1640144 property:P47 ?s . ?s rdf:type ontology:Q1048835 }
Villaobispo de Otero
action filter_type
action find
entity Villaobispo de Otero
relation shares border with
type political territorial entity
['Villaobispo de Otero', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Villaobispo_de_Otero property:shares_border_with ?s . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1641158 Q26606 Q141235
SYSTEM
Benavides, Brazuelo, Magaz de Cepeda
Q141235 Q1641158 Q1640113 Q26606
(Q1640144,P47,c(Q1048835))
action filter_type
action find
entity Q1640144
relation P47
type Q1048835
[ANSWERS]
['Q1640144', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q1640144 property:P47 ?s . ?s rdf:type ontology:Q1048835 }
Magaz de Cepeda Benavides Villamejil Brazuelo
Benavides Brazuelo Magaz de Cepeda
action filter_type
action find
entity Villaobispo de Otero
relation shares border with
type political territorial entity
['Villaobispo de Otero', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Villaobispo_de_Otero property:shares_border_with ?s . ?s rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1641158 Q26606 Q141235
P47
Q1048835
USER
Which political territories have an adjacent border with Benavides, Brazuelo and Magaz de Cepeda ?
(c(Q1048835),P47,Q1641158) (c(Q1048835),P47,Q26606) (c(Q1048835),P47,Q141235)
action union
action filter_type
action find
entity Q1641158
relation P47
type Q1048835
action filter_type
action find
entity Q26606
relation P47
type Q1048835
action filter_type
action find
entity Q141235
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q1641158'] [{'concept': 'Q1048835'}, 'P47', 'Q26606'] [{'concept': 'Q1048835'}, 'P47', 'Q141235']
SELECT DISTINCT ?a WHERE { { resource:Q1641158 property:P47 ?a . ?a rdf:type ontology:Q1048835 } UNION { ?a rdf:type ontology:Q1048835 . resource:Q26606 property:P47 ?a } }
Benavides Brazuelo Magaz de Cepeda
action union
action filter_type
action find
entity Benavides
relation shares border with
type political territorial entity
action filter_type
action find
entity Brazuelo
relation shares border with
type political territorial entity
action filter_type
action find
entity Magaz de Cepeda
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Benavides'] [{'concept': 'political territorial entity'}, 'shares border with', 'Brazuelo'] [{'concept': 'political territorial entity'}, 'shares border with', 'Magaz de Cepeda']
SELECT DISTINCT ?a WHERE { { resource:Benavides property:shares_border_with ?a . ?a rdf:type ontology:political_territorial_entity } UNION { ?a rdf:type ontology:political_territorial_entity . resource:Brazuelo property:shares_border_with ?a } }
[]
political territorial entity
Q137729 Q141080 Q137729
SYSTEM
Santa Colomba de Somoza for 2nd, Quintana del Castillo for 1st, 3rd
Q1640144 Q1640113 Q138239 Q137729 Q1635258 Q1640144 Q141080 Q141235 Q1622304 Q1605945 Q1640144 Q1640113 Q137729 Q1622304 Q26606
(c(Q1048835),P47,Q1641158) (c(Q1048835),P47,Q26606) (c(Q1048835),P47,Q141235)
action union
action filter_type
action find
entity Q1641158
relation P47
type Q1048835
action filter_type
action find
entity Q26606
relation P47
type Q1048835
action filter_type
action find
entity Q141235
relation P47
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P47', 'Q1641158'] [{'concept': 'Q1048835'}, 'P47', 'Q26606'] [{'concept': 'Q1048835'}, 'P47', 'Q141235']
SELECT DISTINCT ?a WHERE { { resource:Q1641158 property:P47 ?a . ?a rdf:type ontology:Q1048835 } UNION { ?a rdf:type ontology:Q1048835 . resource:Q26606 property:P47 ?a } }
Villaobispo de Otero Villamejil Santa Marina del Rey Quintana del Castillo Turcia Villaobispo de Otero Santa Colomba de Somoza Magaz de Cepeda Villagatón Torre del Bierzo Villaobispo de Otero Villamejil Quintana del Castillo Villagatón Brazuelo
Quintana del Castillo, Santa Colomba de Somoza and Quintana del Castillo have an adjacent border with Benavides, Brazuelo and Magaz de Cepeda
Quintana del Castillo Santa Colomba de Somoza Quintana del Castillo
action union
action filter_type
action find
entity Benavides
relation shares border with
type political territorial entity
action filter_type
action find
entity Brazuelo
relation shares border with
type political territorial entity
action filter_type
action find
entity Magaz de Cepeda
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Benavides'] [{'concept': 'political territorial entity'}, 'shares border with', 'Brazuelo'] [{'concept': 'political territorial entity'}, 'shares border with', 'Magaz de Cepeda']
SELECT DISTINCT ?a WHERE { { resource:Benavides property:shares_border_with ?a . ?a rdf:type ontology:political_territorial_entity } UNION { ?a rdf:type ontology:political_territorial_entity . resource:Brazuelo property:shares_border_with ?a } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2041360
P86
Q502895
USER
Which person composed Cargo ?
(Q2041360,P86,c(Q502895))
action filter_type
action find
entity Q2041360
relation P86
type Q502895
['Q2041360', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q2041360 property:P86 ?w . ?w rdf:type ontology:Q502895 }
Cargo
action filter_type
action find
entity Cargo
relation composer
type common name
['Cargo', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Cargo property:composer ?w . ?w rdf:type ontology:common_name }
[]
common name
Q1361541
SYSTEM
Stephen Warbeck
Q1361541
(Q2041360,P86,c(Q502895))
action filter_type
action find
entity Q2041360
relation P86
type Q502895
[ANSWER] composed Cargo
['Q2041360', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q2041360 property:P86 ?w . ?w rdf:type ontology:Q502895 }
Stephen Warbeck
Stephen Warbeck composed Cargo
Stephen Warbeck
action filter_type
action find
entity Cargo
relation composer
type common name
['Cargo', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Cargo property:composer ?w . ?w rdf:type ontology:common_name }
[]