Simple Question (Direct)
Simple Question
Q1383137
P69
Q163740
USER
What are the nonprofit organizations where William E. Miller were educated ?
(Q1383137,P69,c(Q163740))
action filter_type
action find
entity Q1383137
relation P69
type Q163740
['Q1383137', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?p WHERE { resource:Q1383137 property:P69 ?p . ?p rdf:type ontology:Q163740 }
William E. Miller
action filter_type
action find
entity William E. Miller
relation educated at
type nonprofit organization
['William E. Miller', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?p WHERE { resource:William_E._Miller property:educated_at ?p . ?p rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q4709336 Q178848
SYSTEM
Albany Law School, University of Notre Dame
Q4709336 Q178848
(Q1383137,P69,c(Q163740))
action filter_type
action find
entity Q1383137
relation P69
type Q163740
The nonprofit organizations William E. Miller were educated are at [ANSWERS]
['Q1383137', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?p WHERE { resource:Q1383137 property:P69 ?p . ?p rdf:type ontology:Q163740 }
Albany Law School University of Notre Dame
The nonprofit organizations William E. Miller were educated are at Albany Law School and University of Notre Dame
Albany Law School University of Notre Dame
action filter_type
action find
entity William E. Miller
relation educated at
type nonprofit organization
['William E. Miller', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?p WHERE { resource:William_E._Miller property:educated_at ?p . ?p rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q178848
P140
Q879146
USER
What is the religion associated with University of Notre Dame ?
(Q178848,P140,c(Q879146))
action filter_type
action find
entity Q178848
relation P140
type Q879146
['Q178848', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?a WHERE { resource:Q178848 property:P140 ?a . ?a rdf:type ontology:Q879146 }
University of Notre Dame
action filter_type
action find
entity University of Notre Dame
relation religion
type Christian denomination
['University of Notre Dame', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?a WHERE { resource:University_of_Notre_Dame property:religion ?a . ?a rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q178848,P140,c(Q879146))
action filter_type
action find
entity Q178848
relation P140
type Q879146
The religion associated with University of Notre Dame is a [ANSWER]
['Q178848', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?a WHERE { resource:Q178848 property:P140 ?a . ?a rdf:type ontology:Q879146 }
Roman Catholic Church
The religion associated with University of Notre Dame is a Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity University of Notre Dame
relation religion
type Christian denomination
['University of Notre Dame', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?a WHERE { resource:University_of_Notre_Dame property:religion ?a . ?a rdf:type ontology:Christian_denomination }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q178848
P112
Q502895
USER
What is the name of the founder of University of Notre Dame ?
(Q178848,P112,c(Q502895))
action filter_type
action find
entity Q178848
relation P112
type Q502895
['Q178848', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q178848 property:P112 ?v . ?v rdf:type ontology:Q502895 }
University of Notre Dame
action filter_type
action find
entity University of Notre Dame
relation founder
type common name
['University of Notre Dame', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:University_of_Notre_Dame property:founder ?v . ?v rdf:type ontology:common_name }
[]
common name
Q2281954
SYSTEM
Edward Sorin
Q2281954
(Q178848,P112,c(Q502895))
action filter_type
action find
entity Q178848
relation P112
type Q502895
The name of the founder of University of Notre Dame is the [ANSWER]
['Q178848', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q178848 property:P112 ?v . ?v rdf:type ontology:Q502895 }
Edward Sorin
The name of the founder of University of Notre Dame is the Edward Sorin
Edward Sorin
action filter_type
action find
entity University of Notre Dame
relation founder
type common name
['University of Notre Dame', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:University_of_Notre_Dame property:founder ?v . ?v rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2281954 Q5592939 Q17632
P27
Q15617994
USER
Is that person a native of Graham Independent School District and Paderna ?
(Q2281954,P27,Q5592939) (Q2281954,P27,Q17632)
action is_in
entity Q2281954
action intersection
action find_reverse
entity Q5592939
relation P27
action find_reverse
entity Q17632
relation P27
['Q2281954', 'P27', 'Q5592939'] ['Q2281954', 'P27', 'Q17632']
ASK WHERE { resource:Q2281954 property:P27 resource:Q5592939 . resource:Q2281954 property:P27 resource:Q17632 }
Edward Sorin Graham Independent School District Paderna
action is_in
entity Edward Sorin
action intersection
action find_reverse
entity Graham Independent School District
relation country of citizenship
action find_reverse
entity Paderna
relation country of citizenship
['Edward Sorin', 'country of citizenship', 'Graham Independent School District'] ['Edward Sorin', 'country of citizenship', 'Paderna']
ASK WHERE { resource:Edward_Sorin property:country_of_citizenship resource:Graham_Independent_School_District . resource:Edward_Sorin property:country_of_citizenship resource:Paderna }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2281954,P27,Q5592939) (Q2281954,P27,Q17632)
action is_in
entity Q2281954
action intersection
action find_reverse
entity Q5592939
relation P27
action find_reverse
entity Q17632
relation P27
[ANSWER]
['Q2281954', 'P27', 'Q5592939'] ['Q2281954', 'P27', 'Q17632']
ASK WHERE { resource:Q2281954 property:P27 resource:Q5592939 . resource:Q2281954 property:P27 resource:Q17632 }
No
action is_in
entity Edward Sorin
action intersection
action find_reverse
entity Graham Independent School District
relation country of citizenship
action find_reverse
entity Paderna
relation country of citizenship
['Edward Sorin', 'country of citizenship', 'Graham Independent School District'] ['Edward Sorin', 'country of citizenship', 'Paderna']
ASK WHERE { resource:Edward_Sorin property:country_of_citizenship resource:Graham_Independent_School_District . resource:Edward_Sorin property:country_of_citizenship resource:Paderna }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2281954
P509
Q2057971
USER
What was the cause of death of that person ?
action filter_type
action find
entity Q2281954
relation P509
type Q2057971
SELECT DISTINCT ?e WHERE { resource:Q2281954 property:P509 ?e . ?e rdf:type ontology:Q2057971 }
Edward Sorin
action filter_type
action find
entity Edward Sorin
relation cause of death
type health problem
SELECT DISTINCT ?e WHERE { resource:Edward_Sorin property:cause_of_death ?e . ?e rdf:type ontology:health_problem }
[]
health problem
Q401402
SYSTEM
nephritis
Q401402
action filter_type
action find
entity Q2281954
relation P509
type Q2057971
The cause of death of that person was the [ANSWER]
SELECT DISTINCT ?e WHERE { resource:Q2281954 property:P509 ?e . ?e rdf:type ontology:Q2057971 }
nephritis
The cause of death of that person was the nephritis
nephritis
action filter_type
action find
entity Edward Sorin
relation cause of death
type health problem
SELECT DISTINCT ?e WHERE { resource:Edward_Sorin property:cause_of_death ?e . ?e rdf:type ontology:health_problem }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q540782
P361
Q879146 Q12737077 Q44539
USER
Which Christian denominations are less number of occupations or temples a part of than Anglican Church of Canada ?
(c(Q12737077)|c(Q44539),P361,c(Q879146))
action less
action union
action find_reverse_tuple_counts
relation P361
type Q879146
type Q12737077
action find_reverse_tuple_counts
relation P361
type Q879146
type Q44539
action count
action filter_multi_types
action find_reverse
entity Q540782
relation P361
type Q12737077
type Q44539
[[{'concept': 'Q12737077'}, {'concept': 'Q44539'}], 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { ?r property:P361 resource:Q540782 . { { ?r rdf:type ontology:Q44539 } UNION { ?r rdf:type ontology:Q12737077 } } } } . FILTER ( ?d < ?y ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) ?s WHERE { { ?o property:P361 ?s . ?s rdf:type ontology:Q879146 . ?o rdf:type ontology:Q12737077 } UNION { ?o property:P361 ?s . ?s rdf:type ontology:Q879146 . ?o rdf:type ontology:Q44539 } } GROUP BY ?s } }
Anglican Church of Canada
action less
action union
action find_reverse_tuple_counts
relation part of
type Christian denomination
type occupation
action find_reverse_tuple_counts
relation part of
type Christian denomination
type temple
action count
action filter_multi_types
action find_reverse
entity Anglican Church of Canada
relation part of
type occupation
type temple
[[{'concept': 'occupation'}, {'concept': 'temple'}], 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { ?r property:part_of resource:Anglican_Church_of_Canada . { { ?r rdf:type ontology:temple } UNION { ?r rdf:type ontology:occupation } } } } . FILTER ( ?d < ?y ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) ?s WHERE { { ?o property:part_of ?s . ?s rdf:type ontology:Christian_denomination . ?o rdf:type ontology:occupation } UNION { ?o property:part_of ?s . ?s rdf:type ontology:Christian_denomination . ?o rdf:type ontology:temple } } GROUP BY ?s } }
[]
Christian denomination occupation temple
Q752470 Q1379849 Q682443
SYSTEM
Finnish Orthodox Church, Evangelical Lutheran Church of Finland, Episcopal Church
Q682443 Q666860 Q752470 Q346575 Q749243 Q922480 Q170111 Q1379849
(c(Q12737077)|c(Q44539),P361,c(Q879146))
action less
action union
action find_reverse_tuple_counts
relation P361
type Q879146
type Q12737077
action find_reverse_tuple_counts
relation P361
type Q879146
type Q44539
action count
action filter_multi_types
action find_reverse
entity Q540782
relation P361
type Q12737077
type Q44539
[ANSWERS] are less number of occupations or temples a part of than Anglican Church of Canada
[[{'concept': 'Q12737077'}, {'concept': 'Q44539'}], 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { ?r property:P361 resource:Q540782 . { { ?r rdf:type ontology:Q44539 } UNION { ?r rdf:type ontology:Q12737077 } } } } . FILTER ( ?d < ?y ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) ?s WHERE { { ?o property:P361 ?s . ?s rdf:type ontology:Q879146 . ?o rdf:type ontology:Q12737077 } UNION { ?o property:P361 ?s . ?s rdf:type ontology:Q879146 . ?o rdf:type ontology:Q44539 } } GROUP BY ?s } }
Episcopal Church Church of Norway Finnish Orthodox Church Evangelical Church Church of Sweden Church of Scotland Evangelical Church in Germany Evangelical Lutheran Church of Finland
Finnish Orthodox Church, Evangelical Lutheran Church of Finland and Episcopal Church are less number of occupations or temples a part of than Anglican Church of Canada
Finnish Orthodox Church Evangelical Lutheran Church of Finland Episcopal Church
action less
action union
action find_reverse_tuple_counts
relation part of
type Christian denomination
type occupation
action find_reverse_tuple_counts
relation part of
type Christian denomination
type temple
action count
action filter_multi_types
action find_reverse
entity Anglican Church of Canada
relation part of
type occupation
type temple
[[{'concept': 'occupation'}, {'concept': 'temple'}], 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { ?r property:part_of resource:Anglican_Church_of_Canada . { { ?r rdf:type ontology:temple } UNION { ?r rdf:type ontology:occupation } } } } . FILTER ( ?d < ?y ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) ?s WHERE { { ?o property:part_of ?s . ?s rdf:type ontology:Christian_denomination . ?o rdf:type ontology:occupation } UNION { ?o property:part_of ?s . ?s rdf:type ontology:Christian_denomination . ?o rdf:type ontology:temple } } GROUP BY ?s } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q82708
P361
Q879146 Q12737077 Q44539
USER
And what about Church of England?
(c(Q12737077)|c(Q44539),P361,c(Q879146))
action less
action union
action find_reverse_tuple_counts
relation P361
type Q879146
type Q12737077
action find_reverse_tuple_counts
relation P361
type Q879146
type Q44539
action count
action filter_multi_types
action find_reverse
entity Q82708
relation P361
type Q12737077
type Q44539
[[{'concept': 'Q12737077'}, {'concept': 'Q44539'}], 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?o WHERE { { ?p property:P361 ?o . ?o rdf:type ontology:Q879146 . ?p rdf:type ontology:Q12737077 } UNION { ?p property:P361 ?o . ?o rdf:type ontology:Q879146 . ?p rdf:type ontology:Q44539 } } GROUP BY ?o } . FILTER ( ?c < ?u ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { ?q property:P361 resource:Q82708 . { ?q rdf:type ?z . VALUES ( ?z ) { ( ontology:Q44539 ) ( ontology:Q12737077 ) } } } } }
Church of England
action less
action union
action find_reverse_tuple_counts
relation part of
type Christian denomination
type occupation
action find_reverse_tuple_counts
relation part of
type Christian denomination
type temple
action count
action filter_multi_types
action find_reverse
entity Church of England
relation part of
type occupation
type temple
[[{'concept': 'occupation'}, {'concept': 'temple'}], 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?o WHERE { { ?p property:part_of ?o . ?o rdf:type ontology:Christian_denomination . ?p rdf:type ontology:occupation } UNION { ?p property:part_of ?o . ?o rdf:type ontology:Christian_denomination . ?p rdf:type ontology:temple } } GROUP BY ?o } . FILTER ( ?c < ?u ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { ?q property:part_of resource:Church_of_England . { ?q rdf:type ?z . VALUES ( ?z ) { ( ontology:temple ) ( ontology:occupation ) } } } } }
[]
Christian denomination occupation temple
Q752470 Q1379849 Q1089788
SYSTEM
Finnish Orthodox Church, Evangelical Lutheran Church of Finland, Church in Wales
Q682443 Q666860 Q752470 Q346575 Q749243 Q540782 Q922480 Q1089788 Q170111 Q1379849 Q9592
(c(Q12737077)|c(Q44539),P361,c(Q879146))
action less
action union
action find_reverse_tuple_counts
relation P361
type Q879146
type Q12737077
action find_reverse_tuple_counts
relation P361
type Q879146
type Q44539
action count
action filter_multi_types
action find_reverse
entity Q82708
relation P361
type Q12737077
type Q44539
[ANSWERS]
[[{'concept': 'Q12737077'}, {'concept': 'Q44539'}], 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?o WHERE { { ?p property:P361 ?o . ?o rdf:type ontology:Q879146 . ?p rdf:type ontology:Q12737077 } UNION { ?p property:P361 ?o . ?o rdf:type ontology:Q879146 . ?p rdf:type ontology:Q44539 } } GROUP BY ?o } . FILTER ( ?c < ?u ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { ?q property:P361 resource:Q82708 . { ?q rdf:type ?z . VALUES ( ?z ) { ( ontology:Q44539 ) ( ontology:Q12737077 ) } } } } }
Episcopal Church Church of Norway Finnish Orthodox Church Evangelical Church Church of Sweden Anglican Church of Canada Church of Scotland Church in Wales Evangelical Church in Germany Evangelical Lutheran Church of Finland Roman Catholic Church
Finnish Orthodox Church Evangelical Lutheran Church of Finland Church in Wales
action less
action union
action find_reverse_tuple_counts
relation part of
type Christian denomination
type occupation
action find_reverse_tuple_counts
relation part of
type Christian denomination
type temple
action count
action filter_multi_types
action find_reverse
entity Church of England
relation part of
type occupation
type temple
[[{'concept': 'occupation'}, {'concept': 'temple'}], 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?o WHERE { { ?p property:part_of ?o . ?o rdf:type ontology:Christian_denomination . ?p rdf:type ontology:occupation } UNION { ?p property:part_of ?o . ?o rdf:type ontology:Christian_denomination . ?p rdf:type ontology:temple } } GROUP BY ?o } . FILTER ( ?c < ?u ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { ?q property:part_of resource:Church_of_England . { ?q rdf:type ?z . VALUES ( ?z ) { ( ontology:temple ) ( ontology:occupation ) } } } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P140
Q502895
USER
How many people belong to that Christian denomination religion ?
(c(Q502895),P140,Q752470)
[{'concept': 'Q502895'}, 'P140', 'Q752470']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q9174 resource:Q752470 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'religion', 'Finnish Orthodox Church']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:religion resource:Finnish_Orthodox_Church . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q752470
SYSTEM
Did you mean Finnish Orthodox Church ?
(c(Q502895),P140,Q752470) (c(Q502895),P140,Q1379849) (c(Q502895),P140,Q1089788)
[ANSWER]
[{'concept': 'Q502895'}, 'P140', 'Q752470'] [{'concept': 'Q502895'}, 'P140', 'Q1379849'] [{'concept': 'Q502895'}, 'P140', 'Q1089788']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q9174 resource:Q752470 . ?z rdf:type ontology:Q502895 }
Did you mean Finnish Orthodox Church ?
Finnish Orthodox Church
[{'concept': 'common name'}, 'religion', 'Finnish Orthodox Church'] [{'concept': 'common name'}, 'religion', 'Evangelical Lutheran Church of Finland'] [{'concept': 'common name'}, 'religion', 'Church in Wales']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:religion resource:Finnish_Orthodox_Church . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q502895),P140,Q752470)
[{'concept': 'Q502895'}, 'P140', 'Q752470']
[{'concept': 'common name'}, 'religion', 'Finnish Orthodox Church']
[]
SYSTEM
3
Q205698 Q4837349 Q4062018
(c(Q502895),P140,Q752470)
[ANSWER]
[{'concept': 'Q502895'}, 'P140', 'Q752470']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q9174 resource:Q752470 . ?z rdf:type ontology:Q502895 }
Suvi-Anne Siimes Baba Lybeck Aleksi
3
[{'concept': 'common name'}, 'religion', 'Finnish Orthodox Church']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:religion resource:Finnish_Orthodox_Church . ?z rdf:type ontology:common_name }
[]