Simple Question (Direct)
Simple Question
Q3207829
P58
Q502895
USER
Who wrote the script for Möbius ?
(Q3207829,P58,c(Q502895))
action filter_type
action find
entity Q3207829
relation P58
type Q502895
['Q3207829', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q3207829 property:P58 ?x . ?x rdf:type ontology:Q502895 }
Möbius
action filter_type
action find
entity Möbius
relation screenwriter
type common name
['Möbius', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Möbius property:screenwriter ?x . ?x rdf:type ontology:common_name }
[]
common name
Q2636752
SYSTEM
Éric Rochant
Q2636752
(Q3207829,P58,c(Q502895))
action filter_type
action find
entity Q3207829
relation P58
type Q502895
[ANSWER] wrote the script for Möbius
['Q3207829', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q3207829 property:P58 ?x . ?x rdf:type ontology:Q502895 }
Éric Rochant
Éric Rochant wrote the script for Möbius
Éric Rochant
action filter_type
action find
entity Möbius
relation screenwriter
type common name
['Möbius', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Möbius property:screenwriter ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3207829
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q2636752,P136,c(Q1792379))
action filter_type
action find
entity Q3207829
relation P136
type Q1792379
['Q2636752', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?d WHERE { resource:Q3207829 property:P136 ?d . ?d rdf:type ontology:Q1792379 }
Möbius
action filter_type
action find
entity Möbius
relation genre
type art genre
['Éric Rochant', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?d WHERE { resource:Möbius property:genre ?d . ?d rdf:type ontology:art_genre }
[]
art genre
Q2297927 Q188473
SYSTEM
spy film, action film
Q2297927 Q188473
(Q2636752,P136,c(Q1792379))
action filter_type
action find
entity Q3207829
relation P136
type Q1792379
And [ANSWERS] can be considered as category for that work of art
['Q2636752', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?d WHERE { resource:Q3207829 property:P136 ?d . ?d rdf:type ontology:Q1792379 }
spy film action film
And spy film and action film can be considered as category for that work of art
spy film action film
action filter_type
action find
entity Möbius
relation genre
type art genre
['Éric Rochant', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?d WHERE { resource:Möbius property:genre ?d . ?d rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4894559
P1412
Q34770
USER
Which language can Pau Faner Coll read ?
(Q4894559,P1412,c(Q34770))
action filter_type
action find
entity Q4894559
relation P1412
type Q34770
['Q4894559', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q4894559 property:P1412 ?h . ?h rdf:type ontology:Q34770 }
Pau Faner Coll
action filter_type
action find
entity Pau Faner Coll
relation languages spoken, written or signed
type language
['Pau Faner Coll', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:Pau_Faner_Coll property:languages_spoken,_written_or_signed ?h . ?h rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q4894559,P1412,c(Q34770))
action filter_type
action find
entity Q4894559
relation P1412
type Q34770
Pau Faner Coll can read in [ANSWER]
['Q4894559', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q4894559 property:P1412 ?h . ?h rdf:type ontology:Q34770 }
Spanish
Pau Faner Coll can read in Spanish
Spanish
action filter_type
action find
entity Pau Faner Coll
relation languages spoken, written or signed
type language
['Pau Faner Coll', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:Pau_Faner_Coll property:languages_spoken,_written_or_signed ?h . ?h rdf:type ontology:language }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P2439
Q34770 Q49848 Q2944660
USER
Which languages have an association with lesser number of documents and lexical items than that language ?
(c(Q49848)|c(Q2944660),P2439,c(Q34770))
action less
action union
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q49848
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q2944660
action count
action filter_multi_types
action find_reverse
entity Q1321
relation P2439
type Q49848
type Q2944660
[[{'concept': 'Q49848'}, {'concept': 'Q2944660'}], 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?l < ?g ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q property:P2439 resource:Q1321 . { { ?q rdf:type ontology:Q49848 } UNION { ?q rdf:type ontology:Q2944660 } } } } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) ?v WHERE { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:Q49848 ) ( ontology:Q2944660 ) } } GROUP BY ?v } }
action less
action union
action find_reverse_tuple_counts
relation language
type language
type document
action find_reverse_tuple_counts
relation language
type language
type lexical item
action count
action filter_multi_types
action find_reverse
entity Spanish
relation language
type document
type lexical item
[[{'concept': 'document'}, {'concept': 'lexical item'}], 'language', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?l < ?g ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q property:language resource:Spanish . { { ?q rdf:type ontology:document } UNION { ?q rdf:type ontology:lexical_item } } } } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) ?v WHERE { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:document ) ( ontology:lexical_item ) } } GROUP BY ?v } }
[]
language document lexical item
Q9056 Q8752 Q35505
SYSTEM
Czech, Basque, Old Norse language
Q36765 Q18130932 Q9056 Q13414913 Q652 Q8752 Q35505 Q25167 Q25164
(c(Q49848)|c(Q2944660),P2439,c(Q34770))
action less
action union
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q49848
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q2944660
action count
action filter_multi_types
action find_reverse
entity Q1321
relation P2439
type Q49848
type Q2944660
[ANSWERS] have an association with lesser number of documents and lexical items than that language
[[{'concept': 'Q49848'}, {'concept': 'Q2944660'}], 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?l < ?g ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q property:P2439 resource:Q1321 . { { ?q rdf:type ontology:Q49848 } UNION { ?q rdf:type ontology:Q2944660 } } } } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) ?v WHERE { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:Q49848 ) ( ontology:Q2944660 ) } } GROUP BY ?v } }
Demotic Traditional Chinese Czech Simplified Chinese Italian Basque Old Norse language Bokmål Nynorsk
Czech, Basque and Old Norse language have an association with lesser number of documents and lexical items than that language
Czech Basque Old Norse language
action less
action union
action find_reverse_tuple_counts
relation language
type language
type document
action find_reverse_tuple_counts
relation language
type language
type lexical item
action count
action filter_multi_types
action find_reverse
entity Spanish
relation language
type document
type lexical item
[[{'concept': 'document'}, {'concept': 'lexical item'}], 'language', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?l < ?g ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q property:language resource:Spanish . { { ?q rdf:type ontology:document } UNION { ?q rdf:type ontology:lexical_item } } } } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) ?v WHERE { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:document ) ( ontology:lexical_item ) } } GROUP BY ?v } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P2439
Q34770 Q15416 Q2342494
USER
How many languages have an association with greater number of television programs and collectables than that language ?
(c(Q15416)|c(Q2342494),P2439,c(Q34770))
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?g ) { ( ?z ) ( ?x ) } . ?g property:Q34770 ?y } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q34770 . ?x rdf:type ontology:Q2342494 }
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?g ) { ( ?z ) ( ?x ) } . ?g property:language ?y } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:language . ?x rdf:type ontology:collectable }
[]
language television program collectable
Comparative|Count over More/Less|Mult. entity type|Clarification
Q9056
SYSTEM
Did you mean Czech ?
(c(Q15416)|c(Q2342494),P2439,c(Q34770))
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?g ) { ( ?z ) ( ?x ) } . ?g property:Q34770 ?y } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q34770 . ?x rdf:type ontology:Q2342494 }
Did you mean Czech ?
Czech
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?g ) { ( ?z ) ( ?x ) } . ?g property:language ?y } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:language . ?x rdf:type ontology:collectable }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Basque. Could you tell me the answer for that?
(c(Q15416)|c(Q2342494),P2439,c(Q34770))
Q8752
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P2439', {'concept': 'Q34770'}]
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'language', {'concept': 'language'}]
[]
SYSTEM
2
Q1860 Q1321
(c(Q15416)|c(Q2342494),P2439,c(Q34770))
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q34770 ?y } UNION { ?x property:Q34770 ?y } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q34770 . ?x rdf:type ontology:Q2342494 }
English Spanish
2
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:language ?y } UNION { ?x property:language ?y } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:language . ?x rdf:type ontology:collectable }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q64004
P37
Q34770 Q56061
USER
How many administrative territories are known to have around the same number of languages as their official language as Grindelwald ?
(c(Q56061),P37,c(Q34770))
action count
action approx
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q64004
relation P37
type Q56061
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?v ) WHERE { ?t property:P37 ?i . ?t rdf:type ontology:Q56061 . ?i rdf:type ontology:Q34770 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { ?m rdf:type ontology:Q56061 . resource:Q64004 property:P37 ?m } } . FILTER ( ?v = ?u ) }
Grindelwald
action count
action approx
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Grindelwald
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?v ) WHERE { ?t property:official_language ?i . ?t rdf:type ontology:administrative_territorial_entity . ?i rdf:type ontology:language } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Grindelwald property:official_language ?m } } . FILTER ( ?v = ?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 approx
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q64004
relation P37
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?v ) WHERE { ?t property:P37 ?i . ?t rdf:type ontology:Q56061 . ?i rdf:type ontology:Q34770 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { ?m rdf:type ontology:Q56061 . resource:Q64004 property:P37 ?m } } . FILTER ( ?v = ?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 approx
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Grindelwald
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?v ) WHERE { ?t property:official_language ?i . ?t rdf:type ontology:administrative_territorial_entity . ?i rdf:type ontology:language } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Grindelwald property:official_language ?m } } . FILTER ( ?v = ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q669411
P37
Q34770 Q56061
USER
And what about Niederwil?
(c(Q56061),P37,c(Q34770))
action count
action approx
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q669411
relation P37
type Q56061
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?x ) WHERE { ?b rdf:type ontology:Q56061 . ?f rdf:type ontology:Q34770 . ?b property:P37 ?f } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Q669411 property:P37 ?s . ?s rdf:type ontology:Q56061 } } . FILTER ( ?x = ?o ) }
Niederwil
action count
action approx
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Niederwil
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?x ) WHERE { ?b rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:language . ?b property:official_language ?f } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Niederwil property:official_language ?s . ?s rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?x = ?o ) }
[]
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 approx
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q669411
relation P37
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?x ) WHERE { ?b rdf:type ontology:Q56061 . ?f rdf:type ontology:Q34770 . ?b property:P37 ?f } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Q669411 property:P37 ?s . ?s rdf:type ontology:Q56061 } } . FILTER ( ?x = ?o ) }
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 approx
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Niederwil
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?x ) WHERE { ?b rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:language . ?b property:official_language ?f } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Niederwil property:official_language ?s . ?s rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?x = ?o ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2297927
P921
Q9332
USER
What was the main subject of spy film 's work ?
(Q2297927,P921,c(Q9332))
action filter_type
action find
entity Q2297927
relation P921
type Q9332
['Q2297927', 'P921', {'concept': 'Q9332'}]
SELECT DISTINCT ?r WHERE { resource:Q2297927 property:P921 ?r . ?r rdf:type ontology:Q9332 }
spy film
action filter_type
action find
entity spy film
relation main subject
type behavior
['spy film', 'main subject', {'concept': 'behavior'}]
SELECT DISTINCT ?r WHERE { resource:spy_film property:main_subject ?r . ?r rdf:type ontology:behavior }
[]
behavior
Q165950
SYSTEM
espionage
Q165950
(Q2297927,P921,c(Q9332))
action filter_type
action find
entity Q2297927
relation P921
type Q9332
The main subject of spy film's work was the [ANSWER]
['Q2297927', 'P921', {'concept': 'Q9332'}]
SELECT DISTINCT ?r WHERE { resource:Q2297927 property:P921 ?r . ?r rdf:type ontology:Q9332 }
espionage
The main subject of spy film's work was the espionage
espionage
action filter_type
action find
entity spy film
relation main subject
type behavior
['spy film', 'main subject', {'concept': 'behavior'}]
SELECT DISTINCT ?r WHERE { resource:spy_film property:main_subject ?r . ?r rdf:type ontology:behavior }
[]