Simple Question (Direct)
Simple Question
Q7336524
P69
Q3914
USER
Which school is the alma mater of Rita Hauser ?
(Q7336524,P69,c(Q3914))
action filter_type
action find
entity Q7336524
relation P69
type Q3914
['Q7336524', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?m WHERE { resource:Q7336524 property:P69 ?m . ?m rdf:type ontology:Q3914 }
Rita Hauser
action filter_type
action find
entity Rita Hauser
relation educated at
type school
['Rita Hauser', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?m WHERE { resource:Rita_Hauser property:educated_at ?m . ?m rdf:type ontology:school }
[]
school
Q49122
SYSTEM
Harvard Law School
Q49122
(Q7336524,P69,c(Q3914))
action filter_type
action find
entity Q7336524
relation P69
type Q3914
[ANSWER] is the alma mater of Rita Hauser
['Q7336524', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?m WHERE { resource:Q7336524 property:P69 ?m . ?m rdf:type ontology:Q3914 }
Harvard Law School
Harvard Law School is the alma mater of Rita Hauser
Harvard Law School
action filter_type
action find
entity Rita Hauser
relation educated at
type school
['Rita Hauser', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?m WHERE { resource:Rita_Hauser property:educated_at ?m . ?m rdf:type ontology:school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49122
P108
Q502895
USER
Which people have that school as their employer ?
(c(Q502895),P108,Q49122)
action filter_type
action find_reverse
entity Q49122
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q49122']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P108 resource:Q49122 }
Harvard Law School
action filter_type
action find_reverse
entity Harvard Law School
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Harvard Law School']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:employer resource:Harvard_Law_School }
[]
common name
Q1247765 Q7183120 Q465477
SYSTEM
Annette Gordon-Reed, Philip Alston, Anne-Marie Slaughter
Q7183120 Q5967982 Q1247765 Q465477
(c(Q502895),P108,Q49122)
action filter_type
action find_reverse
entity Q49122
relation P108
type Q502895
[ANSWERS] have that school as their employer
[{'concept': 'Q502895'}, 'P108', 'Q49122']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P108 resource:Q49122 }
Philip Alston I. Glenn Cohen Annette Gordon-Reed Anne-Marie Slaughter
Annette Gordon-Reed, Philip Alston and Anne-Marie Slaughter have that school as their employer
Annette Gordon-Reed Philip Alston Anne-Marie Slaughter
action filter_type
action find_reverse
entity Harvard Law School
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Harvard Law School']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:employer resource:Harvard_Law_School }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1247765 Q7183120 Q465477
P21
Q290
USER
Which sexes do Annette Gordon-Reed, Philip Alston and Anne-Marie Slaughter possess ?
(Q1247765,P21,c(Q290)) (Q7183120,P21,c(Q290)) (Q465477,P21,c(Q290))
action union
action filter_type
action find
entity Q1247765
relation P21
type Q290
action filter_type
action find
entity Q7183120
relation P21
type Q290
action filter_type
action find
entity Q465477
relation P21
type Q290
['Q1247765', 'P21', {'concept': 'Q290'}] ['Q7183120', 'P21', {'concept': 'Q290'}] ['Q465477', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:Q290 . resource:Q1247765 property:P21 ?s } UNION { resource:Q7183120 property:P21 ?s . ?s rdf:type ontology:Q290 } }
Annette Gordon-Reed Philip Alston Anne-Marie Slaughter
action union
action filter_type
action find
entity Annette Gordon-Reed
relation gender
type sex
action filter_type
action find
entity Philip Alston
relation gender
type sex
action filter_type
action find
entity Anne-Marie Slaughter
relation gender
type sex
['Annette Gordon-Reed', 'gender', {'concept': 'sex'}] ['Philip Alston', 'gender', {'concept': 'sex'}] ['Anne-Marie Slaughter', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:sex . resource:Annette_Gordon-Reed property:gender ?s } UNION { resource:Philip_Alston property:gender ?s . ?s rdf:type ontology:sex } }
[]
sex
Q6581072 Q6581097 Q6581072
SYSTEM
male for 2nd, female for 1st, 3rd
Q6581072 Q6581097 Q6581072
(Q1247765,P21,c(Q290)) (Q7183120,P21,c(Q290)) (Q465477,P21,c(Q290))
action union
action filter_type
action find
entity Q1247765
relation P21
type Q290
action filter_type
action find
entity Q7183120
relation P21
type Q290
action filter_type
action find
entity Q465477
relation P21
type Q290
[ANSWERS]
['Q1247765', 'P21', {'concept': 'Q290'}] ['Q7183120', 'P21', {'concept': 'Q290'}] ['Q465477', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:Q290 . resource:Q1247765 property:P21 ?s } UNION { resource:Q7183120 property:P21 ?s . ?s rdf:type ontology:Q290 } }
female male female
Annette Gordon-Reed , Philip Alston and Anne-Marie Slaughter possess the female, male and female
female male female
action union
action filter_type
action find
entity Annette Gordon-Reed
relation gender
type sex
action filter_type
action find
entity Philip Alston
relation gender
type sex
action filter_type
action find
entity Anne-Marie Slaughter
relation gender
type sex
['Annette Gordon-Reed', 'gender', {'concept': 'sex'}] ['Philip Alston', 'gender', {'concept': 'sex'}] ['Anne-Marie Slaughter', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:sex . resource:Annette_Gordon-Reed property:gender ?s } UNION { resource:Philip_Alston property:gender ?s . ?s rdf:type ontology:sex } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6581072
P136
Q502895
USER
Which people have that sex as their type ?
(c(Q502895),P136,Q6581072)
action filter_type
action find_reverse
entity Q6581072
relation P136
type Q502895
[{'concept': 'Q502895'}, 'P136', 'Q6581072']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P136 resource:Q6581072 }
female
action filter_type
action find_reverse
entity female
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'female']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:genre resource:female }
[]
common name
Clarification for simple ques.
Q6581072
SYSTEM
Did you mean female ?
Q6581072 Q6581097 Q6581072
(c(Q502895),P136,Q6581072) (c(Q502895),P136,Q6581097) (c(Q502895),P136,Q6581072)
[ANSWER]
[{'concept': 'Q502895'}, 'P136', 'Q6581072'] [{'concept': 'Q502895'}, 'P136', 'Q6581097'] [{'concept': 'Q502895'}, 'P136', 'Q6581072']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P136 resource:Q6581072 }
female male female
Did you mean female ?
female
[{'concept': 'common name'}, 'genre', 'female'] [{'concept': 'common name'}, 'genre', 'male'] [{'concept': 'common name'}, 'genre', 'female']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:genre resource:female }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P136,Q6581072)
[{'concept': 'Q502895'}, 'P136', 'Q6581072']
[{'concept': 'common name'}, 'genre', 'female']
[]
Q19831537 Q23688633
SYSTEM
Luisa María Martí García, Eva Jospin
Q19831537 Q23688633
(c(Q502895),P136,Q6581072)
action filter_type
action find_reverse
entity Q6581072
relation P136
type Q502895
[ANSWERS] have that sex as their type
[{'concept': 'Q502895'}, 'P136', 'Q6581072']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P136 resource:Q6581072 }
Luisa María Martí García Eva Jospin
Luisa María Martí García and Eva Jospin have that sex as their type
Luisa María Martí García Eva Jospin
action filter_type
action find_reverse
entity female
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'female']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:genre resource:female }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q465477
P26
Q502895
USER
Which person has Anne-Marie Slaughter as spouse ?
(c(Q502895),P26,Q465477)
action filter_type
action find
entity Q465477
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q465477']
SELECT DISTINCT ?s WHERE { resource:Q465477 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Anne-Marie Slaughter
action filter_type
action find
entity Anne-Marie Slaughter
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Anne-Marie Slaughter']
SELECT DISTINCT ?s WHERE { resource:Anne-Marie_Slaughter property:spouse ?s . ?s rdf:type ontology:common_name }
[]
common name
Q506379
SYSTEM
Andrew Moravcsik
Q506379
(c(Q502895),P26,Q465477)
action filter_type
action find
entity Q465477
relation P26
type Q502895
[ANSWER] has Anne-Marie Slaughter as spouse
[{'concept': 'Q502895'}, 'P26', 'Q465477']
SELECT DISTINCT ?s WHERE { resource:Q465477 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Andrew Moravcsik
Andrew Moravcsik has Anne-Marie Slaughter as spouse
Andrew Moravcsik
action filter_type
action find
entity Anne-Marie Slaughter
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Anne-Marie Slaughter']
SELECT DISTINCT ?s WHERE { resource:Anne-Marie_Slaughter property:spouse ?s . ?s rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q506379 Q13371 Q5031462
P108
Q163740
USER
Does that person works for Harvard University and Cancerkin ?
(Q506379,P108,Q13371) (Q506379,P108,Q5031462)
action is_in
entity Q506379
action intersection
action find_reverse
entity Q13371
relation P108
action find_reverse
entity Q5031462
relation P108
['Q506379', 'P108', 'Q13371'] ['Q506379', 'P108', 'Q5031462']
ASK WHERE { resource:Q506379 property:P108 resource:Q13371 . resource:Q506379 property:P108 resource:Q5031462 }
Andrew Moravcsik Harvard University Cancerkin
action is_in
entity Andrew Moravcsik
action intersection
action find_reverse
entity Harvard University
relation employer
action find_reverse
entity Cancerkin
relation employer
['Andrew Moravcsik', 'employer', 'Harvard University'] ['Andrew Moravcsik', 'employer', 'Cancerkin']
ASK WHERE { resource:Andrew_Moravcsik property:employer resource:Harvard_University . resource:Andrew_Moravcsik property:employer resource:Cancerkin }
[]
nonprofit organization
SYSTEM
YES and NO respectively
(Q506379,P108,Q13371) (Q506379,P108,Q5031462)
action is_in
entity Q506379
action intersection
action find_reverse
entity Q13371
relation P108
action find_reverse
entity Q5031462
relation P108
[ANSWER]
['Q506379', 'P108', 'Q13371'] ['Q506379', 'P108', 'Q5031462']
ASK WHERE { resource:Q506379 property:P108 resource:Q13371 . resource:Q506379 property:P108 resource:Q5031462 }
YES and NO respectively
action is_in
entity Andrew Moravcsik
action intersection
action find_reverse
entity Harvard University
relation employer
action find_reverse
entity Cancerkin
relation employer
['Andrew Moravcsik', 'employer', 'Harvard University'] ['Andrew Moravcsik', 'employer', 'Cancerkin']
ASK WHERE { resource:Andrew_Moravcsik property:employer resource:Harvard_University . resource:Andrew_Moravcsik property:employer resource:Cancerkin }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q23688633 Q16465518
P19
Q56061
USER
Was Eva Jospin born at Naukaimis ?
(Q23688633,P19,Q16465518)
action is_in
entity Q16465518
action find
entity Q23688633
relation P19
['Q23688633', 'P19', 'Q16465518']
ASK WHERE { resource:Q23688633 property:P19 resource:Q16465518 }
Eva Jospin Naukaimis
action is_in
entity Naukaimis
action find
entity Eva Jospin
relation place of birth
['Eva Jospin', 'place of birth', 'Naukaimis']
ASK WHERE { resource:Eva_Jospin property:place_of_birth resource:Naukaimis }
[]
administrative territorial entity
SYSTEM
NO
(Q23688633,P19,Q16465518)
action is_in
entity Q16465518
action find
entity Q23688633
relation P19
[ANSWER]
['Q23688633', 'P19', 'Q16465518']
ASK WHERE { resource:Q23688633 property:P19 resource:Q16465518 }
No
action is_in
entity Naukaimis
action find
entity Eva Jospin
relation place of birth
['Eva Jospin', 'place of birth', 'Naukaimis']
ASK WHERE { resource:Eva_Jospin property:place_of_birth resource:Naukaimis }
[]