Simple Question (Direct)
Simple Question
Q4767285
P26
Q502895
USER
Who is the spouse of Anna Maria Alberghetti ?
(Q4767285,P26,c(Q502895))
action filter_type
action find
entity Q4767285
relation P26
type Q502895
['Q4767285', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q4767285 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Anna Maria Alberghetti
action filter_type
action find
entity Anna Maria Alberghetti
relation spouse
type common name
['Anna Maria Alberghetti', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Anna_Maria_Alberghetti property:spouse ?q . ?q rdf:type ontology:common_name }
[]
common name
Q5129374
SYSTEM
Claudio Guzmán
Q5129374
(Q4767285,P26,c(Q502895))
action filter_type
action find
entity Q4767285
relation P26
type Q502895
The spouse of Anna Maria Alberghetti is the [ANSWER]
['Q4767285', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q4767285 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Claudio Guzmán
The spouse of Anna Maria Alberghetti is the Claudio Guzmán
Claudio Guzmán
action filter_type
action find
entity Anna Maria Alberghetti
relation spouse
type common name
['Anna Maria Alberghetti', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Anna_Maria_Alberghetti property:spouse ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4767285
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Anna Maria Alberghetti ?
(Q4767285,P27,c(Q15617994))
action filter_type
action find
entity Q4767285
relation P27
type Q15617994
['Q4767285', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q4767285 property:P27 ?r }
Anna Maria Alberghetti
action filter_type
action find
entity Anna Maria Alberghetti
relation country of citizenship
type designation for an administrative territorial entity
['Anna Maria Alberghetti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Anna_Maria_Alberghetti property:country_of_citizenship ?r }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q4767285,P27,c(Q15617994))
action filter_type
action find
entity Q4767285
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Anna Maria Alberghetti
['Q4767285', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q4767285 property:P27 ?r }
Italy
Italy is the country of citizenship of Anna Maria Alberghetti
Italy
action filter_type
action find
entity Anna Maria Alberghetti
relation country of citizenship
type designation for an administrative territorial entity
['Anna Maria Alberghetti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Anna_Maria_Alberghetti property:country_of_citizenship ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4767285
P19
Q15617994
USER
Which administrative territory was Anna Maria Alberghetti born in ?
(Q4767285,P19,c(Q15617994))
action filter_type
action find
entity Q4767285
relation P19
type Q15617994
['Q4767285', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q4767285 property:P19 ?h }
Anna Maria Alberghetti
action filter_type
action find
entity Anna Maria Alberghetti
relation place of birth
type designation for an administrative territorial entity
['Anna Maria Alberghetti', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Anna_Maria_Alberghetti property:place_of_birth ?h }
[]
designation for an administrative territorial entity
Q13134
SYSTEM
Pesaro
Q13134
(Q4767285,P19,c(Q15617994))
action filter_type
action find
entity Q4767285
relation P19
type Q15617994
Anna Maria Alberghetti was born in [ANSWER]
['Q4767285', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q4767285 property:P19 ?h }
Pesaro
Anna Maria Alberghetti was born in Pesaro
Pesaro
action filter_type
action find
entity Anna Maria Alberghetti
relation place of birth
type designation for an administrative territorial entity
['Anna Maria Alberghetti', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Anna_Maria_Alberghetti property:place_of_birth ?h }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3768362
Q15617994
USER
And also tell me about Giovanni Vincenzo Cima?
(Q3768362,P19,c(Q15617994))
action filter_type
action find
entity Q3768362
relation P19
type Q15617994
['Q3768362', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q3768362 property:P19 ?e . ?e rdf:type ontology:Q15617994 }
Giovanni Vincenzo Cima
action filter_type
action find
entity Giovanni Vincenzo Cima
relation place of birth
type designation for an administrative territorial entity
['Giovanni Vincenzo Cima', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Giovanni_Vincenzo_Cima property:place_of_birth ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20545
SYSTEM
Verzuolo
Q20545
(Q3768362,P19,c(Q15617994))
action filter_type
action find
entity Q3768362
relation P19
type Q15617994
[ANSWER]
['Q3768362', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q3768362 property:P19 ?e . ?e rdf:type ontology:Q15617994 }
Verzuolo
Verzuolo
action filter_type
action find
entity Giovanni Vincenzo Cima
relation place of birth
type designation for an administrative territorial entity
['Giovanni Vincenzo Cima', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Giovanni_Vincenzo_Cima property:place_of_birth ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11462924 Q3768362
P27
Q15617994
USER
Which administrative territories are Giovanni Vincenzo Cima or Yūichi Odagiri a civilian of ?
OR((Q3768362,P27,c(Q15617994)), (Q11462924,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3768362
relation P27
action find
entity Q11462924
relation P27
type Q15617994
{'OR': [['Q3768362', 'P27', {'concept': 'Q15617994'}], ['Q11462924', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q11462924 property:P27 ?a } UNION { resource:Q3768362 property:P27 ?a } } . ?a rdf:type ontology:Q15617994 }
Yūichi Odagiri Giovanni Vincenzo Cima
action filter_type
action union
action find
entity Giovanni Vincenzo Cima
relation country of citizenship
action find
entity Yūichi Odagiri
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Giovanni Vincenzo Cima', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yūichi Odagiri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Yūichi_Odagiri property:country_of_citizenship ?a } UNION { resource:Giovanni_Vincenzo_Cima property:country_of_citizenship ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q38
SYSTEM
Japan, Italy
Q17 Q38
OR((Q3768362,P27,c(Q15617994)), (Q11462924,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3768362
relation P27
action find
entity Q11462924
relation P27
type Q15617994
[ANSWERS] are Giovanni Vincenzo Cima or Yūichi Odagiri a civilian of
{'OR': [['Q3768362', 'P27', {'concept': 'Q15617994'}], ['Q11462924', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q11462924 property:P27 ?a } UNION { resource:Q3768362 property:P27 ?a } } . ?a rdf:type ontology:Q15617994 }
Japan Italy
Japan and Italy are Giovanni Vincenzo Cima or Yūichi Odagiri a civilian of
Japan Italy
action filter_type
action union
action find
entity Giovanni Vincenzo Cima
relation country of citizenship
action find
entity Yūichi Odagiri
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Giovanni Vincenzo Cima', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yūichi Odagiri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Yūichi_Odagiri property:country_of_citizenship ?a } UNION { resource:Giovanni_Vincenzo_Cima property:country_of_citizenship ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q17 Q38
P206
Q15324
USER
Which bodies of water are situated in the neighbourhood of those administrative territories ?
(Q17,P206,c(Q15324)) (Q38,P206,c(Q15324))
action filter_type
action find
entity prev_answer
relation P206
type Q15324
['Q17', 'P206', {'concept': 'Q15324'}] ['Q38', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?x WHERE { ?w property:P206 ?x . ?x rdf:type ontology:Q15324 . VALUES ( ?w ) { ( resource:Q17 ) ( resource:Q38 ) } }
Japan Italy
action filter_type
action find
entity prev_answer
relation located next to body of water
type body of water
['Japan', 'located next to body of water', {'concept': 'body of water'}] ['Italy', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?x WHERE { ?w property:located_next_to_body_of_water ?x . ?x rdf:type ontology:body_of_water . VALUES ( ?w ) { ( resource:Japan ) ( resource:Italy ) } }
[]
body of water
Q27092 Q13924
SYSTEM
Sea of Japan, Adriatic Sea
Q27092 Q13924
(Q17,P206,c(Q15324)) (Q38,P206,c(Q15324))
action filter_type
action find
entity prev_answer
relation P206
type Q15324
[ANSWERS] are situated in the neighbourhood of those administrative territories
['Q17', 'P206', {'concept': 'Q15324'}] ['Q38', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?x WHERE { ?w property:P206 ?x . ?x rdf:type ontology:Q15324 . VALUES ( ?w ) { ( resource:Q17 ) ( resource:Q38 ) } }
Sea of Japan Adriatic Sea
Sea of Japan and Adriatic Sea are situated in the neighbourhood of those administrative territories
Sea of Japan Adriatic Sea
action filter_type
action find
entity prev_answer
relation located next to body of water
type body of water
['Japan', 'located next to body of water', {'concept': 'body of water'}] ['Italy', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?x WHERE { ?w property:located_next_to_body_of_water ?x . ?x rdf:type ontology:body_of_water . VALUES ( ?w ) { ( resource:Japan ) ( resource:Italy ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q27092
P559
Q1267889
USER
Which waterway has that body of water as the terminus ?
(c(Q1267889),P559,Q27092)
action filter_type
action find_reverse
entity Q27092
relation P559
type Q1267889
[{'concept': 'Q1267889'}, 'P559', 'Q27092']
SELECT DISTINCT ?r WHERE { ?r property:P559 resource:Q27092 . ?r rdf:type ontology:Q1267889 }
Sea of Japan
action filter_type
action find_reverse
entity Sea of Japan
relation terminus
type waterway
[{'concept': 'waterway'}, 'terminus', 'Sea of Japan']
SELECT DISTINCT ?r WHERE { ?r property:terminus resource:Sea_of_Japan . ?r rdf:type ontology:waterway }
[]
waterway
Clarification for simple ques.
Q13924
SYSTEM
Did you mean Adriatic Sea ?
Q27092 Q13924
(c(Q1267889),P559,Q27092) (c(Q1267889),P559,Q13924)
[ANSWER]
[{'concept': 'Q1267889'}, 'P559', 'Q27092'] [{'concept': 'Q1267889'}, 'P559', 'Q13924']
SELECT DISTINCT ?r WHERE { ?r property:P559 resource:Q27092 . ?r rdf:type ontology:Q1267889 }
Sea of Japan Adriatic Sea
Did you mean Adriatic Sea ?
Adriatic Sea
[{'concept': 'waterway'}, 'terminus', 'Sea of Japan'] [{'concept': 'waterway'}, 'terminus', 'Adriatic Sea']
SELECT DISTINCT ?r WHERE { ?r property:terminus resource:Sea_of_Japan . ?r rdf:type ontology:waterway }
[]
Simple Question (Coreferenced)
USER
No, I meant Sea of Japan. Could you tell me the answer for that?
(c(Q1267889),P559,Q27092)
Q27092
[{'concept': 'Q1267889'}, 'P559', 'Q27092']
[{'concept': 'waterway'}, 'terminus', 'Sea of Japan']
[]
Q208054
SYSTEM
La Pérouse Strait
Q208054
(c(Q1267889),P559,Q27092)
action filter_type
action find_reverse
entity Q27092
relation P559
type Q1267889
[ANSWER] has that body of water as the terminus
[{'concept': 'Q1267889'}, 'P559', 'Q27092']
SELECT DISTINCT ?r WHERE { ?r property:P559 resource:Q27092 . ?r rdf:type ontology:Q1267889 }
La Pérouse Strait
La Pérouse Strait has that body of water as the terminus
La Pérouse Strait
action filter_type
action find_reverse
entity Sea of Japan
relation terminus
type waterway
[{'concept': 'waterway'}, 'terminus', 'Sea of Japan']
SELECT DISTINCT ?r WHERE { ?r property:terminus resource:Sea_of_Japan . ?r rdf:type ontology:waterway }
[]