Simple Question (Direct)
Simple Question
Q1686103
P108
Q163740
USER
Which nonprofit organization is the employer of Samuel G. Freedman ?
(Q1686103,P108,c(Q163740))
action filter_type
action find
entity Q1686103
relation P108
type Q163740
['Q1686103', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?i WHERE { resource:Q1686103 property:P108 ?i . ?i rdf:type ontology:Q163740 }
Samuel G. Freedman
action filter_type
action find
entity Samuel G. Freedman
relation employer
type nonprofit organization
['Samuel G. Freedman', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?i WHERE { resource:Samuel_G._Freedman property:employer ?i . ?i rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49088
SYSTEM
Columbia University
Q49088
(Q1686103,P108,c(Q163740))
action filter_type
action find
entity Q1686103
relation P108
type Q163740
University [ANSWER] is the employer of Samuel G. Freedman
['Q1686103', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?i WHERE { resource:Q1686103 property:P108 ?i . ?i rdf:type ontology:Q163740 }
Columbia University
University Columbia University is the employer of Samuel G. Freedman
Columbia University
action filter_type
action find
entity Samuel G. Freedman
relation employer
type nonprofit organization
['Samuel G. Freedman', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?i WHERE { resource:Samuel_G._Freedman property:employer ?i . ?i rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1686103
P551
Q56061
USER
Where did Samuel G. Freedman live ?
(Q1686103,P551,c(Q56061))
action filter_type
action find
entity Q1686103
relation P551
type Q56061
['Q1686103', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q1686103 property:P551 ?n }
Samuel G. Freedman
action filter_type
action find
entity Samuel G. Freedman
relation residence
type administrative territorial entity
['Samuel G. Freedman', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Samuel_G._Freedman property:residence ?n }
[]
administrative territorial entity
Q570889
SYSTEM
Highland Park
Q570889
(Q1686103,P551,c(Q56061))
action filter_type
action find
entity Q1686103
relation P551
type Q56061
Samuel G. Freedman lived in [ANSWER]
['Q1686103', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q1686103 property:P551 ?n }
Highland Park
Samuel G. Freedman lived in Highland Park
Highland Park
action filter_type
action find
entity Samuel G. Freedman
relation residence
type administrative territorial entity
['Samuel G. Freedman', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Samuel_G._Freedman property:residence ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1686103
P69
Q159334
USER
Which secondary school was Samuel G. Freedman educated at ?
(Q1686103,P69,c(Q159334))
action filter_type
action find
entity Q1686103
relation P69
type Q159334
['Q1686103', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?k WHERE { resource:Q1686103 property:P69 ?k . ?k rdf:type ontology:Q159334 }
Samuel G. Freedman
action filter_type
action find
entity Samuel G. Freedman
relation educated at
type secondary school
['Samuel G. Freedman', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?k WHERE { resource:Samuel_G._Freedman property:educated_at ?k . ?k rdf:type ontology:secondary_school }
[]
secondary school
Q5758981
SYSTEM
Highland Park High School
Q5758981
(Q1686103,P69,c(Q159334))
action filter_type
action find
entity Q1686103
relation P69
type Q159334
The [ANSWER] was Samuel G. Freedman educated at
['Q1686103', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?k WHERE { resource:Q1686103 property:P69 ?k . ?k rdf:type ontology:Q159334 }
Highland Park High School
The Highland Park High School was Samuel G. Freedman educated at
Highland Park High School
action filter_type
action find
entity Samuel G. Freedman
relation educated at
type secondary school
['Samuel G. Freedman', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?k WHERE { resource:Samuel_G._Freedman property:educated_at ?k . ?k rdf:type ontology:secondary_school }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q458920
Q159334
USER
And also tell me about John Wrathall?
(Q458920,P69,c(Q159334))
action filter_type
action find
entity Q458920
relation P69
type Q159334
['Q458920', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?k WHERE { resource:Q458920 property:P69 ?k . ?k rdf:type ontology:Q159334 }
John Wrathall
action filter_type
action find
entity John Wrathall
relation educated at
type secondary school
['John Wrathall', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?k WHERE { resource:John_Wrathall property:educated_at ?k . ?k rdf:type ontology:secondary_school }
[]
secondary school
Q3166571
SYSTEM
Lancaster Royal Grammar School
Q3166571
(Q458920,P69,c(Q159334))
action filter_type
action find
entity Q458920
relation P69
type Q159334
[ANSWER]
['Q458920', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?k WHERE { resource:Q458920 property:P69 ?k . ?k rdf:type ontology:Q159334 }
Lancaster Royal Grammar School
Lancaster Royal Grammar School
action filter_type
action find
entity John Wrathall
relation educated at
type secondary school
['John Wrathall', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?k WHERE { resource:John_Wrathall property:educated_at ?k . ?k rdf:type ontology:secondary_school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q458920
P21
Q290
USER
Which sex does that person belong to ?
(Q3166571,P21,c(Q290))
action filter_type
action find
entity Q458920
relation P21
type Q290
['Q3166571', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q458920 property:P21 ?d . ?d rdf:type ontology:Q290 }
John Wrathall
action filter_type
action find
entity John Wrathall
relation gender
type sex
['Lancaster Royal Grammar School', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:John_Wrathall property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3166571,P21,c(Q290))
action filter_type
action find
entity Q458920
relation P21
type Q290
That person belongs to [ANSWER]
['Q3166571', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q458920 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity John Wrathall
relation gender
type sex
['Lancaster Royal Grammar School', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:John_Wrathall property:gender ?d . ?d rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1686103
P21 P7
Q502895
USER
Which people have Samuel G. Freedman as their brother and have the gender as male ?
AND((c(Q502895),P7,Q1686103), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1686103
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q1686103'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?r WHERE { ?r property:P7 resource:Q1686103 . ?r property:P21 resource:Q6581097 . ?r rdf:type ontology:Q502895 }
male Samuel G. Freedman
action filter_type
action intersection
action find_reverse
entity Samuel G. Freedman
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Samuel G. Freedman'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?r WHERE { ?r property:brother resource:Samuel_G._Freedman . ?r property:gender resource:male . ?r rdf:type ontology:common_name }
[]
common name
Q6387639
SYSTEM
Ken Freedman
Q6387639
AND((c(Q502895),P7,Q1686103), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1686103
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Samuel G. Freedman as their brother and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q1686103'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?r WHERE { ?r property:P7 resource:Q1686103 . ?r property:P21 resource:Q6581097 . ?r rdf:type ontology:Q502895 }
Ken Freedman
Ken Freedman have Samuel G. Freedman as their brother and have the gender as male
Ken Freedman
action filter_type
action intersection
action find_reverse
entity Samuel G. Freedman
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Samuel G. Freedman'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?r WHERE { ?r property:brother resource:Samuel_G._Freedman . ?r property:gender resource:male . ?r rdf:type ontology:common_name }
[]