Simple Question (Direct)
Simple Question
Q6700463
P106
Q12737077
USER
Which occupations have Luis Daniel Hernández as his/her 's career ?
(Q6700463,P106,c(Q12737077))
action filter_type
action find
entity Q6700463
relation P106
type Q12737077
['Q6700463', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q6700463 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Luis Daniel Hernández
action filter_type
action find
entity Luis Daniel Hernández
relation occupation
type occupation
['Luis Daniel Hernández', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Luis_Daniel_Hernández property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q6700463,P106,c(Q12737077))
action filter_type
action find
entity Q6700463
relation P106
type Q12737077
The [ANSWERS] have Luis Daniel Hernández as his/her 's career
['Q6700463', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q6700463 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
association football manager association football player
The association football manager and association football player have Luis Daniel Hernández as his/her 's career
association football manager association football player
action filter_type
action find
entity Luis Daniel Hernández
relation occupation
type occupation
['Luis Daniel Hernández', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Luis_Daniel_Hernández property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6700463
P1412
Q34770
USER
Which language is that person capable of writing ?
(Q628099,P1412,c(Q34770)) (Q937857,P1412,c(Q34770))
action filter_type
action find
entity Q6700463
relation P1412
type Q34770
['Q628099', 'P1412', {'concept': 'Q34770'}] ['Q937857', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q6700463 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
Luis Daniel Hernández
action filter_type
action find
entity Luis Daniel Hernández
relation languages spoken, written or signed
type language
['association football manager', 'languages spoken, written or signed', {'concept': 'language'}] ['association football player', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Luis_Daniel_Hernández property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q628099,P1412,c(Q34770)) (Q937857,P1412,c(Q34770))
action filter_type
action find
entity Q6700463
relation P1412
type Q34770
[ANSWER] is that person capable of writing
['Q628099', 'P1412', {'concept': 'Q34770'}] ['Q937857', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q6700463 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
Spanish
Spanish is that person capable of writing
Spanish
action filter_type
action find
entity Luis Daniel Hernández
relation languages spoken, written or signed
type language
['association football manager', 'languages spoken, written or signed', {'concept': 'language'}] ['association football player', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Luis_Daniel_Hernández property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q57110
P37
Q34770 Q56061
USER
How many administrative territories are known to have around the same number of languages as their official language as Corsier-sur-Vevey ?
(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 Q57110
relation P37
type Q56061
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?k ) WHERE { ?p property:P37 ?w . ?w rdf:type ontology:Q34770 . ?p rdf:type ontology:Q56061 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { ?j rdf:type ontology:Q56061 . resource:Q57110 property:P37 ?j } } . FILTER ( ?k = ?v ) }
Corsier-sur-Vevey
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 Corsier-sur-Vevey
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?k ) WHERE { ?p property:official_language ?w . ?w rdf:type ontology:language . ?p rdf:type ontology:administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Corsier-sur-Vevey property:official_language ?j } } . FILTER ( ?k = ?v ) }
[]
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 Q57110
relation P37
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?k ) WHERE { ?p property:P37 ?w . ?w rdf:type ontology:Q34770 . ?p rdf:type ontology:Q56061 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { ?j rdf:type ontology:Q56061 . resource:Q57110 property:P37 ?j } } . FILTER ( ?k = ?v ) }
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 Corsier-sur-Vevey
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?k ) WHERE { ?p property:official_language ?w . ?w rdf:type ontology:language . ?p rdf:type ontology:administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Corsier-sur-Vevey property:official_language ?j } } . FILTER ( ?k = ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q68978
P37
Q34770 Q56061
USER
And also tell me about Thun?
(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 Q68978
relation P37
type Q56061
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?a ) WHERE { ?b rdf:type ontology:Q56061 . ?m rdf:type ontology:Q34770 . ?b property:P37 ?m } GROUP BY ?b } . FILTER ( ?a = ?w ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p rdf:type ontology:Q56061 . resource:Q68978 property:P37 ?p } } }
Thun
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 Thun
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?a ) WHERE { ?b rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:language . ?b property:official_language ?m } GROUP BY ?b } . FILTER ( ?a = ?w ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Thun property:official_language ?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 approx
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q68978
relation P37
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?a ) WHERE { ?b rdf:type ontology:Q56061 . ?m rdf:type ontology:Q34770 . ?b property:P37 ?m } GROUP BY ?b } . FILTER ( ?a = ?w ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p rdf:type ontology:Q56061 . resource:Q68978 property:P37 ?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 approx
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Thun
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?a ) WHERE { ?b rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:language . ?b property:official_language ?m } GROUP BY ?b } . FILTER ( ?a = ?w ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Thun property:official_language ?p } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q399366
P17
Q15617994
USER
Which administrative territory is Chevreuse located in ?
(Q399366,P17,c(Q15617994))
action filter_type
action find
entity Q399366
relation P17
type Q15617994
['Q399366', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q399366 property:P17 ?k }
Chevreuse
action filter_type
action find
entity Chevreuse
relation country
type designation for an administrative territorial entity
['Chevreuse', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Chevreuse property:country ?k }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q399366,P17,c(Q15617994))
action filter_type
action find
entity Q399366
relation P17
type Q15617994
Chevreuse is located in [ANSWER]
['Q399366', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q399366 property:P17 ?k }
France
Chevreuse is located in France
France
action filter_type
action find
entity Chevreuse
relation country
type designation for an administrative territorial entity
['Chevreuse', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Chevreuse property:country ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q399366
P138
Q34442
USER
Which road is the eponym of that french administrative division ?
(c(Q34442),P138,Q142)
action filter_type
action find_reverse
entity Q399366
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q142']
SELECT DISTINCT ?k WHERE { ?k property:P138 resource:Q399366 . ?k rdf:type ontology:Q34442 }
Chevreuse
action filter_type
action find_reverse
entity Chevreuse
relation named after
type road
[{'concept': 'road'}, 'named after', 'France']
SELECT DISTINCT ?k WHERE { ?k property:named_after resource:Chevreuse . ?k rdf:type ontology:road }
[]
road
Q3450661
SYSTEM
rue de Chevreuse
Q3450661
(c(Q34442),P138,Q142)
action filter_type
action find_reverse
entity Q399366
relation P138
type Q34442
[ANSWER] is the eponym of that french administrative division
[{'concept': 'Q34442'}, 'P138', 'Q142']
SELECT DISTINCT ?k WHERE { ?k property:P138 resource:Q399366 . ?k rdf:type ontology:Q34442 }
rue de Chevreuse
Rue de Chevreuse is the eponym of that french administrative division
rue de Chevreuse
action filter_type
action find_reverse
entity Chevreuse
relation named after
type road
[{'concept': 'road'}, 'named after', 'France']
SELECT DISTINCT ?k WHERE { ?k property:named_after resource:Chevreuse . ?k rdf:type ontology:road }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q3450661 Q514499
P17
Q15617994
USER
Is that road a part of Wang ?
(Q3450661,P17,Q514499)
action is_in
entity Q514499
action find
entity Q3450661
relation P17
['Q3450661', 'P17', 'Q514499']
ASK WHERE { resource:Q3450661 property:P17 resource:Q514499 }
rue de Chevreuse Wang
action is_in
entity Wang
action find
entity rue de Chevreuse
relation country
['rue de Chevreuse', 'country', 'Wang']
ASK WHERE { resource:rue_de_Chevreuse property:country resource:Wang }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3450661,P17,Q514499)
action is_in
entity Q514499
action find
entity Q3450661
relation P17
[ANSWER]
['Q3450661', 'P17', 'Q514499']
ASK WHERE { resource:Q3450661 property:P17 resource:Q514499 }
No
action is_in
entity Wang
action find
entity rue de Chevreuse
relation country
['rue de Chevreuse', 'country', 'Wang']
ASK WHERE { resource:rue_de_Chevreuse property:country resource:Wang }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P669
Q34442 Q699405
USER
Which dwellings are located on min number of roads ?
(c(Q699405),P669,c(Q34442))
action argmin
action find_tuple_counts
relation P669
type Q699405
type Q34442
[{'concept': 'Q699405'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?f ) { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?r ) WHERE { ?l rdf:type ontology:Q699405 . ?w rdf:type ontology:Q34442 . ?l property:P669 ?w } GROUP BY ?l } } . { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?o ) WHERE { ?c property:P669 ?s . ?c rdf:type ontology:Q699405 . ?s rdf:type ontology:Q34442 } GROUP BY ?c } . FILTER ( ?o = ?f ) }
action argmin
action find_tuple_counts
relation located on street
type dwelling
type road
[{'concept': 'dwelling'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?f ) { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?r ) WHERE { ?l rdf:type ontology:dwelling . ?w rdf:type ontology:road . ?l property:located_on_street ?w } GROUP BY ?l } } . { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?o ) WHERE { ?c property:located_on_street ?s . ?c rdf:type ontology:dwelling . ?s rdf:type ontology:road } GROUP BY ?c } . FILTER ( ?o = ?f ) }
[]
road dwelling
Q2748565 Q3361055 Q3010267
SYSTEM
Claridge's, Palais de la Méditerranée, Céramic Hôtel
Q7553767 Q26398019 Q7621234 Q15858735 Q12880476 Q25238467 Q2915167 Q12324426 Q2748565 Q3786934 Q743147 Q16697401 Q3361055 Q217708 Q3010267 Q1444161 Q21856465 Q7757079 Q23812 Q15225847 Q1535365 Q19799667 Q18638615
(c(Q699405),P669,c(Q34442))
action argmin
action find_tuple_counts
relation P669
type Q699405
type Q34442
[ANSWERS] are located on min number of roads
[{'concept': 'Q699405'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?f ) { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?r ) WHERE { ?l rdf:type ontology:Q699405 . ?w rdf:type ontology:Q34442 . ?l property:P669 ?w } GROUP BY ?l } } . { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?o ) WHERE { ?c property:P669 ?s . ?c rdf:type ontology:Q699405 . ?s rdf:type ontology:Q34442 } GROUP BY ?c } . FILTER ( ?o = ?f ) }
DoubleTree by Hilton Hotel Shanghai - Pudong Royal Clarence Hotel Strand Palace Hotel Hotel d’Angleterre Ioannis Metaxas building Hotel Central Hotel Napoleon Lihmes Gård Claridge's Cadogan Hotel Hotel Negresco Sibirskoe Podvorye Palais de la Méditerranée Hôtel George-V Céramic Hôtel Grand Hotel Hotel Ansgar The Pierre Park Hotel Hotel Majestic Kurhaus of Scheveningen Haxell's Hotel Torres Vermelhas (Maputo)
Claridge's, Palais de la Méditerranée and Céramic Hôtel are located on min number of roads
Claridge's Palais de la Méditerranée Céramic Hôtel
action argmin
action find_tuple_counts
relation located on street
type dwelling
type road
[{'concept': 'dwelling'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?f ) { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?r ) WHERE { ?l rdf:type ontology:dwelling . ?w rdf:type ontology:road . ?l property:located_on_street ?w } GROUP BY ?l } } . { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?o ) WHERE { ?c property:located_on_street ?s . ?c rdf:type ontology:dwelling . ?s rdf:type ontology:road } GROUP BY ?c } . FILTER ( ?o = ?f ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P669
Q34442 Q860861
USER
How many sculptures have their location as atleast 2 roads ?
(c(Q860861),P669,c(Q34442))
action count
action atleast
action find_tuple_counts
relation P669
type Q860861
type Q34442
value 2
[{'concept': 'Q860861'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?u ) WHERE { ?p property:P669 ?y . ?p rdf:type ontology:Q860861 . ?y rdf:type ontology:Q34442 } GROUP BY ?p } . FILTER ( ?u >= 2 ) }
action count
action atleast
action find_tuple_counts
relation located on street
type sculpture
type road
value 2
[{'concept': 'sculpture'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?u ) WHERE { ?p property:located_on_street ?y . ?p rdf:type ontology:sculpture . ?y rdf:type ontology:road } GROUP BY ?p } . FILTER ( ?u >= 2 ) }
[]
road sculpture
SYSTEM
1
Q3327979
(c(Q860861),P669,c(Q34442))
action count
action atleast
action find_tuple_counts
relation P669
type Q860861
type Q34442
value 2
[ANSWER]
[{'concept': 'Q860861'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?u ) WHERE { ?p property:P669 ?y . ?p rdf:type ontology:Q860861 . ?y rdf:type ontology:Q34442 } GROUP BY ?p } . FILTER ( ?u >= 2 ) }
Mur des vents
1
action count
action atleast
action find_tuple_counts
relation located on street
type sculpture
type road
value 2
[{'concept': 'sculpture'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?u ) WHERE { ?p property:located_on_street ?y . ?p rdf:type ontology:sculpture . ?y rdf:type ontology:road } GROUP BY ?p } . FILTER ( ?u >= 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P127
Q1269299 Q699405
USER
Which business organizations are the owners of min number of dwellings ?
(c(Q699405),P127,Q219501)
action argmin
action find_reverse_tuple_counts
relation P127
type Q1269299
type Q699405
[{'concept': 'Q699405'}, 'P127', 'Q219501']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?g ) { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:P127 ?v . ?v rdf:type ontology:Q1269299 . ?r rdf:type ontology:Q699405 } GROUP BY ?v } } . { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?d ) WHERE { ?w rdf:type ontology:Q1269299 . ?x rdf:type ontology:Q699405 . ?x property:P127 ?w } GROUP BY ?w } . FILTER ( ?d = ?g ) }
action argmin
action find_reverse_tuple_counts
relation owned by
type type of business entity
type dwelling
[{'concept': 'dwelling'}, 'owned by', 'Saab Group']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?g ) { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:owned_by ?v . ?v rdf:type ontology:type_of_business_entity . ?r rdf:type ontology:dwelling } GROUP BY ?v } } . { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?d ) WHERE { ?w rdf:type ontology:type_of_business_entity . ?x rdf:type ontology:dwelling . ?x property:owned_by ?w } GROUP BY ?w } . FILTER ( ?d = ?g ) }
[]
type of business entity dwelling
Q327751 Q2283 Q8766
SYSTEM
Kraft Foods, Microsoft, British Airways
Q912778 Q1418 Q283790 Q20800404 Q1475554 Q163560 Q1022921 Q643290 Q748148 Q936040 Q1418432 Q1685648 Q791179 Q8766 Q558639 Q7671152 Q6128861 Q24525746 Q1393251 Q487907 Q806167 Q3238409 Q1636545 Q327429 Q4206709 Q477222 Q487292 Q1673617 Q848336 Q219635 Q1321054 Q2283 Q4647179 Q1840188 Q1198156 Q691508 Q11894327 Q333498 Q499207 Q1491819 Q10453570 Q1201076 Q304962 Q1136226 Q242446 Q21072501 Q2309 Q1071978 Q5035431 Q829558 Q739518 Q205012 Q3117359 Q753684 Q1671804 Q229764 Q294508 Q680558 Q2826570 Q1536909 Q607131 Q243278 Q14647 Q856411 Q11463 Q7107013 Q656165 Q7240301 Q58707 Q2537294 Q1045758 Q938668 Q3347591 Q1742438 Q489921 Q194360 Q12581123 Q503182 Q639447 Q806151 Q190464 Q7875835 Q7433758 Q53247 Q4579562 Q871799 Q191715 Q37156 Q151107 Q217338 Q806259 Q1516576 Q188514 Q739416 Q632030 Q15944611 Q1540297 Q1439011 Q907311 Q5985017 Q1470848 Q470317 Q25866375 Q2340904 Q329347 Q4652575 Q2373167 Q1113804 Q478214 Q327751 Q494917 Q460178 Q4398001 Q1389894 Q206921 Q13977 Q1576915 Q946713 Q185278 Q827011 Q2144525 Q445007 Q113215 Q1490400 Q1416717 Q385426 Q7164054 Q879018 Q544847 Q207784 Q975655 Q1562664 Q7414 Q2665980 Q918390 Q1066018 Q19900 Q128577 Q42232 Q1353090 Q568532 Q14945839 Q1424962 Q463094 Q1418246 Q10683967 Q7394868 Q721162 Q392500 Q24323866 Q193412 Q219501
(c(Q699405),P127,Q219501)
action argmin
action find_reverse_tuple_counts
relation P127
type Q1269299
type Q699405
[ANSWERS] are the owners of min number of dwellings
[{'concept': 'Q699405'}, 'P127', 'Q219501']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?g ) { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:P127 ?v . ?v rdf:type ontology:Q1269299 . ?r rdf:type ontology:Q699405 } GROUP BY ?v } } . { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?d ) WHERE { ?w rdf:type ontology:Q1269299 . ?x rdf:type ontology:Q699405 . ?x property:P127 ?w } GROUP BY ?w } . FILTER ( ?d = ?g ) }
OTP Bank Nokia Flybe Alphabet Inc. Sodexo Axel Springer SE CA Immo RATP Kawasaki Heavy Industries Yakult Expedia, Inc. Sumitomo Metal Mining Aviva British Airways Atomflot TPG Telecom Major Cineplex BCE Inc. Fairfield Shipbuilding and Engineering Company Bank of America BPER Banca Lifetime Entertainment Services Trinity Mirror Wärtsilä Cascade Investment Amplifon Allianz SE MakerBot Industries Eutelsat BlackRock Norfolk Southern Railway Microsoft A.G. Barr State Corporation for Assistance to Development, Production and Export of Advanced Technology Industrial Product «Rostec» FirstGroup Makita Sponda Bombardier Inc. Astrium Galenica Citycon East Asiatic Company Mitsubishi Estate United Aircraft Corporation Lucasfilm American Airlines Group AvtoVAZ Réseau Ferré de France Capital & Counties Properties RWE npower Aon plc Sberbank of Russia Carrefour Group Atari, SA Investor AB 3i ALROSA Ferrovie Nord Milano Bibliographic Agency for Higher Education Tallink MetLife Rolls-Royce Sun Microsystems British American Tobacco Adobe Systems Oslo Børs Holding Halliburton Premier Foods Aeroflot All-Russia State Television and Radio Broadcasting Company United Technologies Corporation Sina Corp OL Groupe Kulmbacher Brewery MasterCard American Express GS Holdings PetroChina Seven & I Holdings Co. Banca Popolare di Lodi HSBC Holdings US Airways Group Scientific Games Corporation Panasonic Sporveien Oslo Phoenix Pharmahandel Time Warner IBM Michelin Casio Bandai Namco Holdings Groupe Latécoère Tata Motors BAE Systems Emmi AG Altice Sanoma Fortress Investment Group Netflix Icahn Enterprises Legal & General Ametek Share plc Steinhoff International Lukoil AMC Networks Swiss Prime Site Comcast Tesla Motors Kraft Foods Virgin Group Gesellschaft mit beschränkter Haftung Russian Television and Radio Broadcasting Network Sveaskog Pfizer Bloomberg L.P. Koei Tecmo Holdings SunEdison News Corporation Rossiya Bank Scripps Networks Interactive Altria Carlsberg Group Lagardère Group InBev Babcock International Pennsylvania Real Estate Investment Trust Simba-Dickie-Group Qualcomm Square Enix Skandinaviska Enskilda Banken OJSC VimpelCom The Walt Disney Company Guardian Media Group Sky plc Toei Company Oracle Corporation JX Holdings Mail.ru Rosoboronexport MGM Resorts International Arsenal Holdings plc InterContinental Hotels Group Foxconn Finnlines Lutheran Evangelical Association of Finland STV Group Telstra Agence Nationale de la Recherche Coles & Haynes Texas Instruments Saab Group
Kraft Foods, Microsoft and British Airways are the owners of min number of dwellings
Kraft Foods Microsoft British Airways
action argmin
action find_reverse_tuple_counts
relation owned by
type type of business entity
type dwelling
[{'concept': 'dwelling'}, 'owned by', 'Saab Group']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?g ) { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:owned_by ?v . ?v rdf:type ontology:type_of_business_entity . ?r rdf:type ontology:dwelling } GROUP BY ?v } } . { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?d ) WHERE { ?w rdf:type ontology:type_of_business_entity . ?x rdf:type ontology:dwelling . ?x property:owned_by ?w } GROUP BY ?w } . FILTER ( ?d = ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q14009165
P180
Q12737077 Q3516658 Q386724
USER
Which occupations are depicted in more number of heraldic symbols and works than trapper ?
(c(Q3516658)|c(Q386724),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q14009165
relation P180
type Q3516658
type Q386724
[[{'concept': 'Q3516658'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { ?x property:P180 resource:Q14009165 . { VALUES ( ?q ) { ( ontology:Q3516658 ) ( ontology:Q386724 ) } . ?x rdf:type ?q } } } . FILTER ( ?i > ?b ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?v WHERE { ?u rdf:type ?k . VALUES ( ?k ) { ( ontology:Q3516658 ) ( ontology:Q386724 ) } } GROUP BY ?v } }
trapper
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity trapper
relation depicts
type heraldic symbol
type work
[[{'concept': 'heraldic symbol'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { ?x property:depicts resource:trapper . { VALUES ( ?q ) { ( ontology:heraldic_symbol ) ( ontology:work ) } . ?x rdf:type ?q } } } . FILTER ( ?i > ?b ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?v WHERE { ?u rdf:type ?k . VALUES ( ?k ) { ( ontology:heraldic_symbol ) ( ontology:work ) } } GROUP BY ?v } }
[]
occupation heraldic symbol work
Q1250916 Q54128 Q2730732
SYSTEM
warrior, domestic worker, equestrian
Q1250916 Q54128 Q2730732 Q42603
(c(Q3516658)|c(Q386724),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q14009165
relation P180
type Q3516658
type Q386724
[ANSWERS] are depicted in more number of heraldic symbols and works than trapper
[[{'concept': 'Q3516658'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { ?x property:P180 resource:Q14009165 . { VALUES ( ?q ) { ( ontology:Q3516658 ) ( ontology:Q386724 ) } . ?x rdf:type ?q } } } . FILTER ( ?i > ?b ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?v WHERE { ?u rdf:type ?k . VALUES ( ?k ) { ( ontology:Q3516658 ) ( ontology:Q386724 ) } } GROUP BY ?v } }
warrior domestic worker equestrian priest
Warrior, domestic worker and equestrian are depicted in more number of heraldic symbols and works than trapper
warrior domestic worker equestrian
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity trapper
relation depicts
type heraldic symbol
type work
[[{'concept': 'heraldic symbol'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { ?x property:depicts resource:trapper . { VALUES ( ?q ) { ( ontology:heraldic_symbol ) ( ontology:work ) } . ?x rdf:type ?q } } } . FILTER ( ?i > ?b ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?v WHERE { ?u rdf:type ?k . VALUES ( ?k ) { ( ontology:heraldic_symbol ) ( ontology:work ) } } GROUP BY ?v } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q849424
P180
Q12737077 Q3516658 Q386724
USER
And what about sea captain?
(c(Q3516658)|c(Q386724),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q849424
relation P180
type Q3516658
type Q386724
[[{'concept': 'Q3516658'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:P180 resource:Q849424 . { { ?f rdf:type ontology:Q3516658 } UNION { ?f rdf:type ontology:Q386724 } } } } . FILTER ( ?t > ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?v WHERE { { ?v rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q3516658 . ?p property:P180 ?v } UNION { ?p property:P180 ?v . ?p rdf:type ontology:Q386724 . ?v rdf:type ontology:Q12737077 } } GROUP BY ?v } }
sea captain
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity sea captain
relation depicts
type heraldic symbol
type work
[[{'concept': 'heraldic symbol'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:depicts resource:sea_captain . { { ?f rdf:type ontology:heraldic_symbol } UNION { ?f rdf:type ontology:work } } } } . FILTER ( ?t > ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?v WHERE { { ?v rdf:type ontology:occupation . ?p rdf:type ontology:heraldic_symbol . ?p property:depicts ?v } UNION { ?p property:depicts ?v . ?p rdf:type ontology:work . ?v rdf:type ontology:occupation } } GROUP BY ?v } }
[]
occupation heraldic symbol work
Q1250916 Q54128 Q2730732
SYSTEM
warrior, domestic worker, equestrian
Q1250916 Q54128 Q2730732 Q42603
(c(Q3516658)|c(Q386724),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q849424
relation P180
type Q3516658
type Q386724
[ANSWERS]
[[{'concept': 'Q3516658'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:P180 resource:Q849424 . { { ?f rdf:type ontology:Q3516658 } UNION { ?f rdf:type ontology:Q386724 } } } } . FILTER ( ?t > ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?v WHERE { { ?v rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q3516658 . ?p property:P180 ?v } UNION { ?p property:P180 ?v . ?p rdf:type ontology:Q386724 . ?v rdf:type ontology:Q12737077 } } GROUP BY ?v } }
warrior domestic worker equestrian priest
warrior domestic worker equestrian
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity sea captain
relation depicts
type heraldic symbol
type work
[[{'concept': 'heraldic symbol'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:depicts resource:sea_captain . { { ?f rdf:type ontology:heraldic_symbol } UNION { ?f rdf:type ontology:work } } } } . FILTER ( ?t > ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?v WHERE { { ?v rdf:type ontology:occupation . ?p rdf:type ontology:heraldic_symbol . ?p property:depicts ?v } UNION { ?p property:depicts ?v . ?p rdf:type ontology:work . ?v rdf:type ontology:occupation } } GROUP BY ?v } }
[]