Simple Question (Direct)
Simple Question
Q612815
P47
Q1048835
USER
Which political territories share border with Garachico ?
(Q612815,P47,c(Q1048835))
action filter_type
action find
entity Q612815
relation P47
type Q1048835
['Q612815', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q612815 property:P47 ?d . ?d rdf:type ontology:Q1048835 }
Garachico
action filter_type
action find
entity Garachico
relation shares border with
type political territorial entity
['Garachico', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Garachico property:shares_border_with ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q572542 Q915283 Q682964
SYSTEM
Icod de los Vinos, Santiago del Teide, Los Silos
Q572542 Q682964 Q770882 Q915283
(Q612815,P47,c(Q1048835))
action filter_type
action find
entity Q612815
relation P47
type Q1048835
[ANSWERS] share border with Garachico
['Q612815', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q612815 property:P47 ?d . ?d rdf:type ontology:Q1048835 }
Icod de los Vinos Los Silos El Tanque, Santa Cruz de Tenerife Santiago del Teide
Icod de los Vinos, Santiago del Teide and Los Silos share border with Garachico
Icod de los Vinos Santiago del Teide Los Silos
action filter_type
action find
entity Garachico
relation shares border with
type political territorial entity
['Garachico', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Garachico property:shares_border_with ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q572542 Q915283 Q682964
P47
Q1048835
USER
Which political territories share border with Icod de los Vinos, Santiago del Teide and Los Silos ?
(c(Q1048835),P47,Q572542) (c(Q1048835),P47,Q915283) (c(Q1048835),P47,Q682964)
action union
action filter_type
action find
entity Q572542
relation P47
type Q1048835
action filter_type
action find
entity Q915283
relation P47
type Q1048835
action filter_type
action find
entity Q682964
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q572542'] [{'concept': 'Q1048835'}, 'P47', 'Q915283'] [{'concept': 'Q1048835'}, 'P47', 'Q682964']
SELECT DISTINCT ?x WHERE { { ?x rdf:type ontology:Q1048835 . resource:Q572542 property:P47 ?x } UNION { resource:Q915283 property:P47 ?x . ?x rdf:type ontology:Q1048835 } }
Icod de los Vinos Santiago del Teide Los Silos
action union
action filter_type
action find
entity Icod de los Vinos
relation shares border with
type political territorial entity
action filter_type
action find
entity Santiago del Teide
relation shares border with
type political territorial entity
action filter_type
action find
entity Los Silos
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Icod de los Vinos'] [{'concept': 'political territorial entity'}, 'shares border with', 'Santiago del Teide'] [{'concept': 'political territorial entity'}, 'shares border with', 'Los Silos']
SELECT DISTINCT ?x WHERE { { ?x rdf:type ontology:political_territorial_entity . resource:Icod_de_los_Vinos property:shares_border_with ?x } UNION { resource:Santiago_del_Teide property:shares_border_with ?x . ?x rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
Q920391 Q920391 Q915283
SYSTEM
La Orotava for 1st, 2nd, Santiago del Teide for 3rd
Q983556 Q765879 Q920391 Q915283 Q765879 Q920391 Q572542 Q594961 Q682964 Q770882 Q594961 Q915283 Q770882
(c(Q1048835),P47,Q572542) (c(Q1048835),P47,Q915283) (c(Q1048835),P47,Q682964)
action union
action filter_type
action find
entity Q572542
relation P47
type Q1048835
action filter_type
action find
entity Q915283
relation P47
type Q1048835
action filter_type
action find
entity Q682964
relation P47
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P47', 'Q572542'] [{'concept': 'Q1048835'}, 'P47', 'Q915283'] [{'concept': 'Q1048835'}, 'P47', 'Q682964']
SELECT DISTINCT ?x WHERE { { ?x rdf:type ontology:Q1048835 . resource:Q572542 property:P47 ?x } UNION { resource:Q915283 property:P47 ?x . ?x rdf:type ontology:Q1048835 } }
La Guancha Guía de Isora La Orotava Santiago del Teide Guía de Isora La Orotava Icod de los Vinos Buenavista del Norte Los Silos El Tanque, Santa Cruz de Tenerife Buenavista del Norte Santiago del Teide El Tanque, Santa Cruz de Tenerife
La Orotava, La Orotava and Santiago del Teide share border with Icod de los Vinos, Santiago del Teide and Los Silos
La Orotava La Orotava Santiago del Teide
action union
action filter_type
action find
entity Icod de los Vinos
relation shares border with
type political territorial entity
action filter_type
action find
entity Santiago del Teide
relation shares border with
type political territorial entity
action filter_type
action find
entity Los Silos
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Icod de los Vinos'] [{'concept': 'political territorial entity'}, 'shares border with', 'Santiago del Teide'] [{'concept': 'political territorial entity'}, 'shares border with', 'Los Silos']
SELECT DISTINCT ?x WHERE { { ?x rdf:type ontology:political_territorial_entity . resource:Icod_de_los_Vinos property:shares_border_with ?x } UNION { resource:Santiago_del_Teide property:shares_border_with ?x . ?x rdf:type ontology:political_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q920391
P20
Q502895
USER
Who died in that political territory ?
(c(Q502895),P20,Q920391)
action filter_type
action find_reverse
entity Q920391
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q920391']
SELECT DISTINCT ?v WHERE { ?v property:P20 resource:Q920391 . ?v rdf:type ontology:Q502895 }
La Orotava
action filter_type
action find_reverse
entity La Orotava
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'La Orotava']
SELECT DISTINCT ?v WHERE { ?v property:place_of_death resource:La_Orotava . ?v rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q920391
SYSTEM
Did you mean La Orotava ?
Q920391 Q920391 Q915283
(c(Q502895),P20,Q920391) (c(Q502895),P20,Q920391) (c(Q502895),P20,Q915283)
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q920391'] [{'concept': 'Q502895'}, 'P20', 'Q920391'] [{'concept': 'Q502895'}, 'P20', 'Q915283']
SELECT DISTINCT ?v WHERE { ?v property:P20 resource:Q920391 . ?v rdf:type ontology:Q502895 }
La Orotava La Orotava Santiago del Teide
Did you mean La Orotava ?
La Orotava
[{'concept': 'common name'}, 'place of death', 'La Orotava'] [{'concept': 'common name'}, 'place of death', 'La Orotava'] [{'concept': 'common name'}, 'place of death', 'Santiago del Teide']
SELECT DISTINCT ?v WHERE { ?v property:place_of_death resource:La_Orotava . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P20,Q920391)
[{'concept': 'Q502895'}, 'P20', 'Q920391']
[{'concept': 'common name'}, 'place of death', 'La Orotava']
[]
Q1406652 Q23702169 Q6066693
SYSTEM
Fernando Estévez, José Agustín Álvarez Rixo, Patricio García
Q1406652 Q6066693 Q23702169
(c(Q502895),P20,Q920391)
action filter_type
action find_reverse
entity Q920391
relation P20
type Q502895
[ANSWERS] died in that political territory
[{'concept': 'Q502895'}, 'P20', 'Q920391']
SELECT DISTINCT ?v WHERE { ?v property:P20 resource:Q920391 . ?v rdf:type ontology:Q502895 }
Fernando Estévez Patricio García José Agustín Álvarez Rixo
Fernando Estévez, José Agustín Álvarez Rixo and Patricio García died in that political territory
Fernando Estévez José Agustín Álvarez Rixo Patricio García
action filter_type
action find_reverse
entity La Orotava
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'La Orotava']
SELECT DISTINCT ?v WHERE { ?v property:place_of_death resource:La_Orotava . ?v rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q318314
P127
Q1048835 Q811430 Q483110
USER
Which political territories are the owners of less number of constructions or stadia than Ipatinga ?
(c(Q811430)|c(Q483110),P127,c(Q1048835))
action less
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811430
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
action count
action filter_multi_types
action find_reverse
entity Q318314
relation P127
type Q811430
type Q483110
[[{'concept': 'Q811430'}, {'concept': 'Q483110'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?e WHERE { { ?e rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q811430 . ?x property:P127 ?e } UNION { ?x property:P127 ?e . ?e rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q483110 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h property:P127 resource:Q318314 . { { ?h rdf:type ontology:Q811430 } UNION { ?h rdf:type ontology:Q483110 } } } } . FILTER ( ?r < ?a ) }
Ipatinga
action less
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type construction
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
action count
action filter_multi_types
action find_reverse
entity Ipatinga
relation owned by
type construction
type stadium
[[{'concept': 'construction'}, {'concept': 'stadium'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?e WHERE { { ?e rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:construction . ?x property:owned_by ?e } UNION { ?x property:owned_by ?e . ?e rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:stadium } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h property:owned_by resource:Ipatinga . { { ?h rdf:type ontology:construction } UNION { ?h rdf:type ontology:stadium } } } } . FILTER ( ?r < ?a ) }
[]
political territorial entity construction stadium
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q192536 Q170322 Q1648590 Q3741 Q2321093 Q5691 Q188399 Q183 Q490638 Q6040 Q126514 Q211091 Q6053 Q74881 Q8543 Q6041 Q2379199 Q6139 Q8178 Q7379734 Q1823 Q8551 Q13786 Q193317 Q35 Q191091 Q2947 Q13862 Q1135166 Q46070 Q211106 Q202174 Q54902 Q192697 Q188373 Q190930 Q192702 Q2175 Q849584 Q6142 Q909707 Q234 Q100166 Q17557 Q231 Q40 Q9331 Q6047 Q6045 Q9337 Q8182 Q23635 Q408 Q193307 Q16 Q206926
(c(Q811430)|c(Q483110),P127,c(Q1048835))
action less
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811430
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
action count
action filter_multi_types
action find_reverse
entity Q318314
relation P127
type Q811430
type Q483110
[ANSWERS] are the owners of less number of constructions or stadia than Ipatinga
[[{'concept': 'Q811430'}, {'concept': 'Q483110'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?e WHERE { { ?e rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q811430 . ?x property:P127 ?e } UNION { ?x property:P127 ?e . ?e rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q483110 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h property:P127 resource:Q318314 . { { ?h rdf:type ontology:Q811430 } UNION { ?h rdf:type ontology:Q483110 } } } } . FILTER ( ?r < ?a ) }
Zlín Region Qingdao Manises Special Region of Yogyakarta Chorrillos South Karelia Central Bohemian Region Germany Almendralejo Goslar Dumfries and Galloway Renfrewshire Gifhorn Dalian Germersheim Wolfenbüttel politics of Edinburgh Havelland Karlsruhe Aachen Aceh Südliche Weinstraße Cebu Pardubice Region Denmark Karlovy Vary Region Dithmarschen Negros Occidental Greater London Authority Plzeň Region Moray Argyll and Bute Fuenlabrada South Moravian Region South Bohemia Region Vysočina Region Ústí nad Labem Region Riau Province Jaraguá do Sul Potsdam-Mittelmark Sestao Flemish Region Orkney Islands California Republic Walloon Region Austria Flemish Community Helmstedt Peine Flemish Region Rastatt Bermuda Australia Olomouc Region Canada North Ayrshire
Germany, Australia and Denmark are the owners of less number of constructions or stadia than Ipatinga
Germany Australia Denmark
action less
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type construction
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
action count
action filter_multi_types
action find_reverse
entity Ipatinga
relation owned by
type construction
type stadium
[[{'concept': 'construction'}, {'concept': 'stadium'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?e WHERE { { ?e rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:construction . ?x property:owned_by ?e } UNION { ?x property:owned_by ?e . ?e rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:stadium } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h property:owned_by resource:Ipatinga . { { ?h rdf:type ontology:construction } UNION { ?h rdf:type ontology:stadium } } } } . FILTER ( ?r < ?a ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15473285 Q915283
P17
Q15617994
USER
Which administrative territories are Santiago del Teide or Minca present in ?
OR((Q915283,P17,c(Q15617994)), (Q15473285,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q915283
relation P17
action find
entity Q15473285
relation P17
type Q15617994
{'OR': [['Q915283', 'P17', {'concept': 'Q15617994'}], ['Q15473285', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q915283 property:P17 ?z } UNION { resource:Q15473285 property:P17 ?z } } . ?z rdf:type ontology:Q15617994 }
Minca Santiago del Teide
action filter_type
action union
action find
entity Santiago del Teide
relation country
action find
entity Minca
relation country
type designation for an administrative territorial entity
{'OR': [['Santiago del Teide', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Minca', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Santiago_del_Teide property:country ?z } UNION { resource:Minca property:country ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q739 Q29
SYSTEM
Colombia, Spain
Q739 Q29
OR((Q915283,P17,c(Q15617994)), (Q15473285,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q915283
relation P17
action find
entity Q15473285
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q915283', 'P17', {'concept': 'Q15617994'}], ['Q15473285', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q915283 property:P17 ?z } UNION { resource:Q15473285 property:P17 ?z } } . ?z rdf:type ontology:Q15617994 }
Colombia Spain
Which administrative territories are Santiago del Teide or Minca present in
Colombia Spain
action filter_type
action union
action find
entity Santiago del Teide
relation country
action find
entity Minca
relation country
type designation for an administrative territorial entity
{'OR': [['Santiago del Teide', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Minca', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Santiago_del_Teide property:country ?z } UNION { resource:Minca property:country ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2031291 Q7725634
USER
Which administrative territories are the origin of more number of releases and literary works than that administrative territory ?
(c(Q2031291)|c(Q7725634),P495,c(Q15617994))
[[{'concept': 'Q2031291'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
[[{'concept': 'release'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
designation for an administrative territorial entity release literary work
Comparative|More/Less|Mult. entity type|Clarification
Q739
SYSTEM
Did you mean Colombia ?
(c(Q2031291)|c(Q7725634),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
Did you mean Colombia ?
Colombia
[[{'concept': 'release'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
Comparative Reasoning (All)
USER
No, I meant Spain. Could you tell me the answer for that?
(c(Q2031291)|c(Q7725634),P495,c(Q15617994))
Q29
[[{'concept': 'Q2031291'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'release'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q30 Q55
SYSTEM
Italy, United States of America, Netherlands
Q142 Q55 Q145 Q43 Q33 Q30 Q34 Q38 Q17
(c(Q2031291)|c(Q7725634),P495,c(Q15617994))
[ANSWERS] are the origin of more number of releases and literary works than that administrative territory
[[{'concept': 'Q2031291'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
France Netherlands United Kingdom Turkey Finland United States of America Sweden Italy Japan
Italy, United States of America and Netherlands are the origin of more number of releases and literary works than that administrative territory
Italy United States of America Netherlands
[[{'concept': 'release'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q970
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with greater number of administrative territories than Comoros ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q970
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { resource:Q970 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?e > ?j ) }
Comoros
action count
action greater
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Comoros
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 ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { resource:Comoros property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e > ?j ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
102
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q236 Q230 Q233 Q27 Q28 Q1049 Q189 Q843 Q184 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q191 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q219 Q916 Q1009 Q1008 Q971 Q874 Q79 Q77 Q858 Q878 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q970
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { resource:Q970 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?e > ?j ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Montenegro Georgia Malta Ireland Hungary Sudan Iceland Pakistan Belarus Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Estonia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Angola Cameroon Côte d'Ivoire Republic of the Congo Turkmenistan Egypt Uruguay Syria United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
102
action count
action greater
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Comoros
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 ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { resource:Comoros property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e > ?j ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P137
Q3084961
USER
Which product lining is the administrator of Italy ?
(c(Q3084961),P137,Q38)
action filter_type
action find_reverse
entity Q38
relation P137
type Q3084961
[{'concept': 'Q3084961'}, 'P137', 'Q38']
SELECT DISTINCT ?x WHERE { ?x property:P137 resource:Q38 . ?x rdf:type ontology:Q3084961 }
Italy
action filter_type
action find_reverse
entity Italy
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Italy']
SELECT DISTINCT ?x WHERE { ?x property:operator resource:Italy . ?x rdf:type ontology:product_lining }
[]
product lining
Q151384
SYSTEM
Typhoon
Q151384
(c(Q3084961),P137,Q38)
action filter_type
action find_reverse
entity Q38
relation P137
type Q3084961
[ANSWER] is the administrator of Italy
[{'concept': 'Q3084961'}, 'P137', 'Q38']
SELECT DISTINCT ?x WHERE { ?x property:P137 resource:Q38 . ?x rdf:type ontology:Q3084961 }
Typhoon
Typhoon is the administrator of Italy
Typhoon
action filter_type
action find_reverse
entity Italy
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Italy']
SELECT DISTINCT ?x WHERE { ?x property:operator resource:Italy . ?x rdf:type ontology:product_lining }
[]