Simple Question (Direct)
Simple Question
Q550635
P1196
Q1931388
USER
What manner did Phil Katz die ?
(Q550635,P1196,c(Q1931388))
action filter_type
action find
entity Q550635
relation P1196
type Q1931388
['Q550635', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1931388 . resource:Q550635 property:P1196 ?y }
Phil Katz
action filter_type
action find
entity Phil Katz
relation manner of death
type cause of death
['Phil Katz', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:cause_of_death . resource:Phil_Katz property:manner_of_death ?y }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q550635,P1196,c(Q1931388))
action filter_type
action find
entity Q550635
relation P1196
type Q1931388
Phil Katz died of [ANSWER]
['Q550635', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1931388 . resource:Q550635 property:P1196 ?y }
natural causes
Phil Katz died of natural causes
natural causes
action filter_type
action find
entity Phil Katz
relation manner of death
type cause of death
['Phil Katz', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:cause_of_death . resource:Phil_Katz property:manner_of_death ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q550635
P69
Q3918
USER
Which university was Phil Katz educated at ?
(Q550635,P69,c(Q3918))
action filter_type
action find
entity Q550635
relation P69
type Q3918
['Q550635', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?d WHERE { resource:Q550635 property:P69 ?d . ?d rdf:type ontology:Q3918 }
Phil Katz
action filter_type
action find
entity Phil Katz
relation educated at
type university
['Phil Katz', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?d WHERE { resource:Phil_Katz property:educated_at ?d . ?d rdf:type ontology:university }
[]
university
Q1755318
SYSTEM
University of Wisconsin–Milwaukee
Q1755318
(Q550635,P69,c(Q3918))
action filter_type
action find
entity Q550635
relation P69
type Q3918
Phil Katz was educated by [ANSWER]
['Q550635', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?d WHERE { resource:Q550635 property:P69 ?d . ?d rdf:type ontology:Q3918 }
University of Wisconsin–Milwaukee
Phil Katz was educated by University of Wisconsin–Milwaukee
University of Wisconsin–Milwaukee
action filter_type
action find
entity Phil Katz
relation educated at
type university
['Phil Katz', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?d WHERE { resource:Phil_Katz property:educated_at ?d . ?d rdf:type ontology:university }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7931695
Q3918
USER
And also tell me about Vincent Brown?
(Q7931695,P69,c(Q3918))
action filter_type
action find
entity Q7931695
relation P69
type Q3918
['Q7931695', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?w WHERE { resource:Q7931695 property:P69 ?w . ?w rdf:type ontology:Q3918 }
Vincent Brown
action filter_type
action find
entity Vincent Brown
relation educated at
type university
['Vincent Brown', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?w WHERE { resource:Vincent_Brown property:educated_at ?w . ?w rdf:type ontology:university }
[]
university
Q913861
SYSTEM
San Diego State University
Q913861
(Q7931695,P69,c(Q3918))
action filter_type
action find
entity Q7931695
relation P69
type Q3918
[ANSWER]
['Q7931695', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?w WHERE { resource:Q7931695 property:P69 ?w . ?w rdf:type ontology:Q3918 }
San Diego State University
San Diego State University
action filter_type
action find
entity Vincent Brown
relation educated at
type university
['Vincent Brown', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?w WHERE { resource:Vincent_Brown property:educated_at ?w . ?w rdf:type ontology:university }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P127
Q3918 Q2668072 Q2001305
USER
How many universities are the owners of more number of collections and television channels than that university ?
(c(Q2668072)|c(Q2001305),P127,c(Q3918))
action count
action greater
action union
action find_reverse_tuple_counts
relation P127
type Q3918
type Q2668072
action find_reverse_tuple_counts
relation P127
type Q3918
type Q2001305
action count
action filter_multi_types
action find_reverse
entity Q913861
relation P127
type Q2668072
type Q2001305
[[{'concept': 'Q2668072'}, {'concept': 'Q2001305'}], 'P127', {'concept': 'Q3918'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) ?f WHERE { { ?s property:P127 ?f . ?f rdf:type ontology:Q3918 . ?s rdf:type ontology:Q2668072 } UNION { ?f rdf:type ontology:Q3918 . ?s rdf:type ontology:Q2001305 . ?s property:P127 ?f } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:P127 resource:Q913861 . { { ?m rdf:type ontology:Q2668072 } UNION { ?m rdf:type ontology:Q2001305 } } } } . FILTER ( ?q > ?b ) }
action count
action greater
action union
action find_reverse_tuple_counts
relation owned by
type university
type collection
action find_reverse_tuple_counts
relation owned by
type university
type television channel
action count
action filter_multi_types
action find_reverse
entity San Diego State University
relation owned by
type collection
type television channel
[[{'concept': 'collection'}, {'concept': 'television channel'}], 'owned by', {'concept': 'university'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) ?f WHERE { { ?s property:owned_by ?f . ?f rdf:type ontology:university . ?s rdf:type ontology:collection } UNION { ?f rdf:type ontology:university . ?s rdf:type ontology:television_channel . ?s property:owned_by ?f } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:owned_by resource:San_Diego_State_University . { { ?m rdf:type ontology:collection } UNION { ?m rdf:type ontology:television_channel } } } } . FILTER ( ?q > ?b ) }
[]
university collection television channel
SYSTEM
6
Q34433 Q219563 Q49206 Q49213 Q694219 Q503419
(c(Q2668072)|c(Q2001305),P127,c(Q3918))
action count
action greater
action union
action find_reverse_tuple_counts
relation P127
type Q3918
type Q2668072
action find_reverse_tuple_counts
relation P127
type Q3918
type Q2001305
action count
action filter_multi_types
action find_reverse
entity Q913861
relation P127
type Q2668072
type Q2001305
[ANSWER]
[[{'concept': 'Q2668072'}, {'concept': 'Q2001305'}], 'P127', {'concept': 'Q3918'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) ?f WHERE { { ?s property:P127 ?f . ?f rdf:type ontology:Q3918 . ?s rdf:type ontology:Q2668072 } UNION { ?f rdf:type ontology:Q3918 . ?s rdf:type ontology:Q2001305 . ?s property:P127 ?f } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:P127 resource:Q913861 . { { ?m rdf:type ontology:Q2668072 } UNION { ?m rdf:type ontology:Q2001305 } } } } . FILTER ( ?q > ?b ) }
University of Oxford University of Washington University of Connecticut University of Texas at Austin Kyiv National University of Trade and Economics University of Arizona
6
action count
action greater
action union
action find_reverse_tuple_counts
relation owned by
type university
type collection
action find_reverse_tuple_counts
relation owned by
type university
type television channel
action count
action filter_multi_types
action find_reverse
entity San Diego State University
relation owned by
type collection
type television channel
[[{'concept': 'collection'}, {'concept': 'television channel'}], 'owned by', {'concept': 'university'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) ?f WHERE { { ?s property:owned_by ?f . ?f rdf:type ontology:university . ?s rdf:type ontology:collection } UNION { ?f rdf:type ontology:university . ?s rdf:type ontology:television_channel . ?s property:owned_by ?f } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:owned_by resource:San_Diego_State_University . { { ?m rdf:type ontology:collection } UNION { ?m rdf:type ontology:television_channel } } } } . FILTER ( ?q > ?b ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q26663031 Q550635
P27 P17
Q15617994
USER
Which administrative territories are Phil Katz an inhabitant of or are The Lower Lodge located in ?
OR((Q550635,P27,c(Q15617994)), (Q26663031,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q550635
relation P27
action find
entity Q26663031
relation P17
type Q15617994
{'OR': [['Q550635', 'P27', {'concept': 'Q15617994'}], ['Q26663031', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q26663031 property:P17 ?j } UNION { resource:Q550635 property:P27 ?j } } . ?j rdf:type ontology:Q15617994 }
The Lower Lodge Phil Katz
action filter_type
action union
action find
entity Phil Katz
relation country of citizenship
action find
entity The Lower Lodge
relation country
type designation for an administrative territorial entity
{'OR': [['Phil Katz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['The Lower Lodge', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:The_Lower_Lodge property:country ?j } UNION { resource:Phil_Katz property:country_of_citizenship ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q145
SYSTEM
United States of America, United Kingdom
Q30 Q145
OR((Q550635,P27,c(Q15617994)), (Q26663031,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q550635
relation P27
action find
entity Q26663031
relation P17
type Q15617994
The [ANSWERS] are Phil Katz an inhabitant of or are The Lower Lodge located in
{'OR': [['Q550635', 'P27', {'concept': 'Q15617994'}], ['Q26663031', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q26663031 property:P17 ?j } UNION { resource:Q550635 property:P27 ?j } } . ?j rdf:type ontology:Q15617994 }
United States of America United Kingdom
The United States of America and United Kingdom are Phil Katz an inhabitant of or are The Lower Lodge located in
United States of America United Kingdom
action filter_type
action union
action find
entity Phil Katz
relation country of citizenship
action find
entity The Lower Lodge
relation country
type designation for an administrative territorial entity
{'OR': [['Phil Katz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['The Lower Lodge', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:The_Lower_Lodge property:country ?j } UNION { resource:Phil_Katz property:country_of_citizenship ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1036
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with more number of administrative territories than Uganda ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1036
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?r ) WHERE { ?t property:P530 ?w . ?t rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?t } . FILTER ( ?r > ?m ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:Q1036 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } }
Uganda
action count
action greater
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 Uganda
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 ( ?t ) AS ?j ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?r ) WHERE { ?t property:diplomatic_relation ?w . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . FILTER ( ?r > ?m ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:Uganda property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
109
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q736 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q1049 Q189 Q843 Q842 Q184 Q1029 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1033 Q191 Q962 Q298 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q833 Q977 Q34020 Q574 Q79 Q77 Q858 Q878 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1036
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?r ) WHERE { ?t property:P530 ?w . ?t rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?t } . FILTER ( ?r > ?m ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:Q1036 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Sudan Iceland Pakistan Oman Belarus Mozambique Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Nigeria Estonia Benin Chile Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Malaysia Djibouti Niue East Timor Egypt Uruguay Syria United Arab Emirates Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
109
action count
action greater
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 Uganda
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 ( ?t ) AS ?j ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?r ) WHERE { ?t property:diplomatic_relation ?w . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . FILTER ( ?r > ?m ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:Uganda property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q912
P530
Q15617994 Q15617994
USER
And also tell me about Mali?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q912
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?u ) WHERE { ?s rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 . ?s property:P530 ?i } GROUP BY ?s } . FILTER ( ?u > ?v ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { resource:Q912 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } }
Mali
action count
action greater
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 Mali
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 ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?u ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:diplomatic_relation ?i } GROUP BY ?s } . FILTER ( ?u > ?v ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { resource:Mali property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
109
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q736 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q1049 Q189 Q843 Q842 Q184 Q1029 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1033 Q191 Q962 Q298 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q833 Q977 Q34020 Q574 Q79 Q77 Q858 Q878 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q912
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?u ) WHERE { ?s rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 . ?s property:P530 ?i } GROUP BY ?s } . FILTER ( ?u > ?v ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { resource:Q912 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Sudan Iceland Pakistan Oman Belarus Mozambique Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Nigeria Estonia Benin Chile Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Malaysia Djibouti Niue East Timor Egypt Uruguay Syria United Arab Emirates Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
109
action count
action greater
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 Mali
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 ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?u ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:diplomatic_relation ?i } GROUP BY ?s } . FILTER ( ?u > ?v ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { resource:Mali property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1755318
P276
Q838948 Q386724
USER
How many works of art and works have their location as University of Wisconsin–Milwaukee ?
(c(Q838948),P276,Q1755318) (c(Q386724),P276,Q1755318)
action count
action union
action filter_type
action find_reverse
entity Q1755318
relation P276
type Q838948
action filter_type
action find_reverse
entity Q1755318
relation P276
type Q386724
[{'concept': 'Q838948'}, 'P276', 'Q1755318'] [{'concept': 'Q386724'}, 'P276', 'Q1755318']
SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { { ?q rdf:type ontology:Q838948 . ?q property:P276 resource:Q1755318 } UNION { ?q property:P276 resource:Q1755318 . ?q rdf:type ontology:Q386724 } }
University of Wisconsin–Milwaukee
action count
action union
action filter_type
action find_reverse
entity University of Wisconsin–Milwaukee
relation location
type work of art
action filter_type
action find_reverse
entity University of Wisconsin–Milwaukee
relation location
type work
[{'concept': 'work of art'}, 'location', 'University of Wisconsin–Milwaukee'] [{'concept': 'work'}, 'location', 'University of Wisconsin–Milwaukee']
SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { { ?q rdf:type ontology:work_of_art . ?q property:location resource:University_of_Wisconsin–Milwaukee } UNION { ?q property:location resource:University_of_Wisconsin–Milwaukee . ?q rdf:type ontology:work } }
[]
work of art work
SYSTEM
1 works of art and 1 works
Q6861654 Q7797356
(c(Q838948),P276,Q1755318) (c(Q386724),P276,Q1755318)
action count
action union
action filter_type
action find_reverse
entity Q1755318
relation P276
type Q838948
action filter_type
action find_reverse
entity Q1755318
relation P276
type Q386724
[ANSWER]
[{'concept': 'Q838948'}, 'P276', 'Q1755318'] [{'concept': 'Q386724'}, 'P276', 'Q1755318']
SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { { ?q rdf:type ontology:Q838948 . ?q property:P276 resource:Q1755318 } UNION { ?q property:P276 resource:Q1755318 . ?q rdf:type ontology:Q386724 } }
Milwaukee Three Bronze Discs
1 works of art and 1 works
action count
action union
action filter_type
action find_reverse
entity University of Wisconsin–Milwaukee
relation location
type work of art
action filter_type
action find_reverse
entity University of Wisconsin–Milwaukee
relation location
type work
[{'concept': 'work of art'}, 'location', 'University of Wisconsin–Milwaukee'] [{'concept': 'work'}, 'location', 'University of Wisconsin–Milwaukee']
SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { { ?q rdf:type ontology:work_of_art . ?q property:location resource:University_of_Wisconsin–Milwaukee } UNION { ?q property:location resource:University_of_Wisconsin–Milwaukee . ?q rdf:type ontology:work } }
[]