Simple Question (Direct)
Simple Question
Q1268367
P69
Q1244442
USER
What is the school building where Terry Le Sueur was educated ?
(Q1268367,P69,c(Q1244442))
action filter_type
action find
entity Q1268367
relation P69
type Q1244442
['Q1268367', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?g WHERE { resource:Q1268367 property:P69 ?g . ?g rdf:type ontology:Q1244442 }
Terry Le Sueur
action filter_type
action find
entity Terry Le Sueur
relation educated at
type school building
['Terry Le Sueur', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?g WHERE { resource:Terry_Le_Sueur property:educated_at ?g . ?g rdf:type ontology:school_building }
[]
school building
Q81174
SYSTEM
Jesus College
Q81174
(Q1268367,P69,c(Q1244442))
action filter_type
action find
entity Q1268367
relation P69
type Q1244442
The school building Terry Le Sueur was educated is at [ANSWER]
['Q1268367', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?g WHERE { resource:Q1268367 property:P69 ?g . ?g rdf:type ontology:Q1244442 }
Jesus College
The school building Terry Le Sueur was educated is at Jesus College
Jesus College
action filter_type
action find
entity Terry Le Sueur
relation educated at
type school building
['Terry Le Sueur', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?g WHERE { resource:Terry_Le_Sueur property:educated_at ?g . ?g rdf:type ontology:school_building }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q81174
P138
Q15619164
USER
Which abstract being is that school building named after ?
(Q81174,P138,c(Q15619164))
action filter_type
action find
entity Q81174
relation P138
type Q15619164
['Q81174', 'P138', {'concept': 'Q15619164'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15619164 . resource:Q81174 property:P138 ?q }
Jesus College
action filter_type
action find
entity Jesus College
relation named after
type abstract being
['Jesus College', 'named after', {'concept': 'abstract being'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:abstract_being . resource:Jesus_College property:named_after ?q }
[]
abstract being
Q302
SYSTEM
Jesus Christ
Q302
(Q81174,P138,c(Q15619164))
action filter_type
action find
entity Q81174
relation P138
type Q15619164
[ANSWER] is that school building named after
['Q81174', 'P138', {'concept': 'Q15619164'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15619164 . resource:Q81174 property:P138 ?q }
Jesus Christ
Jesus Christ is that school building named after
Jesus Christ
action filter_type
action find
entity Jesus College
relation named after
type abstract being
['Jesus College', 'named after', {'concept': 'abstract being'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:abstract_being . resource:Jesus_College property:named_after ?q }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q538588
Q15619164
USER
And also tell me about Mozilla Application Suite?
(Q538588,P138,c(Q15619164))
action filter_type
action find
entity Q538588
relation P138
type Q15619164
['Q538588', 'P138', {'concept': 'Q15619164'}]
SELECT DISTINCT ?d WHERE { resource:Q538588 property:P138 ?d . ?d rdf:type ontology:Q15619164 }
Mozilla Application Suite
action filter_type
action find
entity Mozilla Application Suite
relation named after
type abstract being
['Mozilla Application Suite', 'named after', {'concept': 'abstract being'}]
SELECT DISTINCT ?d WHERE { resource:Mozilla_Application_Suite property:named_after ?d . ?d rdf:type ontology:abstract_being }
[]
abstract being
Q6567
SYSTEM
Godzilla
Q6567
(Q538588,P138,c(Q15619164))
action filter_type
action find
entity Q538588
relation P138
type Q15619164
[ANSWER]
['Q538588', 'P138', {'concept': 'Q15619164'}]
SELECT DISTINCT ?d WHERE { resource:Q538588 property:P138 ?d . ?d rdf:type ontology:Q15619164 }
Godzilla
Godzilla
action filter_type
action find
entity Mozilla Application Suite
relation named after
type abstract being
['Mozilla Application Suite', 'named after', {'concept': 'abstract being'}]
SELECT DISTINCT ?d WHERE { resource:Mozilla_Application_Suite property:named_after ?d . ?d rdf:type ontology:abstract_being }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P144
Q15619164 Q15850590
USER
How many abstract beings are more number of theatrical genres adapted from than that abstract being ?
(c(Q15850590),P144,c(Q15619164))
action count
action greater
action find_reverse_tuple_counts
relation P144
type Q15619164
type Q15850590
action count
action filter_type
action find
entity Q6567
relation P144
type Q15619164
[{'concept': 'Q15850590'}, 'P144', {'concept': 'Q15619164'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?t ) WHERE { ?z rdf:type ontology:Q15619164 . ?r rdf:type ontology:Q15850590 . ?r property:P144 ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Q6567 property:P144 ?e . ?e rdf:type ontology:Q15619164 } } . FILTER ( ?t > ?b ) }
action count
action greater
action find_reverse_tuple_counts
relation based on
type abstract being
type theatrical genre
action count
action filter_type
action find
entity Godzilla
relation based on
type abstract being
[{'concept': 'theatrical genre'}, 'based on', {'concept': 'abstract being'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?t ) WHERE { ?z rdf:type ontology:abstract_being . ?r rdf:type ontology:theatrical_genre . ?r property:based_on ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Godzilla property:based_on ?e . ?e rdf:type ontology:abstract_being } } . FILTER ( ?t > ?b ) }
[]
abstract being theatrical genre
SYSTEM
1
Q215085
(c(Q15850590),P144,c(Q15619164))
action count
action greater
action find_reverse_tuple_counts
relation P144
type Q15619164
type Q15850590
action count
action filter_type
action find
entity Q6567
relation P144
type Q15619164
[ANSWER]
[{'concept': 'Q15850590'}, 'P144', {'concept': 'Q15619164'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?t ) WHERE { ?z rdf:type ontology:Q15619164 . ?r rdf:type ontology:Q15850590 . ?r property:P144 ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Q6567 property:P144 ?e . ?e rdf:type ontology:Q15619164 } } . FILTER ( ?t > ?b ) }
Golem
1
action count
action greater
action find_reverse_tuple_counts
relation based on
type abstract being
type theatrical genre
action count
action filter_type
action find
entity Godzilla
relation based on
type abstract being
[{'concept': 'theatrical genre'}, 'based on', {'concept': 'abstract being'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?t ) WHERE { ?z rdf:type ontology:abstract_being . ?r rdf:type ontology:theatrical_genre . ?r property:based_on ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Godzilla property:based_on ?e . ?e rdf:type ontology:abstract_being } } . FILTER ( ?t > ?b ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q9332 Q43229 Q15619164
USER
Which abstract beings are parts of approximately 1 behaviors or organizations ?
(c(Q15619164),P361,c(Q9332)|c(Q43229))
action approx
action union
action find_tuple_counts
relation P361
type Q15619164
type Q9332
action find_tuple_counts
relation P361
type Q15619164
type Q43229
value 1
[{'concept': 'Q15619164'}, 'P361', [{'concept': 'Q9332'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?a WHERE { FILTER ( ?k = 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?k ) WHERE { VALUES ( ?e ) { ( ontology:Q9332 ) ( ontology:Q43229 ) } . ?x rdf:type ?e } GROUP BY ?a } }
action approx
action union
action find_tuple_counts
relation part of
type abstract being
type behavior
action find_tuple_counts
relation part of
type abstract being
type organization
value 1
[{'concept': 'abstract being'}, 'part of', [{'concept': 'behavior'}, {'concept': 'organization'}]]
SELECT DISTINCT ?a WHERE { FILTER ( ?k = 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?k ) WHERE { VALUES ( ?e ) { ( ontology:behavior ) ( ontology:organization ) } . ?x rdf:type ?e } GROUP BY ?a } }
[]
behavior organization abstract being
Q393154 Q6661921 Q2604744
SYSTEM
Aggayú, Llao, Anya Corazon
Q393154 Q6661921 Q2604744
(c(Q15619164),P361,c(Q9332)|c(Q43229))
action approx
action union
action find_tuple_counts
relation P361
type Q15619164
type Q9332
action find_tuple_counts
relation P361
type Q15619164
type Q43229
value 1
[ANSWERS] are parts of approximately 1 behaviors or organizations
[{'concept': 'Q15619164'}, 'P361', [{'concept': 'Q9332'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?a WHERE { FILTER ( ?k = 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?k ) WHERE { VALUES ( ?e ) { ( ontology:Q9332 ) ( ontology:Q43229 ) } . ?x rdf:type ?e } GROUP BY ?a } }
Aggayú Llao Anya Corazon
Aggayú, Llao and Anya Corazon are parts of approximately 1 behaviors or organizations
Aggayú Llao Anya Corazon
action approx
action union
action find_tuple_counts
relation part of
type abstract being
type behavior
action find_tuple_counts
relation part of
type abstract being
type organization
value 1
[{'concept': 'abstract being'}, 'part of', [{'concept': 'behavior'}, {'concept': 'organization'}]]
SELECT DISTINCT ?a WHERE { FILTER ( ?k = 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?k ) WHERE { VALUES ( ?e ) { ( ontology:behavior ) ( ontology:organization ) } . ?x rdf:type ?e } GROUP BY ?a } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q393154
P21
Q290
USER
What is the sex of that abstract being ?
(Q393154,P21,c(Q290))
action filter_type
action find
entity Q393154
relation P21
type Q290
['Q393154', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q393154 property:P21 ?k . ?k rdf:type ontology:Q290 }
Aggayú
action filter_type
action find
entity Aggayú
relation gender
type sex
['Aggayú', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Aggayú property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q2604744
SYSTEM
Did you mean Anya Corazon ?
Q393154 Q6661921 Q2604744
(Q393154,P21,c(Q290)) (Q6661921,P21,c(Q290)) (Q2604744,P21,c(Q290))
[ANSWER]
['Q393154', 'P21', {'concept': 'Q290'}] ['Q6661921', 'P21', {'concept': 'Q290'}] ['Q2604744', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q393154 property:P21 ?k . ?k rdf:type ontology:Q290 }
Aggayú Llao Anya Corazon
Did you mean Anya Corazon ?
Anya Corazon
['Aggayú', 'gender', {'concept': 'sex'}] ['Llao', 'gender', {'concept': 'sex'}] ['Anya Corazon', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Aggayú property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
No, I meant Aggayú. Could you tell me the answer for that?
(Q393154,P21,c(Q290))
Q393154
['Q393154', 'P21', {'concept': 'Q290'}]
['Aggayú', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q393154,P21,c(Q290))
action filter_type
action find
entity Q393154
relation P21
type Q290
The sex of that abstract being is the [ANSWER]
['Q393154', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q393154 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
The sex of that abstract being is the male
male
action filter_type
action find
entity Aggayú
relation gender
type sex
['Aggayú', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Aggayú property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2604744
P21
Q290
USER
Which sex does Anya Corazon have ?
(Q2604744,P21,c(Q290))
action filter_type
action find
entity Q2604744
relation P21
type Q290
['Q2604744', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q290 . resource:Q2604744 property:P21 ?r }
Anya Corazon
action filter_type
action find
entity Anya Corazon
relation gender
type sex
['Anya Corazon', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sex . resource:Anya_Corazon property:gender ?r }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q2604744,P21,c(Q290))
action filter_type
action find
entity Q2604744
relation P21
type Q290
Anya Corazon has a [ANSWER]
['Q2604744', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q290 . resource:Q2604744 property:P21 ?r }
female
Anya Corazon has a female
female
action filter_type
action find
entity Anya Corazon
relation gender
type sex
['Anya Corazon', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sex . resource:Anya_Corazon property:gender ?r }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q332188
P180
Q15619164 Q838948 Q2342494
USER
How many abstract beings are expressed in less number of works of art and collectables than Shamash ?
(c(Q838948)|c(Q2342494),P180,c(Q15619164))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q15619164
type Q838948
action find_reverse_tuple_counts
relation P180
type Q15619164
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q332188
relation P180
type Q838948
type Q2342494
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q15619164'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) ?f WHERE { { ?v property:P180 ?f . ?f rdf:type ontology:Q15619164 . ?v rdf:type ontology:Q838948 } UNION { ?v property:P180 ?f . ?f rdf:type ontology:Q15619164 . ?v rdf:type ontology:Q2342494 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:P180 resource:Q332188 . { { ?l rdf:type ontology:Q838948 } UNION { ?l rdf:type ontology:Q2342494 } } } } . FILTER ( ?e < ?g ) }
Shamash
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type abstract being
type work of art
action find_reverse_tuple_counts
relation depicts
type abstract being
type collectable
action count
action filter_multi_types
action find_reverse
entity Shamash
relation depicts
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'depicts', {'concept': 'abstract being'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) ?f WHERE { { ?v property:depicts ?f . ?f rdf:type ontology:abstract_being . ?v rdf:type ontology:work_of_art } UNION { ?v property:depicts ?f . ?f rdf:type ontology:abstract_being . ?v rdf:type ontology:collectable } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:depicts resource:Shamash . { { ?l rdf:type ontology:work_of_art } UNION { ?l rdf:type ontology:collectable } } } } . FILTER ( ?e < ?g ) }
[]
abstract being work of art collectable
SYSTEM
75
Q1676195 Q188536 Q607452 Q766677 Q177413 Q338298 Q836170 Q27655557 Q1417365 Q5405822 Q170569 Q1643451 Q390973 Q214672 Q11378 Q42891 Q682855 Q2005509 Q825 Q332885 Q17309 Q217420 Q2756466 Q248242 Q4654 Q186350 Q1809764 Q658028 Q1155034 Q17324876 Q726282 Q4640 Q190123 Q1676032 Q1579 Q898454 Q1028642 Q18813799 Q11934 Q2779171 Q918202 Q3515941 Q15275883 Q205985 Q207234 Q18813817 Q18813812 Q18813813 Q170485 Q831462 Q2037752 Q48853 Q15275879 Q5443792 Q2661483 Q468912 Q1616828 Q2637148 Q754544 Q890402 Q6745800 Q167685 Q8704 Q24043874 Q1158552 Q392239 Q2984446 Q1163476 Q189726 Q130274 Q147461 Q10706721 Q2279990 Q1140396 Q630823
(c(Q838948)|c(Q2342494),P180,c(Q15619164))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q15619164
type Q838948
action find_reverse_tuple_counts
relation P180
type Q15619164
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q332188
relation P180
type Q838948
type Q2342494
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q15619164'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) ?f WHERE { { ?v property:P180 ?f . ?f rdf:type ontology:Q15619164 . ?v rdf:type ontology:Q838948 } UNION { ?v property:P180 ?f . ?f rdf:type ontology:Q15619164 . ?v rdf:type ontology:Q2342494 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:P180 resource:Q332188 . { { ?l rdf:type ontology:Q838948 } UNION { ?l rdf:type ontology:Q2342494 } } } } . FILTER ( ?e < ?g ) }
Ishum Anu Saavik Yahweh demon Acca Larentia Ninhursag Bunene Khor-akhti Eucharis Atum Alecto Shala Enlil Shiva Krishna Hadad Nusku God Faust Pierrot Sin Ištaran Teshub Fortuna God the Father Nanaya Ariel Fiammetta Erminia Ninurta Vulcan Marduk Ivan Tsarevich Ganesha Ningal Nintinugga Amalia Mickey Mouse Urizen Di Penates Tashmetum Atala goddess Bellona Bronwen Bronjay Hoopes Parvati Galahad Tishpak Angelica Chactas Ferdinand Aya Nergal witch Lysander Atepomarus Bogatyr Mammetun Janus Walt Disney Umar Sigmund Nabu Elaine of Astolat Ruggiero Enki Astarte Zababa Tuvstarr Scapino Koschei Sancho Panza
75
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type abstract being
type work of art
action find_reverse_tuple_counts
relation depicts
type abstract being
type collectable
action count
action filter_multi_types
action find_reverse
entity Shamash
relation depicts
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'depicts', {'concept': 'abstract being'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) ?f WHERE { { ?v property:depicts ?f . ?f rdf:type ontology:abstract_being . ?v rdf:type ontology:work_of_art } UNION { ?v property:depicts ?f . ?f rdf:type ontology:abstract_being . ?v rdf:type ontology:collectable } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:depicts resource:Shamash . { { ?l rdf:type ontology:work_of_art } UNION { ?l rdf:type ontology:collectable } } } } . FILTER ( ?e < ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q178831
P180
Q15619164 Q838948 Q2342494
USER
And what about Aurora?
(c(Q838948)|c(Q2342494),P180,c(Q15619164))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q15619164
type Q838948
action find_reverse_tuple_counts
relation P180
type Q15619164
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q178831
relation P180
type Q838948
type Q2342494
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q15619164'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) ?q WHERE { ?r rdf:type ?e . VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:P180 resource:Q178831 . { { ?k rdf:type ontology:Q838948 } UNION { ?k rdf:type ontology:Q2342494 } } } } . FILTER ( ?z < ?f ) }
Aurora
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type abstract being
type work of art
action find_reverse_tuple_counts
relation depicts
type abstract being
type collectable
action count
action filter_multi_types
action find_reverse
entity Aurora
relation depicts
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'depicts', {'concept': 'abstract being'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) ?q WHERE { ?r rdf:type ?e . VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:collectable ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:depicts resource:Aurora . { { ?k rdf:type ontology:work_of_art } UNION { ?k rdf:type ontology:collectable } } } } . FILTER ( ?z < ?f ) }
[]
abstract being work of art collectable
SYSTEM
75
Q1676195 Q188536 Q607452 Q766677 Q177413 Q338298 Q836170 Q27655557 Q1417365 Q5405822 Q170569 Q1643451 Q390973 Q214672 Q11378 Q42891 Q682855 Q2005509 Q825 Q332885 Q17309 Q217420 Q2756466 Q248242 Q4654 Q186350 Q1809764 Q658028 Q1155034 Q17324876 Q726282 Q4640 Q190123 Q1676032 Q1579 Q898454 Q1028642 Q18813799 Q11934 Q2779171 Q918202 Q3515941 Q15275883 Q205985 Q207234 Q18813817 Q18813812 Q18813813 Q170485 Q831462 Q2037752 Q48853 Q15275879 Q5443792 Q2661483 Q468912 Q1616828 Q2637148 Q754544 Q890402 Q6745800 Q167685 Q8704 Q24043874 Q1158552 Q392239 Q2984446 Q1163476 Q189726 Q130274 Q147461 Q10706721 Q2279990 Q1140396 Q630823
(c(Q838948)|c(Q2342494),P180,c(Q15619164))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q15619164
type Q838948
action find_reverse_tuple_counts
relation P180
type Q15619164
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q178831
relation P180
type Q838948
type Q2342494
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q15619164'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) ?q WHERE { ?r rdf:type ?e . VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:P180 resource:Q178831 . { { ?k rdf:type ontology:Q838948 } UNION { ?k rdf:type ontology:Q2342494 } } } } . FILTER ( ?z < ?f ) }
Ishum Anu Saavik Yahweh demon Acca Larentia Ninhursag Bunene Khor-akhti Eucharis Atum Alecto Shala Enlil Shiva Krishna Hadad Nusku God Faust Pierrot Sin Ištaran Teshub Fortuna God the Father Nanaya Ariel Fiammetta Erminia Ninurta Vulcan Marduk Ivan Tsarevich Ganesha Ningal Nintinugga Amalia Mickey Mouse Urizen Di Penates Tashmetum Atala goddess Bellona Bronwen Bronjay Hoopes Parvati Galahad Tishpak Angelica Chactas Ferdinand Aya Nergal witch Lysander Atepomarus Bogatyr Mammetun Janus Walt Disney Umar Sigmund Nabu Elaine of Astolat Ruggiero Enki Astarte Zababa Tuvstarr Scapino Koschei Sancho Panza
75
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type abstract being
type work of art
action find_reverse_tuple_counts
relation depicts
type abstract being
type collectable
action count
action filter_multi_types
action find_reverse
entity Aurora
relation depicts
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'depicts', {'concept': 'abstract being'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) ?q WHERE { ?r rdf:type ?e . VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:collectable ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:depicts resource:Aurora . { { ?k rdf:type ontology:work_of_art } UNION { ?k rdf:type ontology:collectable } } } } . FILTER ( ?z < ?f ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q302 Q1388274
P417
Q44539
USER
How many temples have adopted Jesus Christ or Faustinus and Jovita as patron saint ?
(c(Q44539),P417,Q302) (c(Q44539),P417,Q1388274)
action count
action union
action filter_type
action find_reverse
entity Q302
relation P417
type Q44539
action filter_type
action find_reverse
entity Q1388274
relation P417
type Q44539
[{'concept': 'Q44539'}, 'P417', 'Q302'] [{'concept': 'Q44539'}, 'P417', 'Q1388274']
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { ?j property:P417 resource:Q302 . ?j rdf:type ontology:Q44539 } UNION { ?j property:P417 resource:Q1388274 . ?j rdf:type ontology:Q44539 } }
Jesus Christ Faustinus and Jovita
action count
action union
action filter_type
action find_reverse
entity Jesus Christ
relation patron saint
type temple
action filter_type
action find_reverse
entity Faustinus and Jovita
relation patron saint
type temple
[{'concept': 'temple'}, 'patron saint', 'Jesus Christ'] [{'concept': 'temple'}, 'patron saint', 'Faustinus and Jovita']
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { ?j property:patron_saint resource:Jesus_Christ . ?j rdf:type ontology:temple } UNION { ?j property:patron_saint resource:Faustinus_and_Jovita . ?j rdf:type ontology:temple } }
[]
temple
SYSTEM
2
Q17522033 Q12030463
(c(Q44539),P417,Q302) (c(Q44539),P417,Q1388274)
action count
action union
action filter_type
action find_reverse
entity Q302
relation P417
type Q44539
action filter_type
action find_reverse
entity Q1388274
relation P417
type Q44539
[ANSWER]
[{'concept': 'Q44539'}, 'P417', 'Q302'] [{'concept': 'Q44539'}, 'P417', 'Q1388274']
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { ?j property:P417 resource:Q302 . ?j rdf:type ontology:Q44539 } UNION { ?j property:P417 resource:Q1388274 . ?j rdf:type ontology:Q44539 } }
Christuskirche Church of the Sacred Heart of Our Lord
2
action count
action union
action filter_type
action find_reverse
entity Jesus Christ
relation patron saint
type temple
action filter_type
action find_reverse
entity Faustinus and Jovita
relation patron saint
type temple
[{'concept': 'temple'}, 'patron saint', 'Jesus Christ'] [{'concept': 'temple'}, 'patron saint', 'Faustinus and Jovita']
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { ?j property:patron_saint resource:Jesus_Christ . ?j rdf:type ontology:temple } UNION { ?j property:patron_saint resource:Faustinus_and_Jovita . ?j rdf:type ontology:temple } }
[]