Simple Question (Direct)
Simple Question
Q3768177
P21
Q290
USER
What is the sex of Giovanni Spinelli ?
(Q3768177,P21,c(Q290))
action filter_type
action find
entity Q3768177
relation P21
type Q290
['Q3768177', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q3768177 property:P21 ?l . ?l rdf:type ontology:Q290 }
Giovanni Spinelli
action filter_type
action find
entity Giovanni Spinelli
relation gender
type sex
['Giovanni Spinelli', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Giovanni_Spinelli property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3768177,P21,c(Q290))
action filter_type
action find
entity Q3768177
relation P21
type Q290
The sex of Giovanni Spinelli is the [ANSWER]
['Q3768177', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q3768177 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
The sex of Giovanni Spinelli is the male
male
action filter_type
action find
entity Giovanni Spinelli
relation gender
type sex
['Giovanni Spinelli', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Giovanni_Spinelli property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3768177
P641
Q349
USER
Which sport was Giovanni Spinelli a part of ?
(Q3768177,P641,c(Q349))
action filter_type
action find
entity Q3768177
relation P641
type Q349
['Q3768177', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q3768177 property:P641 ?w . ?w rdf:type ontology:Q349 }
Giovanni Spinelli
action filter_type
action find
entity Giovanni Spinelli
relation sport
type sport
['Giovanni Spinelli', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Giovanni_Spinelli property:sport ?w . ?w rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3768177,P641,c(Q349))
action filter_type
action find
entity Q3768177
relation P641
type Q349
Giovanni Spinelli was in [ANSWER]
['Q3768177', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q3768177 property:P641 ?w . ?w rdf:type ontology:Q349 }
association football
Giovanni Spinelli was in association football
association football
action filter_type
action find
entity Giovanni Spinelli
relation sport
type sport
['Giovanni Spinelli', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Giovanni_Spinelli property:sport ?w . ?w rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q10405261 Q3768177
P641
Q349
USER
And also Stanimir Dimov-Valkov
AND((Q3768177,P641,c(Q349)), (Q10405261,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q3768177
relation P641
action find
entity Q10405261
relation P641
type Q349
{'AND': [['Q3768177', 'P641', {'concept': 'Q349'}], ['Q10405261', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?t WHERE { resource:Q3768177 property:P641 ?t . resource:Q10405261 property:P641 ?t . ?t rdf:type ontology:Q349 }
Stanimir Dimov-Valkov Giovanni Spinelli
action filter_type
action intersection
action find
entity Giovanni Spinelli
relation sport
action find
entity Stanimir Dimov-Valkov
relation sport
type sport
{'AND': [['Giovanni Spinelli', 'sport', {'concept': 'sport'}], ['Stanimir Dimov-Valkov', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?t WHERE { resource:Giovanni_Spinelli property:sport ?t . resource:Stanimir_Dimov-Valkov property:sport ?t . ?t rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q3768177,P641,c(Q349)), (Q10405261,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q3768177
relation P641
action find
entity Q10405261
relation P641
type Q349
[ANSWER]
{'AND': [['Q3768177', 'P641', {'concept': 'Q349'}], ['Q10405261', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?t WHERE { resource:Q3768177 property:P641 ?t . resource:Q10405261 property:P641 ?t . ?t rdf:type ontology:Q349 }
association football
association football
action filter_type
action intersection
action find
entity Giovanni Spinelli
relation sport
action find
entity Stanimir Dimov-Valkov
relation sport
type sport
{'AND': [['Giovanni Spinelli', 'sport', {'concept': 'sport'}], ['Stanimir Dimov-Valkov', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?t WHERE { resource:Giovanni_Spinelli property:sport ?t . resource:Stanimir_Dimov-Valkov property:sport ?t . ?t rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q1174200
P641
Q502895
USER
Does David Depenau play that sport ?
(Q1174200,P641,Q2736)
action is_in
entity Q1174200
action find
entity Q2736
relation P641
['Q1174200', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q1174200 }
association football David Depenau
action is_in
entity David Depenau
action find
entity association football
relation sport
['David Depenau', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:David_Depenau }
[]
common name
SYSTEM
NO
(Q1174200,P641,Q2736)
action is_in
entity Q1174200
action find
entity Q2736
relation P641
[ANSWER]
['Q1174200', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q1174200 }
No
action is_in
entity David Depenau
action find
entity association football
relation sport
['David Depenau', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:David_Depenau }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3768177
P106
Q12737077
USER
What does Giovanni Spinelli do for a living ?
(Q3768177,P106,c(Q12737077))
action filter_type
action find
entity Q3768177
relation P106
type Q12737077
['Q3768177', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q3768177 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Giovanni Spinelli
action filter_type
action find
entity Giovanni Spinelli
relation occupation
type occupation
['Giovanni Spinelli', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Giovanni_Spinelli property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3768177,P106,c(Q12737077))
action filter_type
action find
entity Q3768177
relation P106
type Q12737077
[ANSWER] Giovanni Spinelli does for a living
['Q3768177', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q3768177 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
association football player
Association football player Giovanni Spinelli does for a living
association football player
action filter_type
action find
entity Giovanni Spinelli
relation occupation
type occupation
['Giovanni Spinelli', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Giovanni_Spinelli property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q613638
Q12737077
USER
And how about Antonio Ibáñez de la Riva Herrera?
(Q613638,P106,c(Q12737077))
action filter_type
action find
entity Q613638
relation P106
type Q12737077
['Q613638', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q613638 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Antonio Ibáñez de la Riva Herrera
action filter_type
action find
entity Antonio Ibáñez de la Riva Herrera
relation occupation
type occupation
['Antonio Ibáñez de la Riva Herrera', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Antonio_Ibáñez_de_la_Riva_Herrera property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q82955 Q47064 Q42603
SYSTEM
politician, military personnel, priest
Q82955 Q47064 Q42603
(Q613638,P106,c(Q12737077))
action filter_type
action find
entity Q613638
relation P106
type Q12737077
[ANSWERS]
['Q613638', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q613638 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
politician military personnel priest
politician military personnel priest
action filter_type
action find
entity Antonio Ibáñez de la Riva Herrera
relation occupation
type occupation
['Antonio Ibáñez de la Riva Herrera', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Antonio_Ibáñez_de_la_Riva_Herrera property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q14050584
P106
Q502895
USER
Do Adrian Frias Santamaria have career as those occupations ?
(Q14050584,P106,Q82955) (Q14050584,P106,Q47064) (Q14050584,P106,Q42603)
action is_in
entity prev_answer
action find
entity Q14050584
relation P106
['Q14050584', 'P106', 'Q82955'] ['Q14050584', 'P106', 'Q47064'] ['Q14050584', 'P106', 'Q42603']
ASK WHERE { resource:Q14050584 property:P106 ?l . VALUES ( ?l ) { ( resource:Q82955 ) ( resource:Q47064 ) ( resource:Q42603 ) } }
Adrian Frias Santamaria
action is_in
entity prev_answer
action find
entity Adrian Frias Santamaria
relation occupation
['Adrian Frias Santamaria', 'occupation', 'politician'] ['Adrian Frias Santamaria', 'occupation', 'military personnel'] ['Adrian Frias Santamaria', 'occupation', 'priest']
ASK WHERE { resource:Adrian_Frias_Santamaria property:occupation ?l . VALUES ( ?l ) { ( resource:politician ) ( resource:military_personnel ) ( resource:priest ) } }
[]
common name
SYSTEM
NO
(Q14050584,P106,Q82955) (Q14050584,P106,Q47064) (Q14050584,P106,Q42603)
action is_in
entity prev_answer
action find
entity Q14050584
relation P106
[ANSWER]
['Q14050584', 'P106', 'Q82955'] ['Q14050584', 'P106', 'Q47064'] ['Q14050584', 'P106', 'Q42603']
ASK WHERE { resource:Q14050584 property:P106 ?l . VALUES ( ?l ) { ( resource:Q82955 ) ( resource:Q47064 ) ( resource:Q42603 ) } }
No
action is_in
entity prev_answer
action find
entity Adrian Frias Santamaria
relation occupation
['Adrian Frias Santamaria', 'occupation', 'politician'] ['Adrian Frias Santamaria', 'occupation', 'military personnel'] ['Adrian Frias Santamaria', 'occupation', 'priest']
ASK WHERE { resource:Adrian_Frias_Santamaria property:occupation ?l . VALUES ( ?l ) { ( resource:politician ) ( resource:military_personnel ) ( resource:priest ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q29 Q14050584
P6 P17
Q1048835
USER
Which political territories have Adrian Frias Santamaria as their administrative leader and are present in Spain ?
AND((c(Q1048835),P6,Q14050584), (c(Q1048835),P17,Q29))
action filter_type
action intersection
action find_reverse
entity Q14050584
relation P6
action find_reverse
entity Q29
relation P17
type Q1048835
{'AND': [[{'concept': 'Q1048835'}, 'P6', 'Q14050584'], [{'concept': 'Q1048835'}, 'P17', 'Q29']]}
SELECT DISTINCT ?h WHERE { ?h property:P6 resource:Q14050584 . ?h property:P17 resource:Q29 . ?h rdf:type ontology:Q1048835 }
Spain Adrian Frias Santamaria
action filter_type
action intersection
action find_reverse
entity Adrian Frias Santamaria
relation head of government
action find_reverse
entity Spain
relation country
type political territorial entity
{'AND': [[{'concept': 'political territorial entity'}, 'head of government', 'Adrian Frias Santamaria'], [{'concept': 'political territorial entity'}, 'country', 'Spain']]}
SELECT DISTINCT ?h WHERE { ?h property:head_of_government resource:Adrian_Frias_Santamaria . ?h property:country resource:Spain . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1641293
SYSTEM
San Mamés de Burgos
Q1641293
AND((c(Q1048835),P6,Q14050584), (c(Q1048835),P17,Q29))
action filter_type
action intersection
action find_reverse
entity Q14050584
relation P6
action find_reverse
entity Q29
relation P17
type Q1048835
[ANSWER] have Adrian Frias Santamaria as their administrative leader and are present in Spain
{'AND': [[{'concept': 'Q1048835'}, 'P6', 'Q14050584'], [{'concept': 'Q1048835'}, 'P17', 'Q29']]}
SELECT DISTINCT ?h WHERE { ?h property:P6 resource:Q14050584 . ?h property:P17 resource:Q29 . ?h rdf:type ontology:Q1048835 }
San Mamés de Burgos
San Mamés de Burgos have Adrian Frias Santamaria as their administrative leader and are present in Spain
San Mamés de Burgos
action filter_type
action intersection
action find_reverse
entity Adrian Frias Santamaria
relation head of government
action find_reverse
entity Spain
relation country
type political territorial entity
{'AND': [[{'concept': 'political territorial entity'}, 'head of government', 'Adrian Frias Santamaria'], [{'concept': 'political territorial entity'}, 'country', 'Spain']]}
SELECT DISTINCT ?h WHERE { ?h property:head_of_government resource:Adrian_Frias_Santamaria . ?h property:country resource:Spain . ?h rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1641293 Q633143
P17
Q15617994
USER
Is that political territory situated in Millienhagen-Oebelitz ?
(Q1641293,P17,Q633143)
action is_in
entity Q633143
action find
entity Q1641293
relation P17
['Q1641293', 'P17', 'Q633143']
ASK WHERE { resource:Q1641293 property:P17 resource:Q633143 }
San Mamés de Burgos Millienhagen-Oebelitz
action is_in
entity Millienhagen-Oebelitz
action find
entity San Mamés de Burgos
relation country
['San Mamés de Burgos', 'country', 'Millienhagen-Oebelitz']
ASK WHERE { resource:San_Mamés_de_Burgos property:country resource:Millienhagen-Oebelitz }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1641293,P17,Q633143)
action is_in
entity Q633143
action find
entity Q1641293
relation P17
[ANSWER]
['Q1641293', 'P17', 'Q633143']
ASK WHERE { resource:Q1641293 property:P17 resource:Q633143 }
No
action is_in
entity Millienhagen-Oebelitz
action find
entity San Mamés de Burgos
relation country
['San Mamés de Burgos', 'country', 'Millienhagen-Oebelitz']
ASK WHERE { resource:San_Mamés_de_Burgos property:country resource:Millienhagen-Oebelitz }
[]