Simple Question (Direct)
Simple Question
Q1317929
P641
Q349
USER
What was the sport that Giampiero Bartoli was a part of ?
(Q1317929,P641,c(Q349))
action filter_type
action find
entity Q1317929
relation P641
type Q349
['Q1317929', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q1317929 property:P641 ?i . ?i rdf:type ontology:Q349 }
Giampiero Bartoli
action filter_type
action find
entity Giampiero Bartoli
relation sport
type sport
['Giampiero Bartoli', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Giampiero_Bartoli property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1317929,P641,c(Q349))
action filter_type
action find
entity Q1317929
relation P641
type Q349
The sport that Giampiero Bartoli was a part of was the [ANSWER]
['Q1317929', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q1317929 property:P641 ?i . ?i rdf:type ontology:Q349 }
association football
The sport that Giampiero Bartoli was a part of was the association football
association football
action filter_type
action find
entity Giampiero Bartoli
relation sport
type sport
['Giampiero Bartoli', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Giampiero_Bartoli property:sport ?i . ?i rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1317929
P21
Q290
USER
Which sex does Giampiero Bartoli have ?
(Q1317929,P21,c(Q290))
action filter_type
action find
entity Q1317929
relation P21
type Q290
['Q1317929', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q1317929 property:P21 ?i . ?i rdf:type ontology:Q290 }
Giampiero Bartoli
action filter_type
action find
entity Giampiero Bartoli
relation gender
type sex
['Giampiero Bartoli', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Giampiero_Bartoli property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1317929,P21,c(Q290))
action filter_type
action find
entity Q1317929
relation P21
type Q290
Giampiero Bartoli has a [ANSWER]
['Q1317929', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q1317929 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
Giampiero Bartoli has a male
male
action filter_type
action find
entity Giampiero Bartoli
relation gender
type sex
['Giampiero Bartoli', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Giampiero_Bartoli property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1317929
P106
Q12737077
USER
What does Giampiero Bartoli do for a living ?
(Q1317929,P106,c(Q12737077))
action filter_type
action find
entity Q1317929
relation P106
type Q12737077
['Q1317929', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q1317929 property:P106 ?f }
Giampiero Bartoli
action filter_type
action find
entity Giampiero Bartoli
relation occupation
type occupation
['Giampiero Bartoli', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Giampiero_Bartoli property:occupation ?f }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1317929,P106,c(Q12737077))
action filter_type
action find
entity Q1317929
relation P106
type Q12737077
Giampiero Bartoli does for a living as [ANSWER]
['Q1317929', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q1317929 property:P106 ?f }
association football player
Giampiero Bartoli does for a living as association football player
association football player
action filter_type
action find
entity Giampiero Bartoli
relation occupation
type occupation
['Giampiero Bartoli', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Giampiero_Bartoli property:occupation ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P101
Q502895
USER
Which person has specialisation in that occupation ?
(c(Q502895),P101,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q937857']
SELECT DISTINCT ?b WHERE { ?b property:P101 resource:Q937857 . ?b rdf:type ontology:Q502895 }
association football player
action filter_type
action find_reverse
entity association football player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'association football player']
SELECT DISTINCT ?b WHERE { ?b property:field_of_work resource:association_football_player . ?b rdf:type ontology:common_name }
[]
common name
Q2089026
SYSTEM
Akaki Devadze
Q2089026
(c(Q502895),P101,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P101
type Q502895
[ANSWER] has specialisation in that occupation
[{'concept': 'Q502895'}, 'P101', 'Q937857']
SELECT DISTINCT ?b WHERE { ?b property:P101 resource:Q937857 . ?b rdf:type ontology:Q502895 }
Akaki Devadze
Akaki Devadze has specialisation in that occupation
Akaki Devadze
action filter_type
action find_reverse
entity association football player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'association football player']
SELECT DISTINCT ?b WHERE { ?b property:field_of_work resource:association_football_player . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2089026
P54
Q1194951
USER
What is that person a member of ?
(Q2089026,P54,c(Q1194951))
action filter_type
action find
entity Q2089026
relation P54
type Q1194951
['Q2089026', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { resource:Q2089026 property:P54 ?e . ?e rdf:type ontology:Q1194951 }
Akaki Devadze
action filter_type
action find
entity Akaki Devadze
relation member of sports team
type national sports team
['Akaki Devadze', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { resource:Akaki_Devadze property:member_of_sports_team ?e . ?e rdf:type ontology:national_sports_team }
[]
national sports team
Q186268
SYSTEM
Georgia national football team
Q186268
(Q2089026,P54,c(Q1194951))
action filter_type
action find
entity Q2089026
relation P54
type Q1194951
That person a member of is the [ANSWER]
['Q2089026', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { resource:Q2089026 property:P54 ?e . ?e rdf:type ontology:Q1194951 }
Georgia national football team
That person a member of is the Georgia national football team
Georgia national football team
action filter_type
action find
entity Akaki Devadze
relation member of sports team
type national sports team
['Akaki Devadze', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { resource:Akaki_Devadze property:member_of_sports_team ?e . ?e rdf:type ontology:national_sports_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2089026 Q4931648
P54
Q12973014
USER
How many sports teams have Akaki Devadze or Bob Allen as their member ?
(Q2089026,P54,c(Q12973014)) (Q4931648,P54,c(Q12973014))
action count
action union
action filter_type
action find
entity Q2089026
relation P54
type Q12973014
action filter_type
action find
entity Q4931648
relation P54
type Q12973014
['Q2089026', 'P54', {'concept': 'Q12973014'}] ['Q4931648', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { resource:Q2089026 property:P54 ?o . ?o rdf:type ontology:Q12973014 } UNION { resource:Q4931648 property:P54 ?o . ?o rdf:type ontology:Q12973014 } }
Akaki Devadze Bob Allen
action count
action union
action filter_type
action find
entity Akaki Devadze
relation member of sports team
type sports team
action filter_type
action find
entity Bob Allen
relation member of sports team
type sports team
['Akaki Devadze', 'member of sports team', {'concept': 'sports team'}] ['Bob Allen', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { resource:Akaki_Devadze property:member_of_sports_team ?o . ?o rdf:type ontology:sports_team } UNION { resource:Bob_Allen property:member_of_sports_team ?o . ?o rdf:type ontology:sports_team } }
[]
sports team
SYSTEM
3
Q650840 Q6868005 Q826751
(Q2089026,P54,c(Q12973014)) (Q4931648,P54,c(Q12973014))
action count
action union
action filter_type
action find
entity Q2089026
relation P54
type Q12973014
action filter_type
action find
entity Q4931648
relation P54
type Q12973014
[ANSWER]
['Q2089026', 'P54', {'concept': 'Q12973014'}] ['Q4931648', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { resource:Q2089026 property:P54 ?o . ?o rdf:type ontology:Q12973014 } UNION { resource:Q4931648 property:P54 ?o . ?o rdf:type ontology:Q12973014 } }
Philadelphia Phillies Minneapolis Millers Cincinnati Reds
3
action count
action union
action filter_type
action find
entity Akaki Devadze
relation member of sports team
type sports team
action filter_type
action find
entity Bob Allen
relation member of sports team
type sports team
['Akaki Devadze', 'member of sports team', {'concept': 'sports team'}] ['Bob Allen', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { resource:Akaki_Devadze property:member_of_sports_team ?o . ?o rdf:type ontology:sports_team } UNION { resource:Bob_Allen property:member_of_sports_team ?o . ?o rdf:type ontology:sports_team } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q937857
P425
Q349
USER
Which sport is associated with the field of occupation association football player ?
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q937857 property:P425 ?x . ?x rdf:type ontology:Q349 }
association football player
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:association_football_player property:field_of_this_occupation ?x . ?x rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
As [ANSWER] is associated with the field of occupation [ANSWER] player
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q937857 property:P425 ?x . ?x rdf:type ontology:Q349 }
association football
As association football is associated with the field of occupation association football player
association football
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:association_football_player property:field_of_this_occupation ?x . ?x rdf:type ontology:sport }
[]