Simple Question (Direct)
Simple Question
Q1566029
P69
Q163740
USER
Which nonprofit organizations are Clifford May an alumni of ?
(Q1566029,P69,c(Q163740))
action filter_type
action find
entity Q1566029
relation P69
type Q163740
['Q1566029', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?g WHERE { resource:Q1566029 property:P69 ?g . ?g rdf:type ontology:Q163740 }
Clifford May
action filter_type
action find
entity Clifford May
relation educated at
type nonprofit organization
['Clifford May', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?g WHERE { resource:Clifford_May property:educated_at ?g . ?g rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q1051840 Q49088
SYSTEM
Sarah Lawrence College, Columbia University
Q1051840 Q49088
(Q1566029,P69,c(Q163740))
action filter_type
action find
entity Q1566029
relation P69
type Q163740
[ANSWERS] are Clifford May an alumni of
['Q1566029', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?g WHERE { resource:Q1566029 property:P69 ?g . ?g rdf:type ontology:Q163740 }
Sarah Lawrence College Columbia University
Sarah Lawrence College and Columbia University are Clifford May an alumni of
Sarah Lawrence College Columbia University
action filter_type
action find
entity Clifford May
relation educated at
type nonprofit organization
['Clifford May', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?g WHERE { resource:Clifford_May property:educated_at ?g . ?g rdf:type ontology:nonprofit_organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1051840
P108
Q502895
USER
What are the name of people who works for that nonprofit organization ?
(c(Q502895),P108,Q1051840)
action filter_type
action find_reverse
entity Q1051840
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q1051840']
SELECT DISTINCT ?r WHERE { ?r property:P108 resource:Q1051840 . ?r rdf:type ontology:Q502895 }
Sarah Lawrence College
action filter_type
action find_reverse
entity Sarah Lawrence College
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Sarah Lawrence College']
SELECT DISTINCT ?r WHERE { ?r property:employer resource:Sarah_Lawrence_College . ?r rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q49088
SYSTEM
Did you mean Columbia University ?
Q1051840 Q49088
(c(Q502895),P108,Q1051840) (c(Q502895),P108,Q49088)
[ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q1051840'] [{'concept': 'Q502895'}, 'P108', 'Q49088']
SELECT DISTINCT ?r WHERE { ?r property:P108 resource:Q1051840 . ?r rdf:type ontology:Q502895 }
Sarah Lawrence College Columbia University
Did you mean Columbia University ?
Columbia University
[{'concept': 'common name'}, 'employer', 'Sarah Lawrence College'] [{'concept': 'common name'}, 'employer', 'Columbia University']
SELECT DISTINCT ?r WHERE { ?r property:employer resource:Sarah_Lawrence_College . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Sarah Lawrence College. Could you tell me the answer for that?
(c(Q502895),P108,Q1051840)
Q1051840
[{'concept': 'Q502895'}, 'P108', 'Q1051840']
[{'concept': 'common name'}, 'employer', 'Sarah Lawrence College']
[]
Q6189477 Q26155754 Q1601853
SYSTEM
Jewel Plummer Cobb, Adda Bruemmer Bozeman, Helen Lynd
Q4449615 Q6189477 Q26155754 Q22060866 Q1601853
(c(Q502895),P108,Q1051840)
action filter_type
action find_reverse
entity Q1051840
relation P108
type Q502895
The name of people works for that nonprofit organization are [ANSWERS]
[{'concept': 'Q502895'}, 'P108', 'Q1051840']
SELECT DISTINCT ?r WHERE { ?r property:P108 resource:Q1051840 . ?r rdf:type ontology:Q502895 }
Genevieve Taggard Jewel Plummer Cobb Adda Bruemmer Bozeman Kristopher Jansma Helen Lynd
The name of people works for that nonprofit organization are Jewel Plummer Cobb, Adda Bruemmer Bozeman and Helen Lynd
Jewel Plummer Cobb Adda Bruemmer Bozeman Helen Lynd
action filter_type
action find_reverse
entity Sarah Lawrence College
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Sarah Lawrence College']
SELECT DISTINCT ?r WHERE { ?r property:employer resource:Sarah_Lawrence_College . ?r rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q49088 Q23006304
P98
Q21114848
USER
How many magazine genres were edited by Columbia University or Grihl ?
(c(Q21114848),P98,Q49088) (c(Q21114848),P98,Q23006304)
action count
action union
action filter_type
action find_reverse
entity Q49088
relation P98
type Q21114848
action filter_type
action find_reverse
entity Q23006304
relation P98
type Q21114848
[{'concept': 'Q21114848'}, 'P98', 'Q49088'] [{'concept': 'Q21114848'}, 'P98', 'Q23006304']
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { ?k property:P98 ?n . VALUES ( ?n ) { ( resource:Q49088 ) ( resource:Q23006304 ) } }
Columbia University Grihl
action count
action union
action filter_type
action find_reverse
entity Columbia University
relation editor
type magazine genre
action filter_type
action find_reverse
entity Grihl
relation editor
type magazine genre
[{'concept': 'magazine genre'}, 'editor', 'Columbia University'] [{'concept': 'magazine genre'}, 'editor', 'Grihl']
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { ?k property:editor ?n . VALUES ( ?n ) { ( resource:Columbia_University ) ( resource:Grihl ) } }
[]
magazine genre
SYSTEM
2
Q23006303 Q1642306
(c(Q21114848),P98,Q49088) (c(Q21114848),P98,Q23006304)
action count
action union
action filter_type
action find_reverse
entity Q49088
relation P98
type Q21114848
action filter_type
action find_reverse
entity Q23006304
relation P98
type Q21114848
[ANSWER]
[{'concept': 'Q21114848'}, 'P98', 'Q49088'] [{'concept': 'Q21114848'}, 'P98', 'Q23006304']
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { ?k property:P98 ?n . VALUES ( ?n ) { ( resource:Q49088 ) ( resource:Q23006304 ) } }
Les Dossiers du Grihl The Journal of Philosophy
2
action count
action union
action filter_type
action find_reverse
entity Columbia University
relation editor
type magazine genre
action filter_type
action find_reverse
entity Grihl
relation editor
type magazine genre
[{'concept': 'magazine genre'}, 'editor', 'Columbia University'] [{'concept': 'magazine genre'}, 'editor', 'Grihl']
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { ?k property:editor ?n . VALUES ( ?n ) { ( resource:Columbia_University ) ( resource:Grihl ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can exactly 3 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?y ) WHERE { ?l property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?u } . FILTER ( ?y = 3 ) }
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?y ) WHERE { ?l property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?u } . FILTER ( ?y = 3 ) }
[]
musical instrument common name
SYSTEM
2
Q626035 Q726306
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?y ) WHERE { ?l property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?u } . FILTER ( ?y = 3 ) }
glockenspiel erhu
2
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?y ) WHERE { ?l property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?u } . FILTER ( ?y = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49088
P485
Q502895
USER
Which person has its archives located at Columbia University ?
(c(Q502895),P485,Q49088)
action filter_type
action find_reverse
entity Q49088
relation P485
type Q502895
[{'concept': 'Q502895'}, 'P485', 'Q49088']
SELECT DISTINCT ?r WHERE { ?r property:P485 resource:Q49088 . ?r rdf:type ontology:Q502895 }
Columbia University
action filter_type
action find_reverse
entity Columbia University
relation archives at
type common name
[{'concept': 'common name'}, 'archives at', 'Columbia University']
SELECT DISTINCT ?r WHERE { ?r property:archives_at resource:Columbia_University . ?r rdf:type ontology:common_name }
[]
common name
Q655922
SYSTEM
Frederick James Eugene Woodbridge
Q655922
(c(Q502895),P485,Q49088)
action filter_type
action find_reverse
entity Q49088
relation P485
type Q502895
The [ANSWER] has its archives located at Columbia University
[{'concept': 'Q502895'}, 'P485', 'Q49088']
SELECT DISTINCT ?r WHERE { ?r property:P485 resource:Q49088 . ?r rdf:type ontology:Q502895 }
Frederick James Eugene Woodbridge
The Frederick James Eugene Woodbridge has its archives located at Columbia University
Frederick James Eugene Woodbridge
action filter_type
action find_reverse
entity Columbia University
relation archives at
type common name
[{'concept': 'common name'}, 'archives at', 'Columbia University']
SELECT DISTINCT ?r WHERE { ?r property:archives_at resource:Columbia_University . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q655922
P22
Q502895
USER
Which person has that one as father ?
(c(Q502895),P22,Q655922)
action filter_type
action find_reverse
entity Q655922
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q655922']
SELECT DISTINCT ?y WHERE { ?y property:P22 resource:Q655922 . ?y rdf:type ontology:Q502895 }
Frederick James Eugene Woodbridge
action filter_type
action find_reverse
entity Frederick James Eugene Woodbridge
relation father
type common name
[{'concept': 'common name'}, 'father', 'Frederick James Eugene Woodbridge']
SELECT DISTINCT ?y WHERE { ?y property:father resource:Frederick_James_Eugene_Woodbridge . ?y rdf:type ontology:common_name }
[]
common name
Q5498143
SYSTEM
Frederick James Woodbridge
Q5498143
(c(Q502895),P22,Q655922)
action filter_type
action find_reverse
entity Q655922
relation P22
type Q502895
[ANSWER] has that one as father
[{'concept': 'Q502895'}, 'P22', 'Q655922']
SELECT DISTINCT ?y WHERE { ?y property:P22 resource:Q655922 . ?y rdf:type ontology:Q502895 }
Frederick James Woodbridge
Frederick James Woodbridge has that one as father
Frederick James Woodbridge
action filter_type
action find_reverse
entity Frederick James Eugene Woodbridge
relation father
type common name
[{'concept': 'common name'}, 'father', 'Frederick James Eugene Woodbridge']
SELECT DISTINCT ?y WHERE { ?y property:father resource:Frederick_James_Eugene_Woodbridge . ?y rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q655922
P21 P22
Q502895
USER
Which people have Frederick James Eugene Woodbridge as dad and have the gender as male ?
AND((c(Q502895),P22,Q655922), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q655922
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q655922'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?x WHERE { ?x property:P22 resource:Q655922 . ?x property:P21 resource:Q6581097 . ?x rdf:type ontology:Q502895 }
male Frederick James Eugene Woodbridge
action filter_type
action intersection
action find_reverse
entity Frederick James Eugene Woodbridge
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Frederick James Eugene Woodbridge'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?x WHERE { ?x property:father resource:Frederick_James_Eugene_Woodbridge . ?x property:gender resource:male . ?x rdf:type ontology:common_name }
[]
common name
Q5498143
SYSTEM
Frederick James Woodbridge
Q5498143
AND((c(Q502895),P22,Q655922), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q655922
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Frederick James Eugene Woodbridge as dad and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q655922'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?x WHERE { ?x property:P22 resource:Q655922 . ?x property:P21 resource:Q6581097 . ?x rdf:type ontology:Q502895 }
Frederick James Woodbridge
Frederick James Woodbridge have Frederick James Eugene Woodbridge as dad and have the gender as male
Frederick James Woodbridge
action filter_type
action intersection
action find_reverse
entity Frederick James Eugene Woodbridge
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Frederick James Eugene Woodbridge'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?x WHERE { ?x property:father resource:Frederick_James_Eugene_Woodbridge . ?x property:gender resource:male . ?x rdf:type ontology:common_name }
[]