Simple Question (Direct)
Simple Question
Q3167251
P54
Q12973014
USER
What is Jean-Luc Rivallo a member of ?
(Q3167251,P54,c(Q12973014))
action filter_type
action find
entity Q3167251
relation P54
type Q12973014
['Q3167251', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?d WHERE { resource:Q3167251 property:P54 ?d . ?d rdf:type ontology:Q12973014 }
Jean-Luc Rivallo
action filter_type
action find
entity Jean-Luc Rivallo
relation member of sports team
type sports team
['Jean-Luc Rivallo', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?d WHERE { resource:Jean-Luc_Rivallo property:member_of_sports_team ?d . ?d rdf:type ontology:sports_team }
[]
sports team
Q1781643
SYSTEM
AS Béziers Hérault
Q1781643
(Q3167251,P54,c(Q12973014))
action filter_type
action find
entity Q3167251
relation P54
type Q12973014
Jean-Luc Rivallo a member of is the [ANSWER]
['Q3167251', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?d WHERE { resource:Q3167251 property:P54 ?d . ?d rdf:type ontology:Q12973014 }
AS Béziers Hérault
Jean-Luc Rivallo a member of is the AS Béziers Hérault
AS Béziers Hérault
action filter_type
action find
entity Jean-Luc Rivallo
relation member of sports team
type sports team
['Jean-Luc Rivallo', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?d WHERE { resource:Jean-Luc_Rivallo property:member_of_sports_team ?d . ?d rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1781643
P17
Q15617994
USER
Which administrative territory is that sports team situated in ?
(Q1781643,P17,c(Q15617994))
action filter_type
action find
entity Q1781643
relation P17
type Q15617994
['Q1781643', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q1781643 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
AS Béziers Hérault
action filter_type
action find
entity AS Béziers Hérault
relation country
type designation for an administrative territorial entity
['AS Béziers Hérault', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:AS_Béziers_Hérault property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1781643,P17,c(Q15617994))
action filter_type
action find
entity Q1781643
relation P17
type Q15617994
That sports team is situated in [ANSWER]
['Q1781643', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q1781643 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
France
That sports team is situated in France
France
action filter_type
action find
entity AS Béziers Hérault
relation country
type designation for an administrative territorial entity
['AS Béziers Hérault', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:AS_Béziers_Hérault property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5117499
Q15617994
USER
And what about Church of St Martin, Marple?
(Q5117499,P17,c(Q15617994))
action filter_type
action find
entity Q5117499
relation P17
type Q15617994
['Q5117499', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q5117499 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Church of St Martin, Marple
action filter_type
action find
entity Church of St Martin, Marple
relation country
type designation for an administrative territorial entity
['Church of St Martin, Marple', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Church_of_St_Martin,_Marple property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q5117499,P17,c(Q15617994))
action filter_type
action find
entity Q5117499
relation P17
type Q15617994
[ANSWER]
['Q5117499', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q5117499 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom
action filter_type
action find
entity Church of St Martin, Marple
relation country
type designation for an administrative territorial entity
['Church of St Martin, Marple', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Church_of_St_Martin,_Marple property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
Which administrative territories are the countries of origin 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 Q145
relation P495
type Q2031291
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?z ) WHERE { ?k property:P495 ?r . ?r rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q2031291 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { ?a rdf:type ontology:Q2031291 . ?a property:P495 resource:Q145 } } . FILTER ( ?z < ?i ) }
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 Kingdom
relation country of origin
type release
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?z ) WHERE { ?k property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:release } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { ?a rdf:type ontology:release . ?a property:country_of_origin resource:United_Kingdom } } . FILTER ( ?z < ?i ) }
[]
designation for an administrative territorial entity release
Q155 Q230 Q159
SYSTEM
Brazil, Georgia, Russia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 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 Q928 Q39 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 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 Q145
relation P495
type Q2031291
[ANSWERS] are the countries of origin of lesser number of releases than that administrative territory
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?z ) WHERE { ?k property:P495 ?r . ?r rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q2031291 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { ?a rdf:type ontology:Q2031291 . ?a property:P495 resource:Q145 } } . FILTER ( ?z < ?i ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina 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 Philippines Switzerland 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 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
Brazil, Georgia and Russia are the countries of origin of lesser number of releases than that administrative territory
Brazil Georgia Russia
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 Kingdom
relation country of origin
type release
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?z ) WHERE { ?k property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:release } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { ?a rdf:type ontology:release . ?a property:country_of_origin resource:United_Kingdom } } . FILTER ( ?z < ?i ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q155
P530
Q15617994
USER
How many administrative territories have diplomatic relationships with Brazil ?
(Q155,P530,c(Q15617994))
action count
action filter_type
action find
entity Q155
relation P530
type Q15617994
['Q155', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { resource:Q155 property:P530 ?m . ?m rdf:type ontology:Q15617994 }
Brazil
action count
action filter_type
action find
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { resource:Brazil property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
53
Q96 Q419 Q801 Q800 Q843 Q1029 Q822 Q241 Q244 Q668 Q574 Q414 Q983 Q142 Q145 Q148 Q783 Q43 Q17 Q30 Q36 Q77 Q750 Q1016 Q739 Q423 Q717 Q79 Q733 Q1011 Q962 Q736 Q298 Q252 Q399 Q403 Q258 Q212 Q213 Q45 Q159 Q734 Q41 Q790 Q38 Q796 Q794 Q917 Q1033 Q29 Q958 Q1049 Q916
(Q155,P530,c(Q15617994))
action count
action filter_type
action find
entity Q155
relation P530
type Q15617994
[ANSWER]
['Q155', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { resource:Q155 property:P530 ?m . ?m rdf:type ontology:Q15617994 }
Mexico Peru Israel Costa Rica Pakistan Mozambique Lebanon Cuba Barbados India East Timor Argentina Equatorial Guinea France United Kingdom People's Republic of China Honduras Turkey Japan United States of America Poland Uruguay Bolivia Libya Colombia North Korea Venezuela Egypt Paraguay Cape Verde Benin Ecuador Chile Indonesia Armenia Serbia South Africa Ukraine Czech Republic Portugal Russia Guyana Greece Haiti Italy Iraq Iran Bhutan Nigeria Spain South Sudan Sudan Angola
53
action count
action filter_type
action find
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { resource:Brazil property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q142
Q15617994
USER
And also tell me about France?
(Q142,P530,c(Q15617994))
action count
action filter_type
action find
entity Q142
relation P530
type Q15617994
['Q142', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:Q142 property:P530 ?a . ?a rdf:type ontology:Q15617994 }
France
action count
action filter_type
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:France property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
15
(Q142,P530,c(Q15617994))
action count
action filter_type
action find
entity Q142
relation P530
type Q15617994
[ANSWER]
['Q142', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:Q142 property:P530 ?a . ?a rdf:type ontology:Q15617994 }
15
action count
action filter_type
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { resource:France property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P85
Q571
USER
What is the anthem for that administrative territory ?
action filter_type
action find
entity Q142
relation P85
type Q571
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q571 . resource:Q142 property:P85 ?l }
France
action filter_type
action find
entity France
relation anthem
type book
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:book . resource:France property:anthem ?l }
[]
book
Q41180
SYSTEM
La Marseillaise
Q41180
action filter_type
action find
entity Q142
relation P85
type Q571
The anthem for that administrative territory is called [ANSWER]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q571 . resource:Q142 property:P85 ?l }
La Marseillaise
The anthem for that administrative territory is called La Marseillaise
La Marseillaise
action filter_type
action find
entity France
relation anthem
type book
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:book . resource:France property:anthem ?l }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q228
P530
Q15617994 Q1048835 Q15617994
USER
Which administrative territories have diplomatic relationships with less number of political territories and administrative territories than Andorra ?
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q228
relation P530
type Q1048835
type Q15617994
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { { { ?r rdf:type ontology:Q1048835 } UNION { ?r rdf:type ontology:Q15617994 } } . ?r property:P530 resource:Q228 } } . FILTER ( ?d < ?h ) . { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?d ) WHERE { { ?q property:P530 ?b . ?b rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1048835 } UNION { ?q property:P530 ?b . ?b rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } } GROUP BY ?b } }
Andorra
action less
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
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_multi_types
action find_reverse
entity Andorra
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { { { ?r rdf:type ontology:political_territorial_entity } UNION { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . ?r property:diplomatic_relation resource:Andorra } } . FILTER ( ?d < ?h ) . { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?d ) WHERE { { ?q property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:political_territorial_entity } UNION { ?q property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?b } }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
Q230 Q184 Q948
SYSTEM
Georgia, Belarus, Tunisia
Q702 Q804 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q792 Q790 Q958 Q986 Q242 Q244 Q811 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q238 Q1045 Q1041 Q28 Q921 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q786 Q221 Q1036 Q1037 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q117 Q754 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q858 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q228
relation P530
type Q1048835
type Q15617994
[ANSWERS] have diplomatic relationships with less number of political territories and administrative territories than Andorra
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { { { ?r rdf:type ontology:Q1048835 } UNION { ?r rdf:type ontology:Q15617994 } } . ?r property:P530 resource:Q228 } } . FILTER ( ?d < ?h ) . { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?d ) WHERE { { ?q property:P530 ?b . ?b rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1048835 } UNION { ?q property:P530 ?b . ?b rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } } GROUP BY ?b } }
Federated States of Micronesia Panama Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad El Salvador Haiti South Sudan Eritrea Belize Barbados Nicaragua Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan San Marino Somalia Senegal Hungary Brunei Mauritius Malawi Iceland Oman Belarus Morocco Dominican Republic Republic of Macedonia Uganda Rwanda Niger Estonia Burkina Faso Burundi Benin Nauru Palau Ghana Trinidad and Tobago Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Syria Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia
Georgia, Belarus and Tunisia have diplomatic relationships with less number of political territories and administrative territories than Andorra
Georgia Belarus Tunisia
action less
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
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_multi_types
action find_reverse
entity Andorra
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { { { ?r rdf:type ontology:political_territorial_entity } UNION { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . ?r property:diplomatic_relation resource:Andorra } } . FILTER ( ?d < ?h ) . { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?d ) WHERE { { ?q property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:political_territorial_entity } UNION { ?q property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?b } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with around 26 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 26
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?f ) WHERE { ?r property:P530 ?o . ?r rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?r } . FILTER ( ?f = 26 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 26
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?f ) WHERE { ?r property:diplomatic_relation ?o . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?f = 26 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q801 Q159 Q30
SYSTEM
Israel, Russia, United States of America
Q801 Q159 Q30
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 26
[ANSWERS] have diplomatic relationships with around 26 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?f ) WHERE { ?r property:P530 ?o . ?r rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?r } . FILTER ( ?f = 26 ) }
Israel Russia United States of America
Israel, Russia and United States of America have diplomatic relationships with around 26 administrative territories
Israel Russia United States of America
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 26
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?f ) WHERE { ?r property:diplomatic_relation ?o . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?f = 26 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q142
P530
Q15617994
USER
Do France have diplomatic associations with those ones ?
(Q142,P530,Q801) (Q142,P530,Q159) (Q142,P530,Q30)
action is_in
entity prev_answer
action find
entity Q142
relation P530
['Q142', 'P530', 'Q801'] ['Q142', 'P530', 'Q159'] ['Q142', 'P530', 'Q30']
ASK WHERE { VALUES ( ?w ) { ( resource:Q801 ) ( resource:Q159 ) ( resource:Q30 ) } . resource:Q142 property:P530 ?w }
France
action is_in
entity prev_answer
action find
entity France
relation diplomatic relation
['France', 'diplomatic relation', 'Israel'] ['France', 'diplomatic relation', 'Russia'] ['France', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?w ) { ( resource:Israel ) ( resource:Russia ) ( resource:United_States_of_America ) } . resource:France property:diplomatic_relation ?w }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q142,P530,Q801) (Q142,P530,Q159) (Q142,P530,Q30)
action is_in
entity prev_answer
action find
entity Q142
relation P530
[ANSWER]
['Q142', 'P530', 'Q801'] ['Q142', 'P530', 'Q159'] ['Q142', 'P530', 'Q30']
ASK WHERE { VALUES ( ?w ) { ( resource:Q801 ) ( resource:Q159 ) ( resource:Q30 ) } . resource:Q142 property:P530 ?w }
Yes
action is_in
entity prev_answer
action find
entity France
relation diplomatic relation
['France', 'diplomatic relation', 'Israel'] ['France', 'diplomatic relation', 'Russia'] ['France', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?w ) { ( resource:Israel ) ( resource:Russia ) ( resource:United_States_of_America ) } . resource:France property:diplomatic_relation ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P361
Q2221906
USER
Which geographic locations are Russia a component of ?
(Q159,P361,c(Q2221906))
action filter_type
action find
entity Q159
relation P361
type Q2221906
['Q159', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q2221906 . resource:Q159 property:P361 ?y }
Russia
action filter_type
action find
entity Russia
relation part of
type geographic location
['Russia', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:geographic_location . resource:Russia property:part_of ?y }
[]
geographic location
Q5401 Q27468
SYSTEM
Eurasia, Eastern Europe
Q5401 Q27468
(Q159,P361,c(Q2221906))
action filter_type
action find
entity Q159
relation P361
type Q2221906
[ANSWERS]
['Q159', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q2221906 . resource:Q159 property:P361 ?y }
Eurasia Eastern Europe
Which geographic locations are Russia a component of
Eurasia Eastern Europe
action filter_type
action find
entity Russia
relation part of
type geographic location
['Russia', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:geographic_location . resource:Russia property:part_of ?y }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q14684992
Q2221906
USER
And what about Mount McConnel?
(Q14684992,P361,c(Q2221906))
action filter_type
action find
entity Q14684992
relation P361
type Q2221906
['Q14684992', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?c WHERE { resource:Q14684992 property:P361 ?c . ?c rdf:type ontology:Q2221906 }
Mount McConnel
action filter_type
action find
entity Mount McConnel
relation part of
type geographic location
['Mount McConnel', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?c WHERE { resource:Mount_McConnel property:part_of ?c . ?c rdf:type ontology:geographic_location }
[]
geographic location
Q6935461
SYSTEM
Mummy Range
Q6935461
(Q14684992,P361,c(Q2221906))
action filter_type
action find
entity Q14684992
relation P361
type Q2221906
[ANSWER]
['Q14684992', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?c WHERE { resource:Q14684992 property:P361 ?c . ?c rdf:type ontology:Q2221906 }
Mummy Range
Mummy Range
action filter_type
action find
entity Mount McConnel
relation part of
type geographic location
['Mount McConnel', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?c WHERE { resource:Mount_McConnel property:part_of ?c . ?c rdf:type ontology:geographic_location }
[]