Simple Question (Direct)
Simple Question
Q14349249
P166
Q618779
USER
What was won by Franz Xaver Eichinger ?
(Q14349249,P166,c(Q618779))
action filter_type
action find
entity Q14349249
relation P166
type Q618779
['Q14349249', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?f WHERE { resource:Q14349249 property:P166 ?f . ?f rdf:type ontology:Q618779 }
Franz Xaver Eichinger
action filter_type
action find
entity Franz Xaver Eichinger
relation award received
type award
['Franz Xaver Eichinger', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?f WHERE { resource:Franz_Xaver_Eichinger property:award_received ?f . ?f rdf:type ontology:award }
[]
award
Q10905334
SYSTEM
Officer's Cross of the Order of Merit of the Federal Republic of Germany
Q10905334
(Q14349249,P166,c(Q618779))
action filter_type
action find
entity Q14349249
relation P166
type Q618779
Germany [ANSWER] was won by Franz Xaver Eichinger
['Q14349249', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?f WHERE { resource:Q14349249 property:P166 ?f . ?f rdf:type ontology:Q618779 }
Officer's Cross of the Order of Merit of the Federal Republic of Germany
Germany Officer's Cross of the Order of Merit of the Federal Republic of Germany was won by Franz Xaver Eichinger
Officer's Cross of the Order of Merit of the Federal Republic of Germany
action filter_type
action find
entity Franz Xaver Eichinger
relation award received
type award
['Franz Xaver Eichinger', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?f WHERE { resource:Franz_Xaver_Eichinger property:award_received ?f . ?f rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14349249
P140
Q879146
USER
What is the religious affiliation of that person ?
(Q10905334,P140,c(Q879146))
action filter_type
action find
entity Q14349249
relation P140
type Q879146
['Q10905334', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?q WHERE { resource:Q14349249 property:P140 ?q . ?q rdf:type ontology:Q879146 }
Franz Xaver Eichinger
action filter_type
action find
entity Franz Xaver Eichinger
relation religion
type Christian denomination
["Officer's Cross of the Order of Merit of the Federal Republic of Germany", 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?q WHERE { resource:Franz_Xaver_Eichinger property:religion ?q . ?q rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q10905334,P140,c(Q879146))
action filter_type
action find
entity Q14349249
relation P140
type Q879146
The religious affiliation of that person is a [ANSWER]
['Q10905334', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?q WHERE { resource:Q14349249 property:P140 ?q . ?q rdf:type ontology:Q879146 }
Roman Catholic Church
The religious affiliation of that person is a Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Franz Xaver Eichinger
relation religion
type Christian denomination
["Officer's Cross of the Order of Merit of the Federal Republic of Germany", 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?q WHERE { resource:Franz_Xaver_Eichinger property:religion ?q . ?q rdf:type ontology:Christian_denomination }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P361
Q879146 Q56061 Q43229
USER
Which Christian denominations are less number of administrative territories or organizations a part of than that Christian denomination ?
(c(Q56061)|c(Q43229),P361,c(Q879146))
action less
action union
action find_reverse_tuple_counts
relation P361
type Q879146
type Q56061
action find_reverse_tuple_counts
relation P361
type Q879146
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q9592
relation P361
type Q56061
type Q43229
[[{'concept': 'Q56061'}, {'concept': 'Q43229'}], 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) ?a WHERE { { ?a rdf:type ontology:Q879146 . ?u rdf:type ontology:Q56061 . ?u property:P361 ?a } UNION { ?u property:P361 ?a . ?a rdf:type ontology:Q879146 . ?u rdf:type ontology:Q43229 } } GROUP BY ?a } . FILTER ( ?j < ?k ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f property:P361 resource:Q9592 . { { ?f rdf:type ontology:Q56061 } UNION { ?f rdf:type ontology:Q43229 } } } } }
action less
action union
action find_reverse_tuple_counts
relation part of
type Christian denomination
type administrative territorial entity
action find_reverse_tuple_counts
relation part of
type Christian denomination
type organization
action count
action filter_multi_types
action find_reverse
entity Roman Catholic Church
relation part of
type administrative territorial entity
type organization
[[{'concept': 'administrative territorial entity'}, {'concept': 'organization'}], 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) ?a WHERE { { ?a rdf:type ontology:Christian_denomination . ?u rdf:type ontology:administrative_territorial_entity . ?u property:part_of ?a } UNION { ?u property:part_of ?a . ?a rdf:type ontology:Christian_denomination . ?u rdf:type ontology:organization } } GROUP BY ?a } . FILTER ( ?j < ?k ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f property:part_of resource:Roman_Catholic_Church . { { ?f rdf:type ontology:administrative_territorial_entity } UNION { ?f rdf:type ontology:organization } } } } }
[]
Christian denomination administrative territorial entity organization
Q752470 Q1089788 Q682443
SYSTEM
Finnish Orthodox Church, Church in Wales, Episcopal Church
Q682443 Q666860 Q752470 Q346575 Q540782 Q922480 Q1089788
(c(Q56061)|c(Q43229),P361,c(Q879146))
action less
action union
action find_reverse_tuple_counts
relation P361
type Q879146
type Q56061
action find_reverse_tuple_counts
relation P361
type Q879146
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q9592
relation P361
type Q56061
type Q43229
[ANSWERS] are less number of administrative territories or organizations a part of than that Christian denomination
[[{'concept': 'Q56061'}, {'concept': 'Q43229'}], 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) ?a WHERE { { ?a rdf:type ontology:Q879146 . ?u rdf:type ontology:Q56061 . ?u property:P361 ?a } UNION { ?u property:P361 ?a . ?a rdf:type ontology:Q879146 . ?u rdf:type ontology:Q43229 } } GROUP BY ?a } . FILTER ( ?j < ?k ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f property:P361 resource:Q9592 . { { ?f rdf:type ontology:Q56061 } UNION { ?f rdf:type ontology:Q43229 } } } } }
Episcopal Church Church of Norway Finnish Orthodox Church Evangelical Church Anglican Church of Canada Church of Scotland Church in Wales
Finnish Orthodox Church, Church in Wales and Episcopal Church are less number of administrative territories or organizations a part of than that Christian denomination
Finnish Orthodox Church Church in Wales Episcopal Church
action less
action union
action find_reverse_tuple_counts
relation part of
type Christian denomination
type administrative territorial entity
action find_reverse_tuple_counts
relation part of
type Christian denomination
type organization
action count
action filter_multi_types
action find_reverse
entity Roman Catholic Church
relation part of
type administrative territorial entity
type organization
[[{'concept': 'administrative territorial entity'}, {'concept': 'organization'}], 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) ?a WHERE { { ?a rdf:type ontology:Christian_denomination . ?u rdf:type ontology:administrative_territorial_entity . ?u property:part_of ?a } UNION { ?u property:part_of ?a . ?a rdf:type ontology:Christian_denomination . ?u rdf:type ontology:organization } } GROUP BY ?a } . FILTER ( ?j < ?k ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f property:part_of resource:Roman_Catholic_Church . { { ?f rdf:type ontology:administrative_territorial_entity } UNION { ?f rdf:type ontology:organization } } } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P140
Q44539 Q502895
USER
How many temples and people are religiously associated with that Christian denomination ?
(c(Q44539),P140,Q1089788) (c(Q502895),P140,Q1089788) (c(Q44539),P140,Q752470) (c(Q502895),P140,Q752470) (c(Q44539),P140,Q1089788) (c(Q502895),P140,Q1089788) (c(Q44539),P140,Q682443) (c(Q502895),P140,Q682443)
[{'concept': 'Q44539'}, 'P140', 'Q1089788'] [{'concept': 'Q502895'}, 'P140', 'Q1089788'] [{'concept': 'Q44539'}, 'P140', 'Q752470'] [{'concept': 'Q502895'}, 'P140', 'Q752470'] [{'concept': 'Q44539'}, 'P140', 'Q1089788'] [{'concept': 'Q502895'}, 'P140', 'Q1089788'] [{'concept': 'Q44539'}, 'P140', 'Q682443'] [{'concept': 'Q502895'}, 'P140', 'Q682443']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q9174 resource:Q1089788 } UNION { ?y property:Q9174 resource:Q1089788 } UNION { ?z property:Q9174 resource:Q752470 } UNION { ?y property:Q9174 resource:Q752470 } UNION { ?z property:Q9174 resource:Q1089788 } UNION { ?y property:Q9174 resource:Q1089788 } UNION { ?z property:Q9174 resource:Q682443 } UNION { ?y property:Q9174 resource:Q682443 } } . ?z rdf:type ontology:Q7654661 . ?y rdf:type ontology:Q502895 }
[{'concept': 'temple'}, 'religion', 'Church in Wales'] [{'concept': 'common name'}, 'religion', 'Church in Wales'] [{'concept': 'temple'}, 'religion', 'Finnish Orthodox Church'] [{'concept': 'common name'}, 'religion', 'Finnish Orthodox Church'] [{'concept': 'temple'}, 'religion', 'Church in Wales'] [{'concept': 'common name'}, 'religion', 'Church in Wales'] [{'concept': 'temple'}, 'religion', 'Episcopal Church'] [{'concept': 'common name'}, 'religion', 'Episcopal Church']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:religion resource:Church_in_Wales } UNION { ?y property:religion resource:Church_in_Wales } UNION { ?z property:religion resource:Finnish_Orthodox_Church } UNION { ?y property:religion resource:Finnish_Orthodox_Church } UNION { ?z property:religion resource:Church_in_Wales } UNION { ?y property:religion resource:Church_in_Wales } UNION { ?z property:religion resource:Episcopal_Church } UNION { ?y property:religion resource:Episcopal_Church } } . ?z rdf:type ontology:temple . ?y rdf:type ontology:common_name }
[]
temple common name
Quantitative|Count|Mult. entity type|Clarification
Q682443
SYSTEM
Did you mean Episcopal Church ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q9174 resource:Q1089788 } UNION { ?y property:Q9174 resource:Q1089788 } UNION { ?z property:Q9174 resource:Q752470 } UNION { ?y property:Q9174 resource:Q752470 } UNION { ?z property:Q9174 resource:Q1089788 } UNION { ?y property:Q9174 resource:Q1089788 } UNION { ?z property:Q9174 resource:Q682443 } UNION { ?y property:Q9174 resource:Q682443 } } . ?z rdf:type ontology:Q7654661 . ?y rdf:type ontology:Q502895 }
Did you mean Episcopal Church ?
Episcopal Church
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:religion resource:Church_in_Wales } UNION { ?y property:religion resource:Church_in_Wales } UNION { ?z property:religion resource:Finnish_Orthodox_Church } UNION { ?y property:religion resource:Finnish_Orthodox_Church } UNION { ?z property:religion resource:Church_in_Wales } UNION { ?y property:religion resource:Church_in_Wales } UNION { ?z property:religion resource:Episcopal_Church } UNION { ?y property:religion resource:Episcopal_Church } } . ?z rdf:type ontology:temple . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Church in Wales. Could you tell me the answer for that?
(c(Q44539),P140,Q1089788) (c(Q502895),P140,Q1089788) (c(Q44539),P140,Q752470) (c(Q502895),P140,Q752470) (c(Q44539),P140,Q1089788) (c(Q502895),P140,Q1089788) (c(Q44539),P140,Q682443) (c(Q502895),P140,Q682443)
Q1089788
[{'concept': 'Q44539'}, 'P140', 'Q1089788'] [{'concept': 'Q502895'}, 'P140', 'Q1089788'] [{'concept': 'Q44539'}, 'P140', 'Q752470'] [{'concept': 'Q502895'}, 'P140', 'Q752470'] [{'concept': 'Q44539'}, 'P140', 'Q1089788'] [{'concept': 'Q502895'}, 'P140', 'Q1089788'] [{'concept': 'Q44539'}, 'P140', 'Q682443'] [{'concept': 'Q502895'}, 'P140', 'Q682443']
[{'concept': 'temple'}, 'religion', 'Church in Wales'] [{'concept': 'common name'}, 'religion', 'Church in Wales'] [{'concept': 'temple'}, 'religion', 'Finnish Orthodox Church'] [{'concept': 'common name'}, 'religion', 'Finnish Orthodox Church'] [{'concept': 'temple'}, 'religion', 'Church in Wales'] [{'concept': 'common name'}, 'religion', 'Church in Wales'] [{'concept': 'temple'}, 'religion', 'Episcopal Church'] [{'concept': 'common name'}, 'religion', 'Episcopal Church']
[]
SYSTEM
1 temples and 1 people
Q5726568 Q19369346
(c(Q44539),P140,Q1089788) (c(Q502895),P140,Q1089788) (c(Q44539),P140,Q752470) (c(Q502895),P140,Q752470) (c(Q44539),P140,Q1089788) (c(Q502895),P140,Q1089788) (c(Q44539),P140,Q682443) (c(Q502895),P140,Q682443)
[ANSWER]
[{'concept': 'Q44539'}, 'P140', 'Q1089788'] [{'concept': 'Q502895'}, 'P140', 'Q1089788'] [{'concept': 'Q44539'}, 'P140', 'Q752470'] [{'concept': 'Q502895'}, 'P140', 'Q752470'] [{'concept': 'Q44539'}, 'P140', 'Q1089788'] [{'concept': 'Q502895'}, 'P140', 'Q1089788'] [{'concept': 'Q44539'}, 'P140', 'Q682443'] [{'concept': 'Q502895'}, 'P140', 'Q682443']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q9174 resource:Q1089788 } UNION { ?y property:Q9174 resource:Q1089788 } UNION { ?z property:Q9174 resource:Q752470 } UNION { ?y property:Q9174 resource:Q752470 } UNION { ?z property:Q9174 resource:Q1089788 } UNION { ?y property:Q9174 resource:Q1089788 } UNION { ?z property:Q9174 resource:Q682443 } UNION { ?y property:Q9174 resource:Q682443 } } . ?z rdf:type ontology:Q7654661 . ?y rdf:type ontology:Q502895 }
Henry Owen Eglwys Dewi Sant
1 temples and 1 people
[{'concept': 'temple'}, 'religion', 'Church in Wales'] [{'concept': 'common name'}, 'religion', 'Church in Wales'] [{'concept': 'temple'}, 'religion', 'Finnish Orthodox Church'] [{'concept': 'common name'}, 'religion', 'Finnish Orthodox Church'] [{'concept': 'temple'}, 'religion', 'Church in Wales'] [{'concept': 'common name'}, 'religion', 'Church in Wales'] [{'concept': 'temple'}, 'religion', 'Episcopal Church'] [{'concept': 'common name'}, 'religion', 'Episcopal Church']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:religion resource:Church_in_Wales } UNION { ?y property:religion resource:Church_in_Wales } UNION { ?z property:religion resource:Finnish_Orthodox_Church } UNION { ?y property:religion resource:Finnish_Orthodox_Church } UNION { ?z property:religion resource:Church_in_Wales } UNION { ?y property:religion resource:Church_in_Wales } UNION { ?z property:religion resource:Episcopal_Church } UNION { ?y property:religion resource:Episcopal_Church } } . ?z rdf:type ontology:temple . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q980090
P17
Q15617994
USER
Which administrative territory is Air Medal a part of ?
(Q980090,P17,c(Q15617994))
action filter_type
action find
entity Q980090
relation P17
type Q15617994
['Q980090', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q980090 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Air Medal
action filter_type
action find
entity Air Medal
relation country
type designation for an administrative territorial entity
['Air Medal', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Air_Medal property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q980090,P17,c(Q15617994))
action filter_type
action find
entity Q980090
relation P17
type Q15617994
The [ANSWER] is Air Medal a part of
['Q980090', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q980090 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
United States of America
The United States of America is Air Medal a part of
United States of America
action filter_type
action find
entity Air Medal
relation country
type designation for an administrative territorial entity
['Air Medal', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Air_Medal property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q30 Q6500385
P27
Q502895
USER
Is Lauren Tarshis a native of that administrative territory ?
(Q6500385,P27,Q30)
action is_in
entity Q30
action find
entity Q6500385
relation P27
['Q6500385', 'P27', 'Q30']
ASK WHERE { resource:Q6500385 property:P27 resource:Q30 }
United States of America Lauren Tarshis
action is_in
entity United States of America
action find
entity Lauren Tarshis
relation country of citizenship
['Lauren Tarshis', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Lauren_Tarshis property:country_of_citizenship resource:United_States_of_America }
[]
common name
SYSTEM
YES
(Q6500385,P27,Q30)
action is_in
entity Q30
action find
entity Q6500385
relation P27
[ANSWER]
['Q6500385', 'P27', 'Q30']
ASK WHERE { resource:Q6500385 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Lauren Tarshis
relation country of citizenship
['Lauren Tarshis', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Lauren_Tarshis property:country_of_citizenship resource:United_States_of_America }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P937
Q502895
USER
Who have that administrative territory as their work location ?
action filter_type
action find_reverse
entity Q30
relation P937
type Q502895
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P937 resource:Q30 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation work location
type common name
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:work_location resource:United_States_of_America }
[]
common name
Q20747363 Q4426737 Q21705837
SYSTEM
Cecilia Sternberg, Cesare Sodero, Eliana Machado Meugé
Q20006819 Q12017811 Q20747363 Q20829615 Q20879213 Q21705837 Q4426737 Q20894879 Q21155013 Q23775987 Q26198053
action filter_type
action find_reverse
entity Q30
relation P937
type Q502895
[ANSWERS] have that administrative territory as their work location
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P937 resource:Q30 }
Albert van Beest Diana Phipps Cecilia Sternberg Conrad Buff II Nicolino Calyo Eliana Machado Meugé Cesare Sodero Ejnar Hansen Samuel Valentine Hunt DonkeyHotey Henry Jorden
Cecilia Sternberg, Cesare Sodero and Eliana Machado Meugé have that administrative territory as their work location
Cecilia Sternberg Cesare Sodero Eliana Machado Meugé
action filter_type
action find_reverse
entity United States of America
relation work location
type common name
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:work_location resource:United_States_of_America }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4426737
P802
Q502895
USER
Which person was a notable student of that one ?
(c(Q502895),P802,Q4426737)
action filter_type
action find_reverse
entity Q4426737
relation P802
type Q502895
[{'concept': 'Q502895'}, 'P802', 'Q4426737']
SELECT DISTINCT ?u WHERE { ?u property:P802 resource:Q4426737 . ?u rdf:type ontology:Q502895 }
Cesare Sodero
action filter_type
action find_reverse
entity Cesare Sodero
relation student
type common name
[{'concept': 'common name'}, 'student', 'Cesare Sodero']
SELECT DISTINCT ?u WHERE { ?u property:student resource:Cesare_Sodero . ?u rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q21705837
SYSTEM
Did you mean Eliana Machado Meugé ?
Q20747363 Q4426737 Q21705837
(c(Q502895),P802,Q20747363) (c(Q502895),P802,Q4426737) (c(Q502895),P802,Q21705837)
[ANSWER]
[{'concept': 'Q502895'}, 'P802', 'Q20747363'] [{'concept': 'Q502895'}, 'P802', 'Q4426737'] [{'concept': 'Q502895'}, 'P802', 'Q21705837']
SELECT DISTINCT ?u WHERE { ?u property:P802 resource:Q4426737 . ?u rdf:type ontology:Q502895 }
Cecilia Sternberg Cesare Sodero Eliana Machado Meugé
Did you mean Eliana Machado Meugé ?
Eliana Machado Meugé
[{'concept': 'common name'}, 'student', 'Cecilia Sternberg'] [{'concept': 'common name'}, 'student', 'Cesare Sodero'] [{'concept': 'common name'}, 'student', 'Eliana Machado Meugé']
SELECT DISTINCT ?u WHERE { ?u property:student resource:Cesare_Sodero . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Cesare Sodero. Could you tell me the answer for that?
(c(Q502895),P802,Q4426737)
Q4426737
[{'concept': 'Q502895'}, 'P802', 'Q4426737']
[{'concept': 'common name'}, 'student', 'Cesare Sodero']
[]
Q769966
SYSTEM
Giuseppe Martucci
Q769966
(c(Q502895),P802,Q4426737)
action filter_type
action find_reverse
entity Q4426737
relation P802
type Q502895
[ANSWER] was a notable student of that one
[{'concept': 'Q502895'}, 'P802', 'Q4426737']
SELECT DISTINCT ?u WHERE { ?u property:P802 resource:Q4426737 . ?u rdf:type ontology:Q502895 }
Giuseppe Martucci
Giuseppe Martucci was a notable student of that one
Giuseppe Martucci
action filter_type
action find_reverse
entity Cesare Sodero
relation student
type common name
[{'concept': 'common name'}, 'student', 'Cesare Sodero']
SELECT DISTINCT ?u WHERE { ?u property:student resource:Cesare_Sodero . ?u rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15619164
USER
Which abstract beings have been dubbed by atleast 18 people ?
(c(Q15619164),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q15619164
type Q502895
value 18
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?p ) WHERE { ?e property:P725 ?x . ?x rdf:type ontology:Q502895 . ?e rdf:type ontology:Q15619164 } GROUP BY ?e } . FILTER ( ?p >= 18 ) }
action atleast
action find_tuple_counts
relation voice actor
type abstract being
type common name
value 18
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?p ) WHERE { ?e property:voice_actor ?x . ?x rdf:type ontology:common_name . ?e rdf:type ontology:abstract_being } GROUP BY ?e } . FILTER ( ?p >= 18 ) }
[]
common name abstract being
Q5409355
SYSTEM
Fluttershy
Q5409355
(c(Q15619164),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q15619164
type Q502895
value 18
[ANSWER] have been dubbed by atleast 18 people
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?p ) WHERE { ?e property:P725 ?x . ?x rdf:type ontology:Q502895 . ?e rdf:type ontology:Q15619164 } GROUP BY ?e } . FILTER ( ?p >= 18 ) }
Fluttershy
Fluttershy have been dubbed by atleast 18 people
Fluttershy
action atleast
action find_tuple_counts
relation voice actor
type abstract being
type common name
value 18
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?p ) WHERE { ?e property:voice_actor ?x . ?x rdf:type ontology:common_name . ?e rdf:type ontology:abstract_being } GROUP BY ?e } . FILTER ( ?p >= 18 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P674
Q15619164 Q15416 Q223393
USER
How many abstract beings appears as a character in exactly 3 television programs or literary genres ?
(c(Q15416)|c(Q223393),P674,c(Q15619164))
action count
action equal
action union
action find_reverse_tuple_counts
relation P674
type Q15619164
type Q15416
action find_reverse_tuple_counts
relation P674
type Q15619164
type Q223393
value 3
[[{'concept': 'Q15416'}, {'concept': 'Q223393'}], 'P674', {'concept': 'Q15619164'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { FILTER ( ?e = 3 ) . { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?e ) WHERE { VALUES ( ?h ) { ( ontology:Q15416 ) ( ontology:Q223393 ) } . ?k rdf:type ?h } GROUP BY ?u } }
action count
action equal
action union
action find_reverse_tuple_counts
relation characters
type abstract being
type television program
action find_reverse_tuple_counts
relation characters
type abstract being
type literary genre
value 3
[[{'concept': 'television program'}, {'concept': 'literary genre'}], 'characters', {'concept': 'abstract being'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { FILTER ( ?e = 3 ) . { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?e ) WHERE { VALUES ( ?h ) { ( ontology:television_program ) ( ontology:literary_genre ) } . ?k rdf:type ?h } GROUP BY ?u } }
[]
abstract being television program literary genre
SYSTEM
9
Q3631585 Q15490579 Q15490560 Q4000019 Q4023191 Q15520173 Q3858633 Q15553868 Q3937809
(c(Q15416)|c(Q223393),P674,c(Q15619164))
action count
action equal
action union
action find_reverse_tuple_counts
relation P674
type Q15619164
type Q15416
action find_reverse_tuple_counts
relation P674
type Q15619164
type Q223393
value 3
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q223393'}], 'P674', {'concept': 'Q15619164'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { FILTER ( ?e = 3 ) . { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?e ) WHERE { VALUES ( ?h ) { ( ontology:Q15416 ) ( ontology:Q223393 ) } . ?k rdf:type ?h } GROUP BY ?u } }
Azusa Nakano Nodoka Manabe Sawako Yamanaka Tsumugi Kotobuki Yui Hirasawa Ui Hirasawa Mio Akiyama Jun Suzuki Ritsu Tainaka
9
action count
action equal
action union
action find_reverse_tuple_counts
relation characters
type abstract being
type television program
action find_reverse_tuple_counts
relation characters
type abstract being
type literary genre
value 3
[[{'concept': 'television program'}, {'concept': 'literary genre'}], 'characters', {'concept': 'abstract being'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { FILTER ( ?e = 3 ) . { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?e ) WHERE { VALUES ( ?h ) { ( ontology:television_program ) ( ontology:literary_genre ) } . ?k rdf:type ?h } GROUP BY ?u } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P157
Q95074 Q15707583 Q15619164
USER
Which abstract beings were murdered by max number of fictional characters and fictional taxons ?
(c(Q15619164),P157,c(Q95074)|c(Q15707583))
action argmax
action union
action find_tuple_counts
relation P157
type Q15619164
type Q95074
action find_tuple_counts
relation P157
type Q15619164
type Q15707583
[{'concept': 'Q15619164'}, 'P157', [{'concept': 'Q95074'}, {'concept': 'Q15707583'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?m WHERE { VALUES ( ?e ) { ( ontology:Q15707583 ) ( ontology:Q95074 ) } . ?s rdf:type ?e } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?q WHERE { { ?q rdf:type ontology:Q15619164 . ?v rdf:type ontology:Q95074 . ?q property:P157 ?v } UNION { ?q property:P157 ?v . ?q rdf:type ontology:Q15619164 . ?v rdf:type ontology:Q15707583 } } GROUP BY ?q } . FILTER ( ?l = ?h ) }
action argmax
action union
action find_tuple_counts
relation killed by
type abstract being
type fictional character
action find_tuple_counts
relation killed by
type abstract being
type fictional taxon
[{'concept': 'abstract being'}, 'killed by', [{'concept': 'fictional character'}, {'concept': 'fictional taxon'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?m WHERE { VALUES ( ?e ) { ( ontology:fictional_taxon ) ( ontology:fictional_character ) } . ?s rdf:type ?e } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?q WHERE { { ?q rdf:type ontology:abstract_being . ?v rdf:type ontology:fictional_character . ?q property:killed_by ?v } UNION { ?q property:killed_by ?v . ?q rdf:type ontology:abstract_being . ?v rdf:type ontology:fictional_taxon } } GROUP BY ?q } . FILTER ( ?l = ?h ) }
[]
fictional character fictional taxon abstract being
Q51311 Q51339 Q54271
SYSTEM
John Locke, Alex Rousseau, Ki-Adi-Mundi
Q51339 Q51311 Q51725 Q2343363 Q54271 Q1998913 Q2846264 Q932724 Q51742
(c(Q15619164),P157,c(Q95074)|c(Q15707583))
action argmax
action union
action find_tuple_counts
relation P157
type Q15619164
type Q95074
action find_tuple_counts
relation P157
type Q15619164
type Q15707583
[ANSWERS] were murdered by max number of fictional characters and fictional taxons
[{'concept': 'Q15619164'}, 'P157', [{'concept': 'Q95074'}, {'concept': 'Q15707583'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?m WHERE { VALUES ( ?e ) { ( ontology:Q15707583 ) ( ontology:Q95074 ) } . ?s rdf:type ?e } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?q WHERE { { ?q rdf:type ontology:Q15619164 . ?v rdf:type ontology:Q95074 . ?q property:P157 ?v } UNION { ?q property:P157 ?v . ?q rdf:type ontology:Q15619164 . ?v rdf:type ontology:Q15707583 } } GROUP BY ?q } . FILTER ( ?l = ?h ) }
Alex Rousseau John Locke Mace Windu Saesee Tiin Ki-Adi-Mundi Aayla Secura Andre Drazen Kit Fisto Agen Kolar
John Locke, Alex Rousseau and Ki-Adi-Mundi were murdered by max number of fictional characters and fictional taxons
John Locke Alex Rousseau Ki-Adi-Mundi
action argmax
action union
action find_tuple_counts
relation killed by
type abstract being
type fictional character
action find_tuple_counts
relation killed by
type abstract being
type fictional taxon
[{'concept': 'abstract being'}, 'killed by', [{'concept': 'fictional character'}, {'concept': 'fictional taxon'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?m WHERE { VALUES ( ?e ) { ( ontology:fictional_taxon ) ( ontology:fictional_character ) } . ?s rdf:type ?e } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?q WHERE { { ?q rdf:type ontology:abstract_being . ?v rdf:type ontology:fictional_character . ?q property:killed_by ?v } UNION { ?q property:killed_by ?v . ?q rdf:type ontology:abstract_being . ?v rdf:type ontology:fictional_taxon } } GROUP BY ?q } . FILTER ( ?l = ?h ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q51311
P1441
Q15416
USER
How many television programs feature John Locke ?
(Q51311,P1441,c(Q15416))
action count
action filter_type
action find
entity Q51311
relation P1441
type Q15416
['Q51311', 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?c rdf:type ontology:Q15416 . resource:Q51311 property:P1441 ?c }
John Locke
action count
action filter_type
action find
entity John Locke
relation present in work
type television program
['John Locke', 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?c rdf:type ontology:television_program . resource:John_Locke property:present_in_work ?c }
[]
television program
SYSTEM
1
Q23567
(Q51311,P1441,c(Q15416))
action count
action filter_type
action find
entity Q51311
relation P1441
type Q15416
[ANSWER]
['Q51311', 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?c rdf:type ontology:Q15416 . resource:Q51311 property:P1441 ?c }
Lost
1
action count
action filter_type
action find
entity John Locke
relation present in work
type television program
['John Locke', 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { ?c rdf:type ontology:television_program . resource:John_Locke property:present_in_work ?c }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q6789533
Q15416
USER
And how about Matt Wilson?
(Q6789533,P1441,c(Q15416))
action count
action filter_type
action find
entity Q6789533
relation P1441
type Q15416
['Q6789533', 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { ?z rdf:type ontology:Q15416 . resource:Q6789533 property:P1441 ?z }
Matt Wilson
action count
action filter_type
action find
entity Matt Wilson
relation present in work
type television program
['Matt Wilson', 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { ?z rdf:type ontology:television_program . resource:Matt_Wilson property:present_in_work ?z }
[]
television program
SYSTEM
1
(Q6789533,P1441,c(Q15416))
action count
action filter_type
action find
entity Q6789533
relation P1441
type Q15416
[ANSWER]
['Q6789533', 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { ?z rdf:type ontology:Q15416 . resource:Q6789533 property:P1441 ?z }
1
action count
action filter_type
action find
entity Matt Wilson
relation present in work
type television program
['Matt Wilson', 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { ?z rdf:type ontology:television_program . resource:Matt_Wilson property:present_in_work ?z }
[]