Simple Question (Direct)
Simple Question
Q605200
P27
Q7275
USER
Which state is the native country of Antonio Sogliano ?
(Q605200,P27,c(Q7275))
action filter_type
action find
entity Q605200
relation P27
type Q7275
['Q605200', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?f WHERE { resource:Q605200 property:P27 ?f . ?f rdf:type ontology:Q7275 }
Antonio Sogliano
action filter_type
action find
entity Antonio Sogliano
relation country of citizenship
type state
['Antonio Sogliano', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?f WHERE { resource:Antonio_Sogliano property:country_of_citizenship ?f . ?f rdf:type ontology:state }
[]
state
Q172579
SYSTEM
Kingdom of Italy
Q172579
(Q605200,P27,c(Q7275))
action filter_type
action find
entity Q605200
relation P27
type Q7275
The [ANSWER] is the native country of Antonio Sogliano
['Q605200', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?f WHERE { resource:Q605200 property:P27 ?f . ?f rdf:type ontology:Q7275 }
Kingdom of Italy
The Kingdom of Italy is the native country of Antonio Sogliano
Kingdom of Italy
action filter_type
action find
entity Antonio Sogliano
relation country of citizenship
type state
['Antonio Sogliano', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?f WHERE { resource:Antonio_Sogliano property:country_of_citizenship ?f . ?f rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q605200
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q172579,P19,c(Q56061))
action filter_type
action find
entity Q605200
relation P19
type Q56061
['Q172579', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q605200 property:P19 ?i }
Antonio Sogliano
action filter_type
action find
entity Antonio Sogliano
relation place of birth
type administrative territorial entity
['Kingdom of Italy', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Antonio_Sogliano property:place_of_birth ?i }
[]
administrative territorial entity
Q2634
SYSTEM
Naples
Q2634
(Q172579,P19,c(Q56061))
action filter_type
action find
entity Q605200
relation P19
type Q56061
That person was born in [ANSWER]
['Q172579', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q605200 property:P19 ?i }
Naples
That person was born in Naples
Naples
action filter_type
action find
entity Antonio Sogliano
relation place of birth
type administrative territorial entity
['Kingdom of Italy', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Antonio_Sogliano property:place_of_birth ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q605200
P20
Q56061
USER
Where did Antonio Sogliano die ?
(Q605200,P20,c(Q56061))
action filter_type
action find
entity Q605200
relation P20
type Q56061
['Q605200', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q605200 property:P20 ?u . ?u rdf:type ontology:Q56061 }
Antonio Sogliano
action filter_type
action find
entity Antonio Sogliano
relation place of death
type administrative territorial entity
['Antonio Sogliano', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Antonio_Sogliano property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2634
SYSTEM
Naples
Q2634
(Q605200,P20,c(Q56061))
action filter_type
action find
entity Q605200
relation P20
type Q56061
Antonio Sogliano died in [ANSWER]
['Q605200', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q605200 property:P20 ?u . ?u rdf:type ontology:Q56061 }
Naples
Antonio Sogliano died in Naples
Naples
action filter_type
action find
entity Antonio Sogliano
relation place of death
type administrative territorial entity
['Antonio Sogliano', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Antonio_Sogliano property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5366158
Q56061
USER
And also tell me about Ellsworth P. Bertholf?
(Q5366158,P20,c(Q56061))
action filter_type
action find
entity Q5366158
relation P20
type Q56061
['Q5366158', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q5366158 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Ellsworth P. Bertholf
action filter_type
action find
entity Ellsworth P. Bertholf
relation place of death
type administrative territorial entity
['Ellsworth P. Bertholf', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Ellsworth_P._Bertholf property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q5366158,P20,c(Q56061))
action filter_type
action find
entity Q5366158
relation P20
type Q56061
[ANSWER]
['Q5366158', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q5366158 property:P20 ?p . ?p rdf:type ontology:Q56061 }
New York City
New York City
action filter_type
action find
entity Ellsworth P. Bertholf
relation place of death
type administrative territorial entity
['Ellsworth P. Bertholf', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Ellsworth_P._Bertholf property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q60 Q1566998
P20
Q502895
USER
Does Will Barnet have that administrative territory as the location of death ?
(Q1566998,P20,Q60)
action is_in
entity Q60
action find
entity Q1566998
relation P20
['Q1566998', 'P20', 'Q60']
ASK WHERE { resource:Q1566998 property:P20 resource:Q60 }
New York City Will Barnet
action is_in
entity New York City
action find
entity Will Barnet
relation place of death
['Will Barnet', 'place of death', 'New York City']
ASK WHERE { resource:Will_Barnet property:place_of_death resource:New_York_City }
[]
common name
SYSTEM
YES
(Q1566998,P20,Q60)
action is_in
entity Q60
action find
entity Q1566998
relation P20
[ANSWER]
['Q1566998', 'P20', 'Q60']
ASK WHERE { resource:Q1566998 property:P20 resource:Q60 }
Yes
action is_in
entity New York City
action find
entity Will Barnet
relation place of death
['Will Barnet', 'place of death', 'New York City']
ASK WHERE { resource:Will_Barnet property:place_of_death resource:New_York_City }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q172579 Q5834236 Q220
P36
Q56061
USER
Does Kingdom of Italy consist of Rashidabad, Razavi Khorasan and Rome as its capital ?
(Q172579,P36,Q5834236) (Q172579,P36,Q220)
action is_in
entity Q172579
action intersection
action find_reverse
entity Q5834236
relation P36
action find_reverse
entity Q220
relation P36
['Q172579', 'P36', 'Q5834236'] ['Q172579', 'P36', 'Q220']
ASK WHERE { resource:Q172579 property:P36 resource:Q5834236 . resource:Q172579 property:P36 resource:Q220 }
Kingdom of Italy Rashidabad, Razavi Khorasan Rome
action is_in
entity Kingdom of Italy
action intersection
action find_reverse
entity Rashidabad, Razavi Khorasan
relation capital
action find_reverse
entity Rome
relation capital
['Kingdom of Italy', 'capital', 'Rashidabad, Razavi Khorasan'] ['Kingdom of Italy', 'capital', 'Rome']
ASK WHERE { resource:Kingdom_of_Italy property:capital resource:Rashidabad,_Razavi_Khorasan . resource:Kingdom_of_Italy property:capital resource:Rome }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q172579,P36,Q5834236) (Q172579,P36,Q220)
action is_in
entity Q172579
action intersection
action find_reverse
entity Q5834236
relation P36
action find_reverse
entity Q220
relation P36
[ANSWER]
['Q172579', 'P36', 'Q5834236'] ['Q172579', 'P36', 'Q220']
ASK WHERE { resource:Q172579 property:P36 resource:Q5834236 . resource:Q172579 property:P36 resource:Q220 }
NO and YES respectively
action is_in
entity Kingdom of Italy
action intersection
action find_reverse
entity Rashidabad, Razavi Khorasan
relation capital
action find_reverse
entity Rome
relation capital
['Kingdom of Italy', 'capital', 'Rashidabad, Razavi Khorasan'] ['Kingdom of Italy', 'capital', 'Rome']
ASK WHERE { resource:Kingdom_of_Italy property:capital resource:Rashidabad,_Razavi_Khorasan . resource:Kingdom_of_Italy property:capital resource:Rome }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q172579
P1376
Q56061
USER
Which administrative territory is center of administration for that state ?
action filter_type
action find_reverse
entity Q172579
relation P1376
type Q56061
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . ?o property:P1376 resource:Q172579 }
Kingdom of Italy
action filter_type
action find_reverse
entity Kingdom of Italy
relation capital of
type administrative territorial entity
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . ?o property:capital_of resource:Kingdom_of_Italy }
[]
administrative territorial entity
Q2044
SYSTEM
Florence
Q2044
action filter_type
action find_reverse
entity Q172579
relation P1376
type Q56061
Is [ANSWER] is center of administration for that state
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . ?o property:P1376 resource:Q172579 }
Florence
Is Florence is center of administration for that state
Florence
action filter_type
action find_reverse
entity Kingdom of Italy
relation capital of
type administrative territorial entity
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . ?o property:capital_of resource:Kingdom_of_Italy }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q172579
P1346
Q1190554
USER
Which events were won by that state ?
(c(Q1190554),P1346,Q2044)
action filter_type
action find_reverse
entity Q172579
relation P1346
type Q1190554
[{'concept': 'Q1190554'}, 'P1346', 'Q2044']
SELECT DISTINCT ?s WHERE { ?s property:P1346 resource:Q172579 . ?s rdf:type ontology:Q1190554 }
Kingdom of Italy
action filter_type
action find_reverse
entity Kingdom of Italy
relation winner
type event
[{'concept': 'event'}, 'winner', 'Florence']
SELECT DISTINCT ?s WHERE { ?s property:winner resource:Kingdom_of_Italy . ?s rdf:type ontology:event }
[]
event
Q2887840 Q4871088
SYSTEM
Battle of Amba Aradam, Battle of Genale Doria
Q2887840 Q4871088
(c(Q1190554),P1346,Q2044)
action filter_type
action find_reverse
entity Q172579
relation P1346
type Q1190554
[ANSWERS] were won by that state
[{'concept': 'Q1190554'}, 'P1346', 'Q2044']
SELECT DISTINCT ?s WHERE { ?s property:P1346 resource:Q172579 . ?s rdf:type ontology:Q1190554 }
Battle of Amba Aradam Battle of Genale Doria
Battle of Amba Aradam and Battle of Genale Doria were won by that state
Battle of Amba Aradam Battle of Genale Doria
action filter_type
action find_reverse
entity Kingdom of Italy
relation winner
type event
[{'concept': 'event'}, 'winner', 'Florence']
SELECT DISTINCT ?s WHERE { ?s property:winner resource:Kingdom_of_Italy . ?s rdf:type ontology:event }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1759068 Q605200
P1412
Q34770
USER
Which languages can Antonio Sogliano and Manlio Brusatin read ?
AND((Q605200,P1412,c(Q34770)), (Q1759068,P1412,c(Q34770)))
action filter_type
action intersection
action find
entity Q605200
relation P1412
action find
entity Q1759068
relation P1412
type Q34770
{'AND': [['Q605200', 'P1412', {'concept': 'Q34770'}], ['Q1759068', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?e WHERE { resource:Q605200 property:P1412 ?e . resource:Q1759068 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Manlio Brusatin Antonio Sogliano
action filter_type
action intersection
action find
entity Antonio Sogliano
relation languages spoken, written or signed
action find
entity Manlio Brusatin
relation languages spoken, written or signed
type language
{'AND': [['Antonio Sogliano', 'languages spoken, written or signed', {'concept': 'language'}], ['Manlio Brusatin', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?e WHERE { resource:Antonio_Sogliano property:languages_spoken,_written_or_signed ?e . resource:Manlio_Brusatin property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
AND((Q605200,P1412,c(Q34770)), (Q1759068,P1412,c(Q34770)))
action filter_type
action intersection
action find
entity Q605200
relation P1412
action find
entity Q1759068
relation P1412
type Q34770
Antonio Sogliano and Manlio Brusatin can read in [ANSWER]
{'AND': [['Q605200', 'P1412', {'concept': 'Q34770'}], ['Q1759068', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?e WHERE { resource:Q605200 property:P1412 ?e . resource:Q1759068 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Italian
Antonio Sogliano and Manlio Brusatin can read in Italian
Italian
action filter_type
action intersection
action find
entity Antonio Sogliano
relation languages spoken, written or signed
action find
entity Manlio Brusatin
relation languages spoken, written or signed
type language
{'AND': [['Antonio Sogliano', 'languages spoken, written or signed', {'concept': 'language'}], ['Manlio Brusatin', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?e WHERE { resource:Antonio_Sogliano property:languages_spoken,_written_or_signed ?e . resource:Manlio_Brusatin property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]