Simple Question (Direct)
Simple Question
Q128333
P102
Q7210356
USER
Which political organization is William Cavendish-Bentinck, 6th Duke of Portland a member of ?
(Q128333,P102,c(Q7210356))
action filter_type
action find
entity Q128333
relation P102
type Q7210356
['Q128333', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { resource:Q128333 property:P102 ?o . ?o rdf:type ontology:Q7210356 }
William Cavendish-Bentinck, 6th Duke of Portland
action filter_type
action find
entity William Cavendish-Bentinck, 6th Duke of Portland
relation member of political party
type political organization
['William Cavendish-Bentinck, 6th Duke of Portland', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { resource:William_Cavendish-Bentinck,_6th_Duke_of_Portland property:member_of_political_party ?o . ?o rdf:type ontology:political_organization }
[]
political organization
Q9626
SYSTEM
Conservative Party
Q9626
(Q128333,P102,c(Q7210356))
action filter_type
action find
entity Q128333
relation P102
type Q7210356
The [ANSWER] is William Cavendish-Bentinck, 6th Duke of Portland a member of
['Q128333', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { resource:Q128333 property:P102 ?o . ?o rdf:type ontology:Q7210356 }
Conservative Party
The Conservative Party is William Cavendish-Bentinck, 6th Duke of Portland a member of
Conservative Party
action filter_type
action find
entity William Cavendish-Bentinck, 6th Duke of Portland
relation member of political party
type political organization
['William Cavendish-Bentinck, 6th Duke of Portland', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { resource:William_Cavendish-Bentinck,_6th_Duke_of_Portland property:member_of_political_party ?o . ?o rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q128333
P40
Q502895
USER
Which person is a successor of William Cavendish-Bentinck, 6th Duke of Portland ?
(Q128333,P40,c(Q502895))
action filter_type
action find
entity Q128333
relation P40
type Q502895
['Q128333', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q128333 property:P40 ?h . ?h rdf:type ontology:Q502895 }
William Cavendish-Bentinck, 6th Duke of Portland
action filter_type
action find
entity William Cavendish-Bentinck, 6th Duke of Portland
relation child
type common name
['William Cavendish-Bentinck, 6th Duke of Portland', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:William_Cavendish-Bentinck,_6th_Duke_of_Portland property:child ?h . ?h rdf:type ontology:common_name }
[]
common name
Q335583
SYSTEM
William Cavendish-Bentinck, 7th Duke of Portland
Q335583
(Q128333,P40,c(Q502895))
action filter_type
action find
entity Q128333
relation P40
type Q502895
[ANSWER] is a successor of William Cavendish-Bentinck, 6th Duke of Portland
['Q128333', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q128333 property:P40 ?h . ?h rdf:type ontology:Q502895 }
William Cavendish-Bentinck, 7th Duke of Portland
William Cavendish-Bentinck, 7th Duke of Portland is a successor of William Cavendish-Bentinck, 6th Duke of Portland
William Cavendish-Bentinck, 7th Duke of Portland
action filter_type
action find
entity William Cavendish-Bentinck, 6th Duke of Portland
relation child
type common name
['William Cavendish-Bentinck, 6th Duke of Portland', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:William_Cavendish-Bentinck,_6th_Duke_of_Portland property:child ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q335583
P1412
Q34770
USER
Which language can that person understand ?
(Q335583,P1412,c(Q34770))
action filter_type
action find
entity Q335583
relation P1412
type Q34770
['Q335583', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q34770 . resource:Q335583 property:P1412 ?b }
William Cavendish-Bentinck, 7th Duke of Portland
action filter_type
action find
entity William Cavendish-Bentinck, 7th Duke of Portland
relation languages spoken, written or signed
type language
['William Cavendish-Bentinck, 7th Duke of Portland', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:language . resource:William_Cavendish-Bentinck,_7th_Duke_of_Portland property:languages_spoken,_written_or_signed ?b }
[]
language
Q1860
SYSTEM
English
Q1860
(Q335583,P1412,c(Q34770))
action filter_type
action find
entity Q335583
relation P1412
type Q34770
That person can understand the [ANSWER]
['Q335583', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q34770 . resource:Q335583 property:P1412 ?b }
English
That person can understand the English
English
action filter_type
action find
entity William Cavendish-Bentinck, 7th Duke of Portland
relation languages spoken, written or signed
type language
['William Cavendish-Bentinck, 7th Duke of Portland', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:language . resource:William_Cavendish-Bentinck,_7th_Duke_of_Portland property:languages_spoken,_written_or_signed ?b }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P103
Q34770 Q502895
USER
How many languages are the mother tongues of less number of people than that language ?
(c(Q502895),P103,c(Q34770))
action count
action less
action find_reverse_tuple_counts
relation P103
type Q34770
type Q502895
action count
action filter_type
action find_reverse
entity Q1860
relation P103
type Q502895
[{'concept': 'Q502895'}, 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?y ) WHERE { ?f property:P103 ?c . ?c rdf:type ontology:Q34770 . ?f rdf:type ontology:Q502895 } GROUP BY ?c } . FILTER ( ?y < ?p ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { ?n property:P103 resource:Q1860 . ?n rdf:type ontology:Q502895 } } }
action count
action less
action find_reverse_tuple_counts
relation native language
type language
type common name
action count
action filter_type
action find_reverse
entity English
relation native language
type common name
[{'concept': 'common name'}, 'native language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?y ) WHERE { ?f property:native_language ?c . ?c rdf:type ontology:language . ?f rdf:type ontology:common_name } GROUP BY ?c } . FILTER ( ?y < ?p ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { ?n property:native_language resource:English . ?n rdf:type ontology:common_name } } }
[]
language common name
SYSTEM
9
Q3200839 Q9056 Q652 Q8752 Q1321 Q13211 Q397 Q8785 Q25164
(c(Q502895),P103,c(Q34770))
action count
action less
action find_reverse_tuple_counts
relation P103
type Q34770
type Q502895
action count
action filter_type
action find_reverse
entity Q1860
relation P103
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?y ) WHERE { ?f property:P103 ?c . ?c rdf:type ontology:Q34770 . ?f rdf:type ontology:Q502895 } GROUP BY ?c } . FILTER ( ?y < ?p ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { ?n property:P103 resource:Q1860 . ?n rdf:type ontology:Q502895 } } }
Kwaza language Czech Italian Basque Spanish Ruthenian Latin Armenian Nynorsk
9
action count
action less
action find_reverse_tuple_counts
relation native language
type language
type common name
action count
action filter_type
action find_reverse
entity English
relation native language
type common name
[{'concept': 'common name'}, 'native language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?y ) WHERE { ?f property:native_language ?c . ?c rdf:type ontology:language . ?f rdf:type ontology:common_name } GROUP BY ?c } . FILTER ( ?y < ?p ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { ?n property:native_language resource:English . ?n rdf:type ontology:common_name } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P137
Q170584
USER
Which project can be described as facility operator of Germany ?
(c(Q170584),P137,Q183)
action filter_type
action find_reverse
entity Q183
relation P137
type Q170584
[{'concept': 'Q170584'}, 'P137', 'Q183']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q170584 . ?s property:P137 resource:Q183 }
Germany
action filter_type
action find_reverse
entity Germany
relation operator
type project
[{'concept': 'project'}, 'operator', 'Germany']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:project . ?s property:operator resource:Germany }
[]
project
Q700996
SYSTEM
Stuttgart 21
Q700996
(c(Q170584),P137,Q183)
action filter_type
action find_reverse
entity Q183
relation P137
type Q170584
[ANSWER] can be described as facility operator of Germany
[{'concept': 'Q170584'}, 'P137', 'Q183']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q170584 . ?s property:P137 resource:Q183 }
Stuttgart 21
Stuttgart 21 can be described as facility operator of Germany
Stuttgart 21
action filter_type
action find_reverse
entity Germany
relation operator
type project
[{'concept': 'project'}, 'operator', 'Germany']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:project . ?s property:operator resource:Germany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q700996
P17
Q1048835
USER
Which political territory is that project located in ?
(Q700996,P17,c(Q1048835))
action filter_type
action find
entity Q700996
relation P17
type Q1048835
['Q700996', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q700996 property:P17 ?y . ?y rdf:type ontology:Q1048835 }
Stuttgart 21
action filter_type
action find
entity Stuttgart 21
relation country
type political territorial entity
['Stuttgart 21', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Stuttgart_21 property:country ?y . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q700996,P17,c(Q1048835))
action filter_type
action find
entity Q700996
relation P17
type Q1048835
That project is located in [ANSWER]
['Q700996', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q700996 property:P17 ?y . ?y rdf:type ontology:Q1048835 }
Germany
That project is located in Germany
Germany
action filter_type
action find
entity Stuttgart 21
relation country
type political territorial entity
['Stuttgart 21', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Stuttgart_21 property:country ?y . ?y rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q424
P530
Q1048835 Q15617994
USER
Which administrative territories have diplomatic relations with more number of political territories than Cambodia ?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q424
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?z ) WHERE { ?k property:P530 ?g . ?k rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { ?b rdf:type ontology:Q15617994 . resource:Q424 property:P530 ?b } } . FILTER ( ?z > ?v ) }
Cambodia
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Cambodia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?z ) WHERE { ?k property:diplomatic_relation ?g . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Cambodia property:diplomatic_relation ?b } } . FILTER ( ?z > ?v ) }
[]
political territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q711 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q811 Q33 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q734 Q736 Q230 Q233 Q20 Q1041 Q27 Q843 Q184 Q1029 Q1028 Q786 Q225 Q224 Q96 Q229 Q347 Q17 Q902 Q1036 Q1033 Q1030 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q215 Q218 Q219 Q916 Q833 Q1009 Q79 Q77 Q878 Q774 Q810 Q29 Q869 Q953
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q424
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with more number of political territories than Cambodia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?z ) WHERE { ?k property:P530 ?g . ?k rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { ?b rdf:type ontology:Q15617994 . resource:Q424 property:P530 ?b } } . FILTER ( ?z > ?v ) }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Mongolia Indonesia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Nicaragua Finland Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Guyana Ecuador Georgia Malta Norway Senegal Ireland Pakistan Belarus Mozambique Morocco Dominican Republic Bosnia and Herzegovina Croatia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Nigeria Namibia Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Slovenia Romania Bulgaria Angola Malaysia Cameroon Egypt Uruguay United Arab Emirates Guatemala Jordan Spain Thailand Zambia
Italy, Brazil and United States of America have diplomatic relations with more number of political territories than Cambodia
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Cambodia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?z ) WHERE { ?k property:diplomatic_relation ?g . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Cambodia property:diplomatic_relation ?b } } . FILTER ( ?z > ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1016
P530
Q1048835 Q15617994
USER
And also tell me about Libya?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q1016
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?o ) WHERE { ?f rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q1048835 . ?f property:P530 ?r } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Q1016 property:P530 ?u . ?u rdf:type ontology:Q1048835 } } . FILTER ( ?o > ?d ) }
Libya
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Libya
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?o ) WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:political_territorial_entity . ?f property:diplomatic_relation ?r } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Libya property:diplomatic_relation ?u . ?u rdf:type ontology:political_territorial_entity } } . FILTER ( ?o > ?d ) }
[]
political territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q711 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q811 Q33 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q734 Q736 Q230 Q233 Q20 Q1041 Q27 Q843 Q184 Q1029 Q1028 Q786 Q225 Q224 Q96 Q229 Q347 Q17 Q902 Q1036 Q1033 Q1030 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q215 Q218 Q219 Q916 Q833 Q1009 Q79 Q77 Q878 Q774 Q810 Q29 Q869 Q953
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q1016
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?o ) WHERE { ?f rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q1048835 . ?f property:P530 ?r } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Q1016 property:P530 ?u . ?u rdf:type ontology:Q1048835 } } . FILTER ( ?o > ?d ) }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Mongolia Indonesia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Nicaragua Finland Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Guyana Ecuador Georgia Malta Norway Senegal Ireland Pakistan Belarus Mozambique Morocco Dominican Republic Bosnia and Herzegovina Croatia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Nigeria Namibia Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Slovenia Romania Bulgaria Angola Malaysia Cameroon Egypt Uruguay United Arab Emirates Guatemala Jordan Spain Thailand Zambia
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Libya
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?o ) WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:political_territorial_entity . ?f property:diplomatic_relation ?r } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Libya property:diplomatic_relation ?u . ?u rdf:type ontology:political_territorial_entity } } . FILTER ( ?o > ?d ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P495
Q12973014 Q215380
USER
How many sports teams and bands originated in that administrative territory ?
(c(Q12973014),P495,Q30) (c(Q215380),P495,Q30) (c(Q12973014),P495,Q38) (c(Q215380),P495,Q38) (c(Q12973014),P495,Q155) (c(Q215380),P495,Q155) (c(Q12973014),P495,Q30) (c(Q215380),P495,Q30)
[{'concept': 'Q12973014'}, 'P495', 'Q30'] [{'concept': 'Q215380'}, 'P495', 'Q30'] [{'concept': 'Q12973014'}, 'P495', 'Q38'] [{'concept': 'Q215380'}, 'P495', 'Q38'] [{'concept': 'Q12973014'}, 'P495', 'Q155'] [{'concept': 'Q215380'}, 'P495', 'Q155'] [{'concept': 'Q12973014'}, 'P495', 'Q30'] [{'concept': 'Q215380'}, 'P495', 'Q30']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P495 resource:Q30 } UNION { ?y property:P495 resource:Q30 } UNION { ?z property:P495 resource:Q977238 } UNION { ?y property:P495 resource:Q977238 } UNION { ?z property:P495 resource:Q21475816 } UNION { ?y property:P495 resource:Q21475816 } UNION { ?z property:P495 resource:Q30 } UNION { ?y property:P495 resource:Q30 } } . ?z rdf:type ontology:Q12973014 . ?y rdf:type ontology:Q215380 }
[{'concept': 'sports team'}, 'country of origin', 'United States of America'] [{'concept': 'band'}, 'country of origin', 'United States of America'] [{'concept': 'sports team'}, 'country of origin', 'Italy'] [{'concept': 'band'}, 'country of origin', 'Italy'] [{'concept': 'sports team'}, 'country of origin', 'Brazil'] [{'concept': 'band'}, 'country of origin', 'Brazil'] [{'concept': 'sports team'}, 'country of origin', 'United States of America'] [{'concept': 'band'}, 'country of origin', 'United States of America']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country_of_origin resource:United_States_of_America } UNION { ?y property:country_of_origin resource:United_States_of_America } UNION { ?z property:country_of_origin resource:Italy } UNION { ?y property:country_of_origin resource:Italy } UNION { ?z property:country_of_origin resource:Brazil } UNION { ?y property:country_of_origin resource:Brazil } UNION { ?z property:country_of_origin resource:United_States_of_America } UNION { ?y property:country_of_origin resource:United_States_of_America } } . ?z rdf:type ontology:sports_team . ?y rdf:type ontology:band }
[]
sports team band
Quantitative|Count|Mult. entity type|Clarification
Q30
SYSTEM
Did you mean United States of America ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P495 resource:Q30 } UNION { ?y property:P495 resource:Q30 } UNION { ?z property:P495 resource:Q977238 } UNION { ?y property:P495 resource:Q977238 } UNION { ?z property:P495 resource:Q21475816 } UNION { ?y property:P495 resource:Q21475816 } UNION { ?z property:P495 resource:Q30 } UNION { ?y property:P495 resource:Q30 } } . ?z rdf:type ontology:Q12973014 . ?y rdf:type ontology:Q215380 }
Did you mean United States of America ?
United States of America
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country_of_origin resource:United_States_of_America } UNION { ?y property:country_of_origin resource:United_States_of_America } UNION { ?z property:country_of_origin resource:Italy } UNION { ?y property:country_of_origin resource:Italy } UNION { ?z property:country_of_origin resource:Brazil } UNION { ?y property:country_of_origin resource:Brazil } UNION { ?z property:country_of_origin resource:United_States_of_America } UNION { ?y property:country_of_origin resource:United_States_of_America } } . ?z rdf:type ontology:sports_team . ?y rdf:type ontology:band }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q12973014),P495,Q30) (c(Q215380),P495,Q30) (c(Q12973014),P495,Q38) (c(Q215380),P495,Q38) (c(Q12973014),P495,Q155) (c(Q215380),P495,Q155) (c(Q12973014),P495,Q30) (c(Q215380),P495,Q30)
[{'concept': 'Q12973014'}, 'P495', 'Q30'] [{'concept': 'Q215380'}, 'P495', 'Q30'] [{'concept': 'Q12973014'}, 'P495', 'Q38'] [{'concept': 'Q215380'}, 'P495', 'Q38'] [{'concept': 'Q12973014'}, 'P495', 'Q155'] [{'concept': 'Q215380'}, 'P495', 'Q155'] [{'concept': 'Q12973014'}, 'P495', 'Q30'] [{'concept': 'Q215380'}, 'P495', 'Q30']
[{'concept': 'sports team'}, 'country of origin', 'United States of America'] [{'concept': 'band'}, 'country of origin', 'United States of America'] [{'concept': 'sports team'}, 'country of origin', 'Italy'] [{'concept': 'band'}, 'country of origin', 'Italy'] [{'concept': 'sports team'}, 'country of origin', 'Brazil'] [{'concept': 'band'}, 'country of origin', 'Brazil'] [{'concept': 'sports team'}, 'country of origin', 'United States of America'] [{'concept': 'band'}, 'country of origin', 'United States of America']
[]
SYSTEM
2 sports teams and 656 bands
Q7750444 Q7559404 Q324836 Q2713234 Q733159 Q268160 Q113391 Q19979232 Q465862 Q2499094 Q6993400 Q484255 Q656291 Q764483 Q124179 Q5035696 Q15136158 Q209956 Q838942 Q921267 Q4736269 Q506670 Q844524 Q1201534 Q176240 Q197415 Q425641 Q8028372 Q7167931 Q1037763 Q526174 Q3126530 Q3621366 Q7786401 Q7630666 Q4787002 Q1418897 Q702634 Q6727855 Q281253 Q7742100 Q17285518 Q2107050 Q16199142 Q832446 Q1334471 Q17514497 Q19832744 Q1420144 Q47871 Q1154136 Q2176493 Q1664392 Q572077 Q867531 Q7859134 Q126852 Q7752605 Q7310169 Q7072536 Q2121951 Q7544586 Q4734182 Q7720230 Q617822 Q765243 Q11649 Q837261 Q22073809 Q488260 Q3429681 Q431700 Q3809713 Q943411 Q1689480 Q1857842 Q4053266 Q7402400 Q5179539 Q907370 Q1063466 Q222887 Q743353 Q15891155 Q224565 Q126826 Q1344131 Q7301240 Q22025938 Q6729979 Q7717860 Q18123226 Q18153648 Q4999481 Q931544 Q3110679 Q1114245 Q1418857 Q7193300 Q246352 Q7090979 Q165179 Q7728568 Q6532678 Q18154709 Q634987 Q690138 Q769259 Q895429 Q758854 Q312706 Q3521734 Q3748077 Q651984 Q1282543 Q7774032 Q1984281 Q1451159 Q19879307 Q1276886 Q6760406 Q6540184 Q1693189 Q4039264 Q8063240 Q18574992 Q1092014 Q1777698 Q1428953 Q7534185 Q1906374 Q7614400 Q277156 Q1777553 Q282531 Q740434 Q1483286 Q18719112 Q1970245 Q11350174 Q464476 Q174817 Q271984 Q727736 Q2414715 Q16300222 Q18149408 Q16841239 Q18390401 Q5422614 Q7659079 Q2030697 Q207472 Q426827 Q25936456 Q5069735 Q3851552 Q7739735 Q7828573 Q4023973 Q4835789 Q1758193 Q2409645 Q18712609 Q22073564 Q4046815 Q7883491 Q1197707 Q531379 Q523449 Q8074504 Q6813035 Q649175 Q1159568 Q1592369 Q929414 Q19958184 Q7908455 Q7748591 Q7797322 Q1258824 Q1586034 Q2294193 Q764157 Q707161 Q750927 Q7765138 Q617627 Q4915970 Q2062170 Q22121852 Q4548727 Q1351122 Q952805 Q264550 Q1753446 Q637771 Q45354 Q1143223 Q7699206 Q211583 Q11904 Q7851464 Q892968 Q1545232 Q289126 Q261341 Q1752517 Q8073724 Q873384 Q7834560 Q725469 Q2688212 Q825336 Q1026810 Q1514140 Q15069660 Q7754552 Q7592216 Q478750 Q977373 Q850616 Q1002101 Q929731 Q544403 Q1335689 Q811021 Q7775622 Q22073620 Q486830 Q1035077 Q538369 Q1810774 Q6201647 Q3013333 Q7313417 Q1134615 Q7321906 Q22809392 Q134969 Q7074392 Q1576623 Q2704085 Q80794 Q1430616 Q5170144 Q730758 Q1473123 Q1424124 Q205347 Q15632488 Q7601492 Q722232 Q7623242 Q887304 Q1811198 Q859463 Q6214254 Q7735374 Q2056521 Q937514 Q545536 Q7782079 Q4999534 Q1542906 Q18153317 Q929683 Q733182 Q970502 Q21036749 Q4912802 Q1135315 Q797648 Q4820271 Q7603475 Q2570196 Q1508351 Q895852 Q18249378 Q18355806 Q425772 Q178642 Q941559 Q7659333 Q5307894 Q2085247 Q165714 Q4996788 Q5658520 Q18719055 Q7283278 Q17916924 Q846654 Q2000109 Q2279110 Q6411814 Q1759727 Q3988855 Q7823934 Q202741 Q391348 Q5188022 Q5957630 Q223495 Q7473480 Q674314 Q7761780 Q7277913 Q1253921 Q1887278 Q2164812 Q7771011 Q18205165 Q7768198 Q16968624 Q1535899 Q478140 Q7715255 Q18719121 Q25094590 Q20687485 Q1425700 Q17326538 Q2265203 Q3859954 Q1033405 Q942668 Q457368 Q17087956 Q7296386 Q782916 Q7722211 Q4691092 Q719887 Q1813840 Q12845719 Q483285 Q7828563 Q2123387 Q329270 Q7653437 Q205001 Q659656 Q841514 Q7553124 Q1695459 Q106648 Q880574 Q379448 Q968605 Q475227 Q16955239 Q1889163 Q3374926 Q1142153 Q5594332 Q7227260 Q754323 Q285190 Q610718 Q1778186 Q192486 Q7738982 Q1501614 Q514336 Q16853301 Q512312 Q771322 Q624790 Q1209857 Q873413 Q2538127 Q952081 Q4382276 Q1934859 Q815801 Q371642 Q1778165 Q7521271 Q1682401 Q8071517 Q880610 Q1044610 Q2093493 Q184217 Q1849580 Q763765 Q1464538 Q258120 Q19868236 Q6797013 Q15052681 Q1625341 Q4929139 Q1544817 Q1335788 Q266496 Q769682 Q5469498 Q5403508 Q172186 Q7605210 Q610228 Q8028727 Q5625321 Q7733620 Q1631159 Q16827965 Q5221647 Q548990 Q1071757 Q486688 Q623292 Q15920 Q275059 Q4796044 Q12912301 Q798671 Q16961400 Q4926851 Q20897081 Q472595 Q7034054 Q947339 Q951532 Q6706450 Q5943527 Q744772 Q1330850 Q3485304 Q15121030 Q925677 Q16886190 Q1276681 Q7197827 Q1480406 Q7748926 Q7737085 Q7296870 Q1683782 Q638330 Q7137601 Q4049186 Q1050489 Q465075 Q7917341 Q24450573 Q6192340 Q858388 Q20527609 Q7720064 Q913552 Q7618040 Q1392576 Q2306652 Q610980 Q1424974 Q1456129 Q1224567 Q1142207 Q3174000 Q7860133 Q2001563 Q2860251 Q3273045 Q21158994 Q522849 Q1429014 Q1129658 Q2197794 Q7932854 Q3374629 Q741661 Q6889949 Q2117272 Q1468680 Q103550 Q7238729 Q484918 Q741801 Q5190187 Q5212239 Q5428309 Q7564468 Q7564501 Q4042201 Q726694 Q7721993 Q2701586 Q272239 Q984004 Q4942847 Q593366 Q7508123 Q72092 Q17027389 Q1179040 Q1969731 Q192843 Q812627 Q5687428 Q7730869 Q7715321 Q5120415 Q4928074 Q6502971 Q5554149 Q261 Q634476 Q17088298 Q473466 Q726773 Q19559947 Q3468351 Q485039 Q7202929 Q7376265 Q240703 Q18042821 Q1273595 Q7769101 Q1267246 Q430581 Q4729677 Q16226634 Q2043760 Q1753914 Q730046 Q7933157 Q7546039 Q291286 Q673657 Q7311730 Q1142703 Q464749 Q5417961 Q125862 Q1567895 Q7673078 Q10708 Q7361998 Q2565255 Q140295 Q1003115 Q3758001 Q3492038 Q6422208 Q845084 Q1024639 Q1508520 Q7996026 Q6745455 Q536997 Q590102 Q373702 Q772035 Q286364 Q3353166 Q1756844 Q907445 Q1381587 Q3357598 Q390590 Q742860 Q5531063 Q1392991 Q142701 Q7683577 Q355701 Q804352 Q1547740 Q687866 Q1780979 Q14921234 Q1756440 Q22044898 Q3858512 Q1757838 Q169119 Q8030180 Q163819 Q2292427 Q1758822 Q1068713 Q1353720 Q4985776 Q370400 Q19560405 Q309312 Q374747 Q212533 Q3615288 Q1491799 Q308816 Q7877790 Q7751388 Q926269 Q546930 Q1933051 Q1519393 Q19559972 Q1865430 Q496101 Q4299 Q976882 Q185417 Q302155 Q7941649 Q1408267 Q539073 Q49724 Q850645 Q1182355 Q1631685 Q2257252 Q2389382 Q7719916 Q20687353 Q16951110 Q2002410 Q781261 Q2005373 Q7619179 Q7771257 Q4880294 Q641012 Q5910541 Q768658 Q1525762 Q7830520 Q1850330 Q1760399 Q1382357 Q655782 Q1604599 Q845790 Q7357024 Q228648 Q7560624 Q7704629 Q1183865 Q126953 Q5067900 Q17089702 Q1813380 Q1417871 Q736107 Q16821277 Q21733149 Q869427 Q1547725 Q2270327 Q7033195 Q741532 Q7382852 Q2298766 Q11895 Q16838033
(c(Q12973014),P495,Q30) (c(Q215380),P495,Q30) (c(Q12973014),P495,Q38) (c(Q215380),P495,Q38) (c(Q12973014),P495,Q155) (c(Q215380),P495,Q155) (c(Q12973014),P495,Q30) (c(Q215380),P495,Q30)
[ANSWER]
[{'concept': 'Q12973014'}, 'P495', 'Q30'] [{'concept': 'Q215380'}, 'P495', 'Q30'] [{'concept': 'Q12973014'}, 'P495', 'Q38'] [{'concept': 'Q215380'}, 'P495', 'Q38'] [{'concept': 'Q12973014'}, 'P495', 'Q155'] [{'concept': 'Q215380'}, 'P495', 'Q155'] [{'concept': 'Q12973014'}, 'P495', 'Q30'] [{'concept': 'Q215380'}, 'P495', 'Q30']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P495 resource:Q30 } UNION { ?y property:P495 resource:Q30 } UNION { ?z property:P495 resource:Q977238 } UNION { ?y property:P495 resource:Q977238 } UNION { ?z property:P495 resource:Q21475816 } UNION { ?y property:P495 resource:Q21475816 } UNION { ?z property:P495 resource:Q30 } UNION { ?y property:P495 resource:Q30 } } . ?z rdf:type ontology:Q12973014 . ?y rdf:type ontology:Q215380 }
The Marshes Some Girls Boyce and Hart Enuff Z'nuff Crosby, Stills, Nash & Young The White Stripes The Bird and the Bee Alison's Mailbox Steppenwolf Young the Giant Neon Cross Alice in Chains The Stanley Brothers Dope Kiss Capital Cities A Great Big World Weezer Blessthefall Phish Alter Ego The Doobie Brothers Gang Starr Detroit Grand Pubahs Galaxie 500 Zhané Kid 'n Play Witness Perfect Hollywood Rose Nelson Hammerbox Arbouretum This World Fair Sub Oslo Architects Fireflight The Monks Madison Hellyeah The Innocence Mission Los Donneños The Power Station AM & Shawn Lee Better Than Ezra Mr. Mister Bad Suns Thundering Asteroids! Fischerspooner Green Day DJ Jazzy Jeff & The Fresh Prince Rupa & the April Fishes Slaughter La Bouche Circa Two Nice Girls America The Muggs Reilly and Maloney OGOGO Jackyl Smile Aloha The Broadways Jars of Clay Vanilla Fudge Nirvana The Collins Kids Glass Teeth Jefferson Airplane Dommin Suicide Silence Johnny Crash Massacre Jimmy & Johnny The Wreckers Wye Oak Saints & Sinners Cowboy Mouth Hinder Charles & Eddie 2 in a Room Iron Butterfly Doc Holliday 311 Aerosmith Sparks Reality Check Venus Mars Project Magdallan The Big Wu Rae Sremmurd Jack Ü Burn Half Japanese The Remains Deliverance Fireball Ministry Poor Righteous Teachers Rise Against On Fire 100 Monkeys The D.E.Y. Let Go Swallow Breaking Point Everly Brothers Capone-N-Noreaga Bowery Electric Audio Two Magnapop The Make-Up Forgive Durden Flying Colors K-Ci & JoJo The Webb Brothers Rob Base and DJ E-Z Rock Orgy Die Happy Eagles of Death Metal Marginal Prophets Rhye The Word Alive Garfunkel and Oates ZO2 Black Lodge Petra Evanescence Tesla Skatterman & Snug Brim Mary Mary Steve and Eydie Jesu Spirit Train Smash Mouth The Good Life Minas The Beau Brummels Loggins and Messina Black Flag Soundgarden Breaking Benjamin Black Label Society The Transmissionary Six Haas F1 Team Churchwood We Are Harlot Ridel High Eye Empire Switchback Scream Toto Third Day Coast Modern Chameleon Mastedon The Hippos Touch Zebra BK3 Xiu Xiu The Bastard Fairies VERIDIA Blank Range Phantogram Undercover Unwritten Law Angel The Calling Zoroaster Melky Sedeck Danzig Danger Danger The Rowans The Gone Jackals It Was Romance Vaganza The Lost Children of Babylon Three Drexciya Harpers Bizarre Slim & Slam Mastermind The Weather Girls Steve Miller Band The Soil Bleeds Black Spock's Beard Birdbrain Trouble Mr. & Mrs. Something 12 Rods Eric B. & Rakim MercyMe Stories The Bouncing Souls Wilco The Doors Trapt Ten Hands The Strokes Eels Tuff Crew Boogie Down Productions Sam & Dave Miss May I The Highwaymen Draco and the Malfoys Zombi Santana Translator Stone Sour The Brains The Piano Guys Paul Revere and the Raiders Mayday Parade Organized Konfusion The O'Neill Brothers StOrk Dio The Blue Sky Boys Between the Buried and Me Buffalo Tom Insane Clown Posse Playaz Circle White Lion Battles The Wonder Who? Glossary Audioslave Captain & Tennille Rhinoceros Leatherwolf Jimmy and Carol Owens Dance Gavin Dance Reno and Smiley Violent Femmes Rhythm Corps From Ashes to New R.E.M. Oasis Warpaint The Twilight Singers Silent Civilian Monster Magnet Core Control Denied Santo & Johnny The Left Banke Zion I Aer Starbuck Switchfoot Strength in Numbers BoDeans Mudcrutch Big Tymers Joey + Rory The Frontline Pat McGee Band P.M. Dawn Electric Six Theodore Unit Burn Season The J. Geils Band Got a Girl Brooks & Dunn Hall & Oates The Kingsmen Pucho & His Latin Soul Brothers Billy Joel Band Survivor Babes in Toyland Malo State Property The Wilburn Brothers The Jayhawks Boy Meets Girl Captain, We're Sinking Scarlet White Ministry Soulfly Low Swords Drive Thinking Plague Live Bullet Harlem The Young Rah Bras The Legends The Clovers Royal Trux 3 King Kong Nine Days The Product G&B Too Much Trouble Blondie Imagine Dragons Crosby & Nash Hyper Static Union The Carpenters The Clarks Fallout The Rude Boys RTZ Dr. Hook & the Medicine Show Oingo Boingo Samhain The U.M.C.'s American Fangs The Team Rites of Ash Luniz The Ides of March The Backsliders SIMO I Smell Panties Vapors of Morphine Soil The Bots Jefferson Starship Modern Life Is War Cannibal Ox Ying Yang Twins Kamelot Seventeen Evergreen Raven She Wants Revenge The Charms Against the Season As Blood Runs Black Allen-Lande Shooting Star My Chemical Romance Touch State Radio Stone Temple Pilots Swan Dive Talking Heads Cali Agents Tonic Socratic The Farmer Boys Fleetwood Mac Black Star Hot Tuna Rev Theory The Jesus Lizard The Opus Night Ranger Pentatonix Cruzados Grand Buffet Pomegranates Fates Warning Molly Hatchet Blue Pearl The Fiery Furnaces Kings of Leon The Hassles Taproot Saint Vitus Macklemore & Ryan Lewis Soul Asylum Cactus Hole Dick and Dee Dee Daughtry Loaded Misery Signals Everyday Sunday Montrose The Bellamy Brothers H. P. Lovecraft Lycia Simtec & Wylie Jan and Dean Ziel (Rock group) Black Tide Caroline's Spine Redemption The Smashing Pumpkins Nonpoint Seals and Crofts Friends Black Sheep Striking Matches Mayday The Underachievers Holy Terror Blue Giant The Feelies Red Krayola Staind The Lookouts Forever in Terror Scale the Summit Rival Sons Steady Mobb'n The Righteous Brothers Wizard Gypsy The Federation New Boyz Cordovas Daphne and Celeste Poco Voodoocult Mötley Crüe Transplants Metallica Foreigner Arrogance Womack & Womack Bad Brains Mama Digdown's Brass Band Bliss 66 Wild Adriatic Outkast Nightstick OSI Crazy Horse Luxury Hungry March Band Clipse Great White Sirsy Wardell Broken Bells Trinity Garden Cartel E Street Band Pirate Shantyman and his Bonnie Lass Scary Kids Scaring Kids The Love Interest The Golden Palominos Raw Fusion The Georgia Satellites Arcángel & De La Ghetto Park Screaming Females Catch 22 Yellowcard Vaughn Chloe x Halle Jigmastas The Cars Highly Suspect The Bridge Bride Stockholm Syndrome Hardline Dust Walls of Jericho Giant Sand Letters to Cleo Dig The Mayfield Four Los Lonely Boys Tyler Read The Outhere Brothers Architect MKTO Hollywood Vampires Winger Flo & Eddie Cool & Dre Abe Vigoda Vintage Trouble Penance Spın̈al Tap moe. Tom Petty and the Heartbreakers In This Moment The Velvet Underground Pratt & McClain Simon & Garfunkel Sevendust Crush Damian Dame Face Soulfarm Souljahz Killing Time Neurotic Outsiders The Chainsmokers Failure Twisted Sister The Posies Boogie Boys Collective Soul Siddhartha Rage Against the Machine We Are The Riot Monstrosity Wicked Lester Death Bayside Haywood-Wakefield Band The Dragons The Badlees Cinder Road Bloody Mannequin Orchestra Law Get Scared Linkin Park Peaches & Herb Skycycle Paramore Gnarls Barkley American Fiction Just Surrender Deftones Play-N-Skillz Ruby Atreyu The Madden Brothers E.S. Posthumus The Three Suns Paint It Black All Shall Perish All Star United The Swon Brothers Addison Road Saliva Goo Goo Dolls Violent Apathy Smoking Popes EPMD Saginaw Spirit Remembrance Alkaline Trio Journey Everything The Wonder Years Paul & Paula Tabitha's Secret Red Hot Chili Peppers Roman Holiday Autograph Zager and Evans Built to Spill Gamma Living Loud Knight Brothers REO Speedwagon C+C Music Factory The Heartbreakers Whitehead Bros. Mamasitas The Atomic Bitchwax Styx House of Lords Indigo Girls The Bravery Open Hand The Louvin Brothers Sonny & Cher Eve 6 Other Lives Rancid Pepper Gene & Debbe Fair Pearl Jam Tanks of Zen Adema Blaqk Audio Nothingface Silver Apples The Album Leaf The Mannish Boys Resurrection Band Sofi Tukker Ministry of Magic The New Power Generation 10 Years Wolfpac 10,000 Maniacs Skip & Flip Masters at Work Cheap Trick Shadows Fall Buffalo Killers Los Lobos Dust Moth Testament Skillet Grateful Dead And Then There Were None Quietdrive Creed Ugly Americans The Mighty Underdogs Mutemath Thievery Corporation Alabama Shakes Nocturne The Apache Relay Vixen The Lumineers Coheed and Cambria Social Distortion Raybon Brothers Bleeding Through Voodoo Gods Riot Girls of the Golden West Hoobastank New Found Glory Deep Blue Something Warrant 40 Below Summer OP8 The Breakfast The Smoking Flowers Meanest Man Contest Smif-n-Wessun Dirty White Boy Harry and the Potters Stoneground The Ummah Before Their Eyes The York Brothers Hot Tamale Brass Band Telefon Tel Aviv Ultimatum Toy Matinee The Walkmen Sugar Quicksilver Messenger Service The Dead Weather Heltah Skeltah Lifehouse Rodney O & Joe Cooley 38 Special Son of Bazerk Terry Knight and the Pack Delaney & Bonnie Gov't Mule Chain Reaction The Ceremonies The Weepies Marcy Playground OK Go Alice Cooper Us The Duo Country Joe and the Fish Group Home Bang Tango Night Bad Meets Evil Ruth Adams and the World's Most Dangerous Polka Band Allister Guns N’ Roses The Futuristiks
2 sports teams and 656 bands
[{'concept': 'sports team'}, 'country of origin', 'United States of America'] [{'concept': 'band'}, 'country of origin', 'United States of America'] [{'concept': 'sports team'}, 'country of origin', 'Italy'] [{'concept': 'band'}, 'country of origin', 'Italy'] [{'concept': 'sports team'}, 'country of origin', 'Brazil'] [{'concept': 'band'}, 'country of origin', 'Brazil'] [{'concept': 'sports team'}, 'country of origin', 'United States of America'] [{'concept': 'band'}, 'country of origin', 'United States of America']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country_of_origin resource:United_States_of_America } UNION { ?y property:country_of_origin resource:United_States_of_America } UNION { ?z property:country_of_origin resource:Italy } UNION { ?y property:country_of_origin resource:Italy } UNION { ?z property:country_of_origin resource:Brazil } UNION { ?y property:country_of_origin resource:Brazil } UNION { ?z property:country_of_origin resource:United_States_of_America } UNION { ?y property:country_of_origin resource:United_States_of_America } } . ?z rdf:type ontology:sports_team . ?y rdf:type ontology:band }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5927900 Q38
P530 P17
Q15617994
USER
Which administrative territories holds diplomatic relationship with Italy or do Hucal belong to ?
OR((Q38,P530,c(Q15617994)), (Q5927900,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q5927900
relation P17
type Q15617994
{'OR': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q5927900', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q38 property:P530 ?d } UNION { resource:Q5927900 property:P17 ?d } } . ?d rdf:type ontology:Q15617994 }
Hucal Italy
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Hucal
relation country
type designation for an administrative territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Hucal', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Italy property:diplomatic_relation ?d } UNION { resource:Hucal property:country ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q215 Q213 Q236 Q221 Q17 Q55 Q219 Q843 Q77 Q39
SYSTEM
Some of them are Slovenia, Czech Republic, Montenegro, Republic of Macedonia, Japan, Netherlands, Bulgaria, Pakistan, Uruguay, Switzerland
Q805 Q219 Q869 Q801 Q189 Q843 Q184 Q423 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q31 Q229 Q228 Q33 Q32 Q17 Q30 Q37 Q36 Q79 Q34 Q77 Q39 Q1016 Q739 Q227 Q948 Q191 Q733 Q928 Q298 Q45 Q252 Q114 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q215 Q155 Q218 Q41 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q881
OR((Q38,P530,c(Q15617994)), (Q5927900,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q5927900
relation P17
type Q15617994
[ANSWERS] hold diplomatic relationship with Italy or do Hucal belong to
{'OR': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q5927900', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q38 property:P530 ?d } UNION { resource:Q5927900 property:P17 ?d } } . ?d rdf:type ontology:Q15617994 }
Yemen Bulgaria Thailand Israel Iceland Pakistan Belarus North Korea Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Belgium Cyprus Andorra Finland Luxembourg Japan United States of America Lithuania Poland Egypt Sweden Uruguay Switzerland Libya Colombia Azerbaijan Tunisia Estonia Paraguay Philippines Chile Portugal Indonesia Kenya Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Slovenia Brazil Romania Greece San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea Vietnam
Slovenia, Czech Republic, Montenegro, Republic of Macedonia, Japan, Netherlands, Bulgaria, Pakistan, Uruguay and Switzerland hold diplomatic relationship with Italy or do Hucal belong to
Slovenia Czech Republic Montenegro Republic of Macedonia Japan Netherlands Bulgaria Pakistan Uruguay Switzerland
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Hucal
relation country
type designation for an administrative territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Hucal', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Italy property:diplomatic_relation ?d } UNION { resource:Hucal property:country ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]