Simple Question (Direct)
Simple Question
Q2946177
P106
Q12737077
USER
Which occupations have Bart van Hove as his/her 's career ?
(Q2946177,P106,c(Q12737077))
action filter_type
action find
entity Q2946177
relation P106
type Q12737077
['Q2946177', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q2946177 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Bart van Hove
action filter_type
action find
entity Bart van Hove
relation occupation
type occupation
['Bart van Hove', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Bart_van_Hove property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q1622272 Q1281618
SYSTEM
university teacher, sculptor
Q1622272 Q1281618
(Q2946177,P106,c(Q12737077))
action filter_type
action find
entity Q2946177
relation P106
type Q12737077
The [ANSWERS] have Bart van Hove as his/her 's career
['Q2946177', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q2946177 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
university teacher sculptor
The university teacher and sculptor have Bart van Hove as his/her 's career
university teacher sculptor
action filter_type
action find
entity Bart van Hove
relation occupation
type occupation
['Bart van Hove', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Bart_van_Hove property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2946177
P802
Q502895
USER
Who were the teachers of that one ?
(Q1622272,P802,c(Q502895)) (Q1281618,P802,c(Q502895))
action filter_type
action find
entity Q2946177
relation P802
type Q502895
['Q1622272', 'P802', {'concept': 'Q502895'}] ['Q1281618', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q2946177 property:P802 ?m . ?m rdf:type ontology:Q502895 }
Bart van Hove
action filter_type
action find
entity Bart van Hove
relation student
type common name
['university teacher', 'student', {'concept': 'common name'}] ['sculptor', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Bart_van_Hove property:student ?m . ?m rdf:type ontology:common_name }
[]
common name
Q15713518 Q2556545
SYSTEM
Jo Schreve-IJzerman, Georgine Schwartze
Q15713518 Q2556545
(Q1622272,P802,c(Q502895)) (Q1281618,P802,c(Q502895))
action filter_type
action find
entity Q2946177
relation P802
type Q502895
The teachers of that one were the [ANSWERS]
['Q1622272', 'P802', {'concept': 'Q502895'}] ['Q1281618', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q2946177 property:P802 ?m . ?m rdf:type ontology:Q502895 }
Jo Schreve-IJzerman Georgine Schwartze
The teachers of that one were the Jo Schreve-IJzerman and Georgine Schwartze
Jo Schreve-IJzerman Georgine Schwartze
action filter_type
action find
entity Bart van Hove
relation student
type common name
['university teacher', 'student', {'concept': 'common name'}] ['sculptor', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Bart_van_Hove property:student ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q15713518 Q2556545
P19
Q56061
USER
Which administrative territories are the birthplace of Jo Schreve-IJzerman and Georgine Schwartze ?
(Q15713518,P19,c(Q56061)) (Q2556545,P19,c(Q56061))
action union
action filter_type
action find
entity Q15713518
relation P19
type Q56061
action filter_type
action find
entity Q2556545
relation P19
type Q56061
['Q15713518', 'P19', {'concept': 'Q56061'}] ['Q2556545', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?y property:P19 ?i . VALUES ( ?y ) { ( resource:Q15713518 ) ( resource:Q2556545 ) } }
Jo Schreve-IJzerman Georgine Schwartze
action union
action filter_type
action find
entity Jo Schreve-IJzerman
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Georgine Schwartze
relation place of birth
type administrative territorial entity
['Jo Schreve-IJzerman', 'place of birth', {'concept': 'administrative territorial entity'}] ['Georgine Schwartze', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?y property:place_of_birth ?i . VALUES ( ?y ) { ( resource:Jo_Schreve-IJzerman ) ( resource:Georgine_Schwartze ) } }
[]
administrative territorial entity
Q518691 Q727
SYSTEM
Numansdorp, Amsterdam
Q518691 Q727
(Q15713518,P19,c(Q56061)) (Q2556545,P19,c(Q56061))
action union
action filter_type
action find
entity Q15713518
relation P19
type Q56061
action filter_type
action find
entity Q2556545
relation P19
type Q56061
[ANSWERS] are the birthplace of Jo Schreve-IJzerman and Georgine Schwartze
['Q15713518', 'P19', {'concept': 'Q56061'}] ['Q2556545', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?y property:P19 ?i . VALUES ( ?y ) { ( resource:Q15713518 ) ( resource:Q2556545 ) } }
Numansdorp Amsterdam
Numansdorp and Amsterdam are the birthplace of Jo Schreve-IJzerman and Georgine Schwartze
Numansdorp Amsterdam
action union
action filter_type
action find
entity Jo Schreve-IJzerman
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Georgine Schwartze
relation place of birth
type administrative territorial entity
['Jo Schreve-IJzerman', 'place of birth', {'concept': 'administrative territorial entity'}] ['Georgine Schwartze', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?y property:place_of_birth ?i . VALUES ( ?y ) { ( resource:Jo_Schreve-IJzerman ) ( resource:Georgine_Schwartze ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q518691 Q727
P1383
Q13220204
USER
Which administrative country subdivisions contain Numansdorp and Amsterdam ?
(c(Q13220204),P1383,Q518691) (c(Q13220204),P1383,Q727)
action union
action filter_type
action find_reverse
entity Q518691
relation P1383
type Q13220204
action filter_type
action find_reverse
entity Q727
relation P1383
type Q13220204
[{'concept': 'Q13220204'}, 'P1383', 'Q518691'] [{'concept': 'Q13220204'}, 'P1383', 'Q727']
SELECT DISTINCT ?h WHERE { { ?h property:P1383 resource:Q518691 . ?h rdf:type ontology:Q13220204 } UNION { ?h property:P1383 resource:Q727 . ?h rdf:type ontology:Q13220204 } }
Numansdorp Amsterdam
action union
action filter_type
action find_reverse
entity Numansdorp
relation contains settlement
type second-level administrative country subdivision
action filter_type
action find_reverse
entity Amsterdam
relation contains settlement
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'contains settlement', 'Numansdorp'] [{'concept': 'second-level administrative country subdivision'}, 'contains settlement', 'Amsterdam']
SELECT DISTINCT ?h WHERE { { ?h property:contains_settlement resource:Numansdorp . ?h rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?h property:contains_settlement resource:Amsterdam . ?h rdf:type ontology:second-level_administrative_country_subdivision } }
[]
second-level administrative country subdivision
Q290475 Q9899
SYSTEM
Cromstrijen, Amsterdam
Q290475 Q9899
(c(Q13220204),P1383,Q518691) (c(Q13220204),P1383,Q727)
action union
action filter_type
action find_reverse
entity Q518691
relation P1383
type Q13220204
action filter_type
action find_reverse
entity Q727
relation P1383
type Q13220204
[ANSWERS] contain Numansdorp and Amsterdam
[{'concept': 'Q13220204'}, 'P1383', 'Q518691'] [{'concept': 'Q13220204'}, 'P1383', 'Q727']
SELECT DISTINCT ?h WHERE { { ?h property:P1383 resource:Q518691 . ?h rdf:type ontology:Q13220204 } UNION { ?h property:P1383 resource:Q727 . ?h rdf:type ontology:Q13220204 } }
Cromstrijen Amsterdam
Cromstrijen and Amsterdam contain Numansdorp and Amsterdam
Cromstrijen Amsterdam
action union
action filter_type
action find_reverse
entity Numansdorp
relation contains settlement
type second-level administrative country subdivision
action filter_type
action find_reverse
entity Amsterdam
relation contains settlement
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'contains settlement', 'Numansdorp'] [{'concept': 'second-level administrative country subdivision'}, 'contains settlement', 'Amsterdam']
SELECT DISTINCT ?h WHERE { { ?h property:contains_settlement resource:Numansdorp . ?h rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?h property:contains_settlement resource:Amsterdam . ?h rdf:type ontology:second-level_administrative_country_subdivision } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q518691
P276
Q34442
USER
Which roads are located at that administrative territory ?
(c(Q34442),P276,Q518691)
action filter_type
action find_reverse
entity Q518691
relation P276
type Q34442
[{'concept': 'Q34442'}, 'P276', 'Q518691']
SELECT DISTINCT ?x WHERE { ?x property:P276 resource:Q518691 . ?x rdf:type ontology:Q34442 }
Numansdorp
action filter_type
action find_reverse
entity Numansdorp
relation location
type road
[{'concept': 'road'}, 'location', 'Numansdorp']
SELECT DISTINCT ?x WHERE { ?x property:location resource:Numansdorp . ?x rdf:type ontology:road }
[]
road
Clarification for simple ques.
Q518691
SYSTEM
Did you mean Numansdorp ?
Q290475 Q9899
(c(Q34442),P276,Q290475) (c(Q34442),P276,Q9899)
[ANSWER]
[{'concept': 'Q34442'}, 'P276', 'Q290475'] [{'concept': 'Q34442'}, 'P276', 'Q9899']
SELECT DISTINCT ?x WHERE { ?x property:P276 resource:Q518691 . ?x rdf:type ontology:Q34442 }
Cromstrijen Amsterdam
Did you mean Numansdorp ?
Numansdorp
[{'concept': 'road'}, 'location', 'Cromstrijen'] [{'concept': 'road'}, 'location', 'Amsterdam']
SELECT DISTINCT ?x WHERE { ?x property:location resource:Numansdorp . ?x rdf:type ontology:road }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q34442),P276,Q518691)
[{'concept': 'Q34442'}, 'P276', 'Q518691']
[{'concept': 'road'}, 'location', 'Numansdorp']
[]
Q19656042 Q19633050 Q19243057
SYSTEM
Wilhelminastraat, Verdistraat, Händelstraat
Q19656042 Q19636555 Q18961169 Q19243057 Q19319297 Q18946107 Q19511702 Q19347810 Q18981160 Q19633050 Q19569222 Q18983572 Q19464035 Q18951349 Q19394869 Q19426755 Q18933432 Q19428193 Q19394860 Q18939019 Q18950051 Q19561682 Q18979508 Q19341928 Q19463854 Q18955660 Q19617744 Q18979569 Q19468638 Q19352491 Q19307230 Q19479604 Q19292329 Q19573813 Q19271268 Q19512877 Q19512876 Q19512875 Q19207089 Q19637712 Q19619616 Q18966779 Q19514268 Q19343503 Q19628192 Q19319272 Q19296380 Q19468388 Q19334811 Q19351085 Q18959586 Q19561651 Q19305025 Q19254308 Q18927946 Q19201697 Q19476561 Q19383731 Q19115935 Q19651450 Q19018288 Q18941555 Q19342407 Q19270569 Q19276052 Q19468157 Q19512643 Q19152350 Q18977474 Q19131577 Q19272993 Q19306184 Q19564029 Q18942425 Q19649512 Q19224258 Q19617378 Q19406615 Q19637908 Q19015858 Q19510871 Q19316318 Q18948789 Q19206725 Q19635816 Q19450933 Q19158431 Q19355595 Q19619169 Q19312296 Q19353976 Q19340658 Q18977548 Q19345637 Q19574975 Q18954195 Q18954457 Q19316125 Q19202336 Q19327383 Q19323775 Q19569299 Q19058956 Q19409408 Q19335294 Q19532524 Q19195163 Q18960495 Q19197271 Q18966106 Q19322899 Q19264486 Q18979891 Q18956406 Q19408707 Q19117604 Q19241615 Q19430164 Q19014152 Q19482834 Q19254451 Q19343946 Q19115479 Q19353064 Q19405850 Q19205869 Q19117887 Q19643011 Q19397178 Q19341196 Q19282780 Q19120008 Q19423396 Q19142731 Q19639904 Q19307881 Q19123556 Q19345550 Q19345551 Q19617360 Q19252391 Q19301271 Q18943711 Q19621097 Q18946434
(c(Q34442),P276,Q518691)
action filter_type
action find_reverse
entity Q518691
relation P276
type Q34442
[ANSWERS] are located at that administrative territory
[{'concept': 'Q34442'}, 'P276', 'Q518691']
SELECT DISTINCT ?x WHERE { ?x property:P276 resource:Q518691 . ?x rdf:type ontology:Q34442 }
Wilhelminastraat Vlielanderstraat Zweedse Wijk Händelstraat Lange Boomweg Beneden Molendijk Schoolweg Molendijk Buttervliet Verdistraat Torensteepoldersekade Cornelis de Wittstraat Reigerplaats Beukenlaan Oost Middelweg Plevierplaats Ambachtsheerenlaan Poortvlietstraat Oost Biesakkersweg Azaleastraat Bernhardstraat Sweertssingel Chopinstraat Meestooflaan Rehobothplein Bizetstraat Van Beethovenstraat Chr. Huygensstraat Rijksweg A29 Nachtegaalstraat Koninginneweg Roodborst Kastanjestraat Tuindorp Irenestraat Schuringsedijk Schuringse Havenkade WZ Schuringse Havenkade OZ Groeneweg Volgerlandseweg Van der Goessingel Brandgansstraat Seringenstraat Mendelssohnstraat Veerweg Lange Biesakkersweg Kerkstraat Rijksstraatweg Marconistraat Mozartstraat Zwaluwplaats Sweelinckstraat Knottenbeltlaan Hoekstraat Aart Reedijkweg Goudenregenstraat Roerdompsingel Numansgors Einsteinstraat Weth. Van der Veldenweg Dirk Kluifhoofdstraat Bachstraat Meidoornstraat Industriestraat James Wattstraat Rietzangerstraat Schubertstraat Flohilstraat Burg de Zeeuwstraat Gerard Numanstraat J. van der Heydenstraat Kolgansplaats Tapuit Beatrixstraat West Biesakkersweg Gruttostraat Van Beaumontstraat Pascalstraat Voltastraat Derde Dwarsweg Scholeksterstraat Kwikstaart Berkenlaan Groene Kruisweg Vivaldistraat Putter Fortlaan Nieuweweg Van Cromstrijensingel Korte Boomweg Newtonstraat Maximiliaanstraat Burg Henrylaan Middelweg Tweede Dwarsweg Zijlstraweg Zijplaan Kwartelstraat Goudvink Lijsterstraat Leeuwerikstraat Torenstraat Edisonstraat Pauwstraat Margrietstraat Spechtstraat Havenkade Zwanenoord Havenstraat Brahmsstraat Lavendelstraat Jasmijnstraat Christinastraat Blankenheymstraat Patrijslaan Emmastraat Hallinxweg Prins Clausstraat Dorpshaven Rozenlaan Hoenderhof Merelerf Eikenlaan Nassaustraat Parallelweg Griegstraat Energieweg Vrijthofflaan Oranjestraat Meerkoetplaats Julianastraat Esdoornstraat Plataanstraat Fazantstraat Voorstraat Koolmeespad Generaal Stafsingel Middelsluissedijk OZ Middelsluissedijk WZ Van Barrylaan Heulbrug Kievitstraat Bartholomeus Boschsingel Van Hogendorpstraat Winterkoning
Wilhelminastraat, Verdistraat and Händelstraat are located at that administrative territory
Wilhelminastraat Verdistraat Händelstraat
action filter_type
action find_reverse
entity Numansdorp
relation location
type road
[{'concept': 'road'}, 'location', 'Numansdorp']
SELECT DISTINCT ?x WHERE { ?x property:location resource:Numansdorp . ?x rdf:type ontology:road }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P669
Q34442 Q2668072
USER
How many collections are located on exactly 3 roads ?
(c(Q2668072),P669,c(Q34442))
action count
action equal
action find_tuple_counts
relation P669
type Q2668072
type Q34442
value 3
[{'concept': 'Q2668072'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?d ) WHERE { ?m rdf:type ontology:Q2668072 . ?y rdf:type ontology:Q34442 . ?m property:P669 ?y } GROUP BY ?m } . FILTER ( ?d = 3 ) }
action count
action equal
action find_tuple_counts
relation located on street
type collection
type road
value 3
[{'concept': 'collection'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?d ) WHERE { ?m rdf:type ontology:collection . ?y rdf:type ontology:road . ?m property:located_on_street ?y } GROUP BY ?m } . FILTER ( ?d = 3 ) }
[]
road collection
SYSTEM
3
Q193563 Q1229917 Q1457391
(c(Q2668072),P669,c(Q34442))
action count
action equal
action find_tuple_counts
relation P669
type Q2668072
type Q34442
value 3
[ANSWER]
[{'concept': 'Q2668072'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?d ) WHERE { ?m rdf:type ontology:Q2668072 . ?y rdf:type ontology:Q34442 . ?m property:P669 ?y } GROUP BY ?m } . FILTER ( ?d = 3 ) }
Bibliothèque nationale de France Palais de la Légion d'Honneur Galerie de paléontologie et d'anatomie comparée
3
action count
action equal
action find_tuple_counts
relation located on street
type collection
type road
value 3
[{'concept': 'collection'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?d ) WHERE { ?m rdf:type ontology:collection . ?y rdf:type ontology:road . ?m property:located_on_street ?y } GROUP BY ?m } . FILTER ( ?d = 3 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q67278
P190
Q15617994 Q13220204 Q13220204
USER
How many administrative country subdivisions are twin town of more number of administrative territories or administrative country subdivisions than Mühleberg ?
(c(Q13220204),P190,c(Q15617994)|c(Q13220204))
action count
action greater
action union
action find_tuple_counts
relation P190
type Q13220204
type Q15617994
action find_tuple_counts
relation P190
type Q13220204
type Q13220204
action count
action filter_multi_types
action find
entity Q67278
relation P190
type Q15617994
type Q13220204
[{'concept': 'Q13220204'}, 'P190', [{'concept': 'Q15617994'}, {'concept': 'Q13220204'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) ?f WHERE { { ?f rdf:type ontology:Q13220204 . ?d rdf:type ontology:Q15617994 . ?f property:P190 ?d } UNION { ?f property:P190 ?d . ?f rdf:type ontology:Q13220204 . ?d rdf:type ontology:Q13220204 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Q67278 property:P190 ?z . { VALUES ( ?m ) { ( ontology:Q13220204 ) ( ontology:Q15617994 ) } . ?z rdf:type ?m } } } . FILTER ( ?v > ?q ) }
Mühleberg
action count
action greater
action union
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type designation for an administrative territorial entity
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type second-level administrative country subdivision
action count
action filter_multi_types
action find
entity Mühleberg
relation sister city
type designation for an administrative territorial entity
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'sister city', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) ?f WHERE { { ?f rdf:type ontology:second-level_administrative_country_subdivision . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:sister_city ?d } UNION { ?f property:sister_city ?d . ?f rdf:type ontology:second-level_administrative_country_subdivision . ?d rdf:type ontology:second-level_administrative_country_subdivision } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Mühleberg property:sister_city ?z . { VALUES ( ?m ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?z rdf:type ?m } } } . FILTER ( ?v > ?q ) }
[]
designation for an administrative territorial entity second-level administrative country subdivision second-level administrative country subdivision
SYSTEM
27
Q68129 Q69726 Q731915 Q9772 Q9777 Q68311 Q1663 Q64156 Q189419 Q66473 Q68956 Q917313 Q9899 Q68762 Q1647 Q179948 Q15582 Q156724 Q68297 Q2933 Q68471 Q156739 Q1722 Q322986 Q64070 Q189161 Q3549
(c(Q13220204),P190,c(Q15617994)|c(Q13220204))
action count
action greater
action union
action find_tuple_counts
relation P190
type Q13220204
type Q15617994
action find_tuple_counts
relation P190
type Q13220204
type Q13220204
action count
action filter_multi_types
action find
entity Q67278
relation P190
type Q15617994
type Q13220204
[ANSWER]
[{'concept': 'Q13220204'}, 'P190', [{'concept': 'Q15617994'}, {'concept': 'Q13220204'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) ?f WHERE { { ?f rdf:type ontology:Q13220204 . ?d rdf:type ontology:Q15617994 . ?f property:P190 ?d } UNION { ?f property:P190 ?d . ?f rdf:type ontology:Q13220204 . ?d rdf:type ontology:Q13220204 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Q67278 property:P190 ?z . { VALUES ( ?m ) { ( ontology:Q13220204 ) ( ontology:Q15617994 ) } . ?z rdf:type ?m } } } . FILTER ( ?v > ?q ) }
Olten Langenthal Ogre Meerssen Venlo Burgdorf Split Arbon Zemun Lengnau Martigny Vila do Conde Amsterdam Mont-sur-Rolle Rijeka Évora Brig Kremenchuk Sierre Asunción Binn Rivne Dubrovnik Delfzijl Dietikon Trogir Šibenik
27
action count
action greater
action union
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type designation for an administrative territorial entity
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type second-level administrative country subdivision
action count
action filter_multi_types
action find
entity Mühleberg
relation sister city
type designation for an administrative territorial entity
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'sister city', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) ?f WHERE { { ?f rdf:type ontology:second-level_administrative_country_subdivision . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:sister_city ?d } UNION { ?f property:sister_city ?d . ?f rdf:type ontology:second-level_administrative_country_subdivision . ?d rdf:type ontology:second-level_administrative_country_subdivision } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Mühleberg property:sister_city ?z . { VALUES ( ?m ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?z rdf:type ?m } } } . FILTER ( ?v > ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q66617
P190
Q15617994 Q13220204 Q13220204
USER
And also tell me about Frick?
(c(Q13220204),P190,c(Q15617994)|c(Q13220204))
action count
action greater
action union
action find_tuple_counts
relation P190
type Q13220204
type Q15617994
action find_tuple_counts
relation P190
type Q13220204
type Q13220204
action count
action filter_multi_types
action find
entity Q66617
relation P190
type Q15617994
type Q13220204
[{'concept': 'Q13220204'}, 'P190', [{'concept': 'Q15617994'}, {'concept': 'Q13220204'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?e ) WHERE { ?h rdf:type ?p . VALUES ( ?p ) { ( ontology:Q15617994 ) ( ontology:Q13220204 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { resource:Q66617 property:P190 ?t . { { ?t rdf:type ontology:Q15617994 } UNION { ?t rdf:type ontology:Q13220204 } } } } . FILTER ( ?e > ?z ) }
Frick
action count
action greater
action union
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type designation for an administrative territorial entity
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type second-level administrative country subdivision
action count
action filter_multi_types
action find
entity Frick
relation sister city
type designation for an administrative territorial entity
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'sister city', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?e ) WHERE { ?h rdf:type ?p . VALUES ( ?p ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { resource:Frick property:sister_city ?t . { { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?t rdf:type ontology:second-level_administrative_country_subdivision } } } } . FILTER ( ?e > ?z ) }
[]
designation for an administrative territorial entity second-level administrative country subdivision second-level administrative country subdivision
SYSTEM
27
Q68129 Q69726 Q731915 Q9772 Q9777 Q68311 Q1663 Q64156 Q189419 Q66473 Q68956 Q917313 Q9899 Q68762 Q1647 Q179948 Q15582 Q156724 Q68297 Q2933 Q68471 Q156739 Q1722 Q322986 Q64070 Q189161 Q3549
(c(Q13220204),P190,c(Q15617994)|c(Q13220204))
action count
action greater
action union
action find_tuple_counts
relation P190
type Q13220204
type Q15617994
action find_tuple_counts
relation P190
type Q13220204
type Q13220204
action count
action filter_multi_types
action find
entity Q66617
relation P190
type Q15617994
type Q13220204
[ANSWER]
[{'concept': 'Q13220204'}, 'P190', [{'concept': 'Q15617994'}, {'concept': 'Q13220204'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?e ) WHERE { ?h rdf:type ?p . VALUES ( ?p ) { ( ontology:Q15617994 ) ( ontology:Q13220204 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { resource:Q66617 property:P190 ?t . { { ?t rdf:type ontology:Q15617994 } UNION { ?t rdf:type ontology:Q13220204 } } } } . FILTER ( ?e > ?z ) }
Olten Langenthal Ogre Meerssen Venlo Burgdorf Split Arbon Zemun Lengnau Martigny Vila do Conde Amsterdam Mont-sur-Rolle Rijeka Évora Brig Kremenchuk Sierre Asunción Binn Rivne Dubrovnik Delfzijl Dietikon Trogir Šibenik
27
action count
action greater
action union
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type designation for an administrative territorial entity
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type second-level administrative country subdivision
action count
action filter_multi_types
action find
entity Frick
relation sister city
type designation for an administrative territorial entity
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'sister city', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?e ) WHERE { ?h rdf:type ?p . VALUES ( ?p ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { resource:Frick property:sister_city ?t . { { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?t rdf:type ontology:second-level_administrative_country_subdivision } } } } . FILTER ( ?e > ?z ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P190
Q13220204 Q515 Q15617994
USER
How many administrative country subdivisions are the sister cities of around 2 cities or administrative territories ?
(c(Q515)|c(Q15617994),P190,c(Q13220204))
action count
action approx
action union
action find_reverse_tuple_counts
relation P190
type Q13220204
type Q515
action find_reverse_tuple_counts
relation P190
type Q13220204
type Q15617994
value 2
[[{'concept': 'Q515'}, {'concept': 'Q15617994'}], 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?k ) WHERE { ?w rdf:type ?h . VALUES ( ?h ) { ( ontology:Q515 ) ( ontology:Q15617994 ) } } GROUP BY ?o } . FILTER ( ?k = 2 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation sister city
type second-level administrative country subdivision
type city
action find_reverse_tuple_counts
relation sister city
type second-level administrative country subdivision
type designation for an administrative territorial entity
value 2
[[{'concept': 'city'}, {'concept': 'designation for an administrative territorial entity'}], 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?k ) WHERE { ?w rdf:type ?h . VALUES ( ?h ) { ( ontology:city ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?o } . FILTER ( ?k = 2 ) }
[]
second-level administrative country subdivision city designation for an administrative territorial entity
SYSTEM
23
Q3370 Q197050 Q192119 Q68261 Q9777 Q27494 Q48278 Q564813 Q189419 Q66473 Q1647 Q64051 Q156724 Q101918 Q68297 Q2933 Q146456 Q62823 Q579984 Q3549 Q972 Q851399 Q68305
(c(Q515)|c(Q15617994),P190,c(Q13220204))
action count
action approx
action union
action find_reverse_tuple_counts
relation P190
type Q13220204
type Q515
action find_reverse_tuple_counts
relation P190
type Q13220204
type Q15617994
value 2
[ANSWER]
[[{'concept': 'Q515'}, {'concept': 'Q15617994'}], 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?k ) WHERE { ?w rdf:type ?h . VALUES ( ?h ) { ( ontology:Q515 ) ( ontology:Q15617994 ) } } GROUP BY ?o } . FILTER ( ?k = 2 ) }
Zadar Zevenaar Sisak Meilen Venlo Zermatt Antioquia - Medellín Santa Maria da Feira Municipality Zemun Lengnau Rijeka Monthey Kremenchuk Apeldoorn Sierre Asunción Mukacheve Barranquilla Temerin Šibenik Alkmaar Strenči Wetzikon
23
action count
action approx
action union
action find_reverse_tuple_counts
relation sister city
type second-level administrative country subdivision
type city
action find_reverse_tuple_counts
relation sister city
type second-level administrative country subdivision
type designation for an administrative territorial entity
value 2
[[{'concept': 'city'}, {'concept': 'designation for an administrative territorial entity'}], 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?k ) WHERE { ?w rdf:type ?h . VALUES ( ?h ) { ( ontology:city ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?o } . FILTER ( ?k = 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P669
Q34442 Q33506
USER
Which museums are located on atmost 2 roads ?
(c(Q33506),P669,c(Q34442))
action atmost
action find_tuple_counts
relation P669
type Q33506
type Q34442
value 2
[{'concept': 'Q33506'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?g <= 2 ) . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?g ) WHERE { ?o property:P669 ?j . ?o rdf:type ontology:Q33506 . ?j rdf:type ontology:Q34442 } GROUP BY ?o } }
action atmost
action find_tuple_counts
relation located on street
type museum
type road
value 2
[{'concept': 'museum'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?g <= 2 ) . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?g ) WHERE { ?o property:located_on_street ?j . ?o rdf:type ontology:museum . ?j rdf:type ontology:road } GROUP BY ?o } }
[]
road museum
Q188740 Q19675 Q21620295
SYSTEM
Museum of Modern Art, Louvre, Royal Museum of Physics and Natural History of Florence
Q15410305 Q10685159 Q7382027 Q339484 Q176251 Q860994 Q3277928 Q759169 Q1640397 Q638236 Q1156823 Q1579504 Q11681997 Q559460 Q4872 Q82941 Q4146877 Q1395176 Q27631087 Q726781 Q1633842 Q743206 Q1165526 Q160236 Q682827 Q428765 Q188740 Q640447 Q221092 Q201469 Q12130550 Q132783 Q2426916 Q1948006 Q1331646 Q2982867 Q1783956 Q7440409 Q571421 Q309388 Q4306373 Q1051293 Q2999991 Q4331480 Q233098 Q19675 Q153306 Q21620295 Q1647895 Q814533 Q1327886
(c(Q33506),P669,c(Q34442))
action atmost
action find_tuple_counts
relation P669
type Q33506
type Q34442
value 2
[ANSWERS] are located on atmost 2 roads
[{'concept': 'Q33506'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?g <= 2 ) . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?g ) WHERE { ?o property:P669 ?j . ?o rdf:type ontology:Q33506 . ?j rdf:type ontology:Q34442 } GROUP BY ?o } }
Derzhavin Palace Swedish Panoptikon Pushkin House Franklin Institute Thyssen-Bornemisza Museum Guimet Museum musée de l'École de Nancy Museum Boerhaave Liljevalchs konsthall Centre Le Corbusier New Museum musée d'Ennery Fundación Picasso Huis Doorn Pushkin Museum of Fine Arts São Paulo Museum of Art State Alexander Pushkin Museum in Moscow Royal Museum of the Armed Forces and of Military History Grand Encampment Museum musée de l'Orangerie National Museum of Scotland musée Picasso Musée Jacquemart-André Metropolitan Museum of Art Frick Collection Museum of Fine Arts of Nancy Museum of Modern Art Carnavalet Museum Mauritshuis Solomon R. Guggenheim Museum Odessa Museum of Western and Eastern Art Hermitage Museum Muiderslot Bronbeek Museum of Mediterranean and Near Eastern Antiquities Hirschsprung Collection Museum of Fine Arts of Nantes Seaforth Armoury Kunsthaus Tacheles Natural History Museum Museum of Private Collections Shanghai Museum Dahesh Museum of Art Odessa Art Museum Museum für Naturkunde Berlin Louvre National Museum in Warsaw Royal Museum of Physics and Natural History of Florence Maritime Museum Behnhaus musée Marmottan Monet
Museum of Modern Art, Louvre and Royal Museum of Physics and Natural History of Florence are located on atmost 2 roads
Museum of Modern Art Louvre Royal Museum of Physics and Natural History of Florence
action atmost
action find_tuple_counts
relation located on street
type museum
type road
value 2
[{'concept': 'museum'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?g <= 2 ) . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?g ) WHERE { ?o property:located_on_street ?j . ?o rdf:type ontology:museum . ?j rdf:type ontology:road } GROUP BY ?o } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P466
Q33506 Q811430 Q811979
USER
How many museums are a tenants of more number of constructions or architectural structures than that museum ?
(c(Q811430)|c(Q811979),P466,c(Q33506))
[[{'concept': 'Q811430'}, {'concept': 'Q811979'}], 'P466', {'concept': 'Q33506'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?f property:P466 ?y . VALUES ( ?f ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q385378 . ?y rdf:type ontology:Q33506 . ?x rdf:type ontology:Q811979 }
[[{'concept': 'construction'}, {'concept': 'architectural structure'}], 'occupant', {'concept': 'museum'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?f property:occupant ?y . VALUES ( ?f ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:construction . ?y rdf:type ontology:museum . ?x rdf:type ontology:architectural_structure }
[]
museum construction architectural structure
Comparative|Count over More/Less|Mult. entity type|Clarification
Q19675
SYSTEM
Did you mean Louvre ?
(c(Q811430)|c(Q811979),P466,c(Q33506))
[ANSWER]
[[{'concept': 'Q811430'}, {'concept': 'Q811979'}], 'P466', {'concept': 'Q33506'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?f property:P466 ?y . VALUES ( ?f ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q385378 . ?y rdf:type ontology:Q33506 . ?x rdf:type ontology:Q811979 }
Did you mean Louvre ?
Louvre
[[{'concept': 'construction'}, {'concept': 'architectural structure'}], 'occupant', {'concept': 'museum'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?f property:occupant ?y . VALUES ( ?f ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:construction . ?y rdf:type ontology:museum . ?x rdf:type ontology:architectural_structure }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q811430)|c(Q811979),P466,c(Q33506))
[[{'concept': 'Q811430'}, {'concept': 'Q811979'}], 'P466', {'concept': 'Q33506'}]
[[{'concept': 'construction'}, {'concept': 'architectural structure'}], 'occupant', {'concept': 'museum'}]
[]
SYSTEM
5
Q861252 Q150066 Q18810134 Q7439809 Q1953536
(c(Q811430)|c(Q811979),P466,c(Q33506))
[ANSWER]
[[{'concept': 'Q811430'}, {'concept': 'Q811979'}], 'P466', {'concept': 'Q33506'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P466 ?y } UNION { ?x property:P466 ?y } } . ?z rdf:type ontology:Q385378 . ?y rdf:type ontology:Q33506 . ?x rdf:type ontology:Q811979 }
Museu Nacional d'Art de Catalunya Pinacoteca di Brera Jesi Municipal Art Gallery SeaCity Museum National Gallery of Slovenia
5
[[{'concept': 'construction'}, {'concept': 'architectural structure'}], 'occupant', {'concept': 'museum'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:occupant ?y } UNION { ?x property:occupant ?y } } . ?z rdf:type ontology:construction . ?y rdf:type ontology:museum . ?x rdf:type ontology:architectural_structure }
[]