Simple Question (Direct)
Simple Question
Q5415436
P19
Q56061
USER
Which administrative territory is the birthplace of Evan James ?
(Q5415436,P19,c(Q56061))
action filter_type
action find
entity Q5415436
relation P19
type Q56061
['Q5415436', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q5415436 property:P19 ?m }
Evan James
action filter_type
action find
entity Evan James
relation place of birth
type administrative territorial entity
['Evan James', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Evan_James property:place_of_birth ?m }
[]
administrative territorial entity
Q50816
SYSTEM
Mississauga
Q50816
(Q5415436,P19,c(Q56061))
action filter_type
action find
entity Q5415436
relation P19
type Q56061
[ANSWER] is the birthplace of Evan James
['Q5415436', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q5415436 property:P19 ?m }
Mississauga
Mississauga is the birthplace of Evan James
Mississauga
action filter_type
action find
entity Evan James
relation place of birth
type administrative territorial entity
['Evan James', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Evan_James property:place_of_birth ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5415436
P21
Q290
USER
Which sex does that person possess ?
(Q50816,P21,c(Q290))
action filter_type
action find
entity Q5415436
relation P21
type Q290
['Q50816', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q290 . resource:Q5415436 property:P21 ?t }
Evan James
action filter_type
action find
entity Evan James
relation gender
type sex
['Mississauga', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sex . resource:Evan_James property:gender ?t }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q50816,P21,c(Q290))
action filter_type
action find
entity Q5415436
relation P21
type Q290
That person possesses a [ANSWER]
['Q50816', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q290 . resource:Q5415436 property:P21 ?t }
male
That person possesses a male
male
action filter_type
action find
entity Evan James
relation gender
type sex
['Mississauga', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sex . resource:Evan_James property:gender ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5415436
P734
Q82799
USER
Who is associated with that person ?
(Q6581097,P734,c(Q82799))
action filter_type
action find
entity Q5415436
relation P734
type Q82799
['Q6581097', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q5415436 property:P734 ?s . ?s rdf:type ontology:Q82799 }
Evan James
action filter_type
action find
entity Evan James
relation family name
type name
['male', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Evan_James property:family_name ?s . ?s rdf:type ontology:name }
[]
name
Q12188082
SYSTEM
James
Q12188082
(Q6581097,P734,c(Q82799))
action filter_type
action find
entity Q5415436
relation P734
type Q82799
[ANSWER] is associated with that person
['Q6581097', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q5415436 property:P734 ?s . ?s rdf:type ontology:Q82799 }
James
James is associated with that person
James
action filter_type
action find
entity Evan James
relation family name
type name
['male', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Evan_James property:family_name ?s . ?s rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q5415436
P54
Q12973014 Q1194951
USER
How many sports teams or national sports teams are the team that Evan James are a member of ?
(Q5415436,P54,c(Q12973014)) (Q5415436,P54,c(Q1194951))
action count
action union
action filter_type
action find
entity Q5415436
relation P54
type Q12973014
action filter_type
action find
entity Q5415436
relation P54
type Q1194951
['Q5415436', 'P54', {'concept': 'Q12973014'}] ['Q5415436', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { ?l rdf:type ontology:Q12973014 . resource:Q5415436 property:P54 ?l } UNION { resource:Q5415436 property:P54 ?l . ?l rdf:type ontology:Q1194951 } }
Evan James
action count
action union
action filter_type
action find
entity Evan James
relation member of sports team
type sports team
action filter_type
action find
entity Evan James
relation member of sports team
type national sports team
['Evan James', 'member of sports team', {'concept': 'sports team'}] ['Evan James', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { ?l rdf:type ontology:sports_team . resource:Evan_James property:member_of_sports_team ?l } UNION { resource:Evan_James property:member_of_sports_team ?l . ?l rdf:type ontology:national_sports_team } }
[]
sports team national sports team
SYSTEM
2
Q208635 Q16842434
(Q5415436,P54,c(Q12973014)) (Q5415436,P54,c(Q1194951))
action count
action union
action filter_type
action find
entity Q5415436
relation P54
type Q12973014
action filter_type
action find
entity Q5415436
relation P54
type Q1194951
[ANSWER]
['Q5415436', 'P54', {'concept': 'Q12973014'}] ['Q5415436', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { ?l rdf:type ontology:Q12973014 . resource:Q5415436 property:P54 ?l } UNION { resource:Q5415436 property:P54 ?l . ?l rdf:type ontology:Q1194951 } }
Canada national soccer team K-W United FC
2
action count
action union
action filter_type
action find
entity Evan James
relation member of sports team
type sports team
action filter_type
action find
entity Evan James
relation member of sports team
type national sports team
['Evan James', 'member of sports team', {'concept': 'sports team'}] ['Evan James', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { ?l rdf:type ontology:sports_team . resource:Evan_James property:member_of_sports_team ?l } UNION { resource:Evan_James property:member_of_sports_team ?l . ?l rdf:type ontology:national_sports_team } }
[]