Simple Question (Direct)
Simple Question
Q7342614
P69
Q3918
USER
What is the university where Robert C. Holub was educated ?
(Q7342614,P69,c(Q3918))
action filter_type
action find
entity Q7342614
relation P69
type Q3918
['Q7342614', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?n WHERE { resource:Q7342614 property:P69 ?n . ?n rdf:type ontology:Q3918 }
Robert C. Holub
action filter_type
action find
entity Robert C. Holub
relation educated at
type university
['Robert C. Holub', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?n WHERE { resource:Robert_C._Holub property:educated_at ?n . ?n rdf:type ontology:university }
[]
university
Q838330
SYSTEM
University of Wisconsin–Madison
Q838330
(Q7342614,P69,c(Q3918))
action filter_type
action find
entity Q7342614
relation P69
type Q3918
The university Robert C. is the [ANSWER]
['Q7342614', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?n WHERE { resource:Q7342614 property:P69 ?n . ?n rdf:type ontology:Q3918 }
University of Wisconsin–Madison
The university Robert C. is the University of Wisconsin–Madison
University of Wisconsin–Madison
action filter_type
action find
entity Robert C. Holub
relation educated at
type university
['Robert C. Holub', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?n WHERE { resource:Robert_C._Holub property:educated_at ?n . ?n rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q838330
P361
Q3918
USER
What is a component of that one ?
(c(Q3918),P361,Q838330)
action filter_type
action find_reverse
entity Q838330
relation P361
type Q3918
[{'concept': 'Q3918'}, 'P361', 'Q838330']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q3918 . ?k property:P361 resource:Q838330 }
University of Wisconsin–Madison
action filter_type
action find_reverse
entity University of Wisconsin–Madison
relation part of
type university
[{'concept': 'university'}, 'part of', 'University of Wisconsin–Madison']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:university . ?k property:part_of resource:University_of_Wisconsin–Madison }
[]
university
Q152303
SYSTEM
University of Wisconsin Law School
Q152303
(c(Q3918),P361,Q838330)
action filter_type
action find_reverse
entity Q838330
relation P361
type Q3918
A component of that one is the [ANSWER]
[{'concept': 'Q3918'}, 'P361', 'Q838330']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q3918 . ?k property:P361 resource:Q838330 }
University of Wisconsin Law School
A component of that one is the University of Wisconsin Law School
University of Wisconsin Law School
action filter_type
action find_reverse
entity University of Wisconsin–Madison
relation part of
type university
[{'concept': 'university'}, 'part of', 'University of Wisconsin–Madison']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:university . ?k property:part_of resource:University_of_Wisconsin–Madison }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q152303
P17
Q15617994
USER
Which administrative territory is that university located in ?
(Q152303,P17,c(Q15617994))
action filter_type
action find
entity Q152303
relation P17
type Q15617994
['Q152303', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q152303 property:P17 ?w }
University of Wisconsin Law School
action filter_type
action find
entity University of Wisconsin Law School
relation country
type designation for an administrative territorial entity
['University of Wisconsin Law School', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:University_of_Wisconsin_Law_School property:country ?w }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q152303,P17,c(Q15617994))
action filter_type
action find
entity Q152303
relation P17
type Q15617994
That university is located in [ANSWER]
['Q152303', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q152303 property:P17 ?w }
United States of America
That university is located in United States of America
United States of America
action filter_type
action find
entity University of Wisconsin Law School
relation country
type designation for an administrative territorial entity
['University of Wisconsin Law School', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:University_of_Wisconsin_Law_School property:country ?w }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q30 Q17053556
P495
Q2342494
USER
Did The Sand Pebbles originate in that administrative territory ?
(Q17053556,P495,Q30)
action is_in
entity Q30
action find
entity Q17053556
relation P495
['Q17053556', 'P495', 'Q30']
ASK WHERE { resource:Q17053556 property:P495 resource:Q30 }
United States of America The Sand Pebbles
action is_in
entity United States of America
action find
entity The Sand Pebbles
relation country of origin
['The Sand Pebbles', 'country of origin', 'United States of America']
ASK WHERE { resource:The_Sand_Pebbles property:country_of_origin resource:United_States_of_America }
[]
collectable
SYSTEM
YES
(Q17053556,P495,Q30)
action is_in
entity Q30
action find
entity Q17053556
relation P495
[ANSWER]
['Q17053556', 'P495', 'Q30']
ASK WHERE { resource:Q17053556 property:P495 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity The Sand Pebbles
relation country of origin
['The Sand Pebbles', 'country of origin', 'United States of America']
ASK WHERE { resource:The_Sand_Pebbles property:country_of_origin resource:United_States_of_America }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4047232 Q17053556
P495
Q15617994
USER
Which administrative territories are the origins of The Sand Pebbles or Ponsse Corporation ?
OR((Q17053556,P495,c(Q15617994)), (Q4047232,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q17053556
relation P495
action find
entity Q4047232
relation P495
type Q15617994
{'OR': [['Q17053556', 'P495', {'concept': 'Q15617994'}], ['Q4047232', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q4047232 property:P495 ?o } UNION { resource:Q17053556 property:P495 ?o } } . ?o rdf:type ontology:Q15617994 }
Ponsse Corporation The Sand Pebbles
action filter_type
action union
action find
entity The Sand Pebbles
relation country of origin
action find
entity Ponsse Corporation
relation country of origin
type designation for an administrative territorial entity
{'OR': [['The Sand Pebbles', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Ponsse Corporation', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Ponsse_Corporation property:country_of_origin ?o } UNION { resource:The_Sand_Pebbles property:country_of_origin ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33 Q30
SYSTEM
Finland, United States of America
Q33 Q30
OR((Q17053556,P495,c(Q15617994)), (Q4047232,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q17053556
relation P495
action find
entity Q4047232
relation P495
type Q15617994
[ANSWERS] are the origins of The Sand Pebbles or Ponsse Corporation
{'OR': [['Q17053556', 'P495', {'concept': 'Q15617994'}], ['Q4047232', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q4047232 property:P495 ?o } UNION { resource:Q17053556 property:P495 ?o } } . ?o rdf:type ontology:Q15617994 }
Finland United States of America
Finland and United States of America are the origins of The Sand Pebbles or Ponsse Corporation
Finland United States of America
action filter_type
action union
action find
entity The Sand Pebbles
relation country of origin
action find
entity Ponsse Corporation
relation country of origin
type designation for an administrative territorial entity
{'OR': [['The Sand Pebbles', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Ponsse Corporation', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Ponsse_Corporation property:country_of_origin ?o } UNION { resource:The_Sand_Pebbles property:country_of_origin ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q201658 Q2342494
USER
Which administrative territories did more number of film genres or collectables originate than that administrative territory ?
(c(Q201658)|c(Q2342494),P495,c(Q15617994))
[[{'concept': 'Q201658'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?k ) { ( ?z ) ( ?x ) } . ?k property:P495 ?y } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2342494 }
[[{'concept': 'film genre'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?k ) { ( ?z ) ( ?x ) } . ?k property:country_of_origin ?y } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:collectable }
[]
designation for an administrative territorial entity film genre collectable
Comparative|More/Less|Mult. entity type|Clarification
Q33
SYSTEM
Did you mean Finland ?
(c(Q201658)|c(Q2342494),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?k ) { ( ?z ) ( ?x ) } . ?k property:P495 ?y } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2342494 }
Did you mean Finland ?
Finland
[[{'concept': 'film genre'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?k ) { ( ?z ) ( ?x ) } . ?k property:country_of_origin ?y } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:collectable }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q201658)|c(Q2342494),P495,c(Q15617994))
[[{'concept': 'Q201658'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'film genre'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q668 Q142 Q55 Q145 Q159 Q155 Q30 Q34 Q38 Q17 Q29
(c(Q201658)|c(Q2342494),P495,c(Q15617994))
[ANSWERS] more number of film genres or collectables originated than that administrative territory
[[{'concept': 'Q201658'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2342494 }
India France Netherlands United Kingdom Russia Brazil United States of America Sweden Italy Japan Spain
Italy, Brazil and United States of America more number of film genres or collectables originated than that administrative territory
Italy Brazil United States of America
[[{'concept': 'film genre'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:collectable }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P47
Q56061 Q7275
USER
How many administrative territories and states are bordered by that administrative territory ?
(Q38,P47,c(Q56061)) (Q38,P47,c(Q7275)) (Q38,P47,c(Q56061)) (Q38,P47,c(Q7275)) (Q155,P47,c(Q56061)) (Q155,P47,c(Q7275)) (Q30,P47,c(Q56061)) (Q30,P47,c(Q7275))
['Q38', 'P47', {'concept': 'Q56061'}] ['Q38', 'P47', {'concept': 'Q7275'}] ['Q38', 'P47', {'concept': 'Q56061'}] ['Q38', 'P47', {'concept': 'Q7275'}] ['Q155', 'P47', {'concept': 'Q56061'}] ['Q155', 'P47', {'concept': 'Q7275'}] ['Q30', 'P47', {'concept': 'Q56061'}] ['Q30', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q977238 property:P47 ?z } UNION { resource:Q977238 property:P47 ?y } UNION { resource:Q977238 property:P47 ?z } UNION { resource:Q977238 property:P47 ?y } UNION { resource:Q21475816 property:P47 ?z } UNION { resource:Q21475816 property:P47 ?y } UNION { resource:Q30 property:P47 ?z } UNION { resource:Q30 property:P47 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q7275 }
['Italy', 'shares border with', {'concept': 'administrative territorial entity'}] ['Italy', 'shares border with', {'concept': 'state'}] ['Italy', 'shares border with', {'concept': 'administrative territorial entity'}] ['Italy', 'shares border with', {'concept': 'state'}] ['Brazil', 'shares border with', {'concept': 'administrative territorial entity'}] ['Brazil', 'shares border with', {'concept': 'state'}] ['United States of America', 'shares border with', {'concept': 'administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Italy property:shares_border_with ?z } UNION { resource:Italy property:shares_border_with ?y } UNION { resource:Italy property:shares_border_with ?z } UNION { resource:Italy property:shares_border_with ?y } UNION { resource:Brazil property:shares_border_with ?z } UNION { resource:Brazil property:shares_border_with ?y } UNION { resource:United_States_of_America property:shares_border_with ?z } UNION { resource:United_States_of_America property:shares_border_with ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:state }
[]
administrative territorial entity state
Quantitative|Count|Mult. entity type|Clarification
Q155
SYSTEM
Did you mean Brazil ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q977238 property:P47 ?z } UNION { resource:Q977238 property:P47 ?y } UNION { resource:Q977238 property:P47 ?z } UNION { resource:Q977238 property:P47 ?y } UNION { resource:Q21475816 property:P47 ?z } UNION { resource:Q21475816 property:P47 ?y } UNION { resource:Q30 property:P47 ?z } UNION { resource:Q30 property:P47 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q7275 }
Did you mean Brazil ?
Brazil
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Italy property:shares_border_with ?z } UNION { resource:Italy property:shares_border_with ?y } UNION { resource:Italy property:shares_border_with ?z } UNION { resource:Italy property:shares_border_with ?y } UNION { resource:Brazil property:shares_border_with ?z } UNION { resource:Brazil property:shares_border_with ?y } UNION { resource:United_States_of_America property:shares_border_with ?z } UNION { resource:United_States_of_America property:shares_border_with ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:state }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Italy. Could you tell me the answer for that?
(Q38,P47,c(Q56061)) (Q38,P47,c(Q7275)) (Q38,P47,c(Q56061)) (Q38,P47,c(Q7275)) (Q155,P47,c(Q56061)) (Q155,P47,c(Q7275)) (Q30,P47,c(Q56061)) (Q30,P47,c(Q7275))
Q38
['Q38', 'P47', {'concept': 'Q56061'}] ['Q38', 'P47', {'concept': 'Q7275'}] ['Q38', 'P47', {'concept': 'Q56061'}] ['Q38', 'P47', {'concept': 'Q7275'}] ['Q155', 'P47', {'concept': 'Q56061'}] ['Q155', 'P47', {'concept': 'Q7275'}] ['Q30', 'P47', {'concept': 'Q56061'}] ['Q30', 'P47', {'concept': 'Q7275'}]
['Italy', 'shares border with', {'concept': 'administrative territorial entity'}] ['Italy', 'shares border with', {'concept': 'state'}] ['Italy', 'shares border with', {'concept': 'administrative territorial entity'}] ['Italy', 'shares border with', {'concept': 'state'}] ['Brazil', 'shares border with', {'concept': 'administrative territorial entity'}] ['Brazil', 'shares border with', {'concept': 'state'}] ['United States of America', 'shares border with', {'concept': 'administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'state'}]
[]
SYSTEM
1 administrative territories and 1 states
Q237 Q36704
(Q38,P47,c(Q56061)) (Q38,P47,c(Q7275)) (Q38,P47,c(Q56061)) (Q38,P47,c(Q7275)) (Q155,P47,c(Q56061)) (Q155,P47,c(Q7275)) (Q30,P47,c(Q56061)) (Q30,P47,c(Q7275))
[ANSWER]
['Q38', 'P47', {'concept': 'Q56061'}] ['Q38', 'P47', {'concept': 'Q7275'}] ['Q38', 'P47', {'concept': 'Q56061'}] ['Q38', 'P47', {'concept': 'Q7275'}] ['Q155', 'P47', {'concept': 'Q56061'}] ['Q155', 'P47', {'concept': 'Q7275'}] ['Q30', 'P47', {'concept': 'Q56061'}] ['Q30', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q977238 property:P47 ?z } UNION { resource:Q977238 property:P47 ?y } UNION { resource:Q977238 property:P47 ?z } UNION { resource:Q977238 property:P47 ?y } UNION { resource:Q21475816 property:P47 ?z } UNION { resource:Q21475816 property:P47 ?y } UNION { resource:Q30 property:P47 ?z } UNION { resource:Q30 property:P47 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q7275 }
Vatican City Yugoslavia
1 administrative territories and 1 states
['Italy', 'shares border with', {'concept': 'administrative territorial entity'}] ['Italy', 'shares border with', {'concept': 'state'}] ['Italy', 'shares border with', {'concept': 'administrative territorial entity'}] ['Italy', 'shares border with', {'concept': 'state'}] ['Brazil', 'shares border with', {'concept': 'administrative territorial entity'}] ['Brazil', 'shares border with', {'concept': 'state'}] ['United States of America', 'shares border with', {'concept': 'administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Italy property:shares_border_with ?z } UNION { resource:Italy property:shares_border_with ?y } UNION { resource:Italy property:shares_border_with ?z } UNION { resource:Italy property:shares_border_with ?y } UNION { resource:Brazil property:shares_border_with ?z } UNION { resource:Brazil property:shares_border_with ?y } UNION { resource:United_States_of_America property:shares_border_with ?z } UNION { resource:United_States_of_America property:shares_border_with ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:state }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q945
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with more number of administrative territories than Togo ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q945
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:Q945 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?j > ?w ) . { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:P530 ?i . ?i rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?i } }
Togo
action greater
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 Togo
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 ?i WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:Togo property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j > ?w ) . { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q37 Q711 Q710 Q717 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q819 Q424 Q1013 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q34020 Q686 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q945
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with more number of administrative territories than Togo
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:Q945 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?j > ?w ) . { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:P530 ?i . ?i rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?i } }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Lithuania Mongolia Kiribati Venezuela Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Laos Cambodia Lesotho Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Niue Vanuatu East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
Italy, Brazil and United States of America hold diplomatic relationship with more number of administrative territories than Togo
Italy Brazil United States of America
action greater
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 Togo
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 ?i WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:Togo property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j > ?w ) . { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q222
P530
Q15617994 Q15617994
USER
And how about Albania?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q222
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?t > ?w ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:Q222 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?t ) WHERE { ?a property:P530 ?d . ?a rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?a } }
Albania
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 Albania
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 ?a WHERE { FILTER ( ?t > ?w ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:Albania property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?t ) WHERE { ?a property:diplomatic_relation ?d . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q403 Q159 Q43 Q155 Q796 Q794 Q30 Q38 Q347 Q17 Q79 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q222
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?t > ?w ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:Q222 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?t ) WHERE { ?a property:P530 ?d . ?a rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?a } }
Israel Yemen India Argentina France United Kingdom People's Republic of China Serbia Russia Turkey Brazil Iraq Iran United States of America Italy Liechtenstein Japan Egypt Libya Cape Verde Zambia
Italy Brazil United States of America
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 Albania
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 ?a WHERE { FILTER ( ?t > ?w ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:Albania property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?t ) WHERE { ?a property:diplomatic_relation ?d . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } }
[]