Simple Question (Direct)
Simple Question
Q57167
P106
Q12737077
USER
What does Zé Roberto do for a living ?
(Q57167,P106,c(Q12737077))
action filter_type
action find
entity Q57167
relation P106
type Q12737077
['Q57167', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q57167 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Zé Roberto
action filter_type
action find
entity Zé Roberto
relation occupation
type occupation
['Zé Roberto', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Zé_Roberto property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q57167,P106,c(Q12737077))
action filter_type
action find
entity Q57167
relation P106
type Q12737077
Zé Roberto does an [ANSWER] for a living
['Q57167', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q57167 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
association football player
Zé Roberto does an association football player for a living
association football player
action filter_type
action find
entity Zé Roberto
relation occupation
type occupation
['Zé Roberto', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Zé_Roberto property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q57167
P161
Q838948
USER
What is the name of work of art starring Zé Roberto ?
(c(Q838948),P161,Q57167)
action filter_type
action find_reverse
entity Q57167
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q57167']
SELECT DISTINCT ?e WHERE { ?e property:P161 resource:Q57167 . ?e rdf:type ontology:Q838948 }
Zé Roberto
action filter_type
action find_reverse
entity Zé Roberto
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Zé Roberto']
SELECT DISTINCT ?e WHERE { ?e property:cast_member resource:Zé_Roberto . ?e rdf:type ontology:work_of_art }
[]
work of art
Q132134
SYSTEM
Goal III: Taking on the World
Q132134
(c(Q838948),P161,Q57167)
action filter_type
action find_reverse
entity Q57167
relation P161
type Q838948
The name of work of art starring Zé Roberto is unknown [ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q57167']
SELECT DISTINCT ?e WHERE { ?e property:P161 resource:Q57167 . ?e rdf:type ontology:Q838948 }
Goal III: Taking on the World
The name of work of art starring Zé Roberto is unknown Goal III: Taking on the World
Goal III: Taking on the World
action filter_type
action find_reverse
entity Zé Roberto
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Zé Roberto']
SELECT DISTINCT ?e WHERE { ?e property:cast_member resource:Zé_Roberto . ?e rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q132134
P162
Q502895
USER
Who is the creator of that work of art ?
(Q132134,P162,c(Q502895))
action filter_type
action find
entity Q132134
relation P162
type Q502895
['Q132134', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q132134 property:P162 ?l . ?l rdf:type ontology:Q502895 }
Goal III: Taking on the World
action filter_type
action find
entity Goal III: Taking on the World
relation producer
type common name
['Goal III: Taking on the World', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Goal_III:_Taking_on_the_World property:producer ?l . ?l rdf:type ontology:common_name }
[]
common name
Q6788320
SYSTEM
Matt Barrelle
Q6788320
(Q132134,P162,c(Q502895))
action filter_type
action find
entity Q132134
relation P162
type Q502895
The creator of that work of art is a [ANSWER]
['Q132134', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q132134 property:P162 ?l . ?l rdf:type ontology:Q502895 }
Matt Barrelle
The creator of that work of art is a Matt Barrelle
Matt Barrelle
action filter_type
action find
entity Goal III: Taking on the World
relation producer
type common name
['Goal III: Taking on the World', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Goal_III:_Taking_on_the_World property:producer ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6788320
P21
Q290
USER
What is the sex of that person ?
(Q6788320,P21,c(Q290))
action filter_type
action find
entity Q6788320
relation P21
type Q290
['Q6788320', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . resource:Q6788320 property:P21 ?u }
Matt Barrelle
action filter_type
action find
entity Matt Barrelle
relation gender
type sex
['Matt Barrelle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . resource:Matt_Barrelle property:gender ?u }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6788320,P21,c(Q290))
action filter_type
action find
entity Q6788320
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q6788320', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . resource:Q6788320 property:P21 ?u }
male
The sex of that person is a male
male
action filter_type
action find
entity Matt Barrelle
relation gender
type sex
['Matt Barrelle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . resource:Matt_Barrelle property:gender ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6788320
P27
Q1048835
USER
Which political territory is that person an inhabitant of ?
(Q6581097,P27,c(Q1048835))
action filter_type
action find
entity Q6788320
relation P27
type Q1048835
['Q6581097', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q6788320 property:P27 ?b . ?b rdf:type ontology:Q1048835 }
Matt Barrelle
action filter_type
action find
entity Matt Barrelle
relation country of citizenship
type political territorial entity
['male', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Matt_Barrelle property:country_of_citizenship ?b . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q6581097,P27,c(Q1048835))
action filter_type
action find
entity Q6788320
relation P27
type Q1048835
[ANSWER] is that person an inhabitant of
['Q6581097', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q6788320 property:P27 ?b . ?b rdf:type ontology:Q1048835 }
Australia
Australia is that person an inhabitant of
Australia
action filter_type
action find
entity Matt Barrelle
relation country of citizenship
type political territorial entity
['male', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Matt_Barrelle property:country_of_citizenship ?b . ?b rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q408
P1532
Q6979593
USER
Whose national association football teams are that political territory ?
(c(Q6979593),P1532,Q408)
action filter_type
action find_reverse
entity Q408
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q408']
SELECT DISTINCT ?x WHERE { ?x property:P1532 resource:Q408 . ?x rdf:type ontology:Q6979593 }
Australia
action filter_type
action find_reverse
entity Australia
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Australia']
SELECT DISTINCT ?x WHERE { ?x property:country_for_sport resource:Australia . ?x rdf:type ontology:national_association_football_team }
[]
national association football team
Q782012 Q3873975 Q4823750
SYSTEM
Australia women's national association football team, Australia Olympic football team, Australia women's national under-20 football team
Q782012 Q3873975 Q4823750 Q16154435
(c(Q6979593),P1532,Q408)
action filter_type
action find_reverse
entity Q408
relation P1532
type Q6979593
And [ANSWERS] are that political territory
[{'concept': 'Q6979593'}, 'P1532', 'Q408']
SELECT DISTINCT ?x WHERE { ?x property:P1532 resource:Q408 . ?x rdf:type ontology:Q6979593 }
Australia women's national association football team Australia Olympic football team Australia women's national under-20 football team Australia women's national under-17 association football team
And Australia women's national association football team, Australia Olympic football team and Australia women's national under-20 football team are that political territory
Australia women's national association football team Australia Olympic football team Australia women's national under-20 football team
action filter_type
action find_reverse
entity Australia
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Australia']
SELECT DISTINCT ?x WHERE { ?x property:country_for_sport resource:Australia . ?x rdf:type ontology:national_association_football_team }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q3770821 Q408
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with Australia and are Giuseppe Lobianco an inhabitant of ?
AND((Q408,P530,c(Q15617994)), (Q3770821,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q408
relation P530
action find
entity Q3770821
relation P27
type Q15617994
{'AND': [['Q408', 'P530', {'concept': 'Q15617994'}], ['Q3770821', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { resource:Q408 property:P530 ?a . resource:Q3770821 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Giuseppe Lobianco Australia
action filter_type
action intersection
action find
entity Australia
relation diplomatic relation
action find
entity Giuseppe Lobianco
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Giuseppe Lobianco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { resource:Australia property:diplomatic_relation ?a . resource:Giuseppe_Lobianco property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
AND((Q408,P530,c(Q15617994)), (Q3770821,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q408
relation P530
action find
entity Q3770821
relation P27
type Q15617994
[ANSWER] have diplomatic relationships with Australia and are Giuseppe Lobianco an inhabitant of
{'AND': [['Q408', 'P530', {'concept': 'Q15617994'}], ['Q3770821', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { resource:Q408 property:P530 ?a . resource:Q3770821 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Italy
Italy have diplomatic relationships with Australia and are Giuseppe Lobianco an inhabitant of
Italy
action filter_type
action intersection
action find
entity Australia
relation diplomatic relation
action find
entity Giuseppe Lobianco
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Giuseppe Lobianco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { resource:Australia property:diplomatic_relation ?a . resource:Giuseppe_Lobianco property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q38 Q7539835
P840
Q838948
USER
Does Sleeping Ariadne have its narrative set in that administrative territory ?
(Q7539835,P840,Q38)
action is_in
entity Q7539835
action find
entity Q38
relation P840
['Q7539835', 'P840', 'Q38']
ASK WHERE { resource:Q38 property:P840 resource:Q7539835 }
Italy Sleeping Ariadne
action is_in
entity Sleeping Ariadne
action find
entity Italy
relation narrative location
['Sleeping Ariadne', 'narrative location', 'Italy']
ASK WHERE { resource:Italy property:narrative_location resource:Sleeping_Ariadne }
[]
work of art
SYSTEM
NO
(Q7539835,P840,Q38)
action is_in
entity Q7539835
action find
entity Q38
relation P840
[ANSWER]
['Q7539835', 'P840', 'Q38']
ASK WHERE { resource:Q38 property:P840 resource:Q7539835 }
No
action is_in
entity Sleeping Ariadne
action find
entity Italy
relation narrative location
['Sleeping Ariadne', 'narrative location', 'Italy']
ASK WHERE { resource:Italy property:narrative_location resource:Sleeping_Ariadne }
[]