Simple Question (Direct)
Simple Question
Q2732700
P641
Q349
USER
What was the sport that Lucas Viatri was a part of ?
(Q2732700,P641,c(Q349))
action filter_type
action find
entity Q2732700
relation P641
type Q349
['Q2732700', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q2732700 property:P641 ?a . ?a rdf:type ontology:Q349 }
Lucas Viatri
action filter_type
action find
entity Lucas Viatri
relation sport
type sport
['Lucas Viatri', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Lucas_Viatri property:sport ?a . ?a rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2732700,P641,c(Q349))
action filter_type
action find
entity Q2732700
relation P641
type Q349
The sport that Lucas Viatri was a part of was the [ANSWER]
['Q2732700', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q2732700 property:P641 ?a . ?a rdf:type ontology:Q349 }
association football
The sport that Lucas Viatri was a part of was the association football
association football
action filter_type
action find
entity Lucas Viatri
relation sport
type sport
['Lucas Viatri', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Lucas_Viatri property:sport ?a . ?a rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2732700
P1412
Q34770
USER
Which language is spoken by that person ?
(Q2736,P1412,c(Q34770))
action filter_type
action find
entity Q2732700
relation P1412
type Q34770
['Q2736', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q2732700 property:P1412 ?h . ?h rdf:type ontology:Q34770 }
Lucas Viatri
action filter_type
action find
entity Lucas Viatri
relation languages spoken, written or signed
type language
['association football', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:Lucas_Viatri property:languages_spoken,_written_or_signed ?h . ?h rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q2736,P1412,c(Q34770))
action filter_type
action find
entity Q2732700
relation P1412
type Q34770
[ANSWER] is spoken by that person
['Q2736', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q2732700 property:P1412 ?h . ?h rdf:type ontology:Q34770 }
Spanish
Spanish is spoken by that person
Spanish
action filter_type
action find
entity Lucas Viatri
relation languages spoken, written or signed
type language
['association football', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:Lucas_Viatri property:languages_spoken,_written_or_signed ?h . ?h rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2732700
P106
Q12737077
USER
What is the profession of Lucas Viatri ?
(Q2732700,P106,c(Q12737077))
action filter_type
action find
entity Q2732700
relation P106
type Q12737077
['Q2732700', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q2732700 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Lucas Viatri
action filter_type
action find
entity Lucas Viatri
relation occupation
type occupation
['Lucas Viatri', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Lucas_Viatri property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2732700,P106,c(Q12737077))
action filter_type
action find
entity Q2732700
relation P106
type Q12737077
The profession of Lucas Viatri is an [ANSWER]
['Q2732700', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q2732700 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
association football player
The profession of Lucas Viatri is an association football player
association football player
action filter_type
action find
entity Lucas Viatri
relation occupation
type occupation
['Lucas Viatri', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Lucas_Viatri property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5303778
Q12737077
USER
And how about Doyle Vaca?
(Q5303778,P106,c(Q12737077))
action filter_type
action find
entity Q5303778
relation P106
type Q12737077
['Q5303778', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q5303778 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Doyle Vaca
action filter_type
action find
entity Doyle Vaca
relation occupation
type occupation
['Doyle Vaca', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Doyle_Vaca property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q5303778,P106,c(Q12737077))
action filter_type
action find
entity Q5303778
relation P106
type Q12737077
[ANSWERS]
['Q5303778', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q5303778 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
association football manager association football player
association football manager association football player
action filter_type
action find
entity Doyle Vaca
relation occupation
type occupation
['Doyle Vaca', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Doyle_Vaca property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1321
P364
Q874405 Q215380
USER
How many social groups or bands have Spanish as their original language of creation ?
(c(Q874405),P364,Q1321) (c(Q215380),P364,Q1321)
action count
action union
action filter_type
action find_reverse
entity Q1321
relation P364
type Q874405
action filter_type
action find_reverse
entity Q1321
relation P364
type Q215380
[{'concept': 'Q874405'}, 'P364', 'Q1321'] [{'concept': 'Q215380'}, 'P364', 'Q1321']
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { ?g rdf:type ontology:Q874405 . ?g property:P364 resource:Q1321 } UNION { ?g property:P364 resource:Q1321 . ?g rdf:type ontology:Q215380 } }
Spanish
action count
action union
action filter_type
action find_reverse
entity Spanish
relation original language of work
type social group
action filter_type
action find_reverse
entity Spanish
relation original language of work
type band
[{'concept': 'social group'}, 'original language of work', 'Spanish'] [{'concept': 'band'}, 'original language of work', 'Spanish']
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { ?g rdf:type ontology:social_group . ?g property:original_language_of_work resource:Spanish } UNION { ?g property:original_language_of_work resource:Spanish . ?g rdf:type ontology:band } }
[]
social group band
SYSTEM
2
Q3135099 Q2531088
(c(Q874405),P364,Q1321) (c(Q215380),P364,Q1321)
action count
action union
action filter_type
action find_reverse
entity Q1321
relation P364
type Q874405
action filter_type
action find_reverse
entity Q1321
relation P364
type Q215380
[ANSWER]
[{'concept': 'Q874405'}, 'P364', 'Q1321'] [{'concept': 'Q215380'}, 'P364', 'Q1321']
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { ?g rdf:type ontology:Q874405 . ?g property:P364 resource:Q1321 } UNION { ?g property:P364 resource:Q1321 . ?g rdf:type ontology:Q215380 } }
Heyoka United Nations Office for Project Services
2
action count
action union
action filter_type
action find_reverse
entity Spanish
relation original language of work
type social group
action filter_type
action find_reverse
entity Spanish
relation original language of work
type band
[{'concept': 'social group'}, 'original language of work', 'Spanish'] [{'concept': 'band'}, 'original language of work', 'Spanish']
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { ?g rdf:type ontology:social_group . ?g property:original_language_of_work resource:Spanish } UNION { ?g property:original_language_of_work resource:Spanish . ?g rdf:type ontology:band } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q616023 Q2732700
P54
Q1194951
USER
What are the team that Lucas Viatri and Silvio Marzolini are a member of ?
AND((Q2732700,P54,c(Q1194951)), (Q616023,P54,c(Q1194951)))
action filter_type
action intersection
action find
entity Q2732700
relation P54
action find
entity Q616023
relation P54
type Q1194951
{'AND': [['Q2732700', 'P54', {'concept': 'Q1194951'}], ['Q616023', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?f WHERE { resource:Q2732700 property:P54 ?f . resource:Q616023 property:P54 ?f . ?f rdf:type ontology:Q1194951 }
Silvio Marzolini Lucas Viatri
action filter_type
action intersection
action find
entity Lucas Viatri
relation member of sports team
action find
entity Silvio Marzolini
relation member of sports team
type national sports team
{'AND': [['Lucas Viatri', 'member of sports team', {'concept': 'national sports team'}], ['Silvio Marzolini', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?f WHERE { resource:Lucas_Viatri property:member_of_sports_team ?f . resource:Silvio_Marzolini property:member_of_sports_team ?f . ?f rdf:type ontology:national_sports_team }
[]
national sports team
Q79800
SYSTEM
Argentina national football team
Q79800
AND((Q2732700,P54,c(Q1194951)), (Q616023,P54,c(Q1194951)))
action filter_type
action intersection
action find
entity Q2732700
relation P54
action find
entity Q616023
relation P54
type Q1194951
The team that Lucas Viatri and Silvio Marzolini are a member of are the [ANSWER]
{'AND': [['Q2732700', 'P54', {'concept': 'Q1194951'}], ['Q616023', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?f WHERE { resource:Q2732700 property:P54 ?f . resource:Q616023 property:P54 ?f . ?f rdf:type ontology:Q1194951 }
Argentina national football team
The team that Lucas Viatri and Silvio Marzolini are a member of are the Argentina national football team
Argentina national football team
action filter_type
action intersection
action find
entity Lucas Viatri
relation member of sports team
action find
entity Silvio Marzolini
relation member of sports team
type national sports team
{'AND': [['Lucas Viatri', 'member of sports team', {'concept': 'national sports team'}], ['Silvio Marzolini', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?f WHERE { resource:Lucas_Viatri property:member_of_sports_team ?f . resource:Silvio_Marzolini property:member_of_sports_team ?f . ?f rdf:type ontology:national_sports_team }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q79800 Q414
P17
Q15617994
USER
Is that national sports team present in Argentina ?
(Q79800,P17,Q414)
action is_in
entity Q414
action find
entity Q79800
relation P17
['Q79800', 'P17', 'Q414']
ASK WHERE { resource:Q79800 property:P17 resource:Q414 }
Argentina national football team Argentina
action is_in
entity Argentina
action find
entity Argentina national football team
relation country
['Argentina national football team', 'country', 'Argentina']
ASK WHERE { resource:Argentina_national_football_team property:country resource:Argentina }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q79800,P17,Q414)
action is_in
entity Q414
action find
entity Q79800
relation P17
[ANSWER]
['Q79800', 'P17', 'Q414']
ASK WHERE { resource:Q79800 property:P17 resource:Q414 }
Yes
action is_in
entity Argentina
action find
entity Argentina national football team
relation country
['Argentina national football team', 'country', 'Argentina']
ASK WHERE { resource:Argentina_national_football_team property:country resource:Argentina }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2732700
P19
Q515
USER
Which city is the place of birth of Lucas Viatri ?
(Q2732700,P19,c(Q515))
action filter_type
action find
entity Q2732700
relation P19
type Q515
['Q2732700', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?v WHERE { resource:Q2732700 property:P19 ?v . ?v rdf:type ontology:Q515 }
Lucas Viatri
action filter_type
action find
entity Lucas Viatri
relation place of birth
type city
['Lucas Viatri', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?v WHERE { resource:Lucas_Viatri property:place_of_birth ?v . ?v rdf:type ontology:city }
[]
city
Q1486
SYSTEM
Buenos Aires
Q1486
(Q2732700,P19,c(Q515))
action filter_type
action find
entity Q2732700
relation P19
type Q515
[ANSWER] is the place of birth of Lucas Viatri
['Q2732700', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?v WHERE { resource:Q2732700 property:P19 ?v . ?v rdf:type ontology:Q515 }
Buenos Aires
Buenos Aires is the place of birth of Lucas Viatri
Buenos Aires
action filter_type
action find
entity Lucas Viatri
relation place of birth
type city
['Lucas Viatri', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?v WHERE { resource:Lucas_Viatri property:place_of_birth ?v . ?v rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1486
P6
Q502895
USER
Which person is the head of government of that city ?
(Q1486,P6,c(Q502895))
action filter_type
action find
entity Q1486
relation P6
type Q502895
['Q1486', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q1486 property:P6 ?a . ?a rdf:type ontology:Q502895 }
Buenos Aires
action filter_type
action find
entity Buenos Aires
relation head of government
type common name
['Buenos Aires', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Buenos_Aires property:head_of_government ?a . ?a rdf:type ontology:common_name }
[]
common name
Q2843714
SYSTEM
Horacio Rodríguez Larreta
Q2843714
(Q1486,P6,c(Q502895))
action filter_type
action find
entity Q1486
relation P6
type Q502895
[ANSWER] is the head of government of that city
['Q1486', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q1486 property:P6 ?a . ?a rdf:type ontology:Q502895 }
Horacio Rodríguez Larreta
Horacio Rodríguez Larreta is the head of government of that city
Horacio Rodríguez Larreta
action filter_type
action find
entity Buenos Aires
relation head of government
type common name
['Buenos Aires', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Buenos_Aires property:head_of_government ?a . ?a rdf:type ontology:common_name }
[]