Simple Question (Direct)
Simple Question
Q261583
P69
Q163740
USER
Which nonprofit organization is Lauren German an alumni of ?
(Q261583,P69,c(Q163740))
action filter_type
action find
entity Q261583
relation P69
type Q163740
['Q261583', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q163740 . resource:Q261583 property:P69 ?z }
Lauren German
action filter_type
action find
entity Lauren German
relation educated at
type nonprofit organization
['Lauren German', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:nonprofit_organization . resource:Lauren_German property:educated_at ?z }
[]
nonprofit organization
Q4614
SYSTEM
University of Southern California
Q4614
(Q261583,P69,c(Q163740))
action filter_type
action find
entity Q261583
relation P69
type Q163740
The [ANSWER] is Lauren German an alumni of
['Q261583', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q163740 . resource:Q261583 property:P69 ?z }
University of Southern California
The University of Southern California is Lauren German an alumni of
University of Southern California
action filter_type
action find
entity Lauren German
relation educated at
type nonprofit organization
['Lauren German', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:nonprofit_organization . resource:Lauren_German property:educated_at ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q261583
P161
Q838948
USER
Which works of art do Lauren German star in ?
(c(Q838948),P161,Q261583)
action filter_type
action find_reverse
entity Q261583
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q261583']
SELECT DISTINCT ?x WHERE { ?x property:P161 resource:Q261583 . ?x rdf:type ontology:Q838948 }
Lauren German
action filter_type
action find_reverse
entity Lauren German
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Lauren German']
SELECT DISTINCT ?x WHERE { ?x property:cast_member resource:Lauren_German . ?x rdf:type ontology:work_of_art }
[]
work of art
Q1048645 Q392696 Q219442
SYSTEM
Hostel: Part II, The Texas Chainsaw Massacre, A Walk to Remember
Q219442 Q4658232 Q1779956 Q6691651 Q3496602 Q1048645 Q7577361 Q6726708 Q5223177 Q392696
(c(Q838948),P161,Q261583)
action filter_type
action find_reverse
entity Q261583
relation P161
type Q838948
Lauren German star [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q261583']
SELECT DISTINCT ?x WHERE { ?x property:P161 resource:Q261583 . ?x rdf:type ontology:Q838948 }
A Walk to Remember A Midsummer Night's Rave The Divide Love and Mary Standing Still Hostel: Part II Spin Made for Each Other Dark Country The Texas Chainsaw Massacre
Lauren German star Hostel: Part II, The Texas Chainsaw Massacre and A Walk to Remember
Hostel: Part II The Texas Chainsaw Massacre A Walk to Remember
action filter_type
action find_reverse
entity Lauren German
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Lauren German']
SELECT DISTINCT ?x WHERE { ?x property:cast_member resource:Lauren_German . ?x rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q392696
P364
Q34770
USER
Which language was used originally for the creation of that work of art ?
(Q392696,P364,c(Q34770))
action filter_type
action find
entity Q392696
relation P364
type Q34770
['Q392696', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q34770 . resource:Q392696 property:P364 ?k }
The Texas Chainsaw Massacre
action filter_type
action find
entity The Texas Chainsaw Massacre
relation original language of work
type language
['The Texas Chainsaw Massacre', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:language . resource:The_Texas_Chainsaw_Massacre property:original_language_of_work ?k }
[]
language
Clarification for simple ques.
Q392696
SYSTEM
Did you mean The Texas Chainsaw Massacre ?
Q1048645 Q392696 Q219442
(Q1048645,P364,c(Q34770)) (Q392696,P364,c(Q34770)) (Q219442,P364,c(Q34770))
[ANSWER]
['Q1048645', 'P364', {'concept': 'Q34770'}] ['Q392696', 'P364', {'concept': 'Q34770'}] ['Q219442', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q34770 . resource:Q392696 property:P364 ?k }
Hostel: Part II The Texas Chainsaw Massacre A Walk to Remember
Did you mean The Texas Chainsaw Massacre ?
The Texas Chainsaw Massacre
['Hostel: Part II', 'original language of work', {'concept': 'language'}] ['The Texas Chainsaw Massacre', 'original language of work', {'concept': 'language'}] ['A Walk to Remember', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:language . resource:The_Texas_Chainsaw_Massacre property:original_language_of_work ?k }
[]
Simple Question (Coreferenced)
USER
Yes
(Q392696,P364,c(Q34770))
['Q392696', 'P364', {'concept': 'Q34770'}]
['The Texas Chainsaw Massacre', 'original language of work', {'concept': 'language'}]
[]
Q1860
SYSTEM
English
Q1860
(Q392696,P364,c(Q34770))
action filter_type
action find
entity Q392696
relation P364
type Q34770
[ANSWER] was used originally for the creation of that work of art
['Q392696', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q34770 . resource:Q392696 property:P364 ?k }
English
English was used originally for the creation of that work of art
English
action filter_type
action find
entity The Texas Chainsaw Massacre
relation original language of work
type language
['The Texas Chainsaw Massacre', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:language . resource:The_Texas_Chainsaw_Massacre property:original_language_of_work ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1048645
P1040
Q502895
USER
What is the name of person who editted Hostel: Part II ?
(Q1048645,P1040,c(Q502895))
action filter_type
action find
entity Q1048645
relation P1040
type Q502895
['Q1048645', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q1048645 property:P1040 ?x . ?x rdf:type ontology:Q502895 }
Hostel: Part II
action filter_type
action find
entity Hostel: Part II
relation film editor
type common name
['Hostel: Part II', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Hostel:_Part_II property:film_editor ?x . ?x rdf:type ontology:common_name }
[]
common name
Q1401104
SYSTEM
George Folsey
Q1401104
(Q1048645,P1040,c(Q502895))
action filter_type
action find
entity Q1048645
relation P1040
type Q502895
Part : the name of person editted Hostel is named [ANSWER]
['Q1048645', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q1048645 property:P1040 ?x . ?x rdf:type ontology:Q502895 }
George Folsey
Part : the name of person editted Hostel is named George Folsey
George Folsey
action filter_type
action find
entity Hostel: Part II
relation film editor
type common name
['Hostel: Part II', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Hostel:_Part_II property:film_editor ?x . ?x rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1401104 Q65
P19
Q56061
USER
Is Los Angeles the place of birth of that person ?
(Q1401104,P19,Q65)
action is_in
entity Q65
action find
entity Q1401104
relation P19
['Q1401104', 'P19', 'Q65']
ASK WHERE { resource:Q1401104 property:P19 resource:Q65 }
George Folsey Los Angeles
action is_in
entity Los Angeles
action find
entity George Folsey
relation place of birth
['George Folsey', 'place of birth', 'Los Angeles']
ASK WHERE { resource:George_Folsey property:place_of_birth resource:Los_Angeles }
[]
administrative territorial entity
SYSTEM
YES
(Q1401104,P19,Q65)
action is_in
entity Q65
action find
entity Q1401104
relation P19
[ANSWER]
['Q1401104', 'P19', 'Q65']
ASK WHERE { resource:Q1401104 property:P19 resource:Q65 }
Yes
action is_in
entity Los Angeles
action find
entity George Folsey
relation place of birth
['George Folsey', 'place of birth', 'Los Angeles']
ASK WHERE { resource:George_Folsey property:place_of_birth resource:Los_Angeles }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1401104
P162
Q838948
USER
Which works of art have been developed by that person ?
action filter_type
action find_reverse
entity Q1401104
relation P162
type Q838948
SELECT DISTINCT ?j WHERE { ?j property:P162 resource:Q1401104 . ?j rdf:type ontology:Q838948 }
George Folsey
action filter_type
action find_reverse
entity George Folsey
relation producer
type work of art
SELECT DISTINCT ?j WHERE { ?j property:producer resource:George_Folsey . ?j rdf:type ontology:work_of_art }
[]
work of art
Q109767 Q467290 Q493755
SYSTEM
The Blues Brothers, An American Werewolf in London, Coming to America
Q467290 Q493755 Q109767 Q249288
action filter_type
action find_reverse
entity Q1401104
relation P162
type Q838948
The Blues Brothers, An American Werewolf in London and coming to America have been developed by that person
SELECT DISTINCT ?j WHERE { ?j property:P162 resource:Q1401104 . ?j rdf:type ontology:Q838948 }
An American Werewolf in London Coming to America The Blues Brothers Three Amigos
The Blues Brothers, An American Werewolf in London and coming to America have been developed by that person
The Blues Brothers An American Werewolf in London Coming to America
action filter_type
action find_reverse
entity George Folsey
relation producer
type work of art
SELECT DISTINCT ?j WHERE { ?j property:producer resource:George_Folsey . ?j rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1401104
P27
Q15617994
USER
Which administrative territory does George Folsey belong to ?
(Q1401104,P27,c(Q15617994))
action filter_type
action find
entity Q1401104
relation P27
type Q15617994
['Q1401104', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q1401104 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
George Folsey
action filter_type
action find
entity George Folsey
relation country of citizenship
type designation for an administrative territorial entity
['George Folsey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:George_Folsey property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1401104,P27,c(Q15617994))
action filter_type
action find
entity Q1401104
relation P27
type Q15617994
George Folsey belongs to [ANSWER]
['Q1401104', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q1401104 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
United States of America
George Folsey belongs to United States of America
United States of America
action filter_type
action find
entity George Folsey
relation country of citizenship
type designation for an administrative territorial entity
['George Folsey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:George_Folsey property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q467290
P161
Q502895
USER
How many people are in An American Werewolf in London ?
(Q467290,P161,c(Q502895))
action count
action filter_type
action find
entity Q467290
relation P161
type Q502895
['Q467290', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Q467290 property:P161 ?g . ?g rdf:type ontology:Q502895 }
An American Werewolf in London
action count
action filter_type
action find
entity An American Werewolf in London
relation cast member
type common name
['An American Werewolf in London', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:An_American_Werewolf_in_London property:cast_member ?g . ?g rdf:type ontology:common_name }
[]
common name
SYSTEM
12
Q2154890 Q470260 Q1341362 Q525541 Q109133 Q718200 Q311319 Q1599954 Q234883 Q530676 Q1690511 Q1600744
(Q467290,P161,c(Q502895))
action count
action filter_type
action find
entity Q467290
relation P161
type Q502895
[ANSWER]
['Q467290', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Q467290 property:P161 ?g . ?g rdf:type ontology:Q502895 }
Rita Engelmann Griffin Dunne Patrick Ryan John Woodvine Manfred Lehmann David Naughton Frank Oz Heinz Theo Branding Jenny Agutter Brian Glover Joachim Tennstedt Heinz Petruo
12
action count
action filter_type
action find
entity An American Werewolf in London
relation cast member
type common name
['An American Werewolf in London', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:An_American_Werewolf_in_London property:cast_member ?g . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1272933
Q502895
USER
And how about Revenge of the Musketeers?
(Q1272933,P161,c(Q502895))
action count
action filter_type
action find
entity Q1272933
relation P161
type Q502895
['Q1272933', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Q1272933 property:P161 ?o . ?o rdf:type ontology:Q502895 }
Revenge of the Musketeers
action count
action filter_type
action find
entity Revenge of the Musketeers
relation cast member
type common name
['Revenge of the Musketeers', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Revenge_of_the_Musketeers property:cast_member ?o . ?o rdf:type ontology:common_name }
[]
common name
SYSTEM
23
(Q1272933,P161,c(Q502895))
action count
action filter_type
action find
entity Q1272933
relation P161
type Q502895
[ANSWER]
['Q1272933', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Q1272933 property:P161 ?o . ?o rdf:type ontology:Q502895 }
23
action count
action filter_type
action find
entity Revenge of the Musketeers
relation cast member
type common name
['Revenge of the Musketeers', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Revenge_of_the_Musketeers property:cast_member ?o . ?o rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q924
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with around the same number of administrative territories as Tanzania ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q924
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?m ) WHERE { ?c rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 . ?c property:P530 ?j } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { ?k rdf:type ontology:Q15617994 . resource:Q924 property:P530 ?k } } . FILTER ( ?m = ?n ) }
Tanzania
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Tanzania
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?m ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:diplomatic_relation ?j } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Tanzania property:diplomatic_relation ?k } } . FILTER ( ?m = ?n ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
147
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q924
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?m ) WHERE { ?c rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 . ?c property:P530 ?j } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { ?k rdf:type ontology:Q15617994 . resource:Q924 property:P530 ?k } } . FILTER ( ?m = ?n ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
147
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Tanzania
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?m ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:diplomatic_relation ?j } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Tanzania property:diplomatic_relation ?k } } . FILTER ( ?m = ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q224
P530
Q15617994 Q15617994
USER
And how about Croatia?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q224
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?l ) WHERE { ?d property:P530 ?c . ?d rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z rdf:type ontology:Q15617994 . resource:Q224 property:P530 ?z } } . FILTER ( ?l = ?p ) }
Croatia
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Croatia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?l ) WHERE { ?d property:diplomatic_relation ?c . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Croatia property:diplomatic_relation ?z } } . FILTER ( ?l = ?p ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q224
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?l ) WHERE { ?d property:P530 ?c . ?d rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z rdf:type ontology:Q15617994 . resource:Q224 property:P530 ?z } } . FILTER ( ?l = ?p ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Croatia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?l ) WHERE { ?d property:diplomatic_relation ?c . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Croatia property:diplomatic_relation ?z } } . FILTER ( ?l = ?p ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q838948 Q502895 Q95074
USER
How many works of art are approximately 3 people or fictional characters present in ?
(c(Q502895)|c(Q95074),P1441,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q95074
value 3
[[{'concept': 'Q502895'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) ?m WHERE { VALUES ( ?a ) { ( ontology:Q502895 ) ( ontology:Q95074 ) } . ?x rdf:type ?a } GROUP BY ?m } . FILTER ( ?b = 3 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type common name
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional character
value 3
[[{'concept': 'common name'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) ?m WHERE { VALUES ( ?a ) { ( ontology:common_name ) ( ontology:fictional_character ) } . ?x rdf:type ?a } GROUP BY ?m } . FILTER ( ?b = 3 ) }
[]
work of art common name fictional character
SYSTEM
2
Q14171368 Q15046091
(c(Q502895)|c(Q95074),P1441,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q95074
value 3
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) ?m WHERE { VALUES ( ?a ) { ( ontology:Q502895 ) ( ontology:Q95074 ) } . ?x rdf:type ?a } GROUP BY ?m } . FILTER ( ?b = 3 ) }
Avengers: Age of Ultron Cinderella
2
action count
action approx
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type common name
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional character
value 3
[[{'concept': 'common name'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) ?m WHERE { VALUES ( ?a ) { ( ontology:common_name ) ( ontology:fictional_character ) } . ?x rdf:type ?a } GROUP BY ?m } . FILTER ( ?b = 3 ) }
[]