Simple Question (Direct)
Simple Question
Q738270
P1412
Q34770
USER
Which language is spoken by Daniel Salamanca Urey ?
(Q738270,P1412,c(Q34770))
action filter_type
action find
entity Q738270
relation P1412
type Q34770
['Q738270', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q34770 . resource:Q738270 property:P1412 ?c }
Daniel Salamanca Urey
action filter_type
action find
entity Daniel Salamanca Urey
relation languages spoken, written or signed
type language
['Daniel Salamanca Urey', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:language . resource:Daniel_Salamanca_Urey property:languages_spoken,_written_or_signed ?c }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q738270,P1412,c(Q34770))
action filter_type
action find
entity Q738270
relation P1412
type Q34770
[ANSWER] is spoken by Daniel Salamanca Urey
['Q738270', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q34770 . resource:Q738270 property:P1412 ?c }
Spanish
Spanish is spoken by Daniel Salamanca Urey
Spanish
action filter_type
action find
entity Daniel Salamanca Urey
relation languages spoken, written or signed
type language
['Daniel Salamanca Urey', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:language . resource:Daniel_Salamanca_Urey property:languages_spoken,_written_or_signed ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q738270
P27
Q15617994
USER
Which administrative territory is the native country of Daniel Salamanca Urey ?
(Q738270,P27,c(Q15617994))
action filter_type
action find
entity Q738270
relation P27
type Q15617994
['Q738270', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q738270 property:P27 ?z }
Daniel Salamanca Urey
action filter_type
action find
entity Daniel Salamanca Urey
relation country of citizenship
type designation for an administrative territorial entity
['Daniel Salamanca Urey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Daniel_Salamanca_Urey property:country_of_citizenship ?z }
[]
designation for an administrative territorial entity
Q750
SYSTEM
Bolivia
Q750
(Q738270,P27,c(Q15617994))
action filter_type
action find
entity Q738270
relation P27
type Q15617994
[ANSWER] is the native country of Daniel Salamanca Urey
['Q738270', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q738270 property:P27 ?z }
Bolivia
Bolivia is the native country of Daniel Salamanca Urey
Bolivia
action filter_type
action find
entity Daniel Salamanca Urey
relation country of citizenship
type designation for an administrative territorial entity
['Daniel Salamanca Urey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Daniel_Salamanca_Urey property:country_of_citizenship ?z }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q424
P840
Q15617994 Q15416 Q166142
USER
How many administrative territories are more number of television programs and applications set in than Cambodia ?
(c(Q15416)|c(Q166142),P840,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q424
relation P840
type Q15416
type Q166142
[[{'concept': 'Q15416'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) ?g WHERE { { ?g rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15416 . ?j property:P840 ?g } UNION { ?j property:P840 ?g . ?j rdf:type ontology:Q166142 . ?g rdf:type ontology:Q15617994 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { { ?b rdf:type ontology:Q15416 } UNION { ?b rdf:type ontology:Q166142 } } . ?b property:P840 resource:Q424 } } . FILTER ( ?p > ?x ) }
Cambodia
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Cambodia
relation narrative location
type television program
type application
[[{'concept': 'television program'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) ?g WHERE { { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:television_program . ?j property:narrative_location ?g } UNION { ?j property:narrative_location ?g . ?j rdf:type ontology:application . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { { ?b rdf:type ontology:television_program } UNION { ?b rdf:type ontology:application } } . ?b property:narrative_location resource:Cambodia } } . FILTER ( ?p > ?x ) }
[]
designation for an administrative territorial entity television program application
SYSTEM
43
Q805 Q668 Q414 Q142 Q55 Q145 Q148 Q258 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q881 Q858 Q241 Q33 Q32 Q31 Q30 Q36 Q39 Q38 Q739 Q423 Q851 Q20 Q27 Q29 Q227 Q96 Q17 Q963 Q298 Q750 Q212 Q213 Q79 Q817 Q869
(c(Q15416)|c(Q166142),P840,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q424
relation P840
type Q15416
type Q166142
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) ?g WHERE { { ?g rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15416 . ?j property:P840 ?g } UNION { ?j property:P840 ?g . ?j rdf:type ontology:Q166142 . ?g rdf:type ontology:Q15617994 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { { ?b rdf:type ontology:Q15416 } UNION { ?b rdf:type ontology:Q166142 } } . ?b property:P840 resource:Q424 } } . FILTER ( ?p > ?x ) }
Yemen India Argentina France Netherlands United Kingdom People's Republic of China South Africa Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Vietnam Syria Cuba Finland Luxembourg Belgium United States of America Poland Switzerland Italy Colombia North Korea Saudi Arabia Norway Ireland Spain Azerbaijan Mexico Japan Botswana Chile Bolivia Ukraine Czech Republic Egypt Kuwait Thailand
43
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Cambodia
relation narrative location
type television program
type application
[[{'concept': 'television program'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) ?g WHERE { { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:television_program . ?j property:narrative_location ?g } UNION { ?j property:narrative_location ?g . ?j rdf:type ontology:application . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { { ?b rdf:type ontology:television_program } UNION { ?b rdf:type ontology:application } } . ?b property:narrative_location resource:Cambodia } } . FILTER ( ?p > ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q39
P840
Q15617994 Q15416 Q166142
USER
And also tell me about Switzerland?
(c(Q15416)|c(Q166142),P840,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q39
relation P840
type Q15416
type Q166142
[[{'concept': 'Q15416'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?x ) WHERE { ?d rdf:type ?w . VALUES ( ?w ) { ( ontology:Q15416 ) ( ontology:Q166142 ) } } GROUP BY ?n } . FILTER ( ?x > ?h ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:P840 resource:Q39 . { { ?y rdf:type ontology:Q15416 } UNION { ?y rdf:type ontology:Q166142 } } } } }
Switzerland
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Switzerland
relation narrative location
type television program
type application
[[{'concept': 'television program'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?x ) WHERE { ?d rdf:type ?w . VALUES ( ?w ) { ( ontology:television_program ) ( ontology:application ) } } GROUP BY ?n } . FILTER ( ?x > ?h ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:narrative_location resource:Switzerland . { { ?y rdf:type ontology:television_program } UNION { ?y rdf:type ontology:application } } } } }
[]
designation for an administrative territorial entity television program application
SYSTEM
24
Q668 Q142 Q55 Q145 Q148 Q258 Q159 Q43 Q41 Q155 Q796 Q889 Q33 Q32 Q31 Q30 Q36 Q38 Q739 Q227 Q96 Q17 Q213 Q79
(c(Q15416)|c(Q166142),P840,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q39
relation P840
type Q15416
type Q166142
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?x ) WHERE { ?d rdf:type ?w . VALUES ( ?w ) { ( ontology:Q15416 ) ( ontology:Q166142 ) } } GROUP BY ?n } . FILTER ( ?x > ?h ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:P840 resource:Q39 . { { ?y rdf:type ontology:Q15416 } UNION { ?y rdf:type ontology:Q166142 } } } } }
India France Netherlands United Kingdom People's Republic of China South Africa Russia Turkey Greece Brazil Iraq Afghanistan Finland Luxembourg Belgium United States of America Poland Italy Colombia Azerbaijan Mexico Japan Czech Republic Egypt
24
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Switzerland
relation narrative location
type television program
type application
[[{'concept': 'television program'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?x ) WHERE { ?d rdf:type ?w . VALUES ( ?w ) { ( ontology:television_program ) ( ontology:application ) } } GROUP BY ?n } . FILTER ( ?x > ?h ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:narrative_location resource:Switzerland . { { ?y rdf:type ontology:television_program } UNION { ?y rdf:type ontology:application } } } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic associations with approximately 19 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 19
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?l ) WHERE { ?p property:P530 ?q . ?p rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?p } . FILTER ( ?l = 19 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 19
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?l ) WHERE { ?p property:diplomatic_relation ?q . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . FILTER ( ?l = 19 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q159 Q142
SYSTEM
United States of America, Russia, France
Q801 Q805 Q142 Q148 Q159 Q30 Q929 Q17 Q114 Q858 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 19
[ANSWERS] have diplomatic associations with approximately 19 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?l ) WHERE { ?p property:P530 ?q . ?p rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?p } . FILTER ( ?l = 19 ) }
Israel Yemen France People's Republic of China Russia United States of America Central African Republic Japan Kenya Syria Cape Verde Zambia
United States of America, Russia and France have diplomatic associations with approximately 19 administrative territories
United States of America Russia France
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 19
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?l ) WHERE { ?p property:diplomatic_relation ?q . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . FILTER ( ?l = 19 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q1190554 Q337567 Q15617994
USER
Which administrative territories are the eponym of max number of events and still waterss ?
(c(Q15617994),P138,c(Q1190554)|c(Q337567))
action argmax
action union
action find_tuple_counts
relation P138
type Q15617994
type Q1190554
action find_tuple_counts
relation P138
type Q15617994
type Q337567
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q1190554'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?f ) { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?v ) WHERE { VALUES ( ?i ) { ( ontology:Q1190554 ) ( ontology:Q337567 ) } . ?s rdf:type ?i } GROUP BY ?g } } . { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?e ) WHERE { VALUES ( ?l ) { ( ontology:Q1190554 ) ( ontology:Q337567 ) } . ?d rdf:type ?l } GROUP BY ?j } . FILTER ( ?e = ?f ) }
action argmax
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type event
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'event'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?f ) { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?v ) WHERE { VALUES ( ?i ) { ( ontology:event ) ( ontology:still_waters ) } . ?s rdf:type ?i } GROUP BY ?g } } . { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?e ) WHERE { VALUES ( ?l ) { ( ontology:event ) ( ontology:still_waters ) } . ?d rdf:type ?l } GROUP BY ?j } . FILTER ( ?e = ?f ) }
[]
event still waters designation for an administrative territorial entity
Q1904 Q707 Q1393469
SYSTEM
Ontario, Flevoland, Jemmapes
Q707 Q625403 Q691368 Q1508919 Q1452646 Q1904 Q1788988 Q1393469
(c(Q15617994),P138,c(Q1190554)|c(Q337567))
action argmax
action union
action find_tuple_counts
relation P138
type Q15617994
type Q1190554
action find_tuple_counts
relation P138
type Q15617994
type Q337567
[ANSWERS] are the eponym of max number of events and still waterss
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q1190554'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?f ) { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?v ) WHERE { VALUES ( ?i ) { ( ontology:Q1190554 ) ( ontology:Q337567 ) } . ?s rdf:type ?i } GROUP BY ?g } } . { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?e ) WHERE { VALUES ( ?l ) { ( ontology:Q1190554 ) ( ontology:Q337567 ) } . ?d rdf:type ?l } GROUP BY ?j } . FILTER ( ?e = ?f ) }
Flevoland Schwielowsee Léman Marengo Montenotte Ontario Trasimène Jemmapes
Ontario, Flevoland and Jemmapes are the eponym of max number of events and still waterss
Ontario Flevoland Jemmapes
action argmax
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type event
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'event'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?f ) { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?v ) WHERE { VALUES ( ?i ) { ( ontology:event ) ( ontology:still_waters ) } . ?s rdf:type ?i } GROUP BY ?g } } . { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?e ) WHERE { VALUES ( ?l ) { ( ontology:event ) ( ontology:still_waters ) } . ?d rdf:type ?l } GROUP BY ?j } . FILTER ( ?e = ?f ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q811979 Q2221906 Q15617994
USER
Which administrative territories are a component of atleast 2 architectural structures or geographic locations ?
(c(Q15617994),P361,c(Q811979)|c(Q2221906))
action atleast
action union
action find_tuple_counts
relation P361
type Q15617994
type Q811979
action find_tuple_counts
relation P361
type Q15617994
type Q2221906
value 2
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q811979'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?b WHERE { FILTER ( ?v >= 2 ) . { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?v ) WHERE { VALUES ( ?j ) { ( ontology:Q811979 ) ( ontology:Q2221906 ) } . ?m rdf:type ?j } GROUP BY ?b } }
action atleast
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type architectural structure
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic location
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'architectural structure'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?b WHERE { FILTER ( ?v >= 2 ) . { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?v ) WHERE { VALUES ( ?j ) { ( ontology:architectural_structure ) ( ontology:geographic_location ) } . ?m rdf:type ?j } GROUP BY ?b } }
[]
architectural structure geographic location designation for an administrative territorial entity
Q155 Q159 Q36
SYSTEM
Brazil, Russia, Poland
Q159 Q155 Q948 Q794 Q36
(c(Q15617994),P361,c(Q811979)|c(Q2221906))
action atleast
action union
action find_tuple_counts
relation P361
type Q15617994
type Q811979
action find_tuple_counts
relation P361
type Q15617994
type Q2221906
value 2
[ANSWERS] are a component of atleast 2 architectural structures or geographic locations
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q811979'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?b WHERE { FILTER ( ?v >= 2 ) . { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?v ) WHERE { VALUES ( ?j ) { ( ontology:Q811979 ) ( ontology:Q2221906 ) } . ?m rdf:type ?j } GROUP BY ?b } }
Russia Brazil Tunisia Iran Poland
Brazil, Russia and Poland are a component of atleast 2 architectural structures or geographic locations
Brazil Russia Poland
action atleast
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type architectural structure
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic location
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'architectural structure'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?b WHERE { FILTER ( ?v >= 2 ) . { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?v ) WHERE { VALUES ( ?j ) { ( ontology:architectural_structure ) ( ontology:geographic_location ) } . ?m rdf:type ?j } GROUP BY ?b } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q884
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with less number of administrative territories than South Korea ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q884
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:P530 ?u . ?u rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?h < ?i ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:Q884 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } }
South Korea
action count
action less
action find_reverse_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 South Korea
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 ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?h < ?i ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:South_Korea property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
123
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q45 Q792 Q790 Q954 Q958 Q986 Q242 Q244 Q811 Q33 Q924 Q36 Q928 Q929 Q39 Q739 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q225 Q224 Q221 Q96 Q229 Q902 Q1036 Q1037 Q974 Q1032 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q884
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:P530 ?u . ?u rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?h < ?i ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:Q884 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad Portugal El Salvador Haiti Zimbabwe South Sudan Eritrea Belize Barbados Nicaragua Finland Tanzania Poland Philippines Central African Republic Switzerland Colombia Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Bosnia and Herzegovina Croatia Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Togo Tonga Spain New Caledonia Thailand
123
action count
action less
action find_reverse_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 South Korea
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 ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?h < ?i ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:South_Korea property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q39
P530
Q15617994 Q15617994
USER
And how about Switzerland?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q39
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?p ) AS ?m ) WHERE { ?s rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 . ?p property:P530 ?s } GROUP BY ?s } . FILTER ( ?m < ?c ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Q39 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } }
Switzerland
action count
action less
action find_reverse_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 Switzerland
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 ?i ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?p ) AS ?m ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?s } GROUP BY ?s } . FILTER ( ?m < ?c ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Switzerland property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
103
Q702 Q804 Q800 Q419 Q55 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q792 Q790 Q958 Q986 Q242 Q244 Q811 Q33 Q924 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1027 Q1020 Q189 Q842 Q184 Q1029 Q1028 Q736 Q786 Q225 Q221 Q96 Q229 Q902 Q1036 Q1037 Q1032 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q117 Q754 Q750 Q217 Q214 Q218 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q39
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?p ) AS ?m ) WHERE { ?s rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 . ?p property:P530 ?s } GROUP BY ?s } . FILTER ( ?m < ?c ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Q39 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad El Salvador Haiti South Sudan Eritrea Belize Barbados Nicaragua Finland Tanzania Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Mauritius Malawi Iceland Oman Belarus Mozambique Morocco Ecuador Dominican Republic Bosnia and Herzegovina Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Niger Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ghana Trinidad and Tobago Bolivia Republic of Moldova Slovakia Romania Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia Thailand
103
action count
action less
action find_reverse_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 Switzerland
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 ?i ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?p ) AS ?m ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?s } GROUP BY ?s } . FILTER ( ?m < ?c ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Switzerland property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]