Simple Question (Direct)
Simple Question
Q261304
P1412
Q34770
USER
Which language does Joan Pons Álvarez speak in ?
(Q261304,P1412,c(Q34770))
action filter_type
action find
entity Q261304
relation P1412
type Q34770
['Q261304', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q261304 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Joan Pons Álvarez
action filter_type
action find
entity Joan Pons Álvarez
relation languages spoken, written or signed
type language
['Joan Pons Álvarez', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Joan_Pons_Álvarez property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q261304,P1412,c(Q34770))
action filter_type
action find
entity Q261304
relation P1412
type Q34770
Joan Pons Álvarez speaks to [ANSWER]
['Q261304', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q261304 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Spanish
Joan Pons Álvarez speaks to Spanish
Spanish
action filter_type
action find
entity Joan Pons Álvarez
relation languages spoken, written or signed
type language
['Joan Pons Álvarez', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Joan_Pons_Álvarez property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q261304
P161
Q15416
USER
What is the name of television program starring Joan Pons Álvarez ?
(c(Q15416),P161,Q261304)
action filter_type
action find_reverse
entity Q261304
relation P161
type Q15416
[{'concept': 'Q15416'}, 'P161', 'Q261304']
SELECT DISTINCT ?i WHERE { ?i property:P161 resource:Q261304 . ?i rdf:type ontology:Q15416 }
Joan Pons Álvarez
action filter_type
action find_reverse
entity Joan Pons Álvarez
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Joan Pons Álvarez']
SELECT DISTINCT ?i WHERE { ?i property:cast_member resource:Joan_Pons_Álvarez . ?i rdf:type ontology:television_program }
[]
television program
Q3888955
SYSTEM
Pagliacci
Q3888955
(c(Q15416),P161,Q261304)
action filter_type
action find_reverse
entity Q261304
relation P161
type Q15416
The name of television program starring Joan Pons Álvarez is The [ANSWER]
[{'concept': 'Q15416'}, 'P161', 'Q261304']
SELECT DISTINCT ?i WHERE { ?i property:P161 resource:Q261304 . ?i rdf:type ontology:Q15416 }
Pagliacci
The name of television program starring Joan Pons Álvarez is The Pagliacci
Pagliacci
action filter_type
action find_reverse
entity Joan Pons Álvarez
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Joan Pons Álvarez']
SELECT DISTINCT ?i WHERE { ?i property:cast_member resource:Joan_Pons_Álvarez . ?i rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q261304
P19
Q1048835
USER
Which political territory was that person born in ?
(Q3888955,P19,c(Q1048835))
action filter_type
action find
entity Q261304
relation P19
type Q1048835
['Q3888955', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q261304 property:P19 ?d . ?d rdf:type ontology:Q1048835 }
Joan Pons Álvarez
action filter_type
action find
entity Joan Pons Álvarez
relation place of birth
type political territorial entity
['Pagliacci', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Joan_Pons_Álvarez property:place_of_birth ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q899884
SYSTEM
Ciutadella de Menorca
Q899884
(Q3888955,P19,c(Q1048835))
action filter_type
action find
entity Q261304
relation P19
type Q1048835
That person was born in [ANSWER]
['Q3888955', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q261304 property:P19 ?d . ?d rdf:type ontology:Q1048835 }
Ciutadella de Menorca
That person was born in Ciutadella de Menorca
Ciutadella de Menorca
action filter_type
action find
entity Joan Pons Álvarez
relation place of birth
type political territorial entity
['Pagliacci', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Joan_Pons_Álvarez property:place_of_birth ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P190
Q1048835 Q56061
USER
How many political territories or administrative territories are a sister city of that political territory ?
(c(Q1048835),P190,Q899884) (c(Q56061),P190,Q899884) (c(Q1048835),P190,Q899884) (c(Q56061),P190,Q899884)
action count
action union
action filter_type
action find_reverse
entity Q899884
relation P190
type Q1048835
action filter_type
action find_reverse
entity Q899884
relation P190
type Q56061
[{'concept': 'Q1048835'}, 'P190', 'Q899884'] [{'concept': 'Q56061'}, 'P190', 'Q899884'] [{'concept': 'Q1048835'}, 'P190', 'Q899884'] [{'concept': 'Q56061'}, 'P190', 'Q899884']
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { ?s property:P190 resource:Q899884 . ?s rdf:type ontology:Q56061 } UNION { ?s rdf:type ontology:Q1048835 . ?s property:P190 resource:Q899884 } }
action count
action union
action filter_type
action find_reverse
entity Ciutadella de Menorca
relation sister city
type political territorial entity
action filter_type
action find_reverse
entity Ciutadella de Menorca
relation sister city
type administrative territorial entity
[{'concept': 'political territorial entity'}, 'sister city', 'Ciutadella de Menorca'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Ciutadella de Menorca'] [{'concept': 'political territorial entity'}, 'sister city', 'Ciutadella de Menorca'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Ciutadella de Menorca']
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { ?s property:sister_city resource:Ciutadella_de_Menorca . ?s rdf:type ontology:administrative_territorial_entity } UNION { ?s rdf:type ontology:political_territorial_entity . ?s property:sister_city resource:Ciutadella_de_Menorca } }
[]
political territorial entity administrative territorial entity
SYSTEM
2
Q44210 Q385923
(c(Q1048835),P190,Q899884) (c(Q56061),P190,Q899884) (c(Q1048835),P190,Q899884) (c(Q56061),P190,Q899884)
action count
action union
action filter_type
action find_reverse
entity Q899884
relation P190
type Q1048835
action filter_type
action find_reverse
entity Q899884
relation P190
type Q56061
[ANSWER]
[{'concept': 'Q1048835'}, 'P190', 'Q899884'] [{'concept': 'Q56061'}, 'P190', 'Q899884'] [{'concept': 'Q1048835'}, 'P190', 'Q899884'] [{'concept': 'Q56061'}, 'P190', 'Q899884']
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { ?s property:P190 resource:Q899884 . ?s rdf:type ontology:Q56061 } UNION { ?s rdf:type ontology:Q1048835 . ?s property:P190 resource:Q899884 } }
Córdoba Alcúdia
2
action count
action union
action filter_type
action find_reverse
entity Ciutadella de Menorca
relation sister city
type political territorial entity
action filter_type
action find_reverse
entity Ciutadella de Menorca
relation sister city
type administrative territorial entity
[{'concept': 'political territorial entity'}, 'sister city', 'Ciutadella de Menorca'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Ciutadella de Menorca'] [{'concept': 'political territorial entity'}, 'sister city', 'Ciutadella de Menorca'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Ciutadella de Menorca']
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { ?s property:sister_city resource:Ciutadella_de_Menorca . ?s rdf:type ontology:administrative_territorial_entity } UNION { ?s rdf:type ontology:political_territorial_entity . ?s property:sister_city resource:Ciutadella_de_Menorca } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3888955
P364
Q34770
USER
Which language was used originally for the creation of Pagliacci ?
(Q3888955,P364,c(Q34770))
action filter_type
action find
entity Q3888955
relation P364
type Q34770
['Q3888955', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q3888955 property:P364 ?v . ?v rdf:type ontology:Q34770 }
Pagliacci
action filter_type
action find
entity Pagliacci
relation original language of work
type language
['Pagliacci', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:Pagliacci property:original_language_of_work ?v . ?v rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q3888955,P364,c(Q34770))
action filter_type
action find
entity Q3888955
relation P364
type Q34770
The [ANSWER] was used originally for the creation of Pagliacci
['Q3888955', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q3888955 property:P364 ?v . ?v rdf:type ontology:Q34770 }
Italian
The Italian was used originally for the creation of Pagliacci
Italian
action filter_type
action find
entity Pagliacci
relation original language of work
type language
['Pagliacci', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:Pagliacci property:original_language_of_work ?v . ?v rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3888955
P136
Q1792379
USER
What can be considered as category for that television program ?
(Q652,P136,c(Q1792379))
action filter_type
action find
entity Q3888955
relation P136
type Q1792379
['Q652', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?m WHERE { resource:Q3888955 property:P136 ?m . ?m rdf:type ontology:Q1792379 }
Pagliacci
action filter_type
action find
entity Pagliacci
relation genre
type art genre
['Italian', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?m WHERE { resource:Pagliacci property:genre ?m . ?m rdf:type ontology:art_genre }
[]
art genre
Q842256
SYSTEM
musical film
Q842256
(Q652,P136,c(Q1792379))
action filter_type
action find
entity Q3888955
relation P136
type Q1792379
[ANSWER] can be considered as category for that television program
['Q652', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?m WHERE { resource:Q3888955 property:P136 ?m . ?m rdf:type ontology:Q1792379 }
musical film
Musical film can be considered as category for that television program
musical film
action filter_type
action find
entity Pagliacci
relation genre
type art genre
['Italian', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?m WHERE { resource:Pagliacci property:genre ?m . ?m rdf:type ontology:art_genre }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21646065 Q3888955
P495
Q15617994
USER
Which administrative territories are the countries of origin of Pagliacci or Akri Shehzada ?
OR((Q3888955,P495,c(Q15617994)), (Q21646065,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q3888955
relation P495
action find
entity Q21646065
relation P495
type Q15617994
{'OR': [['Q3888955', 'P495', {'concept': 'Q15617994'}], ['Q21646065', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q3888955 property:P495 ?b } UNION { resource:Q21646065 property:P495 ?b } } . ?b rdf:type ontology:Q15617994 }
Akri Shehzada Pagliacci
action filter_type
action union
action find
entity Pagliacci
relation country of origin
action find
entity Akri Shehzada
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Pagliacci', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Akri Shehzada', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Pagliacci property:country_of_origin ?b } UNION { resource:Akri_Shehzada property:country_of_origin ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q843 Q38
SYSTEM
Pakistan, Italy
Q843 Q38
OR((Q3888955,P495,c(Q15617994)), (Q21646065,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q3888955
relation P495
action find
entity Q21646065
relation P495
type Q15617994
[ANSWERS] are the countries of origin of Pagliacci or Akri Shehzada
{'OR': [['Q3888955', 'P495', {'concept': 'Q15617994'}], ['Q21646065', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q3888955 property:P495 ?b } UNION { resource:Q21646065 property:P495 ?b } } . ?b rdf:type ontology:Q15617994 }
Pakistan Italy
Pakistan and Italy are the countries of origin of Pagliacci or Akri Shehzada
Pakistan Italy
action filter_type
action union
action find
entity Pagliacci
relation country of origin
action find
entity Akri Shehzada
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Pagliacci', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Akri Shehzada', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Pagliacci property:country_of_origin ?b } UNION { resource:Akri_Shehzada property:country_of_origin ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q858
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with around the same number of administrative territories as Syria ?
(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 Q858
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?l ) WHERE { ?g rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 . ?g property:P530 ?f } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Q858 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?l = ?e ) }
Syria
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 Syria
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 ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?l ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:diplomatic_relation ?f } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Syria property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l = ?e ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q159 Q142
SYSTEM
United States of America, Russia, France
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q711 Q252 Q403 Q159 Q43 Q796 Q794 Q884 Q30 Q929 Q27 Q225 Q222 Q347 Q17 Q114 Q212 Q213 Q79 Q858 Q948 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 Q858
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with around the same number of administrative territories as Syria
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?l ) WHERE { ?g rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 . ?g property:P530 ?f } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Q858 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?l = ?e ) }
Israel Yemen India Argentina France United Kingdom People's Republic of China Mongolia Indonesia Serbia Russia Turkey Iraq Iran South Korea United States of America Central African Republic Ireland Bosnia and Herzegovina Albania Liechtenstein Japan Kenya Ukraine Czech Republic Egypt Syria Tunisia Cape Verde Zambia
United States of America, Russia and France have diplomatic relations with around the same number of administrative territories as Syria
United States of America Russia France
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Syria
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 ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?l ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:diplomatic_relation ?f } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Syria property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l = ?e ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q221
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with approximately the same number of administrative territories as Republic of Macedonia ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q221
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?y = ?e ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q221 property:P530 ?a } } }
Republic of Macedonia
action count
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 Republic of Macedonia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?y = ?e ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Republic_of_Macedonia property:diplomatic_relation ?a } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
154
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 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 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 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q221
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?y = ?e ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q221 property:P530 ?a } } }
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 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 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 Togo Tonga Spain New Caledonia Thailand Zambia
154
action count
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 Republic of Macedonia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?y = ?e ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Republic_of_Macedonia property:diplomatic_relation ?a } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q27064313
P112
Q56061
USER
How many administrative territories were started by France or Simón Lasso de la Vega ?
(c(Q56061),P112,Q142) (c(Q56061),P112,Q27064313)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P112
type Q56061
action filter_type
action find_reverse
entity Q27064313
relation P112
type Q56061
[{'concept': 'Q56061'}, 'P112', 'Q142'] [{'concept': 'Q56061'}, 'P112', 'Q27064313']
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { ?h property:P112 resource:Q142 . ?h rdf:type ontology:Q56061 } UNION { ?h property:P112 resource:Q27064313 . ?h rdf:type ontology:Q56061 } }
France Simón Lasso de la Vega
action count
action union
action filter_type
action find_reverse
entity France
relation founder
type administrative territorial entity
action filter_type
action find_reverse
entity Simón Lasso de la Vega
relation founder
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'founder', 'France'] [{'concept': 'administrative territorial entity'}, 'founder', 'Simón Lasso de la Vega']
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { ?h property:founder resource:France . ?h rdf:type ontology:administrative_territorial_entity } UNION { ?h property:founder resource:Simón_Lasso_de_la_Vega . ?h rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
SYSTEM
2
Q3844346 Q458
(c(Q56061),P112,Q142) (c(Q56061),P112,Q27064313)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P112
type Q56061
action filter_type
action find_reverse
entity Q27064313
relation P112
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P112', 'Q142'] [{'concept': 'Q56061'}, 'P112', 'Q27064313']
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { ?h property:P112 resource:Q142 . ?h rdf:type ontology:Q56061 } UNION { ?h property:P112 resource:Q27064313 . ?h rdf:type ontology:Q56061 } }
Bacoachi European Union
2
action count
action union
action filter_type
action find_reverse
entity France
relation founder
type administrative territorial entity
action filter_type
action find_reverse
entity Simón Lasso de la Vega
relation founder
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'founder', 'France'] [{'concept': 'administrative territorial entity'}, 'founder', 'Simón Lasso de la Vega']
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { ?h property:founder resource:France . ?h rdf:type ontology:administrative_territorial_entity } UNION { ?h property:founder resource:Simón_Lasso_de_la_Vega . ?h rdf:type ontology:administrative_territorial_entity } }
[]