Simple Question (Direct)
Simple Question
Q6137741
P21
Q290
USER
What is the sex of James Lamont ?
(Q6137741,P21,c(Q290))
action filter_type
action find
entity Q6137741
relation P21
type Q290
['Q6137741', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . resource:Q6137741 property:P21 ?c }
James Lamont
action filter_type
action find
entity James Lamont
relation gender
type sex
['James Lamont', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . resource:James_Lamont property:gender ?c }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6137741,P21,c(Q290))
action filter_type
action find
entity Q6137741
relation P21
type Q290
The sex of James Lamont is the [ANSWER]
['Q6137741', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . resource:Q6137741 property:P21 ?c }
male
The sex of James Lamont is the male
male
action filter_type
action find
entity James Lamont
relation gender
type sex
['James Lamont', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . resource:James_Lamont property:gender ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6137741
P19
Q15617994
USER
Where was James Lamont born ?
(Q6137741,P19,c(Q15617994))
action filter_type
action find
entity Q6137741
relation P19
type Q15617994
['Q6137741', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q6137741 property:P19 ?z . ?z rdf:type ontology:Q15617994 }
James Lamont
action filter_type
action find
entity James Lamont
relation place of birth
type designation for an administrative territorial entity
['James Lamont', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:James_Lamont property:place_of_birth ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q5179732
SYSTEM
Cowlairs
Q5179732
(Q6137741,P19,c(Q15617994))
action filter_type
action find
entity Q6137741
relation P19
type Q15617994
James Lamont was born in [ANSWER]
['Q6137741', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q6137741 property:P19 ?z . ?z rdf:type ontology:Q15617994 }
Cowlairs
James Lamont was born in Cowlairs
Cowlairs
action filter_type
action find
entity James Lamont
relation place of birth
type designation for an administrative territorial entity
['James Lamont', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:James_Lamont property:place_of_birth ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6137741
P641
Q349
USER
Which sport did that person participate in ?
(Q5179732,P641,c(Q349))
action filter_type
action find
entity Q6137741
relation P641
type Q349
['Q5179732', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q6137741 property:P641 ?o . ?o rdf:type ontology:Q349 }
James Lamont
action filter_type
action find
entity James Lamont
relation sport
type sport
['Cowlairs', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:James_Lamont property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5179732,P641,c(Q349))
action filter_type
action find
entity Q6137741
relation P641
type Q349
That person participated in [ANSWER]
['Q5179732', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q6137741 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity James Lamont
relation sport
type sport
['Cowlairs', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:James_Lamont property:sport ?o . ?o rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q1086037
P641
Q502895
USER
Does Christoph Vitali play that sport ?
(Q1086037,P641,Q2736)
action is_in
entity Q1086037
action find
entity Q2736
relation P641
['Q1086037', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q1086037 }
association football Christoph Vitali
action is_in
entity Christoph Vitali
action find
entity association football
relation sport
['Christoph Vitali', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Christoph_Vitali }
[]
common name
SYSTEM
NO
(Q1086037,P641,Q2736)
action is_in
entity Q1086037
action find
entity Q2736
relation P641
[ANSWER]
['Q1086037', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q1086037 }
No
action is_in
entity Christoph Vitali
action find
entity association football
relation sport
['Christoph Vitali', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Christoph_Vitali }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6137741
P106
Q12737077
USER
Which occupation has James Lamont as his/her 's career ?
(Q6137741,P106,c(Q12737077))
action filter_type
action find
entity Q6137741
relation P106
type Q12737077
['Q6137741', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q6137741 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
James Lamont
action filter_type
action find
entity James Lamont
relation occupation
type occupation
['James Lamont', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:James_Lamont property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6137741,P106,c(Q12737077))
action filter_type
action find
entity Q6137741
relation P106
type Q12737077
Player [ANSWER] has James Lamont as his/her 's career
['Q6137741', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q6137741 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
association football player
Player association football player has James Lamont as his/her 's career
association football player
action filter_type
action find
entity James Lamont
relation occupation
type occupation
['James Lamont', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:James_Lamont property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q937857 Q2736 Q383478
P425
Q349
USER
Does that occupation have association football and underwater rugby as thier field of occupation ?
(Q937857,P425,Q2736) (Q937857,P425,Q383478)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q2736
relation P425
action find_reverse
entity Q383478
relation P425
['Q937857', 'P425', 'Q2736'] ['Q937857', 'P425', 'Q383478']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 . resource:Q937857 property:P425 resource:Q383478 }
association football player association football underwater rugby
action is_in
entity association football player
action intersection
action find_reverse
entity association football
relation field of this occupation
action find_reverse
entity underwater rugby
relation field of this occupation
['association football player', 'field of this occupation', 'association football'] ['association football player', 'field of this occupation', 'underwater rugby']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football . resource:association_football_player property:field_of_this_occupation resource:underwater_rugby }
[]
sport
SYSTEM
YES and NO respectively
(Q937857,P425,Q2736) (Q937857,P425,Q383478)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q2736
relation P425
action find_reverse
entity Q383478
relation P425
[ANSWER]
['Q937857', 'P425', 'Q2736'] ['Q937857', 'P425', 'Q383478']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 . resource:Q937857 property:P425 resource:Q383478 }
YES and NO respectively
action is_in
entity association football player
action intersection
action find_reverse
entity association football
relation field of this occupation
action find_reverse
entity underwater rugby
relation field of this occupation
['association football player', 'field of this occupation', 'association football'] ['association football player', 'field of this occupation', 'underwater rugby']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football . resource:association_football_player property:field_of_this_occupation resource:underwater_rugby }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5179732
P17
Q15617994
USER
Which administrative territory is Cowlairs situated in ?
(Q5179732,P17,c(Q15617994))
action filter_type
action find
entity Q5179732
relation P17
type Q15617994
['Q5179732', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q5179732 property:P17 ?c }
Cowlairs
action filter_type
action find
entity Cowlairs
relation country
type designation for an administrative territorial entity
['Cowlairs', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Cowlairs property:country ?c }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q5179732,P17,c(Q15617994))
action filter_type
action find
entity Q5179732
relation P17
type Q15617994
Cowlairs is situated in [ANSWER]
['Q5179732', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q5179732 property:P17 ?c }
United Kingdom
Cowlairs is situated in United Kingdom
United Kingdom
action filter_type
action find
entity Cowlairs
relation country
type designation for an administrative territorial entity
['Cowlairs', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Cowlairs property:country ?c }
[]