Simple Question (Direct)
Simple Question
Q5342562
P106
Q12737077
USER
What are the professions of Edward Delos Churchill ?
(Q5342562,P106,c(Q12737077))
action filter_type
action find
entity Q5342562
relation P106
type Q12737077
['Q5342562', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q5342562 property:P106 ?j }
Edward Delos Churchill
action filter_type
action find
entity Edward Delos Churchill
relation occupation
type occupation
['Edward Delos Churchill', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Edward_Delos_Churchill property:occupation ?j }
[]
occupation
Q774306 Q1622272
SYSTEM
surgeon, university teacher
Q774306 Q1622272
(Q5342562,P106,c(Q12737077))
action filter_type
action find
entity Q5342562
relation P106
type Q12737077
The professions of Edward Delos Churchill are a [ANSWERS]
['Q5342562', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q5342562 property:P106 ?j }
surgeon university teacher
The professions of Edward Delos Churchill are a surgeon and university teacher
surgeon university teacher
action filter_type
action find
entity Edward Delos Churchill
relation occupation
type occupation
['Edward Delos Churchill', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Edward_Delos_Churchill property:occupation ?j }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q774306 Q1622272
P417
Q502895
USER
What are the names of the patron saint of those occupations ?
(Q774306,P417,c(Q502895)) (Q1622272,P417,c(Q502895))
action filter_type
action find
entity prev_answer
relation P417
type Q502895
['Q774306', 'P417', {'concept': 'Q502895'}] ['Q1622272', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . VALUES ( ?p ) { ( resource:Q774306 ) ( resource:Q1622272 ) } . ?p property:P417 ?b }
surgeon university teacher
action filter_type
action find
entity prev_answer
relation patron saint
type common name
['surgeon', 'patron saint', {'concept': 'common name'}] ['university teacher', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . VALUES ( ?p ) { ( resource:surgeon ) ( resource:university_teacher ) } . ?p property:patron_saint ?b }
[]
common name
Q152457 Q9438
SYSTEM
Saint Roch, Thomas Aquinas
Q152457 Q9438
(Q774306,P417,c(Q502895)) (Q1622272,P417,c(Q502895))
action filter_type
action find
entity prev_answer
relation P417
type Q502895
The names of the patron saint of those occupations are [ANSWERS]
['Q774306', 'P417', {'concept': 'Q502895'}] ['Q1622272', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . VALUES ( ?p ) { ( resource:Q774306 ) ( resource:Q1622272 ) } . ?p property:P417 ?b }
Saint Roch Thomas Aquinas
The names of the patron saint of those occupations are Saint Roch and Thomas Aquinas
Saint Roch Thomas Aquinas
action filter_type
action find
entity prev_answer
relation patron saint
type common name
['surgeon', 'patron saint', {'concept': 'common name'}] ['university teacher', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . VALUES ( ?p ) { ( resource:surgeon ) ( resource:university_teacher ) } . ?p property:patron_saint ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5342562
P463
Q811430
USER
What was Edward Delos Churchill a member of ?
(Q5342562,P463,c(Q811430))
action filter_type
action find
entity Q5342562
relation P463
type Q811430
['Q5342562', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?h WHERE { resource:Q5342562 property:P463 ?h . ?h rdf:type ontology:Q811430 }
Edward Delos Churchill
action filter_type
action find
entity Edward Delos Churchill
relation member of
type construction
['Edward Delos Churchill', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?h WHERE { resource:Edward_Delos_Churchill property:member_of ?h . ?h rdf:type ontology:construction }
[]
construction
Q463303
SYSTEM
American Academy of Arts and Sciences
Q463303
(Q5342562,P463,c(Q811430))
action filter_type
action find
entity Q5342562
relation P463
type Q811430
Edward Delos Churchill was a member of the [ANSWER]
['Q5342562', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?h WHERE { resource:Q5342562 property:P463 ?h . ?h rdf:type ontology:Q811430 }
American Academy of Arts and Sciences
Edward Delos Churchill was a member of the American Academy of Arts and Sciences
American Academy of Arts and Sciences
action filter_type
action find
entity Edward Delos Churchill
relation member of
type construction
['Edward Delos Churchill', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?h WHERE { resource:Edward_Delos_Churchill property:member_of ?h . ?h rdf:type ontology:construction }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q89901
Q811430
USER
And also tell me about Frederick Redlich?
(Q89901,P463,c(Q811430))
action filter_type
action find
entity Q89901
relation P463
type Q811430
['Q89901', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?w WHERE { resource:Q89901 property:P463 ?w . ?w rdf:type ontology:Q811430 }
Frederick Redlich
action filter_type
action find
entity Frederick Redlich
relation member of
type construction
['Frederick Redlich', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?w WHERE { resource:Frederick_Redlich property:member_of ?w . ?w rdf:type ontology:construction }
[]
construction
Q463303
SYSTEM
American Academy of Arts and Sciences
Q463303
(Q89901,P463,c(Q811430))
action filter_type
action find
entity Q89901
relation P463
type Q811430
[ANSWER]
['Q89901', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?w WHERE { resource:Q89901 property:P463 ?w . ?w rdf:type ontology:Q811430 }
American Academy of Arts and Sciences
American Academy of Arts and Sciences
action filter_type
action find
entity Frederick Redlich
relation member of
type construction
['Frederick Redlich', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?w WHERE { resource:Frederick_Redlich property:member_of ?w . ?w rdf:type ontology:construction }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q463303 Q30 Q1621034
P17
Q15617994
USER
Is that construction located in United States of America and Historical territory ?
(Q463303,P17,Q30) (Q463303,P17,Q1621034)
action is_in
entity Q463303
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q1621034
relation P17
['Q463303', 'P17', 'Q30'] ['Q463303', 'P17', 'Q1621034']
ASK WHERE { resource:Q463303 property:P17 resource:Q30 . resource:Q463303 property:P17 resource:Q1621034 }
American Academy of Arts and Sciences United States of America Historical territory
action is_in
entity American Academy of Arts and Sciences
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Historical territory
relation country
['American Academy of Arts and Sciences', 'country', 'United States of America'] ['American Academy of Arts and Sciences', 'country', 'Historical territory']
ASK WHERE { resource:American_Academy_of_Arts_and_Sciences property:country resource:United_States_of_America . resource:American_Academy_of_Arts_and_Sciences property:country resource:Historical_territory }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q463303,P17,Q30) (Q463303,P17,Q1621034)
action is_in
entity Q463303
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q1621034
relation P17
[ANSWER]
['Q463303', 'P17', 'Q30'] ['Q463303', 'P17', 'Q1621034']
ASK WHERE { resource:Q463303 property:P17 resource:Q30 . resource:Q463303 property:P17 resource:Q1621034 }
YES and NO respectively
action is_in
entity American Academy of Arts and Sciences
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Historical territory
relation country
['American Academy of Arts and Sciences', 'country', 'United States of America'] ['American Academy of Arts and Sciences', 'country', 'Historical territory']
ASK WHERE { resource:American_Academy_of_Arts_and_Sciences property:country resource:United_States_of_America . resource:American_Academy_of_Arts_and_Sciences property:country resource:Historical_territory }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q9438 Q1707974 Q9546
P737
Q502895
USER
Was Joseph Schmidt-Görg and Al-Ghazali an influence for Thomas Aquinas ?
(Q9438,P737,Q1707974) (Q9438,P737,Q9546)
action is_in
entity Q9438
action intersection
action find_reverse
entity Q1707974
relation P737
action find_reverse
entity Q9546
relation P737
['Q9438', 'P737', 'Q1707974'] ['Q9438', 'P737', 'Q9546']
ASK WHERE { resource:Q9438 property:P737 resource:Q9546 . resource:Q9438 property:P737 resource:Q1707974 }
Thomas Aquinas Joseph Schmidt-Görg Al-Ghazali
action is_in
entity Thomas Aquinas
action intersection
action find_reverse
entity Joseph Schmidt-Görg
relation influenced by
action find_reverse
entity Al-Ghazali
relation influenced by
['Thomas Aquinas', 'influenced by', 'Joseph Schmidt-Görg'] ['Thomas Aquinas', 'influenced by', 'Al-Ghazali']
ASK WHERE { resource:Thomas_Aquinas property:influenced_by resource:Al-Ghazali . resource:Thomas_Aquinas property:influenced_by resource:Joseph_Schmidt-Görg }
[]
common name
SYSTEM
NO and YES respectively
(Q9438,P737,Q1707974) (Q9438,P737,Q9546)
action is_in
entity Q9438
action intersection
action find_reverse
entity Q1707974
relation P737
action find_reverse
entity Q9546
relation P737
[ANSWER]
['Q9438', 'P737', 'Q1707974'] ['Q9438', 'P737', 'Q9546']
ASK WHERE { resource:Q9438 property:P737 resource:Q9546 . resource:Q9438 property:P737 resource:Q1707974 }
NO and YES respectively
action is_in
entity Thomas Aquinas
action intersection
action find_reverse
entity Joseph Schmidt-Görg
relation influenced by
action find_reverse
entity Al-Ghazali
relation influenced by
['Thomas Aquinas', 'influenced by', 'Joseph Schmidt-Görg'] ['Thomas Aquinas', 'influenced by', 'Al-Ghazali']
ASK WHERE { resource:Thomas_Aquinas property:influenced_by resource:Al-Ghazali . resource:Thomas_Aquinas property:influenced_by resource:Joseph_Schmidt-Görg }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q463303 Q16052 Q30
P17
Q15617994
USER
Is American Academy of Arts and Sciences present in Seelze and United States of America ?
(Q463303,P17,Q16052) (Q463303,P17,Q30)
action is_in
entity Q463303
action intersection
action find_reverse
entity Q16052
relation P17
action find_reverse
entity Q30
relation P17
['Q463303', 'P17', 'Q16052'] ['Q463303', 'P17', 'Q30']
ASK WHERE { resource:Q463303 property:P17 resource:Q16052 . resource:Q463303 property:P17 resource:Q30 }
American Academy of Arts and Sciences Seelze United States of America
action is_in
entity American Academy of Arts and Sciences
action intersection
action find_reverse
entity Seelze
relation country
action find_reverse
entity United States of America
relation country
['American Academy of Arts and Sciences', 'country', 'Seelze'] ['American Academy of Arts and Sciences', 'country', 'United States of America']
ASK WHERE { resource:American_Academy_of_Arts_and_Sciences property:country resource:Seelze . resource:American_Academy_of_Arts_and_Sciences property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q463303,P17,Q16052) (Q463303,P17,Q30)
action is_in
entity Q463303
action intersection
action find_reverse
entity Q16052
relation P17
action find_reverse
entity Q30
relation P17
[ANSWER]
['Q463303', 'P17', 'Q16052'] ['Q463303', 'P17', 'Q30']
ASK WHERE { resource:Q463303 property:P17 resource:Q16052 . resource:Q463303 property:P17 resource:Q30 }
NO and YES respectively
action is_in
entity American Academy of Arts and Sciences
action intersection
action find_reverse
entity Seelze
relation country
action find_reverse
entity United States of America
relation country
['American Academy of Arts and Sciences', 'country', 'Seelze'] ['American Academy of Arts and Sciences', 'country', 'United States of America']
ASK WHERE { resource:American_Academy_of_Arts_and_Sciences property:country resource:Seelze . resource:American_Academy_of_Arts_and_Sciences property:country resource:United_States_of_America }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3091
Q502895 Q3745054 Q502895
USER
How many people rides on a exactly 5 people or horse breeds ?
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action count
action equal
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
value 5
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?b ) WHERE { { ?t property:P3091 ?r . ?t rdf:type ontology:Q502895 . ?r rdf:type ontology:Q502895 } UNION { ?t property:P3091 ?r . ?t rdf:type ontology:Q502895 . ?r rdf:type ontology:Q3745054 } } GROUP BY ?t } . FILTER ( ?b = 5 ) }
action count
action equal
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
value 5
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?b ) WHERE { { ?t property:mount ?r . ?t rdf:type ontology:common_name . ?r rdf:type ontology:common_name } UNION { ?t property:mount ?r . ?t rdf:type ontology:common_name . ?r rdf:type ontology:horse_breed } } GROUP BY ?t } . FILTER ( ?b = 5 ) }
[]
common name horse breed common name
SYSTEM
2
Q2120529 Q288267
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action count
action equal
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
value 5
[ANSWER]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?b ) WHERE { { ?t property:P3091 ?r . ?t rdf:type ontology:Q502895 . ?r rdf:type ontology:Q502895 } UNION { ?t property:P3091 ?r . ?t rdf:type ontology:Q502895 . ?r rdf:type ontology:Q3745054 } } GROUP BY ?t } . FILTER ( ?b = 5 ) }
Pénélope Leprevost Éric Navet
2
action count
action equal
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
value 5
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?b ) WHERE { { ?t property:mount ?r . ?t rdf:type ontology:common_name . ?r rdf:type ontology:common_name } UNION { ?t property:mount ?r . ?t rdf:type ontology:common_name . ?r rdf:type ontology:horse_breed } } GROUP BY ?t } . FILTER ( ?b = 5 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q152457
P841
Q186081
USER
When do we have the feast day of Saint Roch ?
(Q152457,P841,c(Q186081))
action filter_type
action find
entity Q152457
relation P841
type Q186081
['Q152457', 'P841', {'concept': 'Q186081'}]
SELECT DISTINCT ?d WHERE { resource:Q152457 property:P841 ?d . ?d rdf:type ontology:Q186081 }
Saint Roch
action filter_type
action find
entity Saint Roch
relation feast day
type time interval
['Saint Roch', 'feast day', {'concept': 'time interval'}]
SELECT DISTINCT ?d WHERE { resource:Saint_Roch property:feast_day ?d . ?d rdf:type ontology:time_interval }
[]
time interval
Q2812
SYSTEM
August 16
Q2812
(Q152457,P841,c(Q186081))
action filter_type
action find
entity Q152457
relation P841
type Q186081
We have the feast day of Saint Roch on [ANSWER]
['Q152457', 'P841', {'concept': 'Q186081'}]
SELECT DISTINCT ?d WHERE { resource:Q152457 property:P841 ?d . ?d rdf:type ontology:Q186081 }
August 16
We have the feast day of Saint Roch on August 16
August 16
action filter_type
action find
entity Saint Roch
relation feast day
type time interval
['Saint Roch', 'feast day', {'concept': 'time interval'}]
SELECT DISTINCT ?d WHERE { resource:Saint_Roch property:feast_day ?d . ?d rdf:type ontology:time_interval }
[]