Simple Question (Direct)
Simple Question
Q671004
P19
Q56061
USER
Where was Philippe Samyn born ?
(Q671004,P19,c(Q56061))
action filter_type
action find
entity Q671004
relation P19
type Q56061
['Q671004', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q671004 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Philippe Samyn
action filter_type
action find
entity Philippe Samyn
relation place of birth
type administrative territorial entity
['Philippe Samyn', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Philippe_Samyn property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1296
SYSTEM
Ghent
Q1296
(Q671004,P19,c(Q56061))
action filter_type
action find
entity Q671004
relation P19
type Q56061
Philippe Samyn was born in [ANSWER]
['Q671004', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q671004 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Ghent
Philippe Samyn was born in Ghent
Ghent
action filter_type
action find
entity Philippe Samyn
relation place of birth
type administrative territorial entity
['Philippe Samyn', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Philippe_Samyn property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1296
P36
Q13220204
USER
Which administrative country subdivision is that administrative territory the capital of ?
(c(Q13220204),P36,Q1296)
action filter_type
action find_reverse
entity Q1296
relation P36
type Q13220204
[{'concept': 'Q13220204'}, 'P36', 'Q1296']
SELECT DISTINCT ?u WHERE { ?u property:P36 resource:Q1296 . ?u rdf:type ontology:Q13220204 }
Ghent
action filter_type
action find_reverse
entity Ghent
relation capital
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'capital', 'Ghent']
SELECT DISTINCT ?u WHERE { ?u property:capital resource:Ghent . ?u rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q1114
SYSTEM
East Flanders
Q1114
(c(Q13220204),P36,Q1296)
action filter_type
action find_reverse
entity Q1296
relation P36
type Q13220204
The [ANSWER] is that administrative territory the capital of
[{'concept': 'Q13220204'}, 'P36', 'Q1296']
SELECT DISTINCT ?u WHERE { ?u property:P36 resource:Q1296 . ?u rdf:type ontology:Q13220204 }
East Flanders
The East Flanders is that administrative territory the capital of
East Flanders
action filter_type
action find_reverse
entity Ghent
relation capital
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'capital', 'Ghent']
SELECT DISTINCT ?u WHERE { ?u property:capital resource:Ghent . ?u rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1114
P610
Q8502
USER
What is the highest point of that administrative country subdivision ?
(Q1114,P610,c(Q8502))
action filter_type
action find
entity Q1114
relation P610
type Q8502
['Q1114', 'P610', {'concept': 'Q8502'}]
SELECT DISTINCT ?t WHERE { resource:Q1114 property:P610 ?t . ?t rdf:type ontology:Q8502 }
East Flanders
action filter_type
action find
entity East Flanders
relation highest point
type mountain
['East Flanders', 'highest point', {'concept': 'mountain'}]
SELECT DISTINCT ?t WHERE { resource:East_Flanders property:highest_point ?t . ?t rdf:type ontology:mountain }
[]
mountain
Q2844171
SYSTEM
Hotondberg
Q2844171
(Q1114,P610,c(Q8502))
action filter_type
action find
entity Q1114
relation P610
type Q8502
The highest point of that administrative country subdivision is the [ANSWER]
['Q1114', 'P610', {'concept': 'Q8502'}]
SELECT DISTINCT ?t WHERE { resource:Q1114 property:P610 ?t . ?t rdf:type ontology:Q8502 }
Hotondberg
The highest point of that administrative country subdivision is the Hotondberg
Hotondberg
action filter_type
action find
entity East Flanders
relation highest point
type mountain
['East Flanders', 'highest point', {'concept': 'mountain'}]
SELECT DISTINCT ?t WHERE { resource:East_Flanders property:highest_point ?t . ?t rdf:type ontology:mountain }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2844171 Q13145
P17
Q15617994
USER
Is that mountain a part of Fabriano ?
(Q2844171,P17,Q13145)
action is_in
entity Q13145
action find
entity Q2844171
relation P17
['Q2844171', 'P17', 'Q13145']
ASK WHERE { resource:Q2844171 property:P17 resource:Q13145 }
Hotondberg Fabriano
action is_in
entity Fabriano
action find
entity Hotondberg
relation country
['Hotondberg', 'country', 'Fabriano']
ASK WHERE { resource:Hotondberg property:country resource:Fabriano }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2844171,P17,Q13145)
action is_in
entity Q13145
action find
entity Q2844171
relation P17
[ANSWER]
['Q2844171', 'P17', 'Q13145']
ASK WHERE { resource:Q2844171 property:P17 resource:Q13145 }
No
action is_in
entity Fabriano
action find
entity Hotondberg
relation country
['Hotondberg', 'country', 'Fabriano']
ASK WHERE { resource:Hotondberg property:country resource:Fabriano }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q7856199
P1376
Q13220204 Q515
USER
Which cities are the capital of more number of administrative country subdivisions than Turquoise Mountain ?
(c(Q515),P1376,c(Q13220204))
action greater
action find_tuple_counts
relation P1376
type Q515
type Q13220204
action count
action filter_type
action find
entity Q7856199
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?r ) WHERE { ?a property:P1376 ?n . ?a rdf:type ontology:Q515 . ?n rdf:type ontology:Q13220204 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { resource:Q7856199 property:P1376 ?y . ?y rdf:type ontology:Q515 } } . FILTER ( ?r > ?b ) }
Turquoise Mountain
action greater
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
action count
action filter_type
action find
entity Turquoise Mountain
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?r ) WHERE { ?a property:capital_of ?n . ?a rdf:type ontology:city . ?n rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { resource:Turquoise_Mountain property:capital_of ?y . ?y rdf:type ontology:city } } . FILTER ( ?r > ?b ) }
[]
second-level administrative country subdivision city
Q23482 Q456 Q7003
SYSTEM
Marseille, Lyon, Dijon
Q496667 Q23482 Q505208 Q117676 Q6602 Q305640 Q6807568 Q714628 Q177149 Q271000 Q271917 Q83247 Q3768 Q693264 Q6582 Q502205 Q456 Q267894 Q7003
(c(Q515),P1376,c(Q13220204))
action greater
action find_tuple_counts
relation P1376
type Q515
type Q13220204
action count
action filter_type
action find
entity Q7856199
relation P1376
type Q515
[ANSWERS] are the capital of more number of administrative country subdivisions than Turquoise Mountain
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?r ) WHERE { ?a property:P1376 ?n . ?a rdf:type ontology:Q515 . ?n rdf:type ontology:Q13220204 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { resource:Q7856199 property:P1376 ?y . ?y rdf:type ontology:Q515 } } . FILTER ( ?r > ?b ) }
Muroran Marseille Ouarzazate Viseu Strasbourg Abashiri Emmen Rumoi Obihiro Bouaké Kushiro Braga Yamoussoukro Iwamizawa Carcassonne Nemuro Lyon Wakkanai Dijon
Marseille, Lyon and Dijon are the capital of more number of administrative country subdivisions than Turquoise Mountain
Marseille Lyon Dijon
action greater
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
action count
action filter_type
action find
entity Turquoise Mountain
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?r ) WHERE { ?a property:capital_of ?n . ?a rdf:type ontology:city . ?n rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { resource:Turquoise_Mountain property:capital_of ?y . ?y rdf:type ontology:city } } . FILTER ( ?r > ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1710
P1376
Q13220204 Q515
USER
And what about Isabela City?
(c(Q515),P1376,c(Q13220204))
action greater
action find_tuple_counts
relation P1376
type Q515
type Q13220204
action count
action filter_type
action find
entity Q1710
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?a ) WHERE { ?m rdf:type ontology:Q515 . ?q rdf:type ontology:Q13220204 . ?m property:P1376 ?q } GROUP BY ?m } . FILTER ( ?a > ?w ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { resource:Q1710 property:P1376 ?d . ?d rdf:type ontology:Q515 } } }
Isabela City
action greater
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
action count
action filter_type
action find
entity Isabela City
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?a ) WHERE { ?m rdf:type ontology:city . ?q rdf:type ontology:second-level_administrative_country_subdivision . ?m property:capital_of ?q } GROUP BY ?m } . FILTER ( ?a > ?w ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { resource:Isabela_City property:capital_of ?d . ?d rdf:type ontology:city } } }
[]
second-level administrative country subdivision city
Q23482 Q456 Q7003
SYSTEM
Marseille, Lyon, Dijon
Q496667 Q23482 Q505208 Q117676 Q6602 Q305640 Q6807568 Q714628 Q177149 Q271000 Q271917 Q83247 Q3768 Q693264 Q6582 Q502205 Q456 Q267894 Q7003
(c(Q515),P1376,c(Q13220204))
action greater
action find_tuple_counts
relation P1376
type Q515
type Q13220204
action count
action filter_type
action find
entity Q1710
relation P1376
type Q515
[ANSWERS]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?a ) WHERE { ?m rdf:type ontology:Q515 . ?q rdf:type ontology:Q13220204 . ?m property:P1376 ?q } GROUP BY ?m } . FILTER ( ?a > ?w ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { resource:Q1710 property:P1376 ?d . ?d rdf:type ontology:Q515 } } }
Muroran Marseille Ouarzazate Viseu Strasbourg Abashiri Emmen Rumoi Obihiro Bouaké Kushiro Braga Yamoussoukro Iwamizawa Carcassonne Nemuro Lyon Wakkanai Dijon
Marseille Lyon Dijon
action greater
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
action count
action filter_type
action find
entity Isabela City
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?a ) WHERE { ?m rdf:type ontology:city . ?q rdf:type ontology:second-level_administrative_country_subdivision . ?m property:capital_of ?q } GROUP BY ?m } . FILTER ( ?a > ?w ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { resource:Isabela_City property:capital_of ?d . ?d rdf:type ontology:city } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q934753
P190
Q15617994 Q515 Q13220204
USER
How many administrative country subdivisions are a sister city of more number of administrative territories or cities than Buga ?
(c(Q13220204),P190,c(Q15617994)|c(Q515))
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 Q515
action count
action filter_multi_types
action find
entity Q934753
relation P190
type Q15617994
type Q515
[{'concept': 'Q13220204'}, 'P190', [{'concept': 'Q15617994'}, {'concept': 'Q515'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { FILTER ( ?d > ?o ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:Q934753 property:P190 ?c . { { ?c rdf:type ontology:Q15617994 } UNION { ?c rdf:type ontology:Q515 } } } } . { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?d ) WHERE { { ?y property:P190 ?l . ?y rdf:type ontology:Q13220204 . ?l rdf:type ontology:Q15617994 } UNION { ?y property:P190 ?l . ?y rdf:type ontology:Q13220204 . ?l rdf:type ontology:Q515 } } GROUP BY ?y } }
Buga
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 city
action count
action filter_multi_types
action find
entity Buga
relation sister city
type designation for an administrative territorial entity
type city
[{'concept': 'second-level administrative country subdivision'}, 'sister city', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'city'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { FILTER ( ?d > ?o ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:Buga property:sister_city ?c . { { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c rdf:type ontology:city } } } } . { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?d ) WHERE { { ?y property:sister_city ?l . ?y rdf:type ontology:second-level_administrative_country_subdivision . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?y property:sister_city ?l . ?y rdf:type ontology:second-level_administrative_country_subdivision . ?l rdf:type ontology:city } } GROUP BY ?y } }
[]
designation for an administrative territorial entity city second-level administrative country subdivision
SYSTEM
233
Q101341 Q67040 Q68129 Q67282 Q57919 Q739449 Q64210 Q69235 Q193965 Q7124 Q932155 Q69726 Q69729 Q13209 Q966804 Q10016 Q68889 Q729447 Q3370 Q197050 Q64567 Q5707 Q130048 Q133280 Q615491 Q1021676 Q192119 Q69383 Q64668 Q65268 Q1719466 Q107392 Q9924 Q9926 Q9928 Q68261 Q66562 Q192606 Q68003 Q64183 Q69274 Q69071 Q7903 Q9810 Q69783 Q683658 Q63946 Q691992 Q43195 Q208012 Q990448 Q69612 Q5420 Q731915 Q65510 Q204905 Q25444 Q9772 Q9774 Q9777 Q70603 Q65195 Q27494 Q10020 Q65040 Q66125 Q450625 Q156743 Q48278 Q925340 Q564813 Q995055 Q740845 Q68250 Q68315 Q156711 Q5128 Q68311 Q9910 Q984656 Q67724 Q1663 Q66056 Q986107 Q64156 Q200133 Q67611 Q46001 Q636935 Q58931 Q2047414 Q189419 Q1532373 Q63905 Q156125 Q66473 Q926700 Q65497 Q657461 Q69668 Q64873 Q68956 Q60453 Q659665 Q136498 Q917313 Q1640 Q65273 Q9899 Q744247 Q9791 Q68762 Q1647 Q157137 Q64051 Q238396 Q65978 Q69417 Q9942 Q9949 Q952939 Q980728 Q68665 Q760224 Q7143 Q4191 Q219193 Q7132 Q395919 Q10035 Q9999 Q9998 Q15582 Q66617 Q69967 Q21194 Q68363 Q156724 Q9093 Q9905 Q411715 Q66040 Q65802 Q65808 Q101918 Q208764 Q67582 Q27892 Q69706 Q68097 Q68297 Q64504 Q69675 Q318018 Q10043 Q64865 Q10047 Q2933 Q107135 Q68471 Q109036 Q67140 Q62266 Q1435 Q156732 Q156739 Q69058 Q9872 Q1722 Q1011303 Q69222 Q69227 Q7133 Q2841 Q146456 Q65421 Q69732 Q10001 Q10003 Q986059 Q322986 Q62823 Q579984 Q405252 Q623736 Q66604 Q70232 Q65921 Q66211 Q109494 Q9938 Q66511 Q66518 Q66890 Q19491 Q66672 Q67278 Q68015 Q69512 Q64070 Q14571 Q9802 Q9806 Q9809 Q9808 Q14592 Q2245 Q538407 Q189161 Q3549 Q64920 Q3617 Q69160 Q71727 Q617416 Q10053 Q157725 Q107582 Q972 Q68946 Q36160 Q36167 Q851399 Q69114 Q750594 Q66633 Q69945 Q65508 Q849574 Q1126256 Q68305 Q156704 Q574558
(c(Q13220204),P190,c(Q15617994)|c(Q515))
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 Q515
action count
action filter_multi_types
action find
entity Q934753
relation P190
type Q15617994
type Q515
[ANSWER]
[{'concept': 'Q13220204'}, 'P190', [{'concept': 'Q15617994'}, {'concept': 'Q515'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { FILTER ( ?d > ?o ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:Q934753 property:P190 ?c . { { ?c rdf:type ontology:Q15617994 } UNION { ?c rdf:type ontology:Q515 } } } } . { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?d ) WHERE { { ?y property:P190 ?l . ?y rdf:type ontology:Q13220204 . ?l rdf:type ontology:Q15617994 } UNION { ?y property:P190 ?l . ?y rdf:type ontology:Q13220204 . ?l rdf:type ontology:Q515 } } GROUP BY ?y } }
Lillehammer Naters Olten Urtenen-Schönbühl Arendal Krimpen aan den IJssel Spreitenbach Cham Kamianets-Podilskyi Ruswil Heumen Langenthal Rapperswil-Jona Nidau Aleksinac Oldenzaal Vouvry Dobele Zadar Zevenaar Buochs Bjelovar Røst Środa Wielkopolska County Heerde Trigono Sisak Hinwil Reigoldswil Brienz Panevėžys Tønsberg Haarlemmermeer Heemskerk Heemstede Meilen Tübach Leskovac Claro Küssnacht Lichtensteig Münchenbuchsee Casablanca Asten Münsingen Franekeradeel Yverdon-les-Bains Grocka Aigle Hoogeveen Seixal Municipality Sevelen Varaždin Ogre Bonstetten Eleusis Funchal Meerssen Weert Venlo Avegno Gordevio Suhr Zermatt Rijssen-Holten Neftenbach Neuenegg Alytus Ternopil Antioquia - Medellín Kaniv Santa Maria da Feira Municipality Velika Plana Olhão Municipality Rorschach Heiden Uzhhorod Woerden Burgdorf Castricum Penafiel Vex Split Wittenbach Alcanena Municipality Arbon Chalkida Grosshöchstetten Alushta Tukums Harderwijk Palanga Zemun Zaltbommel Kreuzlingen Larvik Lengnau Oeiras Hausen bei Brugg Cartagena Steffisburg Illnau-Effretikon Martigny Coevorden Salacgrīva Fuerte Olimpo Vila do Conde Osijek Plan-les-Ouates Amsterdam Saldus Mook en Middelaar Mont-sur-Rolle Rijeka Kryvyi Rih Monthey Epe Dulliken Zweisimmen Landsmeer Naarden Lingewaard Domburg Muntelier Hola Prystan Schenkon Lucerne Chop Buttisholz Anadia De Bilt Dinkelland Dalfsen Brig Frick Wangen bei Olten Vũng Tàu Laufen Kremenchuk Bülach Beverwijk Aizkraukle Thierachern Hüttlingen Buchberg Apeldoorn Katwijk Oberdiessbach Neringa Municipality Brissago Davos Sierre Auenstein Zollikofen Słubice County Utrechtse Heuvelrug Bischofszell Lopik Asunción Fredrikstad Binn Haugesund Radelfingen Ålesund Zagreb Kherson Rivne Wittnau Uden Dubrovnik Obukhiv Aarwangen Orpund Grosswangen Bogotá Mukacheve Lostorf Worb Deventer Haaksbergen Copargo Delfzijl Barranquilla Temerin Oliveira de Azeméis Câmara de Lobos Risch-Rotkreuz Les Bois Grossaffoltern Konolfingen Odda Hoorn Olsberg Oberflachs Rüthi Nha Trang Breitenbach Mühleberg Roggwil Lyss Dietikon Kriens Echt-Susteren Beek Alphen-Chaam Aalburg Ettiswil Vinje Montemor-o-Novo Municipality Trogir Šibenik Breil/Brigels Karlovac Bolligen Irpin Kovin Wijk bij Duurstede Chernivtsi Cēsis Alkmaar Saint-Oyens Hội An Huế Strenči Trubschachen Guarda Kilchberg Müntschemier Balgach Loppersum Hajnówka County Wetzikon Kovel Heerenveen
233
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 city
action count
action filter_multi_types
action find
entity Buga
relation sister city
type designation for an administrative territorial entity
type city
[{'concept': 'second-level administrative country subdivision'}, 'sister city', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'city'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { FILTER ( ?d > ?o ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:Buga property:sister_city ?c . { { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c rdf:type ontology:city } } } } . { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?d ) WHERE { { ?y property:sister_city ?l . ?y rdf:type ontology:second-level_administrative_country_subdivision . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?y property:sister_city ?l . ?y rdf:type ontology:second-level_administrative_country_subdivision . ?l rdf:type ontology:city } } GROUP BY ?y } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2933
P190
Q15617994 Q515 Q13220204
USER
And what about Asunción?
(c(Q13220204),P190,c(Q15617994)|c(Q515))
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 Q515
action count
action filter_multi_types
action find
entity Q2933
relation P190
type Q15617994
type Q515
[{'concept': 'Q13220204'}, 'P190', [{'concept': 'Q15617994'}, {'concept': 'Q515'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?v WHERE { { ?v property:P190 ?j . ?v rdf:type ontology:Q13220204 . ?j rdf:type ontology:Q15617994 } UNION { ?v property:P190 ?j . ?v rdf:type ontology:Q13220204 . ?j rdf:type ontology:Q515 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Q2933 property:P190 ?x . { ?x rdf:type ?m . VALUES ( ?m ) { ( ontology:Q15617994 ) ( ontology:Q515 ) } } } } . FILTER ( ?r > ?s ) }
Asunción
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 city
action count
action filter_multi_types
action find
entity Asunción
relation sister city
type designation for an administrative territorial entity
type city
[{'concept': 'second-level administrative country subdivision'}, 'sister city', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'city'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?v WHERE { { ?v property:sister_city ?j . ?v rdf:type ontology:second-level_administrative_country_subdivision . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?v property:sister_city ?j . ?v rdf:type ontology:second-level_administrative_country_subdivision . ?j rdf:type ontology:city } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Asunción property:sister_city ?x . { ?x rdf:type ?m . VALUES ( ?m ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:city ) } } } } . FILTER ( ?r > ?s ) }
[]
designation for an administrative territorial entity city second-level administrative country subdivision
SYSTEM
11
Q7903 Q5420 Q25444 Q9772 Q156711 Q1663 Q9899 Q1435 Q1722 Q2841 Q189161
(c(Q13220204),P190,c(Q15617994)|c(Q515))
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 Q515
action count
action filter_multi_types
action find
entity Q2933
relation P190
type Q15617994
type Q515
[ANSWER]
[{'concept': 'Q13220204'}, 'P190', [{'concept': 'Q15617994'}, {'concept': 'Q515'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?v WHERE { { ?v property:P190 ?j . ?v rdf:type ontology:Q13220204 . ?j rdf:type ontology:Q15617994 } UNION { ?v property:P190 ?j . ?v rdf:type ontology:Q13220204 . ?j rdf:type ontology:Q515 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Q2933 property:P190 ?x . { ?x rdf:type ?m . VALUES ( ?m ) { ( ontology:Q15617994 ) ( ontology:Q515 ) } } } } . FILTER ( ?r > ?s ) }
Casablanca Varaždin Funchal Meerssen Uzhhorod Split Amsterdam Zagreb Dubrovnik Bogotá Trogir
11
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 city
action count
action filter_multi_types
action find
entity Asunción
relation sister city
type designation for an administrative territorial entity
type city
[{'concept': 'second-level administrative country subdivision'}, 'sister city', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'city'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?v WHERE { { ?v property:sister_city ?j . ?v rdf:type ontology:second-level_administrative_country_subdivision . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?v property:sister_city ?j . ?v rdf:type ontology:second-level_administrative_country_subdivision . ?j rdf:type ontology:city } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Asunción property:sister_city ?x . { ?x rdf:type ?m . VALUES ( ?m ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:city ) } } } } . FILTER ( ?r > ?s ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1296
P276
Q1190554
USER
Which events are located at Ghent ?
(c(Q1190554),P276,Q1296)
action filter_type
action find_reverse
entity Q1296
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q1296']
SELECT DISTINCT ?t WHERE { ?t property:P276 resource:Q1296 . ?t rdf:type ontology:Q1190554 }
Ghent
action filter_type
action find_reverse
entity Ghent
relation location
type event
[{'concept': 'event'}, 'location', 'Ghent']
SELECT DISTINCT ?t WHERE { ?t property:location resource:Ghent . ?t rdf:type ontology:event }
[]
event
Q1777327 Q1095120
SYSTEM
Battle of Gavere, Battle of Courtrai
Q1777327 Q1095120
(c(Q1190554),P276,Q1296)
action filter_type
action find_reverse
entity Q1296
relation P276
type Q1190554
[ANSWERS] are located at Ghent
[{'concept': 'Q1190554'}, 'P276', 'Q1296']
SELECT DISTINCT ?t WHERE { ?t property:P276 resource:Q1296 . ?t rdf:type ontology:Q1190554 }
Battle of Gavere Battle of Courtrai
Battle of Gavere and Battle of Courtrai are located at Ghent
Battle of Gavere Battle of Courtrai
action filter_type
action find_reverse
entity Ghent
relation location
type event
[{'concept': 'event'}, 'location', 'Ghent']
SELECT DISTINCT ?t WHERE { ?t property:location resource:Ghent . ?t rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23482
P532
Q2235308
USER
What is the registry port of Marseille ?
(c(Q2235308),P532,Q23482)
action filter_type
action find_reverse
entity Q23482
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', 'Q23482']
SELECT DISTINCT ?b WHERE { ?b property:P532 resource:Q23482 . ?b rdf:type ontology:Q2235308 }
Marseille
action filter_type
action find_reverse
entity Marseille
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', 'Marseille']
SELECT DISTINCT ?b WHERE { ?b property:port_of_registry resource:Marseille . ?b rdf:type ontology:ship_type }
[]
ship type
Q751584
SYSTEM
MS Express Samina
Q751584
(c(Q2235308),P532,Q23482)
action filter_type
action find_reverse
entity Q23482
relation P532
type Q2235308
The registry port of Marseille is the [ANSWER]
[{'concept': 'Q2235308'}, 'P532', 'Q23482']
SELECT DISTINCT ?b WHERE { ?b property:P532 resource:Q23482 . ?b rdf:type ontology:Q2235308 }
MS Express Samina
The registry port of Marseille is the MS Express Samina
MS Express Samina
action filter_type
action find_reverse
entity Marseille
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', 'Marseille']
SELECT DISTINCT ?b WHERE { ?b property:port_of_registry resource:Marseille . ?b rdf:type ontology:ship_type }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23482
P706
Q43229
USER
What is located in that city ?
(c(Q43229),P706,Q751584)
action filter_type
action find_reverse
entity Q23482
relation P706
type Q43229
[{'concept': 'Q43229'}, 'P706', 'Q751584']
SELECT DISTINCT ?z WHERE { ?z property:P706 resource:Q23482 . ?z rdf:type ontology:Q43229 }
Marseille
action filter_type
action find_reverse
entity Marseille
relation located on terrain feature
type organization
[{'concept': 'organization'}, 'located on terrain feature', 'MS Express Samina']
SELECT DISTINCT ?z WHERE { ?z property:located_on_terrain_feature resource:Marseille . ?z rdf:type ontology:organization }
[]
organization
Q16639316
SYSTEM
Groupe de musique expérimentale de Marseille
Q16639316
(c(Q43229),P706,Q751584)
action filter_type
action find_reverse
entity Q23482
relation P706
type Q43229
[ANSWER] is located in that city
[{'concept': 'Q43229'}, 'P706', 'Q751584']
SELECT DISTINCT ?z WHERE { ?z property:P706 resource:Q23482 . ?z rdf:type ontology:Q43229 }
Groupe de musique expérimentale de Marseille
Groupe de musique expérimentale de Marseille is located in that city
Groupe de musique expérimentale de Marseille
action filter_type
action find_reverse
entity Marseille
relation located on terrain feature
type organization
[{'concept': 'organization'}, 'located on terrain feature', 'MS Express Samina']
SELECT DISTINCT ?z WHERE { ?z property:located_on_terrain_feature resource:Marseille . ?z rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16639316
P112
Q502895
USER
Which person was the founder of that organization ?
(Q16639316,P112,c(Q502895))
action filter_type
action find
entity Q16639316
relation P112
type Q502895
['Q16639316', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q16639316 property:P112 ?c . ?c rdf:type ontology:Q502895 }
Groupe de musique expérimentale de Marseille
action filter_type
action find
entity Groupe de musique expérimentale de Marseille
relation founder
type common name
['Groupe de musique expérimentale de Marseille', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Groupe_de_musique_expérimentale_de_Marseille property:founder ?c . ?c rdf:type ontology:common_name }
[]
common name
Q3102406
SYSTEM
Georges Boeuf
Q3102406
(Q16639316,P112,c(Q502895))
action filter_type
action find
entity Q16639316
relation P112
type Q502895
[ANSWER] was the founder of that organization
['Q16639316', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q16639316 property:P112 ?c . ?c rdf:type ontology:Q502895 }
Georges Boeuf
Georges Boeuf was the founder of that organization
Georges Boeuf
action filter_type
action find
entity Groupe de musique expérimentale de Marseille
relation founder
type common name
['Groupe de musique expérimentale de Marseille', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Groupe_de_musique_expérimentale_de_Marseille property:founder ?c . ?c rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q368429
P190
Q515 Q15617994 Q1048835
USER
How many cities are twin cities of greater number of administrative territories or political territories than Felsőzsolca ?
(c(Q15617994)|c(Q1048835),P190,c(Q515))
action count
action greater
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q15617994
action find_reverse_tuple_counts
relation P190
type Q515
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q368429
relation P190
type Q15617994
type Q1048835
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?z WHERE { VALUES ( ?o ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?i rdf:type ?o } GROUP BY ?z } . FILTER ( ?j > ?d ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { { ?f rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } . ?f property:P190 resource:Q368429 } } }
Felsőzsolca
action count
action greater
action union
action find_reverse_tuple_counts
relation sister city
type city
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation sister city
type city
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Felsőzsolca
relation sister city
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?z WHERE { VALUES ( ?o ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?i rdf:type ?o } GROUP BY ?z } . FILTER ( ?j > ?d ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { { ?f rdf:type ?v . VALUES ( ?v ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } . ?f property:sister_city resource:Felsőzsolca } } }
[]
city designation for an administrative territorial entity political territorial entity
SYSTEM
310
Q41283 Q384403 Q1021103 Q843001 Q847607 Q841296 Q7253 Q1000086 Q3974 Q3870 Q259498 Q854913 Q696925 Q60037 Q2936 Q850969 Q4024 Q270814 Q379030 Q57921 Q240504 Q854996 Q281371 Q42651 Q320950 Q1088716 Q385982 Q52607 Q766168 Q837173 Q214938 Q830394 Q1009003 Q789256 Q946743 Q843039 Q377834 Q295367 Q283023 Q20934 Q166255 Q57953 Q917888 Q174091 Q916679 Q57958 Q1010131 Q548097 Q783255 Q166282 Q842961 Q329768 Q41278 Q1000029 Q14424 Q373023 Q1008750 Q2135 Q158423 Q849439 Q11462 Q3214 Q852018 Q841603 Q1018795 Q1236048 Q854956 Q57719 Q933641 Q1018700 Q3069 Q19689 Q3104 Q394453 Q2910 Q646847 Q321778 Q68695 Q1899 Q330409 Q57997 Q57996 Q913754 Q26600 Q1794 Q602976 Q793405 Q1818241 Q583910 Q1486 Q34217 Q144988 Q154540 Q17042 Q1461 Q855073 Q753731 Q1010144 Q623549 Q2865 Q379160 Q607625 Q198370 Q10393 Q755691 Q854906 Q1015409 Q755698 Q214945 Q75150 Q214956 Q117604 Q588606 Q79535 Q1723 Q288413 Q270704 Q167109 Q6582 Q478038 Q911610 Q207406 Q4346 Q898468 Q1025213 Q58560 Q23661 Q14819 Q498545 Q193721 Q8652 Q180379 Q842971 Q1475 Q3933 Q341056 Q755681 Q1017261 Q1000033 Q2100 Q3599 Q1731 Q587746 Q3857 Q2844 Q674311 Q178382 Q1017769 Q1676870 Q42664 Q854940 Q854949 Q604516 Q404362 Q239597 Q158432 Q327764 Q42635 Q9005 Q2337 Q633789 Q1019844 Q373813 Q3185 Q3004 Q488869 Q837161 Q740853 Q207876 Q842976 Q2978 Q1676863 Q188082 Q941061 Q14440 Q203929 Q273880 Q855060 Q842996 Q14821 Q1020874 Q338616 Q954596 Q3958 Q668318 Q189633 Q260522 Q42007 Q941032 Q854987 Q541550 Q855011 Q1258284 Q513417 Q4007 Q2096 Q642031 Q214948 Q214942 Q245126 Q667208 Q191097 Q75336 Q57885 Q680656 Q946769 Q789233 Q360374 Q157835 Q3046 Q523489 Q851048 Q2749 Q1394252 Q523469 Q158257 Q750573 Q987487 Q629471 Q11194 Q485581 Q646850 Q2119 Q1641829 Q57936 Q5972 Q1721 Q57906 Q44244 Q855052 Q547479 Q75026 Q509923 Q773203 Q492366 Q63855 Q470369 Q1863 Q359990 Q108037 Q430207 Q756273 Q42622 Q188247 Q59095 Q3167 Q508591 Q789282 Q502993 Q728438 Q3014 Q146317 Q851492 Q911634 Q494627 Q57941 Q530634 Q71151 Q71159 Q57944 Q986082 Q57947 Q189769 Q236197 Q750224 Q954569 Q2880 Q804395 Q2706 Q653364 Q184998 Q1000056 Q489147 Q456 Q755701 Q629849 Q850676 Q990988 Q20073 Q485176 Q3931 Q248959 Q3200 Q742160 Q158272 Q933638 Q819672 Q18575 Q680743 Q117676 Q613813 Q57948 Q1533 Q3042 Q1953 Q680963 Q933374 Q209988 Q582209 Q3994 Q936145 Q842929 Q842925 Q302526 Q225100 Q217681 Q721163 Q284480 Q213296 Q1737652
(c(Q15617994)|c(Q1048835),P190,c(Q515))
action count
action greater
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q15617994
action find_reverse_tuple_counts
relation P190
type Q515
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q368429
relation P190
type Q15617994
type Q1048835
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?z WHERE { VALUES ( ?o ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?i rdf:type ?o } GROUP BY ?z } . FILTER ( ?j > ?d ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { { ?f rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } . ?f property:P190 resource:Q368429 } } }
Gwangju Litoměřice Meziboří Csorna Sanda Příbram Padang Nový Bor Landshut Nairobi Rafaela Szikszó Iruma Zalaegerszeg Oldenburg Victoria Frankfurt (Oder) Ishinomaki Zalaszentgrót Lößnitz Makó Szerencs Jászberény Wuxi Trutnov Lőrinci Herend Mar del Plata Nagykáta Cisnădie Gyula Nagykőrös Staré Město Balatonalmádi Skalná Veresegyház Szentes Nagyatád Maglód Incheon Horšovský Týn Schwarzenberg Vinaròs Changsha Téglás Zhenjiang Frýdlant nad Ostravicí Visegrád Kapuvár Alghero Mezőberény Tata Ulsan Kraslice Nagykanizsa Weihai Stříbro Winnipeg Buštěhrad Kopřivnice Surabaya Cottbus Izumisano Tiszakécske Bzenec Dolní Benešov Ibrány Xuzhou Martonvásár Bystřice nad Pernštejnem Bottrop Tirana Koblenz Žďár nad Sázavou Ludwigshafen Sodegaura Hodonín Quanzhou Kyiv Ústí nad Orlicí Wolkenstein Thum Zalalövő Fukuoka Frankfurt Klatovy Berettyóújfalu Rousínov Aš Buenos Aires Oxford Zalakaros Sásd Oakland Manila Solt Masuda Hluboká nad Vltavou Puerto de la Cruz Kassel Kunszentmárton Tamási Zibo Bogor Budaörs Gyömrő Bílovec Svitavy Pápa Yingkou Znojmo Nago Fonyód Fort Smith Batangas City Tapolca Třebíč Eger Carcassonne Kiskunfélegyháza Lengyeltóti Mosonmagyaróvár Waren (Müritz) Brandýs nad Labem-Stará Boleslav Rosice Qinhuangdao Wellington Freiberg Meldorf Tábor Miami Rēzekne Sellye Quezon City Celle Česká Třebová Várpalota Rotava Lanškroun Duisburg Bicske Dresden Siret Wilhelmshaven Brasília Kisvárda Jūrmala Mnichovo Hradiště Jablonné nad Orlicí Huzhou Dabas Nyergesújfalu Szentgotthárd Xinxiang Neratovice Stochov Prachatice Wenzhou Brussels Smolensk Dombóvár Přimda Albufeira Hildesheim Ingolstadt Benalmádena Sânnicolau Mare Szigetszentmiklós Yamaguchi Mátészalka Regensburg Jablonec nad Jizerou Český Krumlov Bystřice pod Hostýnem Iquique Zimnicea Beppu Encs Pécsvárad Coburg Přeštice Čelákovice Havlíčkův Brod Neubrandenburg Sárospatak Guilin Bácsalmás Szombathely Kozármisleny Soltvadkert Tiszaföldvár Heves Raspenava Vsetín Rosenheim Edmonton Gárdony Cegléd Kazincbarcika Siófok Fertőd Tachov Chaoyang Elterlein Sümeg Mórahalom Balassagyarmat Anqing Zaporizhzhya Pforzheim Terezín Făget Augsburg Kosmonosy Mariánské Lázně Hlučín Maizuru Ostrov Kiskunmajsa Sarajevo Aveiro Kiskőrös Mannheim Jiříkov Scheibenberg Medan Wiesbaden Yangzhou Santa Fe Mezőtúr Dunakeszi Fushun Mezőhegyes Százhalombatta Norden Roudnice nad Labem Kolín Andorra la Vella Wuhu Valmiera Komló Karcag Suzhou Sarkad Zhuhai Siegen Police nad Metují Balatonföldvár Uherské Hradiště Siklós Wolfsburg Veszprém Shibukawa Kisújszállás Ruhla Schneeberg, Saxony Pilisvörösvár Sayda Brand-Erbisdorf Annaberg-Buchholz Litvínov Nantong Salgótarján Hino City Strakonice Vyškov Hamm Blatná Bremerhaven Atami Kaposvár Sušice Schmalkalden Lyon Ráckeve Hatvan Blansko Broumov Hohenstein-Ernstthal Pasadena Brandenburg an der Havel Zărnești Salzgitter Shijōnawate Žamberk Mezőkövesd Kumano Tucson Balatonfüred Viseu Kőszeg Aue Caracas Offenbach am Main Yerevan Mór Nagybajom Gödöllő Tokaj Kempten Loket Nepomuk Edelény Tab Bicaz Tai'an Itō Bóly Sinaia Kdyně
310
action count
action greater
action union
action find_reverse_tuple_counts
relation sister city
type city
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation sister city
type city
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Felsőzsolca
relation sister city
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?z WHERE { VALUES ( ?o ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?i rdf:type ?o } GROUP BY ?z } . FILTER ( ?j > ?d ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { { ?f rdf:type ?v . VALUES ( ?v ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } . ?f property:sister_city resource:Felsőzsolca } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q220445
P190
Q515 Q15617994 Q1048835
USER
And what about Kuching?
(c(Q15617994)|c(Q1048835),P190,c(Q515))
action count
action greater
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q15617994
action find_reverse_tuple_counts
relation P190
type Q515
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q220445
relation P190
type Q15617994
type Q1048835
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?u WHERE { { ?m property:P190 ?u . ?u rdf:type ontology:Q515 . ?m rdf:type ontology:Q15617994 } UNION { ?m property:P190 ?u . ?m rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q515 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:P190 resource:Q220445 . { { ?o rdf:type ontology:Q15617994 } UNION { ?o rdf:type ontology:Q1048835 } } } } . FILTER ( ?n > ?h ) }
Kuching
action count
action greater
action union
action find_reverse_tuple_counts
relation sister city
type city
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation sister city
type city
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Kuching
relation sister city
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?u WHERE { { ?m property:sister_city ?u . ?u rdf:type ontology:city . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?m property:sister_city ?u . ?m rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:city } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:sister_city resource:Kuching . { { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?o rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?n > ?h ) }
[]
city designation for an administrative territorial entity political territorial entity
SYSTEM
310
Q41283 Q384403 Q1021103 Q843001 Q847607 Q841296 Q7253 Q1000086 Q3974 Q3870 Q259498 Q854913 Q696925 Q60037 Q2936 Q850969 Q4024 Q270814 Q379030 Q57921 Q240504 Q854996 Q281371 Q42651 Q320950 Q1088716 Q385982 Q52607 Q766168 Q837173 Q214938 Q830394 Q1009003 Q789256 Q946743 Q843039 Q377834 Q295367 Q283023 Q20934 Q166255 Q57953 Q917888 Q174091 Q916679 Q57958 Q1010131 Q548097 Q783255 Q166282 Q842961 Q329768 Q41278 Q1000029 Q14424 Q373023 Q1008750 Q2135 Q158423 Q849439 Q11462 Q3214 Q852018 Q841603 Q1018795 Q1236048 Q854956 Q57719 Q933641 Q1018700 Q3069 Q19689 Q3104 Q394453 Q2910 Q646847 Q321778 Q68695 Q1899 Q330409 Q57997 Q57996 Q913754 Q26600 Q1794 Q602976 Q793405 Q1818241 Q583910 Q1486 Q34217 Q144988 Q154540 Q17042 Q1461 Q855073 Q753731 Q1010144 Q623549 Q2865 Q379160 Q607625 Q198370 Q10393 Q755691 Q854906 Q1015409 Q755698 Q214945 Q75150 Q214956 Q117604 Q588606 Q79535 Q1723 Q288413 Q270704 Q167109 Q6582 Q478038 Q911610 Q207406 Q4346 Q898468 Q1025213 Q58560 Q23661 Q14819 Q498545 Q193721 Q8652 Q180379 Q842971 Q1475 Q3933 Q341056 Q755681 Q1017261 Q1000033 Q2100 Q3599 Q1731 Q587746 Q3857 Q2844 Q674311 Q178382 Q1017769 Q1676870 Q42664 Q854940 Q854949 Q604516 Q404362 Q239597 Q158432 Q327764 Q42635 Q9005 Q2337 Q633789 Q1019844 Q373813 Q3185 Q3004 Q488869 Q837161 Q740853 Q207876 Q842976 Q2978 Q1676863 Q188082 Q941061 Q14440 Q203929 Q273880 Q855060 Q842996 Q14821 Q1020874 Q338616 Q954596 Q3958 Q668318 Q189633 Q260522 Q42007 Q941032 Q854987 Q541550 Q855011 Q1258284 Q513417 Q4007 Q2096 Q642031 Q214948 Q214942 Q245126 Q667208 Q191097 Q75336 Q57885 Q680656 Q946769 Q789233 Q360374 Q157835 Q3046 Q523489 Q851048 Q2749 Q1394252 Q523469 Q158257 Q750573 Q987487 Q629471 Q11194 Q485581 Q646850 Q2119 Q1641829 Q57936 Q5972 Q1721 Q57906 Q44244 Q855052 Q547479 Q75026 Q509923 Q773203 Q492366 Q63855 Q470369 Q1863 Q359990 Q108037 Q430207 Q756273 Q42622 Q188247 Q59095 Q3167 Q508591 Q789282 Q502993 Q728438 Q3014 Q146317 Q851492 Q911634 Q494627 Q57941 Q530634 Q71151 Q71159 Q57944 Q986082 Q57947 Q189769 Q236197 Q750224 Q954569 Q2880 Q804395 Q2706 Q653364 Q184998 Q1000056 Q489147 Q456 Q755701 Q629849 Q850676 Q990988 Q20073 Q485176 Q3931 Q248959 Q3200 Q742160 Q158272 Q933638 Q819672 Q18575 Q680743 Q117676 Q613813 Q57948 Q1533 Q3042 Q1953 Q680963 Q933374 Q209988 Q582209 Q3994 Q936145 Q842929 Q842925 Q302526 Q225100 Q217681 Q721163 Q284480 Q213296 Q1737652
(c(Q15617994)|c(Q1048835),P190,c(Q515))
action count
action greater
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q15617994
action find_reverse_tuple_counts
relation P190
type Q515
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q220445
relation P190
type Q15617994
type Q1048835
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?u WHERE { { ?m property:P190 ?u . ?u rdf:type ontology:Q515 . ?m rdf:type ontology:Q15617994 } UNION { ?m property:P190 ?u . ?m rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q515 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:P190 resource:Q220445 . { { ?o rdf:type ontology:Q15617994 } UNION { ?o rdf:type ontology:Q1048835 } } } } . FILTER ( ?n > ?h ) }
Gwangju Litoměřice Meziboří Csorna Sanda Příbram Padang Nový Bor Landshut Nairobi Rafaela Szikszó Iruma Zalaegerszeg Oldenburg Victoria Frankfurt (Oder) Ishinomaki Zalaszentgrót Lößnitz Makó Szerencs Jászberény Wuxi Trutnov Lőrinci Herend Mar del Plata Nagykáta Cisnădie Gyula Nagykőrös Staré Město Balatonalmádi Skalná Veresegyház Szentes Nagyatád Maglód Incheon Horšovský Týn Schwarzenberg Vinaròs Changsha Téglás Zhenjiang Frýdlant nad Ostravicí Visegrád Kapuvár Alghero Mezőberény Tata Ulsan Kraslice Nagykanizsa Weihai Stříbro Winnipeg Buštěhrad Kopřivnice Surabaya Cottbus Izumisano Tiszakécske Bzenec Dolní Benešov Ibrány Xuzhou Martonvásár Bystřice nad Pernštejnem Bottrop Tirana Koblenz Žďár nad Sázavou Ludwigshafen Sodegaura Hodonín Quanzhou Kyiv Ústí nad Orlicí Wolkenstein Thum Zalalövő Fukuoka Frankfurt Klatovy Berettyóújfalu Rousínov Aš Buenos Aires Oxford Zalakaros Sásd Oakland Manila Solt Masuda Hluboká nad Vltavou Puerto de la Cruz Kassel Kunszentmárton Tamási Zibo Bogor Budaörs Gyömrő Bílovec Svitavy Pápa Yingkou Znojmo Nago Fonyód Fort Smith Batangas City Tapolca Třebíč Eger Carcassonne Kiskunfélegyháza Lengyeltóti Mosonmagyaróvár Waren (Müritz) Brandýs nad Labem-Stará Boleslav Rosice Qinhuangdao Wellington Freiberg Meldorf Tábor Miami Rēzekne Sellye Quezon City Celle Česká Třebová Várpalota Rotava Lanškroun Duisburg Bicske Dresden Siret Wilhelmshaven Brasília Kisvárda Jūrmala Mnichovo Hradiště Jablonné nad Orlicí Huzhou Dabas Nyergesújfalu Szentgotthárd Xinxiang Neratovice Stochov Prachatice Wenzhou Brussels Smolensk Dombóvár Přimda Albufeira Hildesheim Ingolstadt Benalmádena Sânnicolau Mare Szigetszentmiklós Yamaguchi Mátészalka Regensburg Jablonec nad Jizerou Český Krumlov Bystřice pod Hostýnem Iquique Zimnicea Beppu Encs Pécsvárad Coburg Přeštice Čelákovice Havlíčkův Brod Neubrandenburg Sárospatak Guilin Bácsalmás Szombathely Kozármisleny Soltvadkert Tiszaföldvár Heves Raspenava Vsetín Rosenheim Edmonton Gárdony Cegléd Kazincbarcika Siófok Fertőd Tachov Chaoyang Elterlein Sümeg Mórahalom Balassagyarmat Anqing Zaporizhzhya Pforzheim Terezín Făget Augsburg Kosmonosy Mariánské Lázně Hlučín Maizuru Ostrov Kiskunmajsa Sarajevo Aveiro Kiskőrös Mannheim Jiříkov Scheibenberg Medan Wiesbaden Yangzhou Santa Fe Mezőtúr Dunakeszi Fushun Mezőhegyes Százhalombatta Norden Roudnice nad Labem Kolín Andorra la Vella Wuhu Valmiera Komló Karcag Suzhou Sarkad Zhuhai Siegen Police nad Metují Balatonföldvár Uherské Hradiště Siklós Wolfsburg Veszprém Shibukawa Kisújszállás Ruhla Schneeberg, Saxony Pilisvörösvár Sayda Brand-Erbisdorf Annaberg-Buchholz Litvínov Nantong Salgótarján Hino City Strakonice Vyškov Hamm Blatná Bremerhaven Atami Kaposvár Sušice Schmalkalden Lyon Ráckeve Hatvan Blansko Broumov Hohenstein-Ernstthal Pasadena Brandenburg an der Havel Zărnești Salzgitter Shijōnawate Žamberk Mezőkövesd Kumano Tucson Balatonfüred Viseu Kőszeg Aue Caracas Offenbach am Main Yerevan Mór Nagybajom Gödöllő Tokaj Kempten Loket Nepomuk Edelény Tab Bicaz Tai'an Itō Bóly Sinaia Kdyně
310
action count
action greater
action union
action find_reverse_tuple_counts
relation sister city
type city
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation sister city
type city
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Kuching
relation sister city
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?u WHERE { { ?m property:sister_city ?u . ?u rdf:type ontology:city . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?m property:sister_city ?u . ?m rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:city } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:sister_city resource:Kuching . { { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?o rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?n > ?h ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q456
P361
Q15640612
USER
Which administrative country subdivisions are a portion of Lyon ?
(c(Q15640612),P361,Q456)
action filter_type
action find_reverse
entity Q456
relation P361
type Q15640612
[{'concept': 'Q15640612'}, 'P361', 'Q456']
SELECT DISTINCT ?i WHERE { ?i property:P361 resource:Q456 . ?i rdf:type ontology:Q15640612 }
Lyon
action filter_type
action find_reverse
entity Lyon
relation part of
type fifth-level administrative country subdivision
[{'concept': 'fifth-level administrative country subdivision'}, 'part of', 'Lyon']
SELECT DISTINCT ?i WHERE { ?i property:part_of resource:Lyon . ?i rdf:type ontology:fifth-level_administrative_country_subdivision }
[]
fifth-level administrative country subdivision
Q3337 Q3351 Q3354
SYSTEM
1st arrondissement of Lyon, 4th arrondissement of Lyon, 5th arrondissement of Lyon
Q3337 Q3351 Q3354 Q3344 Q3360 Q3358 Q3348 Q3363 Q3366
(c(Q15640612),P361,Q456)
action filter_type
action find_reverse
entity Q456
relation P361
type Q15640612
[ANSWERS] are a portion of Lyon
[{'concept': 'Q15640612'}, 'P361', 'Q456']
SELECT DISTINCT ?i WHERE { ?i property:P361 resource:Q456 . ?i rdf:type ontology:Q15640612 }
1st arrondissement of Lyon 4th arrondissement of Lyon 5th arrondissement of Lyon 2nd arrondissement of Lyon 7th arrondissement of Lyon 6th arrondissement of Lyon 3rd arrondissement of Lyon 8th arrondissement of Lyon 9th arrondissement of Lyon
1st arrondissement of Lyon, 4th arrondissement of Lyon and 5th arrondissement of Lyon are a portion of Lyon
1st arrondissement of Lyon 4th arrondissement of Lyon 5th arrondissement of Lyon
action filter_type
action find_reverse
entity Lyon
relation part of
type fifth-level administrative country subdivision
[{'concept': 'fifth-level administrative country subdivision'}, 'part of', 'Lyon']
SELECT DISTINCT ?i WHERE { ?i property:part_of resource:Lyon . ?i rdf:type ontology:fifth-level_administrative_country_subdivision }
[]