Simple Question (Direct)
Simple Question
Q4681980
P19
Q56061
USER
Which administrative territory was Adelino Teixeira born in ?
(Q4681980,P19,c(Q56061))
action filter_type
action find
entity Q4681980
relation P19
type Q56061
['Q4681980', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q4681980 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Adelino Teixeira
action filter_type
action find
entity Adelino Teixeira
relation place of birth
type administrative territorial entity
['Adelino Teixeira', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Adelino_Teixeira property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q36433
SYSTEM
Porto
Q36433
(Q4681980,P19,c(Q56061))
action filter_type
action find
entity Q4681980
relation P19
type Q56061
Adelino Teixeira was born in [ANSWER]
['Q4681980', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q4681980 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Porto
Adelino Teixeira was born in Porto
Porto
action filter_type
action find
entity Adelino Teixeira
relation place of birth
type administrative territorial entity
['Adelino Teixeira', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Adelino_Teixeira property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36433
P47
Q13220204
USER
Which administrative country subdivisions have a shared border with that administrative territory ?
(Q36433,P47,c(Q13220204))
action filter_type
action find
entity Q36433
relation P47
type Q13220204
['Q36433', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?x WHERE { resource:Q36433 property:P47 ?x . ?x rdf:type ontology:Q13220204 }
Porto
action filter_type
action find
entity Porto
relation shares border with
type second-level administrative country subdivision
['Porto', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?x WHERE { resource:Porto property:shares_border_with ?x . ?x rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q983483 Q841299
SYSTEM
Gondomar, Matosinhos
Q983483 Q841299
(Q36433,P47,c(Q13220204))
action filter_type
action find
entity Q36433
relation P47
type Q13220204
[ANSWERS] have a shared border with that administrative territory
['Q36433', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?x WHERE { resource:Q36433 property:P47 ?x . ?x rdf:type ontology:Q13220204 }
Gondomar Matosinhos
Gondomar and Matosinhos have a shared border with that administrative territory
Gondomar Matosinhos
action filter_type
action find
entity Porto
relation shares border with
type second-level administrative country subdivision
['Porto', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?x WHERE { resource:Porto property:shares_border_with ?x . ?x rdf:type ontology:second-level_administrative_country_subdivision }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q4777550 Q4681980
P54
Q1194951
USER
Which national sports teams are Adelino Teixeira and António Dias Teixeira a member of ?
AND((Q4681980,P54,c(Q1194951)), (Q4777550,P54,c(Q1194951)))
action filter_type
action intersection
action find
entity Q4681980
relation P54
action find
entity Q4777550
relation P54
type Q1194951
{'AND': [['Q4681980', 'P54', {'concept': 'Q1194951'}], ['Q4777550', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1194951 . resource:Q4777550 property:P54 ?g . resource:Q4681980 property:P54 ?g }
António Dias Teixeira Adelino Teixeira
action filter_type
action intersection
action find
entity Adelino Teixeira
relation member of sports team
action find
entity António Dias Teixeira
relation member of sports team
type national sports team
{'AND': [['Adelino Teixeira', 'member of sports team', {'concept': 'national sports team'}], ['António Dias Teixeira', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:national_sports_team . resource:António_Dias_Teixeira property:member_of_sports_team ?g . resource:Adelino_Teixeira property:member_of_sports_team ?g }
[]
national sports team
Q267245
SYSTEM
Portugal national football team
Q267245
AND((Q4681980,P54,c(Q1194951)), (Q4777550,P54,c(Q1194951)))
action filter_type
action intersection
action find
entity Q4681980
relation P54
action find
entity Q4777550
relation P54
type Q1194951
[ANSWER] is Adelino Teixeira and António Dias Teixeira a member of
{'AND': [['Q4681980', 'P54', {'concept': 'Q1194951'}], ['Q4777550', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1194951 . resource:Q4777550 property:P54 ?g . resource:Q4681980 property:P54 ?g }
Portugal national football team
Portugal national football team is Adelino Teixeira and António Dias Teixeira a member of
Portugal national football team
action filter_type
action intersection
action find
entity Adelino Teixeira
relation member of sports team
action find
entity António Dias Teixeira
relation member of sports team
type national sports team
{'AND': [['Adelino Teixeira', 'member of sports team', {'concept': 'national sports team'}], ['António Dias Teixeira', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:national_sports_team . resource:António_Dias_Teixeira property:member_of_sports_team ?g . resource:Adelino_Teixeira property:member_of_sports_team ?g }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q117436 Q267245
P1344
Q15275719
USER
Which recurring events did Portugal national football team but not Yoann Gourcuff participate in ?
AND((Q267245,P1344,c(Q15275719)), NOT((Q117436,P1344,c(Q15275719))))
action filter_type
action difference
action find
entity Q267245
relation P1344
action find
entity Q117436
relation P1344
type Q15275719
{'AND': [['Q267245', 'P1344', {'concept': 'Q15275719'}], {'NOT': [['Q117436', 'P1344', {'concept': 'Q15275719'}]]}]}
SELECT DISTINCT ?l WHERE { resource:Q267245 property:P1344 ?l . MINUS { resource:Q117436 property:P1344 ?l } . ?l rdf:type ontology:Q15275719 }
Yoann Gourcuff Portugal national football team
action filter_type
action difference
action find
entity Portugal national football team
relation participant of
action find
entity Yoann Gourcuff
relation participant of
type recurring event
{'AND': [['Portugal national football team', 'participant of', {'concept': 'recurring event'}], {'NOT': [['Yoann Gourcuff', 'participant of', {'concept': 'recurring event'}]]}]}
SELECT DISTINCT ?l WHERE { resource:Portugal_national_football_team property:participant_of ?l . MINUS { resource:Yoann_Gourcuff property:participant_of ?l } . ?l rdf:type ontology:recurring_event }
[]
recurring event
Q47735 Q37285 Q79859 Q134202 Q46938
SYSTEM
2002 FIFA World Cup, 2006 FIFA World Cup, 2014 FIFA World Cup, 1966 FIFA World Cup, 1986 FIFA World Cup
Q47735 Q37285 Q79859 Q134202 Q46938
AND((Q267245,P1344,c(Q15275719)), NOT((Q117436,P1344,c(Q15275719))))
action filter_type
action difference
action find
entity Q267245
relation P1344
action find
entity Q117436
relation P1344
type Q15275719
Portugal national football team but not Yoann Gourcuff participated in the [ANSWERS]
{'AND': [['Q267245', 'P1344', {'concept': 'Q15275719'}], {'NOT': [['Q117436', 'P1344', {'concept': 'Q15275719'}]]}]}
SELECT DISTINCT ?l WHERE { resource:Q267245 property:P1344 ?l . MINUS { resource:Q117436 property:P1344 ?l } . ?l rdf:type ontology:Q15275719 }
2002 FIFA World Cup 2006 FIFA World Cup 2014 FIFA World Cup 1966 FIFA World Cup 1986 FIFA World Cup
Portugal national football team but not Yoann Gourcuff participated in the 2002 FIFA World Cup, 2006 FIFA World Cup, 2014 FIFA World Cup, 1966 FIFA World Cup and 1986 FIFA World Cup
2002 FIFA World Cup 2006 FIFA World Cup 2014 FIFA World Cup 1966 FIFA World Cup 1986 FIFA World Cup
action filter_type
action difference
action find
entity Portugal national football team
relation participant of
action find
entity Yoann Gourcuff
relation participant of
type recurring event
{'AND': [['Portugal national football team', 'participant of', {'concept': 'recurring event'}], {'NOT': [['Yoann Gourcuff', 'participant of', {'concept': 'recurring event'}]]}]}
SELECT DISTINCT ?l WHERE { resource:Portugal_national_football_team property:participant_of ?l . MINUS { resource:Yoann_Gourcuff property:participant_of ?l } . ?l rdf:type ontology:recurring_event }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q22025523
P1344
Q1194951
USER
Did Spain at the 2015 UCI Road World Championships take part in those recurring events ?
(Q22025523,P1344,Q47735) (Q22025523,P1344,Q37285) (Q22025523,P1344,Q79859) (Q22025523,P1344,Q134202) (Q22025523,P1344,Q46938)
action is_in
entity prev_answer
action find
entity Q22025523
relation P1344
['Q22025523', 'P1344', 'Q47735'] ['Q22025523', 'P1344', 'Q37285'] ['Q22025523', 'P1344', 'Q79859'] ['Q22025523', 'P1344', 'Q134202'] ['Q22025523', 'P1344', 'Q46938']
ASK WHERE { VALUES ( ?r ) { ( resource:Q47735 ) ( resource:Q37285 ) ( resource:Q79859 ) } . resource:Q22025523 property:P1344 ?r }
Spain at the 2015 UCI Road World Championships
action is_in
entity prev_answer
action find
entity Spain at the 2015 UCI Road World Championships
relation participant of
['Spain at the 2015 UCI Road World Championships', 'participant of', '2002 FIFA World Cup'] ['Spain at the 2015 UCI Road World Championships', 'participant of', '2006 FIFA World Cup'] ['Spain at the 2015 UCI Road World Championships', 'participant of', '2014 FIFA World Cup'] ['Spain at the 2015 UCI Road World Championships', 'participant of', '1966 FIFA World Cup'] ['Spain at the 2015 UCI Road World Championships', 'participant of', '1986 FIFA World Cup']
ASK WHERE { VALUES ( ?r ) { ( resource:2002_FIFA_World_Cup ) ( resource:2006_FIFA_World_Cup ) ( resource:2014_FIFA_World_Cup ) } . resource:Spain_at_the_2015_UCI_Road_World_Championships property:participant_of ?r }
[]
national sports team
SYSTEM
NO
(Q22025523,P1344,Q47735) (Q22025523,P1344,Q37285) (Q22025523,P1344,Q79859) (Q22025523,P1344,Q134202) (Q22025523,P1344,Q46938)
action is_in
entity prev_answer
action find
entity Q22025523
relation P1344
[ANSWER]
['Q22025523', 'P1344', 'Q47735'] ['Q22025523', 'P1344', 'Q37285'] ['Q22025523', 'P1344', 'Q79859'] ['Q22025523', 'P1344', 'Q134202'] ['Q22025523', 'P1344', 'Q46938']
ASK WHERE { VALUES ( ?r ) { ( resource:Q47735 ) ( resource:Q37285 ) ( resource:Q79859 ) } . resource:Q22025523 property:P1344 ?r }
No
action is_in
entity prev_answer
action find
entity Spain at the 2015 UCI Road World Championships
relation participant of
['Spain at the 2015 UCI Road World Championships', 'participant of', '2002 FIFA World Cup'] ['Spain at the 2015 UCI Road World Championships', 'participant of', '2006 FIFA World Cup'] ['Spain at the 2015 UCI Road World Championships', 'participant of', '2014 FIFA World Cup'] ['Spain at the 2015 UCI Road World Championships', 'participant of', '1966 FIFA World Cup'] ['Spain at the 2015 UCI Road World Championships', 'participant of', '1986 FIFA World Cup']
ASK WHERE { VALUES ( ?r ) { ( resource:2002_FIFA_World_Cup ) ( resource:2006_FIFA_World_Cup ) ( resource:2014_FIFA_World_Cup ) } . resource:Spain_at_the_2015_UCI_Road_World_Championships property:participant_of ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q841299
P190
Q20667921
USER
Which french administrative division is sister town of Matosinhos ?
(Q841299,P190,c(Q20667921))
action filter_type
action find
entity Q841299
relation P190
type Q20667921
['Q841299', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { resource:Q841299 property:P190 ?r . ?r rdf:type ontology:Q20667921 }
Matosinhos
action filter_type
action find
entity Matosinhos
relation sister city
type type of french administrative division
['Matosinhos', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { resource:Matosinhos property:sister_city ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q205551
SYSTEM
Mérignac
Q205551
(Q841299,P190,c(Q20667921))
action filter_type
action find
entity Q841299
relation P190
type Q20667921
[ANSWER] is sister town of Matosinhos
['Q841299', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { resource:Q841299 property:P190 ?r . ?r rdf:type ontology:Q20667921 }
Mérignac
Mérignac is sister town of Matosinhos
Mérignac
action filter_type
action find
entity Matosinhos
relation sister city
type type of french administrative division
['Matosinhos', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { resource:Matosinhos property:sister_city ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q841299
P159
Q43229
USER
Which organization has HQ at Matosinhos ?
(c(Q43229),P159,Q841299)
action filter_type
action find_reverse
entity Q841299
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q841299']
SELECT DISTINCT ?g WHERE { ?g property:P159 resource:Q841299 . ?g rdf:type ontology:Q43229 }
Matosinhos
action filter_type
action find_reverse
entity Matosinhos
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Matosinhos']
SELECT DISTINCT ?g WHERE { ?g property:headquarters_location resource:Matosinhos . ?g rdf:type ontology:organization }
[]
organization
Q2995683
SYSTEM
Continente
Q2995683
(c(Q43229),P159,Q841299)
action filter_type
action find_reverse
entity Q841299
relation P159
type Q43229
[ANSWER] has HQ at Matosinhos
[{'concept': 'Q43229'}, 'P159', 'Q841299']
SELECT DISTINCT ?g WHERE { ?g property:P159 resource:Q841299 . ?g rdf:type ontology:Q43229 }
Continente
Continente has HQ at Matosinhos
Continente
action filter_type
action find_reverse
entity Matosinhos
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Matosinhos']
SELECT DISTINCT ?g WHERE { ?g property:headquarters_location resource:Matosinhos . ?g rdf:type ontology:organization }
[]