Simple Question (Direct)
Simple Question
Q2935149
P39
Q12737077
USER
What was the position held by Camilo Alonso Vega ?
(Q2935149,P39,c(Q12737077))
action filter_type
action find
entity Q2935149
relation P39
type Q12737077
['Q2935149', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q2935149 property:P39 ?l }
Camilo Alonso Vega
action filter_type
action find
entity Camilo Alonso Vega
relation position held
type occupation
['Camilo Alonso Vega', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Camilo_Alonso_Vega property:position_held ?l }
[]
occupation
Q18171345
SYSTEM
Member of the Congress of Deputies of Spain
Q18171345
(Q2935149,P39,c(Q12737077))
action filter_type
action find
entity Q2935149
relation P39
type Q12737077
The position held by Camilo Alonso Vega was a [ANSWER]
['Q2935149', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q2935149 property:P39 ?l }
Member of the Congress of Deputies of Spain
The position held by Camilo Alonso Vega was a Member of the Congress of Deputies of Spain
Member of the Congress of Deputies of Spain
action filter_type
action find
entity Camilo Alonso Vega
relation position held
type occupation
['Camilo Alonso Vega', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Camilo_Alonso_Vega property:position_held ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2935149
P1412
Q34770
USER
Which language does Camilo Alonso Vega speak in ?
(Q2935149,P1412,c(Q34770))
action filter_type
action find
entity Q2935149
relation P1412
type Q34770
['Q2935149', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q2935149 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
Camilo Alonso Vega
action filter_type
action find
entity Camilo Alonso Vega
relation languages spoken, written or signed
type language
['Camilo Alonso Vega', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Camilo_Alonso_Vega property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q2935149,P1412,c(Q34770))
action filter_type
action find
entity Q2935149
relation P1412
type Q34770
Camilo Alonso Vega speaks in [ANSWER]
['Q2935149', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q2935149 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
Spanish
Camilo Alonso Vega speaks in Spanish
Spanish
action filter_type
action find
entity Camilo Alonso Vega
relation languages spoken, written or signed
type language
['Camilo Alonso Vega', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Camilo_Alonso_Vega property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q8209
P282
Q9779 Q34770
USER
How many alphabets are the writing systems of lesser number of languages known as than Cyrillic script ?
(c(Q34770),P282,c(Q9779))
action count
action less
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find_reverse
entity Q8209
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?t ) WHERE { ?q rdf:type ontology:Q34770 . ?v rdf:type ontology:Q9779 . ?q property:P282 ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { ?i property:P282 resource:Q8209 . ?i rdf:type ontology:Q34770 } } . FILTER ( ?t < ?l ) }
Cyrillic script
action count
action less
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find_reverse
entity Cyrillic script
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?t ) WHERE { ?q rdf:type ontology:language . ?v rdf:type ontology:alphabet . ?q property:writing_system ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { ?i property:writing_system resource:Cyrillic_script . ?i rdf:type ontology:language } } . FILTER ( ?t < ?l ) }
[]
alphabet language
SYSTEM
14
Q164436 Q754989 Q792216 Q606972 Q187846 Q829464 Q13405127 Q550383 Q1937113 Q442244 Q2092163 Q540987 Q2712936 Q83942
(c(Q34770),P282,c(Q9779))
action count
action less
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find_reverse
entity Q8209
relation P282
type Q34770
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?t ) WHERE { ?q rdf:type ontology:Q34770 . ?v rdf:type ontology:Q9779 . ?q property:P282 ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { ?i property:P282 resource:Q8209 . ?i rdf:type ontology:Q34770 } } . FILTER ( ?t < ?l ) }
Bulgarian alphabet Gaj's Latin alphabet Belarusian alphabet Polish alphabet Russian alphabet Serbian Cyrillic alphabet Rusyn alphabet Italian alphabet futhark Early Cyrillic alphabet Macedonian alphabet Portuguese alphabet futhorc Jawi alphabet
14
action count
action less
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find_reverse
entity Cyrillic script
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?t ) WHERE { ?q rdf:type ontology:language . ?v rdf:type ontology:alphabet . ?q property:writing_system ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { ?i property:writing_system resource:Cyrillic_script . ?i rdf:type ontology:language } } . FILTER ( ?t < ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q550383
P282
Q9779 Q34770
USER
And also tell me about Italian alphabet?
(c(Q34770),P282,c(Q9779))
action count
action less
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find_reverse
entity Q550383
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?o ) WHERE { ?i property:P282 ?s . ?s rdf:type ontology:Q9779 . ?i rdf:type ontology:Q34770 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:P282 resource:Q550383 . ?p rdf:type ontology:Q34770 } } . FILTER ( ?o < ?h ) }
Italian alphabet
action count
action less
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find_reverse
entity Italian alphabet
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?o ) WHERE { ?i property:writing_system ?s . ?s rdf:type ontology:alphabet . ?i rdf:type ontology:language } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:writing_system resource:Italian_alphabet . ?p rdf:type ontology:language } } . FILTER ( ?o < ?h ) }
[]
alphabet language
SYSTEM
11
Q164436 Q754989 Q792216 Q606972 Q187846 Q13405127 Q1937113 Q2092163 Q540987 Q2712936 Q83942
(c(Q34770),P282,c(Q9779))
action count
action less
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find_reverse
entity Q550383
relation P282
type Q34770
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?o ) WHERE { ?i property:P282 ?s . ?s rdf:type ontology:Q9779 . ?i rdf:type ontology:Q34770 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:P282 resource:Q550383 . ?p rdf:type ontology:Q34770 } } . FILTER ( ?o < ?h ) }
Bulgarian alphabet Gaj's Latin alphabet Belarusian alphabet Polish alphabet Russian alphabet Rusyn alphabet futhark Macedonian alphabet Portuguese alphabet futhorc Jawi alphabet
11
action count
action less
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find_reverse
entity Italian alphabet
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?o ) WHERE { ?i property:writing_system ?s . ?s rdf:type ontology:alphabet . ?i rdf:type ontology:language } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:writing_system resource:Italian_alphabet . ?p rdf:type ontology:language } } . FILTER ( ?o < ?h ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18171345
P17
Q15617994
USER
Which administrative territory is Member of the Congress of Deputies of Spain present in ?
(Q18171345,P17,c(Q15617994))
action filter_type
action find
entity Q18171345
relation P17
type Q15617994
['Q18171345', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q18171345 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Member of the Congress of Deputies of Spain
action filter_type
action find
entity Member of the Congress of Deputies of Spain
relation country
type designation for an administrative territorial entity
['Member of the Congress of Deputies of Spain', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Member_of_the_Congress_of_Deputies_of_Spain property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q18171345,P17,c(Q15617994))
action filter_type
action find
entity Q18171345
relation P17
type Q15617994
[ANSWER] is Member of the Congress of Deputies of [ANSWER] present in
['Q18171345', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q18171345 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Spain
Spain is Member of the Congress of Deputies of Spain present in
Spain
action filter_type
action find
entity Member of the Congress of Deputies of Spain
relation country
type designation for an administrative territorial entity
['Member of the Congress of Deputies of Spain', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Member_of_the_Congress_of_Deputies_of_Spain property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q15416 Q2342494
USER
Which administrative territories are the origins of more number of television programs or collectables than that administrative territory ?
(c(Q15416)|c(Q2342494),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q29
relation P495
type Q15416
type Q2342494
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) ?e WHERE { { ?d property:P495 ?e . ?e rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q2342494 } UNION { ?d property:P495 ?e . ?e rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15416 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:P495 resource:Q29 . { ?p rdf:type ?j . VALUES ( ?j ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?u > ?i ) }
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Spain
relation country of origin
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) ?e WHERE { { ?d property:country_of_origin ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:collectable } UNION { ?d property:country_of_origin ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:television_program } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:country_of_origin resource:Spain . { ?p rdf:type ?j . VALUES ( ?j ) { ( ontology:television_program ) ( ontology:collectable ) } } } } . FILTER ( ?u > ?i ) }
[]
designation for an administrative territorial entity television program collectable
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q668 Q142 Q145 Q155 Q884 Q30 Q34 Q928 Q38 Q96 Q17
(c(Q15416)|c(Q2342494),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q29
relation P495
type Q15416
type Q2342494
[ANSWERS] are the origins of more number of television programs or collectables than that administrative territory
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) ?e WHERE { { ?d property:P495 ?e . ?e rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q2342494 } UNION { ?d property:P495 ?e . ?e rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15416 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:P495 resource:Q29 . { ?p rdf:type ?j . VALUES ( ?j ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?u > ?i ) }
India France United Kingdom Brazil South Korea United States of America Sweden Philippines Italy Mexico Japan
Italy, Brazil and United States of America are the origins of more number of television programs or collectables than that administrative territory
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Spain
relation country of origin
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) ?e WHERE { { ?d property:country_of_origin ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:collectable } UNION { ?d property:country_of_origin ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:television_program } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:country_of_origin resource:Spain . { ?p rdf:type ?j . VALUES ( ?j ) { ( ontology:television_program ) ( ontology:collectable ) } } } } . FILTER ( ?u > ?i ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16
P530
Q1048835
USER
Are Canada known to have diplomatic connections with those administrative territories ?
(Q16,P530,Q38) (Q16,P530,Q155) (Q16,P530,Q30)
action is_in
entity prev_answer
action find
entity Q16
relation P530
['Q16', 'P530', 'Q38'] ['Q16', 'P530', 'Q155'] ['Q16', 'P530', 'Q30']
ASK WHERE { VALUES ( ?a ) { ( resource:Q668 ) ( resource:Q142 ) ( resource:Q145 ) } . resource:Q16 property:P530 ?a }
Canada
action is_in
entity prev_answer
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'Italy'] ['Canada', 'diplomatic relation', 'Brazil'] ['Canada', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?a ) { ( resource:India ) ( resource:France ) ( resource:United_Kingdom ) } . resource:Canada property:diplomatic_relation ?a }
[]
political territorial entity
SYSTEM
YES
(Q16,P530,Q38) (Q16,P530,Q155) (Q16,P530,Q30)
action is_in
entity prev_answer
action find
entity Q16
relation P530
[ANSWER]
['Q16', 'P530', 'Q38'] ['Q16', 'P530', 'Q155'] ['Q16', 'P530', 'Q30']
ASK WHERE { VALUES ( ?a ) { ( resource:Q668 ) ( resource:Q142 ) ( resource:Q145 ) } . resource:Q16 property:P530 ?a }
Yes
action is_in
entity prev_answer
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'Italy'] ['Canada', 'diplomatic relation', 'Brazil'] ['Canada', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?a ) { ( resource:India ) ( resource:France ) ( resource:United_Kingdom ) } . resource:Canada property:diplomatic_relation ?a }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q18171345 Q7335262
P1001
Q15617994
USER
Does Rio Hondo Independent School District apply to jurisdiction of Member of the Congress of Deputies of Spain ?
(Q18171345,P1001,Q7335262)
action is_in
entity Q7335262
action find
entity Q18171345
relation P1001
['Q18171345', 'P1001', 'Q7335262']
ASK WHERE { resource:Q18171345 property:P1001 resource:Q7335262 }
Member of the Congress of Deputies of Spain Rio Hondo Independent School District
action is_in
entity Rio Hondo Independent School District
action find
entity Member of the Congress of Deputies of Spain
relation applies to jurisdiction
['Member of the Congress of Deputies of Spain', 'applies to jurisdiction', 'Rio Hondo Independent School District']
ASK WHERE { resource:Member_of_the_Congress_of_Deputies_of_Spain property:applies_to_jurisdiction resource:Rio_Hondo_Independent_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q18171345,P1001,Q7335262)
action is_in
entity Q7335262
action find
entity Q18171345
relation P1001
[ANSWER]
['Q18171345', 'P1001', 'Q7335262']
ASK WHERE { resource:Q18171345 property:P1001 resource:Q7335262 }
No
action is_in
entity Rio Hondo Independent School District
action find
entity Member of the Congress of Deputies of Spain
relation applies to jurisdiction
['Member of the Congress of Deputies of Spain', 'applies to jurisdiction', 'Rio Hondo Independent School District']
ASK WHERE { resource:Member_of_the_Congress_of_Deputies_of_Spain property:applies_to_jurisdiction resource:Rio_Hondo_Independent_School_District }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q29 Q458
P47
Q56061
USER
Does European Union share the border with Spain ?
(Q29,P47,Q458)
action is_in
entity Q458
action find
entity Q29
relation P47
['Q29', 'P47', 'Q458']
ASK WHERE { resource:Q29 property:P47 resource:Q458 }
Spain European Union
action is_in
entity European Union
action find
entity Spain
relation shares border with
['Spain', 'shares border with', 'European Union']
ASK WHERE { resource:Spain property:shares_border_with resource:European_Union }
[]
administrative territorial entity
SYSTEM
YES
(Q29,P47,Q458)
action is_in
entity Q458
action find
entity Q29
relation P47
[ANSWER]
['Q29', 'P47', 'Q458']
ASK WHERE { resource:Q29 property:P47 resource:Q458 }
Yes
action is_in
entity European Union
action find
entity Spain
relation shares border with
['Spain', 'shares border with', 'European Union']
ASK WHERE { resource:Spain property:shares_border_with resource:European_Union }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with atmost 8 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 8
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?g ) WHERE { ?x property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?a } . FILTER ( ?g <= 8 ) }
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 8
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?g ) WHERE { ?x property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . FILTER ( ?g <= 8 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
152
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 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 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 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 8
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?g ) WHERE { ?x property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?a } . FILTER ( ?g <= 8 ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal 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 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 Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
152
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 8
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?g ) WHERE { ?x property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . FILTER ( ?g <= 8 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q155 Q16396
P138
Q271669
USER
How many landforms are the origin of Brazil or Tsing Ma Bridge ?
(Q155,P138,c(Q271669)) (Q16396,P138,c(Q271669))
action count
action union
action filter_type
action find
entity Q155
relation P138
type Q271669
action filter_type
action find
entity Q16396
relation P138
type Q271669
['Q155', 'P138', {'concept': 'Q271669'}] ['Q16396', 'P138', {'concept': 'Q271669'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { resource:Q155 property:P138 ?w . ?w rdf:type ontology:Q271669 } UNION { ?w rdf:type ontology:Q271669 . resource:Q16396 property:P138 ?w } }
Brazil Tsing Ma Bridge
action count
action union
action filter_type
action find
entity Brazil
relation named after
type landform
action filter_type
action find
entity Tsing Ma Bridge
relation named after
type landform
['Brazil', 'named after', {'concept': 'landform'}] ['Tsing Ma Bridge', 'named after', {'concept': 'landform'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { resource:Brazil property:named_after ?w . ?w rdf:type ontology:landform } UNION { ?w rdf:type ontology:landform . resource:Tsing_Ma_Bridge property:named_after ?w } }
[]
landform
SYSTEM
2
Q1469595 Q167061
(Q155,P138,c(Q271669)) (Q16396,P138,c(Q271669))
action count
action union
action filter_type
action find
entity Q155
relation P138
type Q271669
action filter_type
action find
entity Q16396
relation P138
type Q271669
[ANSWER]
['Q155', 'P138', {'concept': 'Q271669'}] ['Q16396', 'P138', {'concept': 'Q271669'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { resource:Q155 property:P138 ?w . ?w rdf:type ontology:Q271669 } UNION { ?w rdf:type ontology:Q271669 . resource:Q16396 property:P138 ?w } }
Tsing Yi Ma Wan
2
action count
action union
action filter_type
action find
entity Brazil
relation named after
type landform
action filter_type
action find
entity Tsing Ma Bridge
relation named after
type landform
['Brazil', 'named after', {'concept': 'landform'}] ['Tsing Ma Bridge', 'named after', {'concept': 'landform'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { resource:Brazil property:named_after ?w . ?w rdf:type ontology:landform } UNION { ?w rdf:type ontology:landform . resource:Tsing_Ma_Bridge property:named_after ?w } }
[]