Simple Question (Direct)
Simple Question
Q58911
P47
Q15617994
USER
Who share the border with Trentola Ducenta ?
(Q58911,P47,c(Q15617994))
action filter_type
action find
entity Q58911
relation P47
type Q15617994
['Q58911', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q58911 property:P47 ?v }
Trentola Ducenta
action filter_type
action find
entity Trentola Ducenta
relation shares border with
type designation for an administrative territorial entity
['Trentola Ducenta', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Trentola_Ducenta property:shares_border_with ?v }
[]
designation for an administrative territorial entity
Q19279 Q499139 Q58544
SYSTEM
Aversa, Villa Literno, Casapesenna
Q58846 Q58687 Q58739 Q58544 Q19279 Q499139
(Q58911,P47,c(Q15617994))
action filter_type
action find
entity Q58911
relation P47
type Q15617994
[ANSWERS] share the border with Trentola Ducenta
['Q58911', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q58911 property:P47 ?v }
San Marcellino Lusciano Parete Casapesenna Aversa Villa Literno
Aversa, Villa Literno and Casapesenna share the border with Trentola Ducenta
Aversa Villa Literno Casapesenna
action filter_type
action find
entity Trentola Ducenta
relation shares border with
type designation for an administrative territorial entity
['Trentola Ducenta', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Trentola_Ducenta property:shares_border_with ?v }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q19279 Q499139 Q58544
P47
Q15617994
USER
Which administrative territories share border with those ones ?
(c(Q15617994),P47,Q19279) (c(Q15617994),P47,Q499139) (c(Q15617994),P47,Q58544)
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q19279'] [{'concept': 'Q15617994'}, 'P47', 'Q499139'] [{'concept': 'Q15617994'}, 'P47', 'Q58544']
SELECT DISTINCT ?p WHERE { ?s property:P47 ?p . ?p rdf:type ontology:Q15617994 . VALUES ( ?s ) { ( resource:Q58846 ) ( resource:Q58687 ) ( resource:Q58739 ) } }
Aversa Villa Literno Casapesenna
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Aversa'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Villa Literno'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Casapesenna']
SELECT DISTINCT ?p WHERE { ?s property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?s ) { ( resource:San_Marcellino ) ( resource:Lusciano ) ( resource:Parete ) } }
[]
designation for an administrative territorial entity
Q58911 Q58911 Q499139
SYSTEM
Trentola Ducenta for 1st, 2nd, Villa Literno for 3rd
Q58687 Q58513 Q58637 Q58574 Q58598 Q58491 Q58846 Q58911 Q58906 Q58739 Q58554 Q58544 Q58839 Q58911 Q58510 Q499139 Q58839 Q58846 Q58911 Q58927
(c(Q15617994),P47,Q19279) (c(Q15617994),P47,Q499139) (c(Q15617994),P47,Q58544)
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P47', 'Q19279'] [{'concept': 'Q15617994'}, 'P47', 'Q499139'] [{'concept': 'Q15617994'}, 'P47', 'Q58544']
SELECT DISTINCT ?p WHERE { ?s property:P47 ?p . ?p rdf:type ontology:Q15617994 . VALUES ( ?s ) { ( resource:Q58846 ) ( resource:Q58687 ) ( resource:Q58739 ) } }
Lusciano Casaluce Gricignano di Aversa Cesa Frignano Carinaro San Marcellino Trentola Ducenta Teverola Parete Castel Volturno Casapesenna San Cipriano d'Aversa Trentola Ducenta Casal di Principe Villa Literno San Cipriano d'Aversa San Marcellino Trentola Ducenta Villa di Briano
Trentola Ducenta, Trentola Ducenta and Villa Literno share border with those ones
Trentola Ducenta Trentola Ducenta Villa Literno
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Aversa'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Villa Literno'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Casapesenna']
SELECT DISTINCT ?p WHERE { ?s property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?s ) { ( resource:San_Marcellino ) ( resource:Lusciano ) ( resource:Parete ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q499139
P19
Q502895
USER
Which person has birthplace at that administrative territory ?
(c(Q502895),P19,Q499139)
action filter_type
action find_reverse
entity Q499139
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q499139']
SELECT DISTINCT ?k WHERE { ?k property:P19 resource:Q499139 . ?k rdf:type ontology:Q502895 }
Villa Literno
action filter_type
action find_reverse
entity Villa Literno
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Villa Literno']
SELECT DISTINCT ?k WHERE { ?k property:place_of_birth resource:Villa_Literno . ?k rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q58911
SYSTEM
Did you mean Trentola Ducenta ?
Q58911 Q58911 Q499139
(c(Q502895),P19,Q58911) (c(Q502895),P19,Q58911) (c(Q502895),P19,Q499139)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q58911'] [{'concept': 'Q502895'}, 'P19', 'Q58911'] [{'concept': 'Q502895'}, 'P19', 'Q499139']
SELECT DISTINCT ?k WHERE { ?k property:P19 resource:Q499139 . ?k rdf:type ontology:Q502895 }
Trentola Ducenta Trentola Ducenta Villa Literno
Did you mean Trentola Ducenta ?
Trentola Ducenta
[{'concept': 'common name'}, 'place of birth', 'Trentola Ducenta'] [{'concept': 'common name'}, 'place of birth', 'Trentola Ducenta'] [{'concept': 'common name'}, 'place of birth', 'Villa Literno']
SELECT DISTINCT ?k WHERE { ?k property:place_of_birth resource:Villa_Literno . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Villa Literno. Could you tell me the answer for that?
(c(Q502895),P19,Q499139)
Q499139
[{'concept': 'Q502895'}, 'P19', 'Q499139']
[{'concept': 'common name'}, 'place of birth', 'Villa Literno']
[]
Q3638732
SYSTEM
Bernardino Terracciano
Q3638732
(c(Q502895),P19,Q499139)
action filter_type
action find_reverse
entity Q499139
relation P19
type Q502895
[ANSWER] has birthplace at that administrative territory
[{'concept': 'Q502895'}, 'P19', 'Q499139']
SELECT DISTINCT ?k WHERE { ?k property:P19 resource:Q499139 . ?k rdf:type ontology:Q502895 }
Bernardino Terracciano
Bernardino Terracciano has birthplace at that administrative territory
Bernardino Terracciano
action filter_type
action find_reverse
entity Villa Literno
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Villa Literno']
SELECT DISTINCT ?k WHERE { ?k property:place_of_birth resource:Villa_Literno . ?k rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3638732 Q3205543
P161
Q838948
USER
Does L'imbalsamatore have that person as actor ?
(Q3205543,P161,Q3638732)
action is_in
entity Q3638732
action find
entity Q3205543
relation P161
['Q3205543', 'P161', 'Q3638732']
ASK WHERE { resource:Q3205543 property:P161 resource:Q3638732 }
Bernardino Terracciano L'imbalsamatore
action is_in
entity Bernardino Terracciano
action find
entity L'imbalsamatore
relation cast member
["L'imbalsamatore", 'cast member', 'Bernardino Terracciano']
ASK WHERE { resource:L'imbalsamatore property:cast_member resource:Bernardino_Terracciano }
[]
work of art
SYSTEM
YES
(Q3205543,P161,Q3638732)
action is_in
entity Q3638732
action find
entity Q3205543
relation P161
[ANSWER]
['Q3205543', 'P161', 'Q3638732']
ASK WHERE { resource:Q3205543 property:P161 resource:Q3638732 }
Yes
action is_in
entity Bernardino Terracciano
action find
entity L'imbalsamatore
relation cast member
["L'imbalsamatore", 'cast member', 'Bernardino Terracciano']
ASK WHERE { resource:L'imbalsamatore property:cast_member resource:Bernardino_Terracciano }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q499139 Q5800863 Q5787612
P47
Q56061
USER
Does Ramjin and Seyfabad, Narmashir share a border with Villa Literno ?
(Q499139,P47,Q5800863) (Q499139,P47,Q5787612)
action is_in
entity Q499139
action intersection
action find_reverse
entity Q5800863
relation P47
action find_reverse
entity Q5787612
relation P47
['Q499139', 'P47', 'Q5800863'] ['Q499139', 'P47', 'Q5787612']
ASK WHERE { resource:Q499139 property:P47 resource:Q5800863 . resource:Q499139 property:P47 resource:Q5787612 }
Villa Literno Ramjin Seyfabad, Narmashir
action is_in
entity Villa Literno
action intersection
action find_reverse
entity Ramjin
relation shares border with
action find_reverse
entity Seyfabad, Narmashir
relation shares border with
['Villa Literno', 'shares border with', 'Ramjin'] ['Villa Literno', 'shares border with', 'Seyfabad, Narmashir']
ASK WHERE { resource:Villa_Literno property:shares_border_with resource:Ramjin . resource:Villa_Literno property:shares_border_with resource:Seyfabad,_Narmashir }
[]
administrative territorial entity
SYSTEM
NO
(Q499139,P47,Q5800863) (Q499139,P47,Q5787612)
action is_in
entity Q499139
action intersection
action find_reverse
entity Q5800863
relation P47
action find_reverse
entity Q5787612
relation P47
[ANSWER]
['Q499139', 'P47', 'Q5800863'] ['Q499139', 'P47', 'Q5787612']
ASK WHERE { resource:Q499139 property:P47 resource:Q5800863 . resource:Q499139 property:P47 resource:Q5787612 }
No
action is_in
entity Villa Literno
action intersection
action find_reverse
entity Ramjin
relation shares border with
action find_reverse
entity Seyfabad, Narmashir
relation shares border with
['Villa Literno', 'shares border with', 'Ramjin'] ['Villa Literno', 'shares border with', 'Seyfabad, Narmashir']
ASK WHERE { resource:Villa_Literno property:shares_border_with resource:Ramjin . resource:Villa_Literno property:shares_border_with resource:Seyfabad,_Narmashir }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3638732 Q103883 Q818686
P19
Q15617994
USER
Does Bernardino Terracciano have place of birth as Cellatica and Tangstedt ?
(Q3638732,P19,Q103883) (Q3638732,P19,Q818686)
action is_in
entity Q3638732
action intersection
action find_reverse
entity Q103883
relation P19
action find_reverse
entity Q818686
relation P19
['Q3638732', 'P19', 'Q103883'] ['Q3638732', 'P19', 'Q818686']
ASK WHERE { resource:Q3638732 property:P19 resource:Q818686 . resource:Q3638732 property:P19 resource:Q103883 }
Bernardino Terracciano Cellatica Tangstedt
action is_in
entity Bernardino Terracciano
action intersection
action find_reverse
entity Cellatica
relation place of birth
action find_reverse
entity Tangstedt
relation place of birth
['Bernardino Terracciano', 'place of birth', 'Cellatica'] ['Bernardino Terracciano', 'place of birth', 'Tangstedt']
ASK WHERE { resource:Bernardino_Terracciano property:place_of_birth resource:Tangstedt . resource:Bernardino_Terracciano property:place_of_birth resource:Cellatica }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3638732,P19,Q103883) (Q3638732,P19,Q818686)
action is_in
entity Q3638732
action intersection
action find_reverse
entity Q103883
relation P19
action find_reverse
entity Q818686
relation P19
[ANSWER]
['Q3638732', 'P19', 'Q103883'] ['Q3638732', 'P19', 'Q818686']
ASK WHERE { resource:Q3638732 property:P19 resource:Q818686 . resource:Q3638732 property:P19 resource:Q103883 }
No
action is_in
entity Bernardino Terracciano
action intersection
action find_reverse
entity Cellatica
relation place of birth
action find_reverse
entity Tangstedt
relation place of birth
['Bernardino Terracciano', 'place of birth', 'Cellatica'] ['Bernardino Terracciano', 'place of birth', 'Tangstedt']
ASK WHERE { resource:Bernardino_Terracciano property:place_of_birth resource:Tangstedt . resource:Bernardino_Terracciano property:place_of_birth resource:Cellatica }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3638732
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
action filter_type
action find
entity Q3638732
relation P106
type Q12737077
SELECT DISTINCT ?d WHERE { resource:Q3638732 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Bernardino Terracciano
action filter_type
action find
entity Bernardino Terracciano
relation occupation
type occupation
SELECT DISTINCT ?d WHERE { resource:Bernardino_Terracciano property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
action filter_type
action find
entity Q3638732
relation P106
type Q12737077
[ANSWER] has that person as his/her 's career
SELECT DISTINCT ?d WHERE { resource:Q3638732 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
actor
Actor has that person as his/her 's career
actor
action filter_type
action find
entity Bernardino Terracciano
relation occupation
type occupation
SELECT DISTINCT ?d WHERE { resource:Bernardino_Terracciano property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q33999 Q458984
P106
Q502895
USER
Does Summer Altice have career as that occupation ?
(Q458984,P106,Q33999)
action is_in
entity Q33999
action find
entity Q458984
relation P106
['Q458984', 'P106', 'Q33999']
ASK WHERE { resource:Q458984 property:P106 resource:Q33999 }
actor Summer Altice
action is_in
entity actor
action find
entity Summer Altice
relation occupation
['Summer Altice', 'occupation', 'actor']
ASK WHERE { resource:Summer_Altice property:occupation resource:actor }
[]
common name
SYSTEM
YES
(Q458984,P106,Q33999)
action is_in
entity Q33999
action find
entity Q458984
relation P106
[ANSWER]
['Q458984', 'P106', 'Q33999']
ASK WHERE { resource:Q458984 property:P106 resource:Q33999 }
Yes
action is_in
entity actor
action find
entity Summer Altice
relation occupation
['Summer Altice', 'occupation', 'actor']
ASK WHERE { resource:Summer_Altice property:occupation resource:actor }
[]