Simple Question (Direct)
Simple Question
Q224650
P69
Q3914
USER
Which school is the alma mater of Sarah McLachlan ?
(Q224650,P69,c(Q3914))
action filter_type
action find
entity Q224650
relation P69
type Q3914
['Q224650', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?t WHERE { resource:Q224650 property:P69 ?t . ?t rdf:type ontology:Q3914 }
Sarah McLachlan
action filter_type
action find
entity Sarah McLachlan
relation educated at
type school
['Sarah McLachlan', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?t WHERE { resource:Sarah_McLachlan property:educated_at ?t . ?t rdf:type ontology:school }
[]
school
Q1131966
SYSTEM
NSCAD University
Q1131966
(Q224650,P69,c(Q3914))
action filter_type
action find
entity Q224650
relation P69
type Q3914
[ANSWER] is the alma mater of Sarah McLachlan
['Q224650', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?t WHERE { resource:Q224650 property:P69 ?t . ?t rdf:type ontology:Q3914 }
NSCAD University
NSCAD University is the alma mater of Sarah McLachlan
NSCAD University
action filter_type
action find
entity Sarah McLachlan
relation educated at
type school
['Sarah McLachlan', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?t WHERE { resource:Sarah_McLachlan property:educated_at ?t . ?t rdf:type ontology:school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1131966
P108
Q502895
USER
Who works for that school ?
(c(Q502895),P108,Q1131966)
action filter_type
action find_reverse
entity Q1131966
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q1131966']
SELECT DISTINCT ?b WHERE { ?b property:P108 resource:Q1131966 . ?b rdf:type ontology:Q502895 }
NSCAD University
action filter_type
action find_reverse
entity NSCAD University
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'NSCAD University']
SELECT DISTINCT ?b WHERE { ?b property:employer resource:NSCAD_University . ?b rdf:type ontology:common_name }
[]
common name
Q19557415
SYSTEM
Leya Evelyn
Q19557415
(c(Q502895),P108,Q1131966)
action filter_type
action find_reverse
entity Q1131966
relation P108
type Q502895
[ANSWER] works for that school
[{'concept': 'Q502895'}, 'P108', 'Q1131966']
SELECT DISTINCT ?b WHERE { ?b property:P108 resource:Q1131966 . ?b rdf:type ontology:Q502895 }
Leya Evelyn
Leya Evelyn works for that school
Leya Evelyn
action filter_type
action find_reverse
entity NSCAD University
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'NSCAD University']
SELECT DISTINCT ?b WHERE { ?b property:employer resource:NSCAD_University . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q224650
P86
Q2031291
USER
Which release is Sarah McLachlan a composer of ?
(c(Q2031291),P86,Q224650)
action filter_type
action find_reverse
entity Q224650
relation P86
type Q2031291
[{'concept': 'Q2031291'}, 'P86', 'Q224650']
SELECT DISTINCT ?k WHERE { ?k property:P86 resource:Q224650 . ?k rdf:type ontology:Q2031291 }
Sarah McLachlan
action filter_type
action find_reverse
entity Sarah McLachlan
relation composer
type release
[{'concept': 'release'}, 'composer', 'Sarah McLachlan']
SELECT DISTINCT ?k WHERE { ?k property:composer resource:Sarah_McLachlan . ?k rdf:type ontology:release }
[]
release
Q13581351
SYSTEM
Angel
Q13581351
(c(Q2031291),P86,Q224650)
action filter_type
action find_reverse
entity Q224650
relation P86
type Q2031291
Which release is Sarah McLachlan a composer of
[{'concept': 'Q2031291'}, 'P86', 'Q224650']
SELECT DISTINCT ?k WHERE { ?k property:P86 resource:Q224650 . ?k rdf:type ontology:Q2031291 }
Angel
Which release is Sarah McLachlan a composer of
Angel
action filter_type
action find_reverse
entity Sarah McLachlan
relation composer
type release
[{'concept': 'release'}, 'composer', 'Sarah McLachlan']
SELECT DISTINCT ?k WHERE { ?k property:composer resource:Sarah_McLachlan . ?k rdf:type ontology:release }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q224650
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q13581351,P19,c(Q56061))
action filter_type
action find
entity Q224650
relation P19
type Q56061
['Q13581351', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q224650 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Sarah McLachlan
action filter_type
action find
entity Sarah McLachlan
relation place of birth
type administrative territorial entity
['Angel', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Sarah_McLachlan property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2141
SYSTEM
Halifax
Q2141
(Q13581351,P19,c(Q56061))
action filter_type
action find
entity Q224650
relation P19
type Q56061
That person was born in [ANSWER]
['Q13581351', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q224650 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Halifax
That person was born in Halifax
Halifax
action filter_type
action find
entity Sarah McLachlan
relation place of birth
type administrative territorial entity
['Angel', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Sarah_McLachlan property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2141
P17
Q1048835
USER
How many political territories are Halifax present in ?
(Q2141,P17,c(Q1048835))
action count
action filter_type
action find
entity Q2141
relation P17
type Q1048835
['Q2141', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { resource:Q2141 property:P17 ?u . ?u rdf:type ontology:Q1048835 }
Halifax
action count
action filter_type
action find
entity Halifax
relation country
type political territorial entity
['Halifax', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { resource:Halifax property:country ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q16
(Q2141,P17,c(Q1048835))
action count
action filter_type
action find
entity Q2141
relation P17
type Q1048835
[ANSWER]
['Q2141', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { resource:Q2141 property:P17 ?u . ?u rdf:type ontology:Q1048835 }
Canada
1
action count
action filter_type
action find
entity Halifax
relation country
type political territorial entity
['Halifax', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { resource:Halifax property:country ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2395484
P403
Q355304
USER
Which watercourses have their drainage ending at Tate River ?
(c(Q355304),P403,Q2395484)
action filter_type
action find_reverse
entity Q2395484
relation P403
type Q355304
[{'concept': 'Q355304'}, 'P403', 'Q2395484']
SELECT DISTINCT ?w WHERE { ?w property:P403 resource:Q2395484 . ?w rdf:type ontology:Q355304 }
Tate River
action filter_type
action find_reverse
entity Tate River
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Tate River']
SELECT DISTINCT ?w WHERE { ?w property:mouth_of_the_watercourse resource:Tate_River . ?w rdf:type ontology:watercourse }
[]
watercourse
Q1404678 Q2221504
SYSTEM
Rocky Tate River, Sandy Tate River
Q1404678 Q2221504
(c(Q355304),P403,Q2395484)
action filter_type
action find_reverse
entity Q2395484
relation P403
type Q355304
Rivers [ANSWERS] have their drainage ending at Tate River
[{'concept': 'Q355304'}, 'P403', 'Q2395484']
SELECT DISTINCT ?w WHERE { ?w property:P403 resource:Q2395484 . ?w rdf:type ontology:Q355304 }
Rocky Tate River Sandy Tate River
Rivers Rocky Tate River and Sandy Tate River have their drainage ending at Tate River
Rocky Tate River Sandy Tate River
action filter_type
action find_reverse
entity Tate River
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Tate River']
SELECT DISTINCT ?w WHERE { ?w property:mouth_of_the_watercourse resource:Tate_River . ?w rdf:type ontology:watercourse }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1404678
P974
Q355304
USER
Which watercourse is that one a tributary of ?
(c(Q355304),P974,Q1404678)
action filter_type
action find_reverse
entity Q1404678
relation P974
type Q355304
[{'concept': 'Q355304'}, 'P974', 'Q1404678']
SELECT DISTINCT ?l WHERE { ?l property:P974 resource:Q1404678 . ?l rdf:type ontology:Q355304 }
Rocky Tate River
action filter_type
action find_reverse
entity Rocky Tate River
relation tributary
type watercourse
[{'concept': 'watercourse'}, 'tributary', 'Rocky Tate River']
SELECT DISTINCT ?l WHERE { ?l property:tributary resource:Rocky_Tate_River . ?l rdf:type ontology:watercourse }
[]
watercourse
Clarification for simple ques.
Q2221504
SYSTEM
Did you mean Sandy Tate River ?
Q1404678 Q2221504
(c(Q355304),P974,Q1404678) (c(Q355304),P974,Q2221504)
[ANSWER]
[{'concept': 'Q355304'}, 'P974', 'Q1404678'] [{'concept': 'Q355304'}, 'P974', 'Q2221504']
SELECT DISTINCT ?l WHERE { ?l property:P974 resource:Q1404678 . ?l rdf:type ontology:Q355304 }
Rocky Tate River Sandy Tate River
Did you mean Sandy Tate River ?
Sandy Tate River
[{'concept': 'watercourse'}, 'tributary', 'Rocky Tate River'] [{'concept': 'watercourse'}, 'tributary', 'Sandy Tate River']
SELECT DISTINCT ?l WHERE { ?l property:tributary resource:Rocky_Tate_River . ?l rdf:type ontology:watercourse }
[]
Simple Question (Coreferenced)
USER
No, I meant Rocky Tate River. Could you tell me the answer for that?
(c(Q355304),P974,Q1404678)
Q1404678
[{'concept': 'Q355304'}, 'P974', 'Q1404678']
[{'concept': 'watercourse'}, 'tributary', 'Rocky Tate River']
[]
Q2395484
SYSTEM
Tate River
Q2395484
(c(Q355304),P974,Q1404678)
action filter_type
action find_reverse
entity Q1404678
relation P974
type Q355304
Which watercourse is that one a tributary of
[{'concept': 'Q355304'}, 'P974', 'Q1404678']
SELECT DISTINCT ?l WHERE { ?l property:P974 resource:Q1404678 . ?l rdf:type ontology:Q355304 }
Tate River
Which watercourse is that one a tributary of
Tate River
action filter_type
action find_reverse
entity Rocky Tate River
relation tributary
type watercourse
[{'concept': 'watercourse'}, 'tributary', 'Rocky Tate River']
SELECT DISTINCT ?l WHERE { ?l property:tributary resource:Rocky_Tate_River . ?l rdf:type ontology:watercourse }
[]