Simple Question (Direct)
Simple Question
Q48900
P19
Q56061
USER
Which administrative territory is the birthplace of Ludovico Ariosto ?
(Q48900,P19,c(Q56061))
action filter_type
action find
entity Q48900
relation P19
type Q56061
['Q48900', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q48900 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Ludovico Ariosto
action filter_type
action find
entity Ludovico Ariosto
relation place of birth
type administrative territorial entity
['Ludovico Ariosto', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Ludovico_Ariosto property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q13360
SYSTEM
Reggio Emilia
Q13360
(Q48900,P19,c(Q56061))
action filter_type
action find
entity Q48900
relation P19
type Q56061
The [ANSWER] is the birthplace of Ludovico Ariosto
['Q48900', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q48900 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Reggio Emilia
The Reggio Emilia is the birthplace of Ludovico Ariosto
Reggio Emilia
action filter_type
action find
entity Ludovico Ariosto
relation place of birth
type administrative territorial entity
['Ludovico Ariosto', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Ludovico_Ariosto property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q48900
P50
Q7725634
USER
Which literary work is written by that person ?
(c(Q7725634),P50,Q13360)
action filter_type
action find_reverse
entity Q48900
relation P50
type Q7725634
[{'concept': 'Q7725634'}, 'P50', 'Q13360']
SELECT DISTINCT ?r WHERE { ?r property:P50 resource:Q48900 . ?r rdf:type ontology:Q7725634 }
Ludovico Ariosto
action filter_type
action find_reverse
entity Ludovico Ariosto
relation author
type literary work
[{'concept': 'literary work'}, 'author', 'Reggio Emilia']
SELECT DISTINCT ?r WHERE { ?r property:author resource:Ludovico_Ariosto . ?r rdf:type ontology:literary_work }
[]
literary work
Q48922
SYSTEM
Orlando Furioso
Q48922
(c(Q7725634),P50,Q13360)
action filter_type
action find_reverse
entity Q48900
relation P50
type Q7725634
[ANSWER] is written by that person
[{'concept': 'Q7725634'}, 'P50', 'Q13360']
SELECT DISTINCT ?r WHERE { ?r property:P50 resource:Q48900 . ?r rdf:type ontology:Q7725634 }
Orlando Furioso
Orlando Furioso is written by that person
Orlando Furioso
action filter_type
action find_reverse
entity Ludovico Ariosto
relation author
type literary work
[{'concept': 'literary work'}, 'author', 'Reggio Emilia']
SELECT DISTINCT ?r WHERE { ?r property:author resource:Ludovico_Ariosto . ?r rdf:type ontology:literary_work }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q48900
P737
Q502895
USER
Who did that one influence ?
(c(Q502895),P737,Q48922)
action filter_type
action find_reverse
entity Q48900
relation P737
type Q502895
[{'concept': 'Q502895'}, 'P737', 'Q48922']
SELECT DISTINCT ?i WHERE { ?i property:P737 resource:Q48900 . ?i rdf:type ontology:Q502895 }
Ludovico Ariosto
action filter_type
action find_reverse
entity Ludovico Ariosto
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Orlando Furioso']
SELECT DISTINCT ?i WHERE { ?i property:influenced_by resource:Ludovico_Ariosto . ?i rdf:type ontology:common_name }
[]
common name
Q590
SYSTEM
Luís de Camões
Q590
(c(Q502895),P737,Q48922)
action filter_type
action find_reverse
entity Q48900
relation P737
type Q502895
That one influenced by [ANSWER]
[{'concept': 'Q502895'}, 'P737', 'Q48922']
SELECT DISTINCT ?i WHERE { ?i property:P737 resource:Q48900 . ?i rdf:type ontology:Q502895 }
Luís de Camões
That one influenced by Luís de Camões
Luís de Camões
action filter_type
action find_reverse
entity Ludovico Ariosto
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Orlando Furioso']
SELECT DISTINCT ?i WHERE { ?i property:influenced_by resource:Ludovico_Ariosto . ?i rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q49757 Q48900
P737 P106
Q502895
USER
Which people did Ludovico Ariosto influence and have career as poet ?
AND((c(Q502895),P737,Q48900), (c(Q502895),P106,Q49757))
action filter_type
action intersection
action find_reverse
entity Q48900
relation P737
action find_reverse
entity Q49757
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P737', 'Q48900'], [{'concept': 'Q502895'}, 'P106', 'Q49757']]}
SELECT DISTINCT ?m WHERE { ?m property:P737 resource:Q48900 . ?m property:P106 resource:Q49757 . ?m rdf:type ontology:Q502895 }
poet Ludovico Ariosto
action filter_type
action intersection
action find_reverse
entity Ludovico Ariosto
relation influenced by
action find_reverse
entity poet
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'influenced by', 'Ludovico Ariosto'], [{'concept': 'common name'}, 'occupation', 'poet']]}
SELECT DISTINCT ?m WHERE { ?m property:influenced_by resource:Ludovico_Ariosto . ?m property:occupation resource:poet . ?m rdf:type ontology:common_name }
[]
common name
Q590
SYSTEM
Luís de Camões
Q590
AND((c(Q502895),P737,Q48900), (c(Q502895),P106,Q49757))
action filter_type
action intersection
action find_reverse
entity Q48900
relation P737
action find_reverse
entity Q49757
relation P106
type Q502895
Ludovico Ariosto influenced São [ANSWER]
{'AND': [[{'concept': 'Q502895'}, 'P737', 'Q48900'], [{'concept': 'Q502895'}, 'P106', 'Q49757']]}
SELECT DISTINCT ?m WHERE { ?m property:P737 resource:Q48900 . ?m property:P106 resource:Q49757 . ?m rdf:type ontology:Q502895 }
Luís de Camões
Ludovico Ariosto influenced São Luís de Camões
Luís de Camões
action filter_type
action intersection
action find_reverse
entity Ludovico Ariosto
relation influenced by
action find_reverse
entity poet
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'influenced by', 'Ludovico Ariosto'], [{'concept': 'common name'}, 'occupation', 'poet']]}
SELECT DISTINCT ?m WHERE { ?m property:influenced_by resource:Ludovico_Ariosto . ?m property:occupation resource:poet . ?m rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q590 Q4896226 Q5089521
P20
Q56061
USER
Does that person have Besh Qol and Chefe Cobre as the area of death ?
(Q590,P20,Q4896226) (Q590,P20,Q5089521)
action is_in
entity Q590
action intersection
action find_reverse
entity Q4896226
relation P20
action find_reverse
entity Q5089521
relation P20
['Q590', 'P20', 'Q4896226'] ['Q590', 'P20', 'Q5089521']
ASK WHERE { resource:Q590 property:P20 resource:Q4896226 . resource:Q590 property:P20 resource:Q5089521 }
Luís de Camões Besh Qol Chefe Cobre
action is_in
entity Luís de Camões
action intersection
action find_reverse
entity Besh Qol
relation place of death
action find_reverse
entity Chefe Cobre
relation place of death
['Luís de Camões', 'place of death', 'Besh Qol'] ['Luís de Camões', 'place of death', 'Chefe Cobre']
ASK WHERE { resource:Luís_de_Camões property:place_of_death resource:Besh_Qol . resource:Luís_de_Camões property:place_of_death resource:Chefe_Cobre }
[]
administrative territorial entity
SYSTEM
NO
(Q590,P20,Q4896226) (Q590,P20,Q5089521)
action is_in
entity Q590
action intersection
action find_reverse
entity Q4896226
relation P20
action find_reverse
entity Q5089521
relation P20
[ANSWER]
['Q590', 'P20', 'Q4896226'] ['Q590', 'P20', 'Q5089521']
ASK WHERE { resource:Q590 property:P20 resource:Q4896226 . resource:Q590 property:P20 resource:Q5089521 }
No
action is_in
entity Luís de Camões
action intersection
action find_reverse
entity Besh Qol
relation place of death
action find_reverse
entity Chefe Cobre
relation place of death
['Luís de Camões', 'place of death', 'Besh Qol'] ['Luís de Camões', 'place of death', 'Chefe Cobre']
ASK WHERE { resource:Luís_de_Camões property:place_of_death resource:Besh_Qol . resource:Luís_de_Camões property:place_of_death resource:Chefe_Cobre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q590
P138
Q79007
USER
Which street has Luís de Camões as its toponym ?
(c(Q79007),P138,Q590)
action filter_type
action find_reverse
entity Q590
relation P138
type Q79007
[{'concept': 'Q79007'}, 'P138', 'Q590']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q79007 . ?d property:P138 resource:Q590 }
Luís de Camões
action filter_type
action find_reverse
entity Luís de Camões
relation named after
type street
[{'concept': 'street'}, 'named after', 'Luís de Camões']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:street . ?d property:named_after resource:Luís_de_Camões }
[]
street
Q2873901
SYSTEM
avenue de Camoëns
Q2873901
(c(Q79007),P138,Q590)
action filter_type
action find_reverse
entity Q590
relation P138
type Q79007
[ANSWER] has Luís de Camões as its toponym
[{'concept': 'Q79007'}, 'P138', 'Q590']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q79007 . ?d property:P138 resource:Q590 }
avenue de Camoëns
Avenue de Camoëns has Luís de Camões as its toponym
avenue de Camoëns
action filter_type
action find_reverse
entity Luís de Camões
relation named after
type street
[{'concept': 'street'}, 'named after', 'Luís de Camões']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:street . ?d property:named_after resource:Luís_de_Camões }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q590
P800
Q223393
USER
What is a notable work of that person ?
(Q2873901,P800,c(Q223393))
action filter_type
action find
entity Q590
relation P800
type Q223393
['Q2873901', 'P800', {'concept': 'Q223393'}]
SELECT DISTINCT ?o WHERE { resource:Q590 property:P800 ?o . ?o rdf:type ontology:Q223393 }
Luís de Camões
action filter_type
action find
entity Luís de Camões
relation notable work
type literary genre
['avenue de Camoëns', 'notable work', {'concept': 'literary genre'}]
SELECT DISTINCT ?o WHERE { resource:Luís_de_Camões property:notable_work ?o . ?o rdf:type ontology:literary_genre }
[]
literary genre
Q781898
SYSTEM
Os Lusíadas
Q781898
(Q2873901,P800,c(Q223393))
action filter_type
action find
entity Q590
relation P800
type Q223393
A notable work of that person is called [ANSWER]
['Q2873901', 'P800', {'concept': 'Q223393'}]
SELECT DISTINCT ?o WHERE { resource:Q590 property:P800 ?o . ?o rdf:type ontology:Q223393 }
Os Lusíadas
A notable work of that person is called Os Lusíadas
Os Lusíadas
action filter_type
action find
entity Luís de Camões
relation notable work
type literary genre
['avenue de Camoëns', 'notable work', {'concept': 'literary genre'}]
SELECT DISTINCT ?o WHERE { resource:Luís_de_Camões property:notable_work ?o . ?o rdf:type ontology:literary_genre }
[]