Simple Question (Direct)
Simple Question
Q348122
P27
Q15617994
USER
Which administrative territory does Mark Felt belong to ?
(Q348122,P27,c(Q15617994))
action filter_type
action find
entity Q348122
relation P27
type Q15617994
['Q348122', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q348122 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Mark Felt
action filter_type
action find
entity Mark Felt
relation country of citizenship
type designation for an administrative territorial entity
['Mark Felt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Mark_Felt property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q348122,P27,c(Q15617994))
action filter_type
action find
entity Q348122
relation P27
type Q15617994
Mark Felt belongs to [ANSWER]
['Q348122', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q348122 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
United States of America
Mark Felt belongs to United States of America
United States of America
action filter_type
action find
entity Mark Felt
relation country of citizenship
type designation for an administrative territorial entity
['Mark Felt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Mark_Felt property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P163
Q14660
USER
What is associated with that administrative territory ?
(Q30,P163,c(Q14660))
action filter_type
action find
entity Q30
relation P163
type Q14660
['Q30', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?g WHERE { resource:Q30 property:P163 ?g . ?g rdf:type ontology:Q14660 }
United States of America
action filter_type
action find
entity United States of America
relation flag
type flag
['United States of America', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?g WHERE { resource:United_States_of_America property:flag ?g . ?g rdf:type ontology:flag }
[]
flag
Q42537
SYSTEM
flag of the United States of America
Q42537
(Q30,P163,c(Q14660))
action filter_type
action find
entity Q30
relation P163
type Q14660
The [ANSWER] is associated with that administrative territory
['Q30', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?g WHERE { resource:Q30 property:P163 ?g . ?g rdf:type ontology:Q14660 }
flag of the United States of America
The flag of the United States of America is associated with that administrative territory
flag of the United States of America
action filter_type
action find
entity United States of America
relation flag
type flag
['United States of America', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?g WHERE { resource:United_States_of_America property:flag ?g . ?g rdf:type ontology:flag }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q48409
P180
Q340169 Q15324 Q14660
USER
How many flags express more number of medias or bodies of water than flag of Albania ?
(c(Q14660),P180,c(Q340169)|c(Q15324))
action count
action greater
action union
action find_tuple_counts
relation P180
type Q14660
type Q340169
action find_tuple_counts
relation P180
type Q14660
type Q15324
action count
action filter_multi_types
action find
entity Q48409
relation P180
type Q340169
type Q15324
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q340169'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?z ) WHERE { VALUES ( ?m ) { ( ontology:Q15324 ) ( ontology:Q340169 ) } . ?o rdf:type ?m } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { { ?s rdf:type ontology:Q340169 } UNION { ?s rdf:type ontology:Q15324 } } . resource:Q48409 property:P180 ?s } } . FILTER ( ?z > ?b ) }
flag of Albania
action count
action greater
action union
action find_tuple_counts
relation depicts
type flag
type media
action find_tuple_counts
relation depicts
type flag
type body of water
action count
action filter_multi_types
action find
entity flag of Albania
relation depicts
type media
type body of water
[{'concept': 'flag'}, 'depicts', [{'concept': 'media'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?z ) WHERE { VALUES ( ?m ) { ( ontology:body_of_water ) ( ontology:media ) } . ?o rdf:type ?m } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { { ?s rdf:type ontology:media } UNION { ?s rdf:type ontology:body_of_water } } . resource:flag_of_Albania property:depicts ?s } } . FILTER ( ?z > ?b ) }
[]
media body of water flag
SYSTEM
2
Q135034 Q484249
(c(Q14660),P180,c(Q340169)|c(Q15324))
action count
action greater
action union
action find_tuple_counts
relation P180
type Q14660
type Q340169
action find_tuple_counts
relation P180
type Q14660
type Q15324
action count
action filter_multi_types
action find
entity Q48409
relation P180
type Q340169
type Q15324
[ANSWER]
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q340169'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?z ) WHERE { VALUES ( ?m ) { ( ontology:Q15324 ) ( ontology:Q340169 ) } . ?o rdf:type ?m } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { { ?s rdf:type ontology:Q340169 } UNION { ?s rdf:type ontology:Q15324 } } . resource:Q48409 property:P180 ?s } } . FILTER ( ?z > ?b ) }
Flag of Antigua and Barbuda Flag of Mozambique
2
action count
action greater
action union
action find_tuple_counts
relation depicts
type flag
type media
action find_tuple_counts
relation depicts
type flag
type body of water
action count
action filter_multi_types
action find
entity flag of Albania
relation depicts
type media
type body of water
[{'concept': 'flag'}, 'depicts', [{'concept': 'media'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?z ) WHERE { VALUES ( ?m ) { ( ontology:body_of_water ) ( ontology:media ) } . ?o rdf:type ?m } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { { ?s rdf:type ontology:media } UNION { ?s rdf:type ontology:body_of_water } } . resource:flag_of_Albania property:depicts ?s } } . FILTER ( ?z > ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q599323
P180
Q340169 Q15324 Q14660
USER
And what about flag of the Northern Territory?
(c(Q14660),P180,c(Q340169)|c(Q15324))
action count
action greater
action union
action find_tuple_counts
relation P180
type Q14660
type Q340169
action find_tuple_counts
relation P180
type Q14660
type Q15324
action count
action filter_multi_types
action find
entity Q599323
relation P180
type Q340169
type Q15324
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q340169'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?y ) WHERE { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:Q340169 ) ( ontology:Q15324 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:Q599323 property:P180 ?g . { { ?g rdf:type ontology:Q340169 } UNION { ?g rdf:type ontology:Q15324 } } } } . FILTER ( ?y > ?h ) }
flag of the Northern Territory
action count
action greater
action union
action find_tuple_counts
relation depicts
type flag
type media
action find_tuple_counts
relation depicts
type flag
type body of water
action count
action filter_multi_types
action find
entity flag of the Northern Territory
relation depicts
type media
type body of water
[{'concept': 'flag'}, 'depicts', [{'concept': 'media'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?y ) WHERE { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:media ) ( ontology:body_of_water ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:flag_of_the_Northern_Territory property:depicts ?g . { { ?g rdf:type ontology:media } UNION { ?g rdf:type ontology:body_of_water } } } } . FILTER ( ?y > ?h ) }
[]
media body of water flag
SYSTEM
2
Q135034 Q484249
(c(Q14660),P180,c(Q340169)|c(Q15324))
action count
action greater
action union
action find_tuple_counts
relation P180
type Q14660
type Q340169
action find_tuple_counts
relation P180
type Q14660
type Q15324
action count
action filter_multi_types
action find
entity Q599323
relation P180
type Q340169
type Q15324
[ANSWER]
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q340169'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?y ) WHERE { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:Q340169 ) ( ontology:Q15324 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:Q599323 property:P180 ?g . { { ?g rdf:type ontology:Q340169 } UNION { ?g rdf:type ontology:Q15324 } } } } . FILTER ( ?y > ?h ) }
Flag of Antigua and Barbuda Flag of Mozambique
2
action count
action greater
action union
action find_tuple_counts
relation depicts
type flag
type media
action find_tuple_counts
relation depicts
type flag
type body of water
action count
action filter_multi_types
action find
entity flag of the Northern Territory
relation depicts
type media
type body of water
[{'concept': 'flag'}, 'depicts', [{'concept': 'media'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?y ) WHERE { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:media ) ( ontology:body_of_water ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:flag_of_the_Northern_Territory property:depicts ?g . { { ?g rdf:type ontology:media } UNION { ?g rdf:type ontology:body_of_water } } } } . FILTER ( ?y > ?h ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q15617994 Q4164871 Q14660
USER
Which administrative territories are judicially linked to around 2 positions and flags ?
(c(Q4164871)|c(Q14660),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q4164871
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
value 2
[[{'concept': 'Q4164871'}, {'concept': 'Q14660'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) ?g WHERE { { ?j property:P1001 ?g . ?j rdf:type ontology:Q4164871 . ?g rdf:type ontology:Q15617994 } UNION { ?g rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q14660 . ?j property:P1001 ?g } } GROUP BY ?g } . FILTER ( ?l = 2 ) }
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type position
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
value 2
[[{'concept': 'position'}, {'concept': 'flag'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) ?g WHERE { { ?j property:applies_to_jurisdiction ?g . ?j rdf:type ontology:position . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:flag . ?j property:applies_to_jurisdiction ?g } } GROUP BY ?g } . FILTER ( ?l = 2 ) }
[]
designation for an administrative territorial entity position flag
Q155 Q30 Q230
SYSTEM
Brazil, United States of America, Georgia
Q702 Q804 Q801 Q709 Q811 Q805 Q419 Q668 Q414 Q142 Q55 Q262 Q148 Q189 Q784 Q265 Q842 Q37 Q398 Q874 Q712 Q711 Q710 Q717 Q837 Q213 Q1028 Q252 Q399 Q403 Q657 Q258 Q1979 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q826 Q822 Q241 Q1965 Q817 Q244 Q1974 Q1019 Q813 Q218 Q921 Q30 Q924 Q34 Q928 Q39 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q1948 Q232 Q238 Q20 Q1045 Q1042 Q1041 Q27 Q28 Q1049 Q1025 Q1027 Q783 Q1020 Q843 Q184 Q1029 Q2003 Q736 Q786 Q1904 Q32 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1050 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q697 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q211 Q217 Q214 Q215 Q219 Q154547 Q683 Q242 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q1008 Q971 Q970 Q34020 Q686 Q836 Q760 Q574 Q1044 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1014 Q1016 Q1011 Q945 Q678 Q800 Q1039 Q672 Q176 Q929 Q298 Q863 Q2023 Q869 Q1231 Q953
(c(Q4164871)|c(Q14660),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q4164871
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
value 2
[ANSWERS] are judicially linked to around 2 positions and flags
[[{'concept': 'Q4164871'}, {'concept': 'Q14660'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) ?g WHERE { { ?j property:P1001 ?g . ?j rdf:type ontology:Q4164871 . ?g rdf:type ontology:Q15617994 } UNION { ?g rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q14660 . ?j property:P1001 ?g } } GROUP BY ?g } . FILTER ( ?l = 2 ) }
Federated States of Micronesia Panama Israel Marshall Islands Nicaragua Yemen Peru India Argentina France Netherlands Algeria People's Republic of China Iceland Dominica Uzbekistan Oman Lithuania Bahrain Turkmenistan Fiji Mongolia Kiribati Venezuela Nepal Czech Republic Morocco Indonesia Armenia Serbia Chad South Africa Prince Edward Island Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Maldives Lebanon Cuba New Brunswick Kuwait Barbados British Columbia Madagascar Kyrgyzstan Romania Brunei United States of America Tanzania Sweden Philippines Switzerland Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Manitoba Kazakhstan San Marino Norway Somalia Seychelles Senegal Ireland Hungary Sudan Mauritania Mauritius Honduras Malawi Pakistan Belarus Mozambique Newfoundland and Labrador Ecuador Dominican Republic Ontario Luxembourg Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Nauru Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Latvia Republic of Moldova Slovakia Slovenia Bulgaria duchy Samoa Belize Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Alberta Cameroon Côte d'Ivoire Republic of the Congo Comoros Niue Vanuatu Myanmar Saint Lucia East Timor Sierra Leone Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Liberia Libya Cape Verde Togo Tonga Costa Rica Sao Tomé and Príncipe Tuvalu Quebec Central African Republic Chile Tajikistan Nunavut Thailand Kosovo Region Zambia
Brazil, United States of America and Georgia are judicially linked to around 2 positions and flags
Brazil United States of America Georgia
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type position
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
value 2
[[{'concept': 'position'}, {'concept': 'flag'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) ?g WHERE { { ?j property:applies_to_jurisdiction ?g . ?j rdf:type ontology:position . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:flag . ?j property:applies_to_jurisdiction ?g } } GROUP BY ?g } . FILTER ( ?l = 2 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q165116
P530
Q15617994
USER
Are grand duchy known to have diplomatic connections with those ones ?
(Q165116,P530,Q155) (Q165116,P530,Q30) (Q165116,P530,Q230)
action is_in
entity prev_answer
action find
entity Q165116
relation P530
['Q165116', 'P530', 'Q155'] ['Q165116', 'P530', 'Q30'] ['Q165116', 'P530', 'Q230']
ASK WHERE { VALUES ( ?x ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q801 ) } . resource:Q165116 property:P530 ?x }
grand duchy
action is_in
entity prev_answer
action find
entity grand duchy
relation diplomatic relation
['grand duchy', 'diplomatic relation', 'Brazil'] ['grand duchy', 'diplomatic relation', 'United States of America'] ['grand duchy', 'diplomatic relation', 'Georgia']
ASK WHERE { VALUES ( ?x ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Israel ) } . resource:grand_duchy property:diplomatic_relation ?x }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q165116,P530,Q155) (Q165116,P530,Q30) (Q165116,P530,Q230)
action is_in
entity prev_answer
action find
entity Q165116
relation P530
[ANSWER]
['Q165116', 'P530', 'Q155'] ['Q165116', 'P530', 'Q30'] ['Q165116', 'P530', 'Q230']
ASK WHERE { VALUES ( ?x ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q801 ) } . resource:Q165116 property:P530 ?x }
No
action is_in
entity prev_answer
action find
entity grand duchy
relation diplomatic relation
['grand duchy', 'diplomatic relation', 'Brazil'] ['grand duchy', 'diplomatic relation', 'United States of America'] ['grand duchy', 'diplomatic relation', 'Georgia']
ASK WHERE { VALUES ( ?x ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Israel ) } . resource:grand_duchy property:diplomatic_relation ?x }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q40
P530
Q15617994 Q1048835
USER
How many political territories are known to have diplomatic connections with more number of administrative territories than Austria ?
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?u ) WHERE { ?b property:P530 ?n . ?b rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q15617994 } GROUP BY ?b } . FILTER ( ?u > ?t ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ontology:Q1048835 . resource:Q40 property:P530 ?p } } }
Austria
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?u ) WHERE { ?b property:diplomatic_relation ?n . ?b rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . FILTER ( ?u > ?t ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ontology:political_territorial_entity . resource:Austria property:diplomatic_relation ?p } } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
3
Q183 Q408 Q16
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?u ) WHERE { ?b property:P530 ?n . ?b rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q15617994 } GROUP BY ?b } . FILTER ( ?u > ?t ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ontology:Q1048835 . resource:Q40 property:P530 ?p } } }
Germany Australia Canada
3
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?u ) WHERE { ?b property:diplomatic_relation ?n . ?b rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . FILTER ( ?u > ?t ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ontology:political_territorial_entity . resource:Austria property:diplomatic_relation ?p } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q16
P530
Q15617994 Q1048835
USER
And also tell me about Canada?
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?y ) WHERE { ?s property:P530 ?x . ?s rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Q16 property:P530 ?g . ?g rdf:type ontology:Q1048835 } } . FILTER ( ?y > ?v ) }
Canada
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?y ) WHERE { ?s property:diplomatic_relation ?x . ?s rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Canada property:diplomatic_relation ?g . ?g rdf:type ontology:political_territorial_entity } } . FILTER ( ?y > ?v ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?y ) WHERE { ?s property:P530 ?x . ?s rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Q16 property:P530 ?g . ?g rdf:type ontology:Q1048835 } } . FILTER ( ?y > ?v ) }
Germany Australia
2
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?y ) WHERE { ?s property:diplomatic_relation ?x . ?s rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Canada property:diplomatic_relation ?g . ?g rdf:type ontology:political_territorial_entity } } . FILTER ( ?y > ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q47214
P180
Q15989253 Q478798 Q14660
USER
Which flags depict lesser number of parts and images than flag of the Russian Soviet Federative Socialist Republic ?
(c(Q14660),P180,c(Q15989253)|c(Q478798))
action less
action union
action find_tuple_counts
relation P180
type Q14660
type Q15989253
action find_tuple_counts
relation P180
type Q14660
type Q478798
action count
action filter_multi_types
action find
entity Q47214
relation P180
type Q15989253
type Q478798
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q15989253'}, {'concept': 'Q478798'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?p WHERE { VALUES ( ?q ) { ( ontology:Q15989253 ) ( ontology:Q478798 ) } . ?i rdf:type ?q } GROUP BY ?p } . FILTER ( ?k < ?u ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { { ?l rdf:type ontology:Q15989253 } UNION { ?l rdf:type ontology:Q478798 } } . resource:Q47214 property:P180 ?l } } }
flag of the Russian Soviet Federative Socialist Republic
action less
action union
action find_tuple_counts
relation depicts
type flag
type part
action find_tuple_counts
relation depicts
type flag
type image
action count
action filter_multi_types
action find
entity flag of the Russian Soviet Federative Socialist Republic
relation depicts
type part
type image
[{'concept': 'flag'}, 'depicts', [{'concept': 'part'}, {'concept': 'image'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?p WHERE { VALUES ( ?q ) { ( ontology:part ) ( ontology:image ) } . ?i rdf:type ?q } GROUP BY ?p } . FILTER ( ?k < ?u ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { { ?l rdf:type ontology:part } UNION { ?l rdf:type ontology:image } } . resource:flag_of_the_Russian_Soviet_Federative_Socialist_Republic property:depicts ?l } } }
[]
part image flag
Q82194 Q81676 Q185271
SYSTEM
flag of Brazil, flag of Australia, Flag of Papua New Guinea
Q270377 Q159872 Q1165949 Q235829 Q168935 Q128480 Q42537 Q1426561 Q185285 Q1091279 Q1074327 Q135034 Q134521 Q266618 Q484249 Q127179 Q601976 Q252995 Q207518 Q599323 Q330517 Q156564 Q163832 Q160260 Q169192 Q124020 Q693558 Q60149 Q162999 Q48409 Q103037 Q36005 Q130458 Q336328 Q105643 Q392167 Q24577771 Q81952 Q104351 Q124329 Q43175 Q127296 Q912854 Q162789 Q79874 Q512175 Q328895 Q130774 Q82194 Q188477 Q41673 Q134874 Q1426630 Q2062018 Q34599 Q19427 Q673117 Q81526 Q167119 Q128347 Q4633 Q83278 Q188609 Q19373 Q1418784 Q162033 Q1122078 Q102977 Q520966 Q131147 Q202189 Q185271 Q284396 Q604735 Q301628 Q637134 Q79198 Q170814 Q429900 Q165641 Q80110 Q632491 Q1064042 Q81676 Q182514 Q1426379
(c(Q14660),P180,c(Q15989253)|c(Q478798))
action less
action union
action find_tuple_counts
relation P180
type Q14660
type Q15989253
action find_tuple_counts
relation P180
type Q14660
type Q478798
action count
action filter_multi_types
action find
entity Q47214
relation P180
type Q15989253
type Q478798
[ANSWERS] depict lesser number of parts and images than flag of the Russian Soviet Federative Socialist Republic
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q15989253'}, {'concept': 'Q478798'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?p WHERE { VALUES ( ?q ) { ( ontology:Q15989253 ) ( ontology:Q478798 ) } . ?i rdf:type ?q } GROUP BY ?p } . FILTER ( ?k < ?u ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { { ?l rdf:type ontology:Q15989253 } UNION { ?l rdf:type ontology:Q478798 } } . resource:Q47214 property:P180 ?l } } }
Flag of Tokelau Flag of Cameroon Flag of Ontario flag of Guam Flag of Malaysia flag of Israel flag of the United States of America Flag of the Northwest Territories Flag of Vanuatu flag of Western Australia flag of Tasmania Flag of Antigua and Barbuda Flag of Bhutan Flag of Prince Edward Island Flag of Mozambique flag of Bangladesh Flag of Nova Scotia flag of the Australian Capital Territory flag of Northern Cyprus flag of the Northern Territory Flag of California flag of Alaska Flag of Serbia flag of New Zealand flag of Belize flag of Switzerland flag of Saskatchewan Flag of Denmark Flag of Cambodia flag of Albania Flag of Uganda flag of Lebanon flag of Egypt Flag of Christmas Island Flag of Tuvalu flag of Quebec flag of the People's Republic of Benin flag of Turkey Flag of Barbados Flag of Angola Flag of Japan Flag of South Korea flag of South Australia Flag of Tunisia flag of Afghanistan Flag of Manitoba Flag of the Cocos (Keeling) Islands flag of Argentina flag of Brazil flag of Samoa flag of India Flag of Bolivia Flag of Nunavut flag of Yukon Flag of Libya flag of Oregon Flag of Indiana flag of Andorra Flag of the Republic of Macedonia Flag of Pakistan Flag of Cyprus flag of the United Kingdom Flag of Palau Flag of South Carolina Flag of New Brunswick flag of Bosnia and Herzegovina Flag of Alberta Flag of Mauritania Flag of Rhode Island Flag of the People's Republic of China Flag of Niue Flag of Papua New Guinea Flag of Kansas Flag of Sint Maarten Flag of Mississippi flag of British Columbia Flag of Vatican City Flag of Zambia Flag of Saba flag of Kyrgyzstan flag of Canada Flag of Arizona flag of New South Wales flag of Australia Flag of Fiji Flag of Amsterdam
Flag of Brazil, flag of Australia and Flag of Papua New Guinea depict lesser number of parts and images than flag of the Russian Soviet Federative Socialist Republic
flag of Brazil flag of Australia Flag of Papua New Guinea
action less
action union
action find_tuple_counts
relation depicts
type flag
type part
action find_tuple_counts
relation depicts
type flag
type image
action count
action filter_multi_types
action find
entity flag of the Russian Soviet Federative Socialist Republic
relation depicts
type part
type image
[{'concept': 'flag'}, 'depicts', [{'concept': 'part'}, {'concept': 'image'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?p WHERE { VALUES ( ?q ) { ( ontology:part ) ( ontology:image ) } . ?i rdf:type ?q } GROUP BY ?p } . FILTER ( ?k < ?u ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { { ?l rdf:type ontology:part } UNION { ?l rdf:type ontology:image } } . resource:flag_of_the_Russian_Soviet_Federative_Socialist_Republic property:depicts ?l } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P180
Q80071 Q6999
USER
How many symbols or astronomical objects are depicted in that flag ?
(Q81676,P180,c(Q80071)) (Q81676,P180,c(Q6999)) (Q82194,P180,c(Q80071)) (Q82194,P180,c(Q6999)) (Q81676,P180,c(Q80071)) (Q81676,P180,c(Q6999)) (Q185271,P180,c(Q80071)) (Q185271,P180,c(Q6999))
['Q81676', 'P180', {'concept': 'Q80071'}] ['Q81676', 'P180', {'concept': 'Q6999'}] ['Q82194', 'P180', {'concept': 'Q80071'}] ['Q82194', 'P180', {'concept': 'Q6999'}] ['Q81676', 'P180', {'concept': 'Q80071'}] ['Q81676', 'P180', {'concept': 'Q6999'}] ['Q185271', 'P180', {'concept': 'Q80071'}] ['Q185271', 'P180', {'concept': 'Q6999'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q81676 property:P180 ?z } UNION { resource:Q81676 property:P180 ?y } UNION { resource:Q82194 property:P180 ?z } UNION { resource:Q82194 property:P180 ?y } UNION { resource:Q81676 property:P180 ?z } UNION { resource:Q81676 property:P180 ?y } UNION { resource:Q185271 property:P180 ?z } UNION { resource:Q185271 property:P180 ?y } } . ?z rdf:type ontology:Q2372244 . ?y rdf:type ontology:Q6999 }
['flag of Australia', 'depicts', {'concept': 'symbol'}] ['flag of Australia', 'depicts', {'concept': 'astronomical object'}] ['flag of Brazil', 'depicts', {'concept': 'symbol'}] ['flag of Brazil', 'depicts', {'concept': 'astronomical object'}] ['flag of Australia', 'depicts', {'concept': 'symbol'}] ['flag of Australia', 'depicts', {'concept': 'astronomical object'}] ['Flag of Papua New Guinea', 'depicts', {'concept': 'symbol'}] ['Flag of Papua New Guinea', 'depicts', {'concept': 'astronomical object'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:flag_of_Australia property:depicts ?z } UNION { resource:flag_of_Australia property:depicts ?y } UNION { resource:flag_of_Brazil property:depicts ?z } UNION { resource:flag_of_Brazil property:depicts ?y } UNION { resource:flag_of_Australia property:depicts ?z } UNION { resource:flag_of_Australia property:depicts ?y } UNION { resource:Flag_of_Papua_New_Guinea property:depicts ?z } UNION { resource:Flag_of_Papua_New_Guinea property:depicts ?y } } . ?z rdf:type ontology:symbol . ?y rdf:type ontology:astronomical_object }
[]
symbol astronomical object
Quantitative|Count|Mult. entity type|Clarification
Q185271
SYSTEM
Did you mean Flag of Papua New Guinea ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q81676 property:P180 ?z } UNION { resource:Q81676 property:P180 ?y } UNION { resource:Q82194 property:P180 ?z } UNION { resource:Q82194 property:P180 ?y } UNION { resource:Q81676 property:P180 ?z } UNION { resource:Q81676 property:P180 ?y } UNION { resource:Q185271 property:P180 ?z } UNION { resource:Q185271 property:P180 ?y } } . ?z rdf:type ontology:Q2372244 . ?y rdf:type ontology:Q6999 }
Did you mean Flag of Papua New Guinea ?
Flag of Papua New Guinea
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:flag_of_Australia property:depicts ?z } UNION { resource:flag_of_Australia property:depicts ?y } UNION { resource:flag_of_Brazil property:depicts ?z } UNION { resource:flag_of_Brazil property:depicts ?y } UNION { resource:flag_of_Australia property:depicts ?z } UNION { resource:flag_of_Australia property:depicts ?y } UNION { resource:Flag_of_Papua_New_Guinea property:depicts ?z } UNION { resource:Flag_of_Papua_New_Guinea property:depicts ?y } } . ?z rdf:type ontology:symbol . ?y rdf:type ontology:astronomical_object }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant flag of Australia. Could you tell me the answer for that?
(Q81676,P180,c(Q80071)) (Q81676,P180,c(Q6999)) (Q82194,P180,c(Q80071)) (Q82194,P180,c(Q6999)) (Q81676,P180,c(Q80071)) (Q81676,P180,c(Q6999)) (Q185271,P180,c(Q80071)) (Q185271,P180,c(Q6999))
Q81676
['Q81676', 'P180', {'concept': 'Q80071'}] ['Q81676', 'P180', {'concept': 'Q6999'}] ['Q82194', 'P180', {'concept': 'Q80071'}] ['Q82194', 'P180', {'concept': 'Q6999'}] ['Q81676', 'P180', {'concept': 'Q80071'}] ['Q81676', 'P180', {'concept': 'Q6999'}] ['Q185271', 'P180', {'concept': 'Q80071'}] ['Q185271', 'P180', {'concept': 'Q6999'}]
['flag of Australia', 'depicts', {'concept': 'symbol'}] ['flag of Australia', 'depicts', {'concept': 'astronomical object'}] ['flag of Brazil', 'depicts', {'concept': 'symbol'}] ['flag of Brazil', 'depicts', {'concept': 'astronomical object'}] ['flag of Australia', 'depicts', {'concept': 'symbol'}] ['flag of Australia', 'depicts', {'concept': 'astronomical object'}] ['Flag of Papua New Guinea', 'depicts', {'concept': 'symbol'}] ['Flag of Papua New Guinea', 'depicts', {'concept': 'astronomical object'}]
[]
SYSTEM
3
Q379860 Q10542 Q3592528
(Q81676,P180,c(Q80071)) (Q81676,P180,c(Q6999)) (Q82194,P180,c(Q80071)) (Q82194,P180,c(Q6999)) (Q81676,P180,c(Q80071)) (Q81676,P180,c(Q6999)) (Q185271,P180,c(Q80071)) (Q185271,P180,c(Q6999))
[ANSWER]
['Q81676', 'P180', {'concept': 'Q80071'}] ['Q81676', 'P180', {'concept': 'Q6999'}] ['Q82194', 'P180', {'concept': 'Q80071'}] ['Q82194', 'P180', {'concept': 'Q6999'}] ['Q81676', 'P180', {'concept': 'Q80071'}] ['Q81676', 'P180', {'concept': 'Q6999'}] ['Q185271', 'P180', {'concept': 'Q80071'}] ['Q185271', 'P180', {'concept': 'Q6999'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q81676 property:P180 ?z } UNION { resource:Q81676 property:P180 ?y } UNION { resource:Q82194 property:P180 ?z } UNION { resource:Q82194 property:P180 ?y } UNION { resource:Q81676 property:P180 ?z } UNION { resource:Q81676 property:P180 ?y } UNION { resource:Q185271 property:P180 ?z } UNION { resource:Q185271 property:P180 ?y } } . ?z rdf:type ontology:Q2372244 . ?y rdf:type ontology:Q6999 }
five-pointed star Crux seven-pointed star
3
['flag of Australia', 'depicts', {'concept': 'symbol'}] ['flag of Australia', 'depicts', {'concept': 'astronomical object'}] ['flag of Brazil', 'depicts', {'concept': 'symbol'}] ['flag of Brazil', 'depicts', {'concept': 'astronomical object'}] ['flag of Australia', 'depicts', {'concept': 'symbol'}] ['flag of Australia', 'depicts', {'concept': 'astronomical object'}] ['Flag of Papua New Guinea', 'depicts', {'concept': 'symbol'}] ['Flag of Papua New Guinea', 'depicts', {'concept': 'astronomical object'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:flag_of_Australia property:depicts ?z } UNION { resource:flag_of_Australia property:depicts ?y } UNION { resource:flag_of_Brazil property:depicts ?z } UNION { resource:flag_of_Brazil property:depicts ?y } UNION { resource:flag_of_Australia property:depicts ?z } UNION { resource:flag_of_Australia property:depicts ?y } UNION { resource:Flag_of_Papua_New_Guinea property:depicts ?z } UNION { resource:Flag_of_Papua_New_Guinea property:depicts ?y } } . ?z rdf:type ontology:symbol . ?y rdf:type ontology:astronomical_object }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q81676 Q3088930
P1001
Q15617994
USER
How many administrative territories come under the jurisdiction of flag of Australia or Guinea–Mali border ?
(Q81676,P1001,c(Q15617994)) (Q3088930,P1001,c(Q15617994))
action count
action union
action filter_type
action find
entity Q81676
relation P1001
type Q15617994
action filter_type
action find
entity Q3088930
relation P1001
type Q15617994
['Q81676', 'P1001', {'concept': 'Q15617994'}] ['Q3088930', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { VALUES ( ?n ) { ( resource:Q3088930 ) ( resource:Q81676 ) } . ?n property:P1001 ?l }
flag of Australia Guinea–Mali border
action count
action union
action filter_type
action find
entity flag of Australia
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity Guinea–Mali border
relation applies to jurisdiction
type designation for an administrative territorial entity
['flag of Australia', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Guinea–Mali border', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { VALUES ( ?n ) { ( resource:Guinea–Mali_border ) ( resource:flag_of_Australia ) } . ?n property:applies_to_jurisdiction ?l }
[]
designation for an administrative territorial entity
SYSTEM
2
Q912 Q1006
(Q81676,P1001,c(Q15617994)) (Q3088930,P1001,c(Q15617994))
action count
action union
action filter_type
action find
entity Q81676
relation P1001
type Q15617994
action filter_type
action find
entity Q3088930
relation P1001
type Q15617994
[ANSWER]
['Q81676', 'P1001', {'concept': 'Q15617994'}] ['Q3088930', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { VALUES ( ?n ) { ( resource:Q3088930 ) ( resource:Q81676 ) } . ?n property:P1001 ?l }
Mali Guinea
2
action count
action union
action filter_type
action find
entity flag of Australia
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity Guinea–Mali border
relation applies to jurisdiction
type designation for an administrative territorial entity
['flag of Australia', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Guinea–Mali border', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { VALUES ( ?n ) { ( resource:Guinea–Mali_border ) ( resource:flag_of_Australia ) } . ?n property:applies_to_jurisdiction ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P750
Q838948
USER
Who do United States of America serve as a distributor for ?
(c(Q838948),P750,Q30)
action filter_type
action find_reverse
entity Q30
relation P750
type Q838948
[{'concept': 'Q838948'}, 'P750', 'Q30']
SELECT DISTINCT ?j WHERE { ?j property:P750 resource:Q30 . ?j rdf:type ontology:Q838948 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'United States of America']
SELECT DISTINCT ?j WHERE { ?j property:distributor resource:United_States_of_America . ?j rdf:type ontology:work_of_art }
[]
work of art
Q1936875 Q5491136
SYSTEM
Dead Birds, Franklin's Magic Christmas
Q1936875 Q5491136
(c(Q838948),P750,Q30)
action filter_type
action find_reverse
entity Q30
relation P750
type Q838948
For United States of America serve as a distributor of [ANSWERS]
[{'concept': 'Q838948'}, 'P750', 'Q30']
SELECT DISTINCT ?j WHERE { ?j property:P750 resource:Q30 . ?j rdf:type ontology:Q838948 }
Dead Birds Franklin's Magic Christmas
For United States of America serve as a distributor of Dead Birds and Franklin's Magic Christmas
Dead Birds Franklin's Magic Christmas
action filter_type
action find_reverse
entity United States of America
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'United States of America']
SELECT DISTINCT ?j WHERE { ?j property:distributor resource:United_States_of_America . ?j rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P1071
Q478798
USER
Which image has that administrative territory as its terminal assembly location ?
(c(Q478798),P1071,Q1936875) (c(Q478798),P1071,Q5491136)
action filter_type
action find_reverse
entity Q30
relation P1071
type Q478798
[{'concept': 'Q478798'}, 'P1071', 'Q1936875'] [{'concept': 'Q478798'}, 'P1071', 'Q5491136']
SELECT DISTINCT ?f WHERE { ?f property:P1071 resource:Q30 . ?f rdf:type ontology:Q478798 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation location of final assembly
type image
[{'concept': 'image'}, 'location of final assembly', 'Dead Birds'] [{'concept': 'image'}, 'location of final assembly', "Franklin's Magic Christmas"]
SELECT DISTINCT ?f WHERE { ?f property:location_of_final_assembly resource:United_States_of_America . ?f rdf:type ontology:image }
[]
image
Q18579026
SYSTEM
The Gardener
Q18579026
(c(Q478798),P1071,Q1936875) (c(Q478798),P1071,Q5491136)
action filter_type
action find_reverse
entity Q30
relation P1071
type Q478798
[ANSWER] has that administrative territory as its terminal assembly location
[{'concept': 'Q478798'}, 'P1071', 'Q1936875'] [{'concept': 'Q478798'}, 'P1071', 'Q5491136']
SELECT DISTINCT ?f WHERE { ?f property:P1071 resource:Q30 . ?f rdf:type ontology:Q478798 }
The Gardener
The Gardener has that administrative territory as its terminal assembly location
The Gardener
action filter_type
action find_reverse
entity United States of America
relation location of final assembly
type image
[{'concept': 'image'}, 'location of final assembly', 'Dead Birds'] [{'concept': 'image'}, 'location of final assembly', "Franklin's Magic Christmas"]
SELECT DISTINCT ?f WHERE { ?f property:location_of_final_assembly resource:United_States_of_America . ?f rdf:type ontology:image }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q1206012
P27
Q502895
USER
How many people are a native of United States of America and German Empire ?
(c(Q502895),P27,Q30) (c(Q502895),P27,Q1206012)
action count
action intersection
action filter_type
action find_reverse
entity Q30
relation P27
type Q502895
action filter_type
action find_reverse
entity Q1206012
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q30'] [{'concept': 'Q502895'}, 'P27', 'Q1206012']
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n property:P27 resource:Q30 . ?n rdf:type ontology:Q502895 . ?n property:P27 resource:Q1206012 . ?n rdf:type ontology:Q502895 }
United States of America German Empire
action count
action intersection
action filter_type
action find_reverse
entity United States of America
relation country of citizenship
type common name
action filter_type
action find_reverse
entity German Empire
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'United States of America'] [{'concept': 'common name'}, 'country of citizenship', 'German Empire']
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n property:country_of_citizenship resource:United_States_of_America . ?n rdf:type ontology:common_name . ?n property:country_of_citizenship resource:German_Empire . ?n rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q24232699 Q155794
(c(Q502895),P27,Q30) (c(Q502895),P27,Q1206012)
action count
action intersection
action filter_type
action find_reverse
entity Q30
relation P27
type Q502895
action filter_type
action find_reverse
entity Q1206012
relation P27
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q30'] [{'concept': 'Q502895'}, 'P27', 'Q1206012']
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n property:P27 resource:Q30 . ?n rdf:type ontology:Q502895 . ?n property:P27 resource:Q1206012 . ?n rdf:type ontology:Q502895 }
Franz Eichenberg Hans Bethe
2
action count
action intersection
action filter_type
action find_reverse
entity United States of America
relation country of citizenship
type common name
action filter_type
action find_reverse
entity German Empire
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'United States of America'] [{'concept': 'common name'}, 'country of citizenship', 'German Empire']
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n property:country_of_citizenship resource:United_States_of_America . ?n rdf:type ontology:common_name . ?n property:country_of_citizenship resource:German_Empire . ?n rdf:type ontology:common_name }
[]