Simple Question (Direct)
Simple Question
Q327853
P119
Q43229
USER
Where was C.V.A. Strandberg buried ?
(Q327853,P119,c(Q43229))
action filter_type
action find
entity Q327853
relation P119
type Q43229
['Q327853', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?b WHERE { resource:Q327853 property:P119 ?b . ?b rdf:type ontology:Q43229 }
C.V.A. Strandberg
action filter_type
action find
entity C.V.A. Strandberg
relation place of burial
type organization
['C.V.A. Strandberg', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?b WHERE { resource:C.V.A._Strandberg property:place_of_burial ?b . ?b rdf:type ontology:organization }
[]
organization
Q19639133
SYSTEM
Solna cemetery
Q19639133
(Q327853,P119,c(Q43229))
action filter_type
action find
entity Q327853
relation P119
type Q43229
C.V.A. Strandberg was buried in [ANSWER]
['Q327853', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?b WHERE { resource:Q327853 property:P119 ?b . ?b rdf:type ontology:Q43229 }
Solna cemetery
C.V.A. Strandberg was buried in Solna cemetery
Solna cemetery
action filter_type
action find
entity C.V.A. Strandberg
relation place of burial
type organization
['C.V.A. Strandberg', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?b WHERE { resource:C.V.A._Strandberg property:place_of_burial ?b . ?b rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q327853
P800
Q7725634
USER
Who notable work was done by C.V.A. Strandberg ?
(Q327853,P800,c(Q7725634))
action filter_type
action find
entity Q327853
relation P800
type Q7725634
['Q327853', 'P800', {'concept': 'Q7725634'}]
SELECT DISTINCT ?e WHERE { resource:Q327853 property:P800 ?e . ?e rdf:type ontology:Q7725634 }
C.V.A. Strandberg
action filter_type
action find
entity C.V.A. Strandberg
relation notable work
type literary work
['C.V.A. Strandberg', 'notable work', {'concept': 'literary work'}]
SELECT DISTINCT ?e WHERE { resource:C.V.A._Strandberg property:notable_work ?e . ?e rdf:type ontology:literary_work }
[]
literary work
Q602856
SYSTEM
Kungssången
Q602856
(Q327853,P800,c(Q7725634))
action filter_type
action find
entity Q327853
relation P800
type Q7725634
[ANSWER] was done by C.V.A. Strandberg
['Q327853', 'P800', {'concept': 'Q7725634'}]
SELECT DISTINCT ?e WHERE { resource:Q327853 property:P800 ?e . ?e rdf:type ontology:Q7725634 }
Kungssången
Kungssången was done by C.V.A. Strandberg
Kungssången
action filter_type
action find
entity C.V.A. Strandberg
relation notable work
type literary work
['C.V.A. Strandberg', 'notable work', {'concept': 'literary work'}]
SELECT DISTINCT ?e WHERE { resource:C.V.A._Strandberg property:notable_work ?e . ?e rdf:type ontology:literary_work }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21775722 Q602856
P86
Q502895
USER
Which people did the compostion for Kungssången or Entertainment ?
OR((Q602856,P86,c(Q502895)), (Q21775722,P86,c(Q502895)))
action filter_type
action union
action find
entity Q602856
relation P86
action find
entity Q21775722
relation P86
type Q502895
{'OR': [['Q602856', 'P86', {'concept': 'Q502895'}], ['Q21775722', 'P86', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q602856 property:P86 ?n } UNION { resource:Q21775722 property:P86 ?n } } . ?n rdf:type ontology:Q502895 }
Entertainment Kungssången
action filter_type
action union
action find
entity Kungssången
relation composer
action find
entity Entertainment
relation composer
type common name
{'OR': [['Kungssången', 'composer', {'concept': 'common name'}], ['Entertainment', 'composer', {'concept': 'common name'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Kungssången property:composer ?n } UNION { resource:Entertainment property:composer ?n } } . ?n rdf:type ontology:common_name }
[]
common name
Q327853 Q7343587
SYSTEM
C.V.A. Strandberg, Robert Donne
Q327853 Q7343587
OR((Q602856,P86,c(Q502895)), (Q21775722,P86,c(Q502895)))
action filter_type
action union
action find
entity Q602856
relation P86
action find
entity Q21775722
relation P86
type Q502895
[ANSWERS] did the compostion for Kungssången or Entertainment
{'OR': [['Q602856', 'P86', {'concept': 'Q502895'}], ['Q21775722', 'P86', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q602856 property:P86 ?n } UNION { resource:Q21775722 property:P86 ?n } } . ?n rdf:type ontology:Q502895 }
C.V.A. Strandberg Robert Donne
C.V.A. Strandberg and Robert Donne did the compostion for Kungssången or Entertainment
C.V.A. Strandberg Robert Donne
action filter_type
action union
action find
entity Kungssången
relation composer
action find
entity Entertainment
relation composer
type common name
{'OR': [['Kungssången', 'composer', {'concept': 'common name'}], ['Entertainment', 'composer', {'concept': 'common name'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Kungssången property:composer ?n } UNION { resource:Entertainment property:composer ?n } } . ?n rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P86
Q838948
USER
How many works of art were composed by that person ?
(c(Q838948),P86,Q7343587)
[{'concept': 'Q838948'}, 'P86', 'Q7343587']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q36834 resource:Q7343587 . ?z rdf:type ontology:Q838948 }
[{'concept': 'work of art'}, 'composer', 'Robert Donne']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:composer resource:Robert_Donne . ?z rdf:type ontology:work_of_art }
[]
work of art
Quantitative|Count|Single entity type|Clarification
Q7343587
SYSTEM
Did you mean Robert Donne ?
(c(Q838948),P86,Q327853) (c(Q838948),P86,Q7343587)
[ANSWER]
[{'concept': 'Q838948'}, 'P86', 'Q327853'] [{'concept': 'Q838948'}, 'P86', 'Q7343587']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q36834 resource:Q7343587 . ?z rdf:type ontology:Q838948 }
Did you mean Robert Donne ?
Robert Donne
[{'concept': 'work of art'}, 'composer', 'C.V.A. Strandberg'] [{'concept': 'work of art'}, 'composer', 'Robert Donne']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:composer resource:Robert_Donne . ?z rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q838948),P86,Q7343587)
[{'concept': 'Q838948'}, 'P86', 'Q7343587']
[{'concept': 'work of art'}, 'composer', 'Robert Donne']
[]
SYSTEM
2
Q20001581 Q21775722
(c(Q838948),P86,Q7343587)
[ANSWER]
[{'concept': 'Q838948'}, 'P86', 'Q7343587']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q36834 resource:Q7343587 . ?z rdf:type ontology:Q838948 }
Hide Your Smiling Faces Entertainment
2
[{'concept': 'work of art'}, 'composer', 'Robert Donne']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:composer resource:Robert_Donne . ?z rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1797075 Q327853
P27
Q15617994
USER
Which administrative territories do C.V.A. Strandberg or Bjørn Dahl belong to ?
OR((Q327853,P27,c(Q15617994)), (Q1797075,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q327853
relation P27
action find
entity Q1797075
relation P27
type Q15617994
{'OR': [['Q327853', 'P27', {'concept': 'Q15617994'}], ['Q1797075', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . { { resource:Q327853 property:P27 ?h } UNION { resource:Q1797075 property:P27 ?h } } }
Bjørn Dahl C.V.A. Strandberg
action filter_type
action union
action find
entity C.V.A. Strandberg
relation country of citizenship
action find
entity Bjørn Dahl
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['C.V.A. Strandberg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bjørn Dahl', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:C.V.A._Strandberg property:country_of_citizenship ?h } UNION { resource:Bjørn_Dahl property:country_of_citizenship ?h } } }
[]
designation for an administrative territorial entity
Q20 Q34
SYSTEM
Norway, Sweden
Q20 Q34
OR((Q327853,P27,c(Q15617994)), (Q1797075,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q327853
relation P27
action find
entity Q1797075
relation P27
type Q15617994
[ANSWERS] do C.V.A. Strandberg or Bjørn Dahl belong to
{'OR': [['Q327853', 'P27', {'concept': 'Q15617994'}], ['Q1797075', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . { { resource:Q327853 property:P27 ?h } UNION { resource:Q1797075 property:P27 ?h } } }
Norway Sweden
Norway and Sweden do C.V.A. Strandberg or Bjørn Dahl belong to
Norway Sweden
action filter_type
action union
action find
entity C.V.A. Strandberg
relation country of citizenship
action find
entity Bjørn Dahl
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['C.V.A. Strandberg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bjørn Dahl', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:C.V.A._Strandberg property:country_of_citizenship ?h } UNION { resource:Bjørn_Dahl property:country_of_citizenship ?h } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q327853
P655
Q7725634
USER
Which literary work was C.V.A. Strandberg a translator of ?
(c(Q7725634),P655,Q327853)
action filter_type
action find_reverse
entity Q327853
relation P655
type Q7725634
[{'concept': 'Q7725634'}, 'P655', 'Q327853']
SELECT DISTINCT ?f WHERE { ?f property:P655 resource:Q327853 . ?f rdf:type ontology:Q7725634 }
C.V.A. Strandberg
action filter_type
action find_reverse
entity C.V.A. Strandberg
relation translator
type literary work
[{'concept': 'literary work'}, 'translator', 'C.V.A. Strandberg']
SELECT DISTINCT ?f WHERE { ?f property:translator resource:C.V.A._Strandberg . ?f rdf:type ontology:literary_work }
[]
literary work
Q20177216
SYSTEM
Marseillaise (Strandberg)
Q20177216
(c(Q7725634),P655,Q327853)
action filter_type
action find_reverse
entity Q327853
relation P655
type Q7725634
[ANSWER] was C.V.A. Strandberg a translator of
[{'concept': 'Q7725634'}, 'P655', 'Q327853']
SELECT DISTINCT ?f WHERE { ?f property:P655 resource:Q327853 . ?f rdf:type ontology:Q7725634 }
Marseillaise (Strandberg)
Marseillaise (Strandberg) was C.V.A. Strandberg a translator of
Marseillaise (Strandberg)
action filter_type
action find_reverse
entity C.V.A. Strandberg
relation translator
type literary work
[{'concept': 'literary work'}, 'translator', 'C.V.A. Strandberg']
SELECT DISTINCT ?f WHERE { ?f property:translator resource:C.V.A._Strandberg . ?f rdf:type ontology:literary_work }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20177216
P629
Q571
USER
Which book is that literary work an edition or translation of ?
(Q20177216,P629,c(Q571))
action filter_type
action find
entity Q20177216
relation P629
type Q571
['Q20177216', 'P629', {'concept': 'Q571'}]
SELECT DISTINCT ?g WHERE { resource:Q20177216 property:P629 ?g . ?g rdf:type ontology:Q571 }
Marseillaise (Strandberg)
action filter_type
action find
entity Marseillaise (Strandberg)
relation edition or translation of
type book
['Marseillaise (Strandberg)', 'edition or translation of', {'concept': 'book'}]
SELECT DISTINCT ?g WHERE { resource:Marseillaise_(Strandberg) property:edition_or_translation_of ?g . ?g rdf:type ontology:book }
[]
book
Q41180
SYSTEM
La Marseillaise
Q41180
(Q20177216,P629,c(Q571))
action filter_type
action find
entity Q20177216
relation P629
type Q571
That literary work an edition or translation of is called [ANSWER]
['Q20177216', 'P629', {'concept': 'Q571'}]
SELECT DISTINCT ?g WHERE { resource:Q20177216 property:P629 ?g . ?g rdf:type ontology:Q571 }
La Marseillaise
That literary work an edition or translation of is called La Marseillaise
La Marseillaise
action filter_type
action find
entity Marseillaise (Strandberg)
relation edition or translation of
type book
['Marseillaise (Strandberg)', 'edition or translation of', {'concept': 'book'}]
SELECT DISTINCT ?g WHERE { resource:Marseillaise_(Strandberg) property:edition_or_translation_of ?g . ?g rdf:type ontology:book }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q27313478 Q20177216
P629
Q571
USER
And also Marseilléza
AND((Q20177216,P629,c(Q571)), (Q27313478,P629,c(Q571)))
action filter_type
action intersection
action find
entity Q20177216
relation P629
action find
entity Q27313478
relation P629
type Q571
{'AND': [['Q20177216', 'P629', {'concept': 'Q571'}], ['Q27313478', 'P629', {'concept': 'Q571'}]]}
SELECT DISTINCT ?l WHERE { resource:Q20177216 property:P629 ?l . resource:Q27313478 property:P629 ?l . ?l rdf:type ontology:Q571 }
Marseilléza Marseillaise (Strandberg)
action filter_type
action intersection
action find
entity Marseillaise (Strandberg)
relation edition or translation of
action find
entity Marseilléza
relation edition or translation of
type book
{'AND': [['Marseillaise (Strandberg)', 'edition or translation of', {'concept': 'book'}], ['Marseilléza', 'edition or translation of', {'concept': 'book'}]]}
SELECT DISTINCT ?l WHERE { resource:Marseillaise_(Strandberg) property:edition_or_translation_of ?l . resource:Marseilléza property:edition_or_translation_of ?l . ?l rdf:type ontology:book }
[]
book
Q41180
SYSTEM
La Marseillaise
Q41180
AND((Q20177216,P629,c(Q571)), (Q27313478,P629,c(Q571)))
action filter_type
action intersection
action find
entity Q20177216
relation P629
action find
entity Q27313478
relation P629
type Q571
[ANSWER]
{'AND': [['Q20177216', 'P629', {'concept': 'Q571'}], ['Q27313478', 'P629', {'concept': 'Q571'}]]}
SELECT DISTINCT ?l WHERE { resource:Q20177216 property:P629 ?l . resource:Q27313478 property:P629 ?l . ?l rdf:type ontology:Q571 }
La Marseillaise
La Marseillaise
action filter_type
action intersection
action find
entity Marseillaise (Strandberg)
relation edition or translation of
action find
entity Marseilléza
relation edition or translation of
type book
{'AND': [['Marseillaise (Strandberg)', 'edition or translation of', {'concept': 'book'}], ['Marseilléza', 'edition or translation of', {'concept': 'book'}]]}
SELECT DISTINCT ?l WHERE { resource:Marseillaise_(Strandberg) property:edition_or_translation_of ?l . resource:Marseilléza property:edition_or_translation_of ?l . ?l rdf:type ontology:book }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27313478
P407
Q34770
USER
Which language is Marseilléza composed in ?
(Q27313478,P407,c(Q34770))
action filter_type
action find
entity Q27313478
relation P407
type Q34770
['Q27313478', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q34770 . resource:Q27313478 property:P407 ?y }
Marseilléza
action filter_type
action find
entity Marseilléza
relation language of work or name
type language
['Marseilléza', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:language . resource:Marseilléza property:language_of_work_or_name ?y }
[]
language
Q9056
SYSTEM
Czech
Q9056
(Q27313478,P407,c(Q34770))
action filter_type
action find
entity Q27313478
relation P407
type Q34770
Marseilléza is composed of [ANSWER]
['Q27313478', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q34770 . resource:Q27313478 property:P407 ?y }
Czech
Marseilléza is composed of Czech
Czech
action filter_type
action find
entity Marseilléza
relation language of work or name
type language
['Marseilléza', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:language . resource:Marseilléza property:language_of_work_or_name ?y }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q623277
P37
Q34770 Q56061
USER
How many administrative territories are less number of languages the official language of than Aquila ?
(c(Q56061),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q623277
relation P37
type Q34770
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?c ) WHERE { ?t rdf:type ontology:Q34770 . ?y rdf:type ontology:Q56061 . ?y property:P37 ?t } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { resource:Q623277 property:P37 ?i . ?i rdf:type ontology:Q34770 } } . FILTER ( ?c < ?p ) }
Aquila
action count
action less
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Aquila
relation official language
type language
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?c ) WHERE { ?t rdf:type ontology:language . ?y rdf:type ontology:administrative_territorial_entity . ?y property:official_language ?t } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { resource:Aquila property:official_language ?i . ?i rdf:type ontology:language } } . FILTER ( ?c < ?p ) }
[]
language administrative territorial entity
SYSTEM
148
Q807 Q64004 Q68978 Q689502 Q9125 Q678901 Q66629 Q9009 Q2641849 Q175345 Q68124 Q704257 Q68965 Q757845 Q639054 Q689954 Q689691 Q643200 Q5576202 Q668705 Q69231 Q7149 Q66616 Q54450 Q3834 Q5951348 Q81811 Q669310 Q674433 Q669411 Q70477 Q429962 Q167715 Q669254 Q64011 Q1990899 Q597413 Q390482 Q662499 Q669360 Q678787 Q68883 Q660215 Q7525 Q661369 Q669400 Q4700013 Q121157 Q2094680 Q1352 Q128499 Q69639 Q662405 Q64679 Q70485 Q669466 Q141502 Q3639927 Q666159 Q3951 Q381861 Q69256 Q5689 Q63964 Q156593 Q781354 Q660142 Q572380 Q581562 Q678991 Q869534 Q3702463 Q21669478 Q669375 Q66208 Q659753 Q15077954 Q435231 Q2718721 Q7172 Q689487 Q196357 Q15730054 Q1757 Q669280 Q5999183 Q2492533 Q57110 Q66668 Q541319 Q68160 Q7001862 Q668740 Q2152433 Q183441 Q689499 Q678690 Q21845358 Q1034 Q63931 Q67812 Q669152 Q59117 Q669350 Q67097 Q664153 Q669292 Q3630738 Q289534 Q688652 Q258447 Q1259122 Q669229 Q661817 Q14512466 Q70683 Q669244 Q68103 Q678769 Q669437 Q69484 Q611382 Q69354 Q64123 Q69290 Q25396 Q669424 Q1341 Q78 Q2801411 Q72 Q71 Q70 Q669332 Q277674 Q65757 Q163798 Q65502 Q69940 Q7942521 Q64032 Q198210 Q869624 Q678960 Q1026291 Q68692 Q286332 Q1895
(c(Q56061),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q623277
relation P37
type Q34770
[ANSWER]
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?c ) WHERE { ?t rdf:type ontology:Q34770 . ?y rdf:type ontology:Q56061 . ?y property:P37 ?t } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { resource:Q623277 property:P37 ?i . ?i rdf:type ontology:Q34770 } } . FILTER ( ?c < ?p ) }
Lausanne Grindelwald Thun Röthenbach bei Herzogenbuchsee Winterthur Colombier Saanen Schaffhausen history of Limousin Thielle-Wavre La Chaux-de-Fonds Albany Solothurn Betma Zhovti Vody Buttes Môtiers Mosen Godavarikhani Montignez Innertkirchen Neudorf Indore Vicques Konstanz Huwyl Gaildorf Balm bei Messen Bettmeralp Niederwil Chézard-Saint-Martin Bibern Thiruvananthapuram Gunzwil Lauterbrunnen Volovița Wildhaus Donatyre Busswil bei Büren Umiken Saint-Saphorin-sur-Morges Villars-Sainte-Croix Hilfikon Sevastopol Steinhof Ittenthal Ak-Dzhar Mashhad Tafersit Chennai Yalta Göschenen Opfertshofen Pratteln Coffrane Oberramsern Oberhofen Bilaspur, Haryana Wanzwil Aalen Aeschlen bei Oberdiessbach Wilderswil Åland Islands Sarnen Sambir Kapurthala Hofen Jizzakh Satara Peney-le-Jorat Wahlern Daqdaqabad Il'inskoe Hottwil Frutigen Albligen Tazaghine Altdorf Phalodi Arab League Buchs Snezhinsk Glarus Helsinki Retschwil Illighausen Aandu Corsier-sur-Vevey Koppigen Lieli Vevey Neukirch an der Thur Courtemaîche Midar Rohr Wil Châtillens Bryn Biel/Bienne Stans Ruppoldsried Sulz Aappilattoq Jona Unterseen Grandvaux Brunnenthal Bhood Mettau Littau Äänekoski Driouch Sulz Noiraigue Valens Peyres-Possens St. Peterzell Interlaken Monnaz Winikon Spiez Benzenschwil Montreux Meiringen Genolier Bonaire Etzgen Tolyatti Basel Ben Taieb Zürich Geneva Bern Müswangen Azaz Matten bei Interlaken Thrissur Bönigen Bévilard Voyvodovo, Haskovo Province Uster Shakhunya Mogelsberg Les Tavernes Kant Fenin-Vilars-Saules Alt St. Johann Petrozavodsk
148
action count
action less
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Aquila
relation official language
type language
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?c ) WHERE { ?t rdf:type ontology:language . ?y rdf:type ontology:administrative_territorial_entity . ?y property:official_language ?t } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { resource:Aquila property:official_language ?i . ?i rdf:type ontology:language } } . FILTER ( ?c < ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q25528
P37
Q34770 Q56061
USER
And how about Saba?
(c(Q56061),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q25528
relation P37
type Q34770
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?l ) WHERE { ?c property:P37 ?j . ?c rdf:type ontology:Q56061 . ?j rdf:type ontology:Q34770 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { resource:Q25528 property:P37 ?g . ?g rdf:type ontology:Q34770 } } . FILTER ( ?l < ?u ) }
Saba
action count
action less
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Saba
relation official language
type language
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?l ) WHERE { ?c property:official_language ?j . ?c rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:language } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { resource:Saba property:official_language ?g . ?g rdf:type ontology:language } } . FILTER ( ?l < ?u ) }
[]
language administrative territorial entity
SYSTEM
148
Q807 Q64004 Q68978 Q689502 Q9125 Q678901 Q66629 Q9009 Q2641849 Q175345 Q68124 Q704257 Q68965 Q757845 Q639054 Q689954 Q689691 Q643200 Q5576202 Q668705 Q69231 Q7149 Q66616 Q54450 Q3834 Q5951348 Q81811 Q669310 Q674433 Q669411 Q70477 Q429962 Q167715 Q669254 Q64011 Q1990899 Q597413 Q390482 Q662499 Q669360 Q678787 Q68883 Q660215 Q7525 Q661369 Q669400 Q4700013 Q121157 Q2094680 Q1352 Q128499 Q69639 Q662405 Q64679 Q70485 Q669466 Q141502 Q3639927 Q666159 Q3951 Q381861 Q69256 Q5689 Q63964 Q156593 Q781354 Q660142 Q572380 Q581562 Q678991 Q869534 Q3702463 Q21669478 Q669375 Q66208 Q659753 Q15077954 Q435231 Q2718721 Q7172 Q689487 Q196357 Q15730054 Q1757 Q669280 Q5999183 Q2492533 Q57110 Q66668 Q541319 Q68160 Q7001862 Q668740 Q2152433 Q183441 Q689499 Q678690 Q21845358 Q1034 Q63931 Q67812 Q669152 Q59117 Q669350 Q67097 Q664153 Q669292 Q3630738 Q289534 Q688652 Q258447 Q1259122 Q669229 Q661817 Q14512466 Q70683 Q669244 Q68103 Q678769 Q669437 Q69484 Q611382 Q69354 Q64123 Q69290 Q25396 Q669424 Q1341 Q78 Q2801411 Q72 Q71 Q70 Q669332 Q277674 Q65757 Q163798 Q65502 Q69940 Q7942521 Q64032 Q198210 Q869624 Q678960 Q1026291 Q68692 Q286332 Q1895
(c(Q56061),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q25528
relation P37
type Q34770
[ANSWER]
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?l ) WHERE { ?c property:P37 ?j . ?c rdf:type ontology:Q56061 . ?j rdf:type ontology:Q34770 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { resource:Q25528 property:P37 ?g . ?g rdf:type ontology:Q34770 } } . FILTER ( ?l < ?u ) }
Lausanne Grindelwald Thun Röthenbach bei Herzogenbuchsee Winterthur Colombier Saanen Schaffhausen history of Limousin Thielle-Wavre La Chaux-de-Fonds Albany Solothurn Betma Zhovti Vody Buttes Môtiers Mosen Godavarikhani Montignez Innertkirchen Neudorf Indore Vicques Konstanz Huwyl Gaildorf Balm bei Messen Bettmeralp Niederwil Chézard-Saint-Martin Bibern Thiruvananthapuram Gunzwil Lauterbrunnen Volovița Wildhaus Donatyre Busswil bei Büren Umiken Saint-Saphorin-sur-Morges Villars-Sainte-Croix Hilfikon Sevastopol Steinhof Ittenthal Ak-Dzhar Mashhad Tafersit Chennai Yalta Göschenen Opfertshofen Pratteln Coffrane Oberramsern Oberhofen Bilaspur, Haryana Wanzwil Aalen Aeschlen bei Oberdiessbach Wilderswil Åland Islands Sarnen Sambir Kapurthala Hofen Jizzakh Satara Peney-le-Jorat Wahlern Daqdaqabad Il'inskoe Hottwil Frutigen Albligen Tazaghine Altdorf Phalodi Arab League Buchs Snezhinsk Glarus Helsinki Retschwil Illighausen Aandu Corsier-sur-Vevey Koppigen Lieli Vevey Neukirch an der Thur Courtemaîche Midar Rohr Wil Châtillens Bryn Biel/Bienne Stans Ruppoldsried Sulz Aappilattoq Jona Unterseen Grandvaux Brunnenthal Bhood Mettau Littau Äänekoski Driouch Sulz Noiraigue Valens Peyres-Possens St. Peterzell Interlaken Monnaz Winikon Spiez Benzenschwil Montreux Meiringen Genolier Bonaire Etzgen Tolyatti Basel Ben Taieb Zürich Geneva Bern Müswangen Azaz Matten bei Interlaken Thrissur Bönigen Bévilard Voyvodovo, Haskovo Province Uster Shakhunya Mogelsberg Les Tavernes Kant Fenin-Vilars-Saules Alt St. Johann Petrozavodsk
148
action count
action less
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Saba
relation official language
type language
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?l ) WHERE { ?c property:official_language ?j . ?c rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:language } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { resource:Saba property:official_language ?g . ?g rdf:type ontology:language } } . FILTER ( ?l < ?u ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q41180
P85
Q15617994 Q33837
USER
How many administrative territories and archipelagos have an anthem named La Marseillaise ?
(c(Q15617994),P85,Q41180) (c(Q33837),P85,Q41180)
action count
action union
action filter_type
action find_reverse
entity Q41180
relation P85
type Q15617994
action filter_type
action find_reverse
entity Q41180
relation P85
type Q33837
[{'concept': 'Q15617994'}, 'P85', 'Q41180'] [{'concept': 'Q33837'}, 'P85', 'Q41180']
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { VALUES ( ?m ) { ( ontology:Q33837 ) ( ontology:Q15617994 ) } . ?w rdf:type ?m }
La Marseillaise
action count
action union
action filter_type
action find_reverse
entity La Marseillaise
relation anthem
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity La Marseillaise
relation anthem
type archipelago
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', 'La Marseillaise'] [{'concept': 'archipelago'}, 'anthem', 'La Marseillaise']
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { VALUES ( ?m ) { ( ontology:archipelago ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?w rdf:type ?m }
[]
designation for an administrative territorial entity archipelago
SYSTEM
1 administrative territories and 1 archipelagos
Q142 Q190571
(c(Q15617994),P85,Q41180) (c(Q33837),P85,Q41180)
action count
action union
action filter_type
action find_reverse
entity Q41180
relation P85
type Q15617994
action filter_type
action find_reverse
entity Q41180
relation P85
type Q33837
[ANSWER]
[{'concept': 'Q15617994'}, 'P85', 'Q41180'] [{'concept': 'Q33837'}, 'P85', 'Q41180']
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { VALUES ( ?m ) { ( ontology:Q33837 ) ( ontology:Q15617994 ) } . ?w rdf:type ?m }
France Scattered Islands in the Indian Ocean
1 administrative territories and 1 archipelagos
action count
action union
action filter_type
action find_reverse
entity La Marseillaise
relation anthem
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity La Marseillaise
relation anthem
type archipelago
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', 'La Marseillaise'] [{'concept': 'archipelago'}, 'anthem', 'La Marseillaise']
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { VALUES ( ?m ) { ( ontology:archipelago ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?w rdf:type ?m }
[]