Simple Question (Direct)
Simple Question
Q3331613
P106
Q12737077
USER
Which occupation is the profession of Myron Pryor ?
(Q3331613,P106,c(Q12737077))
action filter_type
action find
entity Q3331613
relation P106
type Q12737077
['Q3331613', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q3331613 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Myron Pryor
action filter_type
action find
entity Myron Pryor
relation occupation
type occupation
['Myron Pryor', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Myron_Pryor property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q19204627
SYSTEM
American football player
Q19204627
(Q3331613,P106,c(Q12737077))
action filter_type
action find
entity Q3331613
relation P106
type Q12737077
[ANSWER] is the profession of Myron Pryor
['Q3331613', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q3331613 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
American football player
American football player is the profession of Myron Pryor
American football player
action filter_type
action find
entity Myron Pryor
relation occupation
type occupation
['Myron Pryor', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Myron_Pryor property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3331613
P641
Q349
USER
What was the sport that Myron Pryor was a part of ?
(Q3331613,P641,c(Q349))
action filter_type
action find
entity Q3331613
relation P641
type Q349
['Q3331613', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q3331613 property:P641 ?z . ?z rdf:type ontology:Q349 }
Myron Pryor
action filter_type
action find
entity Myron Pryor
relation sport
type sport
['Myron Pryor', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Myron_Pryor property:sport ?z . ?z rdf:type ontology:sport }
[]
sport
Q41323
SYSTEM
American football
Q41323
(Q3331613,P641,c(Q349))
action filter_type
action find
entity Q3331613
relation P641
type Q349
The sport that Myron Pryor was a part of was [ANSWER]
['Q3331613', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q3331613 property:P641 ?z . ?z rdf:type ontology:Q349 }
American football
The sport that Myron Pryor was a part of was American football
American football
action filter_type
action find
entity Myron Pryor
relation sport
type sport
['Myron Pryor', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Myron_Pryor property:sport ?z . ?z rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3331613
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q41323,P27,c(Q15617994))
action filter_type
action find
entity Q3331613
relation P27
type Q15617994
['Q41323', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q3331613 property:P27 ?d }
Myron Pryor
action filter_type
action find
entity Myron Pryor
relation country of citizenship
type designation for an administrative territorial entity
['American football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Myron_Pryor property:country_of_citizenship ?d }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q41323,P27,c(Q15617994))
action filter_type
action find
entity Q3331613
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q41323', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q3331613 property:P27 ?d }
United States of America
That person belongs to the United States of America
United States of America
action filter_type
action find
entity Myron Pryor
relation country of citizenship
type designation for an administrative territorial entity
['American football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Myron_Pryor property:country_of_citizenship ?d }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
Which administrative territories are the origins of lesser number of releases than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find_reverse
entity Q30
relation P495
type Q2031291
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { ?c property:P495 resource:Q30 . ?c rdf:type ontology:Q2031291 } } . FILTER ( ?o < ?l ) . { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:P495 ?u . ?u rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q2031291 } GROUP BY ?u } }
action less
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find_reverse
entity United States of America
relation country of origin
type release
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { ?c property:country_of_origin resource:United_States_of_America . ?c rdf:type ontology:release } } . FILTER ( ?o < ?l ) . { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:release } GROUP BY ?u } }
[]
designation for an administrative territorial entity release
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2031291),P495,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find_reverse
entity Q30
relation P495
type Q2031291
[ANSWERS] are the origins of lesser number of releases than that administrative territory
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { ?c property:P495 resource:Q30 . ?c rdf:type ontology:Q2031291 } } . FILTER ( ?o < ?l ) . { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:P495 ?u . ?u rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q2031291 } GROUP BY ?u } }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Italy, Brazil and Georgia are the origins of lesser number of releases than that administrative territory
Italy Brazil Georgia
action less
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find_reverse
entity United States of America
relation country of origin
type release
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { ?c property:country_of_origin resource:United_States_of_America . ?c rdf:type ontology:release } } . FILTER ( ?o < ?l ) . { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:release } GROUP BY ?u } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q184
P530
Q15617994
USER
Do Belarus have diplomatic associations with those ones ?
(Q184,P530,Q38) (Q184,P530,Q155) (Q184,P530,Q230)
action is_in
entity prev_answer
action find
entity Q184
relation P530
['Q184', 'P530', 'Q38'] ['Q184', 'P530', 'Q155'] ['Q184', 'P530', 'Q230']
ASK WHERE { VALUES ( ?y ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } . resource:Q184 property:P530 ?y }
Belarus
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Italy'] ['Belarus', 'diplomatic relation', 'Brazil'] ['Belarus', 'diplomatic relation', 'Georgia']
ASK WHERE { VALUES ( ?y ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } . resource:Belarus property:diplomatic_relation ?y }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q184,P530,Q38) (Q184,P530,Q155) (Q184,P530,Q230)
action is_in
entity prev_answer
action find
entity Q184
relation P530
[ANSWER]
['Q184', 'P530', 'Q38'] ['Q184', 'P530', 'Q155'] ['Q184', 'P530', 'Q230']
ASK WHERE { VALUES ( ?y ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } . resource:Q184 property:P530 ?y }
Yes
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Italy'] ['Belarus', 'diplomatic relation', 'Brazil'] ['Belarus', 'diplomatic relation', 'Georgia']
ASK WHERE { VALUES ( ?y ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } . resource:Belarus property:diplomatic_relation ?y }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3331613 Q7260634
P19
Q56061
USER
Was Myron Pryor born at Punyelroo ?
(Q3331613,P19,Q7260634)
action is_in
entity Q7260634
action find
entity Q3331613
relation P19
['Q3331613', 'P19', 'Q7260634']
ASK WHERE { resource:Q3331613 property:P19 resource:Q7260634 }
Myron Pryor Punyelroo
action is_in
entity Punyelroo
action find
entity Myron Pryor
relation place of birth
['Myron Pryor', 'place of birth', 'Punyelroo']
ASK WHERE { resource:Myron_Pryor property:place_of_birth resource:Punyelroo }
[]
administrative territorial entity
SYSTEM
NO
(Q3331613,P19,Q7260634)
action is_in
entity Q7260634
action find
entity Q3331613
relation P19
[ANSWER]
['Q3331613', 'P19', 'Q7260634']
ASK WHERE { resource:Q3331613 property:P19 resource:Q7260634 }
No
action is_in
entity Punyelroo
action find
entity Myron Pryor
relation place of birth
['Myron Pryor', 'place of birth', 'Punyelroo']
ASK WHERE { resource:Myron_Pryor property:place_of_birth resource:Punyelroo }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q155
P47
Q20667921 Q15617994
USER
How many french administrative divisions or administrative territories do Brazil share a border with ?
(c(Q20667921),P47,Q155) (c(Q15617994),P47,Q155)
action count
action union
action filter_type
action find_reverse
entity Q155
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q155
relation P47
type Q15617994
[{'concept': 'Q20667921'}, 'P47', 'Q155'] [{'concept': 'Q15617994'}, 'P47', 'Q155']
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t rdf:type ?s . VALUES ( ?s ) { ( ontology:Q20667921 ) ( ontology:Q15617994 ) } }
Brazil
action count
action union
action filter_type
action find_reverse
entity Brazil
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Brazil
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'type of french administrative division'}, 'shares border with', 'Brazil'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Brazil']
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t rdf:type ?s . VALUES ( ?s ) { ( ontology:type_of_french_administrative_division ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
type of french administrative division designation for an administrative territorial entity
SYSTEM
11
Q739 Q142 Q717 Q3769 Q730 Q733 Q734 Q419 Q77 Q414 Q750
(c(Q20667921),P47,Q155) (c(Q15617994),P47,Q155)
action count
action union
action filter_type
action find_reverse
entity Q155
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q155
relation P47
type Q15617994
[ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q155'] [{'concept': 'Q15617994'}, 'P47', 'Q155']
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t rdf:type ?s . VALUES ( ?s ) { ( ontology:Q20667921 ) ( ontology:Q15617994 ) } }
Colombia France Venezuela French Guiana Suriname Paraguay Guyana Peru Uruguay Argentina Bolivia
11
action count
action union
action filter_type
action find_reverse
entity Brazil
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Brazil
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'type of french administrative division'}, 'shares border with', 'Brazil'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Brazil']
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { ?t rdf:type ?s . VALUES ( ?s ) { ( ontology:type_of_french_administrative_division ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q145
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with around the same number of administrative territories as United Kingdom ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q145
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?b ) WHERE { ?f property:P530 ?u . ?f rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?b = ?y ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:Q145 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } }
United Kingdom
action approx
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 United Kingdom
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 ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?b ) WHERE { ?f property:diplomatic_relation ?u . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?b = ?y ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:United_Kingdom property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q142 Q953 Q148
SYSTEM
France, Zambia, People's Republic of China
Q805 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q43 Q41 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q34 Q423 Q27 Q843 Q227 Q222 Q347 Q17 Q1033 Q213 Q916 Q79 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q145
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with around the same number of administrative territories as United Kingdom
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?b ) WHERE { ?f property:P530 ?u . ?f rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?b = ?y ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:Q145 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } }
Yemen India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Turkey Greece Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium Sweden North Korea Ireland Pakistan Azerbaijan Albania Liechtenstein Japan Nigeria Czech Republic Angola Egypt Libya Cape Verde Zambia
France, Zambia and People's Republic of China have diplomatic relationships with around the same number of administrative territories as United Kingdom
France Zambia People's Republic of China
action approx
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 United Kingdom
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 ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?b ) WHERE { ?f property:diplomatic_relation ?u . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?b = ?y ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:United_Kingdom property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q347
P530
Q15617994 Q15617994
USER
And also tell me about Liechtenstein?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q347
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P530 ?v . ?v rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q347 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?f = ?w ) }
Liechtenstein
action approx
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 Liechtenstein
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 ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Liechtenstein property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f = ?w ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q347
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P530 ?v . ?v rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q347 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?f = ?w ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea 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 Ireland Hungary Brunei Sudan Mauritius 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 Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
Georgia Netherlands Poland
action approx
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 Liechtenstein
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 ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Liechtenstein property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f = ?w ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P750
Q838948
USER
Who are United States of America a distributor of ?
(c(Q838948),P750,Q30)
action filter_type
action find_reverse
entity Q30
relation P750
type Q838948
[{'concept': 'Q838948'}, 'P750', 'Q30']
SELECT DISTINCT ?f WHERE { ?f property:P750 resource:Q30 . ?f 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 ?f WHERE { ?f property:distributor resource:United_States_of_America . ?f 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
[ANSWERS] are United States of America a distributor of
[{'concept': 'Q838948'}, 'P750', 'Q30']
SELECT DISTINCT ?f WHERE { ?f property:P750 resource:Q30 . ?f rdf:type ontology:Q838948 }
Dead Birds Franklin's Magic Christmas
Dead Birds and Franklin's Magic Christmas are United States of America a distributor of
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 ?f WHERE { ?f property:distributor resource:United_States_of_America . ?f rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55
P206
Q473972
USER
Which protected area is located next to Netherlands ?
(Q55,P206,c(Q473972))
action filter_type
action find
entity Q55
relation P206
type Q473972
['Q55', 'P206', {'concept': 'Q473972'}]
SELECT DISTINCT ?o WHERE { resource:Q55 property:P206 ?o . ?o rdf:type ontology:Q473972 }
Netherlands
action filter_type
action find
entity Netherlands
relation located next to body of water
type protected area
['Netherlands', 'located next to body of water', {'concept': 'protected area'}]
SELECT DISTINCT ?o WHERE { resource:Netherlands property:located_next_to_body_of_water ?o . ?o rdf:type ontology:protected_area }
[]
protected area
Q4121
SYSTEM
IJsselmeer
Q4121
(Q55,P206,c(Q473972))
action filter_type
action find
entity Q55
relation P206
type Q473972
[ANSWER] is located next to Netherlands
['Q55', 'P206', {'concept': 'Q473972'}]
SELECT DISTINCT ?o WHERE { resource:Q55 property:P206 ?o . ?o rdf:type ontology:Q473972 }
IJsselmeer
IJsselmeer is located next to Netherlands
IJsselmeer
action filter_type
action find
entity Netherlands
relation located next to body of water
type protected area
['Netherlands', 'located next to body of water', {'concept': 'protected area'}]
SELECT DISTINCT ?o WHERE { resource:Netherlands property:located_next_to_body_of_water ?o . ?o rdf:type ontology:protected_area }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1012380
Q473972
USER
And what about Oudeschild?
(Q1012380,P206,c(Q473972))
action filter_type
action find
entity Q1012380
relation P206
type Q473972
['Q1012380', 'P206', {'concept': 'Q473972'}]
SELECT DISTINCT ?z WHERE { resource:Q1012380 property:P206 ?z . ?z rdf:type ontology:Q473972 }
Oudeschild
action filter_type
action find
entity Oudeschild
relation located next to body of water
type protected area
['Oudeschild', 'located next to body of water', {'concept': 'protected area'}]
SELECT DISTINCT ?z WHERE { resource:Oudeschild property:located_next_to_body_of_water ?z . ?z rdf:type ontology:protected_area }
[]
protected area
Q26080
SYSTEM
Wadden Sea (North Sea)
Q26080
(Q1012380,P206,c(Q473972))
action filter_type
action find
entity Q1012380
relation P206
type Q473972
[ANSWER]
['Q1012380', 'P206', {'concept': 'Q473972'}]
SELECT DISTINCT ?z WHERE { resource:Q1012380 property:P206 ?z . ?z rdf:type ontology:Q473972 }
Wadden Sea (North Sea)
Wadden Sea (North Sea)
action filter_type
action find
entity Oudeschild
relation located next to body of water
type protected area
['Oudeschild', 'located next to body of water', {'concept': 'protected area'}]
SELECT DISTINCT ?z WHERE { resource:Oudeschild property:located_next_to_body_of_water ?z . ?z rdf:type ontology:protected_area }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55
P361
Q2324993
USER
What is a component of Netherlands ?
(c(Q2324993),P361,Q55)
action filter_type
action find_reverse
entity Q55
relation P361
type Q2324993
[{'concept': 'Q2324993'}, 'P361', 'Q55']
SELECT DISTINCT ?c WHERE { ?c property:P361 resource:Q55 . ?c rdf:type ontology:Q2324993 }
Netherlands
action filter_type
action find_reverse
entity Netherlands
relation part of
type branch
[{'concept': 'branch'}, 'part of', 'Netherlands']
SELECT DISTINCT ?c WHERE { ?c property:part_of resource:Netherlands . ?c rdf:type ontology:branch }
[]
branch
Q15966611
SYSTEM
Government of the Netherlands
Q15966611
(c(Q2324993),P361,Q55)
action filter_type
action find_reverse
entity Q55
relation P361
type Q2324993
A component of Netherlands is the [ANSWER]
[{'concept': 'Q2324993'}, 'P361', 'Q55']
SELECT DISTINCT ?c WHERE { ?c property:P361 resource:Q55 . ?c rdf:type ontology:Q2324993 }
Government of the Netherlands
A component of Netherlands is the Government of the Netherlands
Government of the Netherlands
action filter_type
action find_reverse
entity Netherlands
relation part of
type branch
[{'concept': 'branch'}, 'part of', 'Netherlands']
SELECT DISTINCT ?c WHERE { ?c property:part_of resource:Netherlands . ?c rdf:type ontology:branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q55
P1071
Q2235308
USER
Which ship types have that administrative territory as their final place of assembly ?
(c(Q2235308),P1071,Q15966611)
action filter_type
action find_reverse
entity Q55
relation P1071
type Q2235308
[{'concept': 'Q2235308'}, 'P1071', 'Q15966611']
SELECT DISTINCT ?s WHERE { ?s property:P1071 resource:Q55 . ?s rdf:type ontology:Q2235308 }
Netherlands
action filter_type
action find_reverse
entity Netherlands
relation location of final assembly
type ship type
[{'concept': 'ship type'}, 'location of final assembly', 'Government of the Netherlands']
SELECT DISTINCT ?s WHERE { ?s property:location_of_final_assembly resource:Netherlands . ?s rdf:type ontology:ship_type }
[]
ship type
Q5630974 Q19841171
SYSTEM
HMC Searcher, Noah's Ark
Q5630974 Q19841171
(c(Q2235308),P1071,Q15966611)
action filter_type
action find_reverse
entity Q55
relation P1071
type Q2235308
[ANSWERS] have that administrative territory as their final place of assembly
[{'concept': 'Q2235308'}, 'P1071', 'Q15966611']
SELECT DISTINCT ?s WHERE { ?s property:P1071 resource:Q55 . ?s rdf:type ontology:Q2235308 }
HMC Searcher Noah's Ark
HMC Searcher and Noah's Ark have that administrative territory as their final place of assembly
HMC Searcher Noah's Ark
action filter_type
action find_reverse
entity Netherlands
relation location of final assembly
type ship type
[{'concept': 'ship type'}, 'location of final assembly', 'Government of the Netherlands']
SELECT DISTINCT ?s WHERE { ?s property:location_of_final_assembly resource:Netherlands . ?s rdf:type ontology:ship_type }
[]