Simple Question (Direct)
Simple Question
Q15719154
P1412
Q34770
USER
Which language is Carlos Serrano de Osma capable of writing ?
(Q15719154,P1412,c(Q34770))
action filter_type
action find
entity Q15719154
relation P1412
type Q34770
['Q15719154', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q15719154 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
Carlos Serrano de Osma
action filter_type
action find
entity Carlos Serrano de Osma
relation languages spoken, written or signed
type language
['Carlos Serrano de Osma', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Carlos_Serrano_de_Osma property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q15719154,P1412,c(Q34770))
action filter_type
action find
entity Q15719154
relation P1412
type Q34770
[ANSWER] is Carlos Serrano de Osma capable of writing
['Q15719154', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q15719154 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
Spanish
Spanish is Carlos Serrano de Osma capable of writing
Spanish
action filter_type
action find
entity Carlos Serrano de Osma
relation languages spoken, written or signed
type language
['Carlos Serrano de Osma', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Carlos_Serrano_de_Osma property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15719154
P57
Q838948
USER
Which work of art is that person a director of ?
(c(Q838948),P57,Q1321)
action filter_type
action find_reverse
entity Q15719154
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q1321']
SELECT DISTINCT ?s WHERE { ?s property:P57 resource:Q15719154 . ?s rdf:type ontology:Q838948 }
Carlos Serrano de Osma
action filter_type
action find_reverse
entity Carlos Serrano de Osma
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Spanish']
SELECT DISTINCT ?s WHERE { ?s property:director resource:Carlos_Serrano_de_Osma . ?s rdf:type ontology:work_of_art }
[]
work of art
Q19364031
SYSTEM
The Black Siren
Q19364031
(c(Q838948),P57,Q1321)
action filter_type
action find_reverse
entity Q15719154
relation P57
type Q838948
[ANSWER] is that person a director of
[{'concept': 'Q838948'}, 'P57', 'Q1321']
SELECT DISTINCT ?s WHERE { ?s property:P57 resource:Q15719154 . ?s rdf:type ontology:Q838948 }
The Black Siren
The Black Siren is that person a director of
The Black Siren
action filter_type
action find_reverse
entity Carlos Serrano de Osma
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Spanish']
SELECT DISTINCT ?s WHERE { ?s property:director resource:Carlos_Serrano_de_Osma . ?s rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q19364031 Q29 Q17275
P495
Q15617994
USER
Did that work of art originated in Spain and Bistagno ?
(Q19364031,P495,Q29) (Q19364031,P495,Q17275)
action is_in
entity Q19364031
action intersection
action find_reverse
entity Q29
relation P495
action find_reverse
entity Q17275
relation P495
['Q19364031', 'P495', 'Q29'] ['Q19364031', 'P495', 'Q17275']
ASK WHERE { resource:Q19364031 property:P495 resource:Q17275 . resource:Q19364031 property:P495 resource:Q29 }
The Black Siren Spain Bistagno
action is_in
entity The Black Siren
action intersection
action find_reverse
entity Spain
relation country of origin
action find_reverse
entity Bistagno
relation country of origin
['The Black Siren', 'country of origin', 'Spain'] ['The Black Siren', 'country of origin', 'Bistagno']
ASK WHERE { resource:The_Black_Siren property:country_of_origin resource:Bistagno . resource:The_Black_Siren property:country_of_origin resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q19364031,P495,Q29) (Q19364031,P495,Q17275)
action is_in
entity Q19364031
action intersection
action find_reverse
entity Q29
relation P495
action find_reverse
entity Q17275
relation P495
[ANSWER]
['Q19364031', 'P495', 'Q29'] ['Q19364031', 'P495', 'Q17275']
ASK WHERE { resource:Q19364031 property:P495 resource:Q17275 . resource:Q19364031 property:P495 resource:Q29 }
YES and NO respectively
action is_in
entity The Black Siren
action intersection
action find_reverse
entity Spain
relation country of origin
action find_reverse
entity Bistagno
relation country of origin
['The Black Siren', 'country of origin', 'Spain'] ['The Black Siren', 'country of origin', 'Bistagno']
ASK WHERE { resource:The_Black_Siren property:country_of_origin resource:Bistagno . resource:The_Black_Siren property:country_of_origin resource:Spain }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19364031
P364
Q34770
USER
Which language was used originally for the creation of that work of art ?
action filter_type
action find
entity Q19364031
relation P364
type Q34770
SELECT DISTINCT ?b WHERE { resource:Q19364031 property:P364 ?b . ?b rdf:type ontology:Q34770 }
The Black Siren
action filter_type
action find
entity The Black Siren
relation original language of work
type language
SELECT DISTINCT ?b WHERE { resource:The_Black_Siren property:original_language_of_work ?b . ?b rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
action filter_type
action find
entity Q19364031
relation P364
type Q34770
[ANSWER] was used originally for the creation of that work of art
SELECT DISTINCT ?b WHERE { resource:Q19364031 property:P364 ?b . ?b rdf:type ontology:Q34770 }
Spanish
Spanish was used originally for the creation of that work of art
Spanish
action filter_type
action find
entity The Black Siren
relation original language of work
type language
SELECT DISTINCT ?b WHERE { resource:The_Black_Siren property:original_language_of_work ?b . ?b rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15719154
P20
Q56061
USER
Where did the expiration of Carlos Serrano de Osma occur ?
(Q15719154,P20,c(Q56061))
action filter_type
action find
entity Q15719154
relation P20
type Q56061
['Q15719154', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q15719154 property:P20 ?m . ?m rdf:type ontology:Q56061 }
Carlos Serrano de Osma
action filter_type
action find
entity Carlos Serrano de Osma
relation place of death
type administrative territorial entity
['Carlos Serrano de Osma', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Carlos_Serrano_de_Osma property:place_of_death ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q11959
SYSTEM
Alicante
Q11959
(Q15719154,P20,c(Q56061))
action filter_type
action find
entity Q15719154
relation P20
type Q56061
The expiration of Carlos Serrano de Osma occurred in [ANSWER]
['Q15719154', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q15719154 property:P20 ?m . ?m rdf:type ontology:Q56061 }
Alicante
The expiration of Carlos Serrano de Osma occurred in Alicante
Alicante
action filter_type
action find
entity Carlos Serrano de Osma
relation place of death
type administrative territorial entity
['Carlos Serrano de Osma', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Carlos_Serrano_de_Osma property:place_of_death ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q11959 Q465820
P19
Q502895
USER
Was Lola Forner born at that administrative territory ?
(Q465820,P19,Q11959)
action is_in
entity Q11959
action find
entity Q465820
relation P19
['Q465820', 'P19', 'Q11959']
ASK WHERE { resource:Q465820 property:P19 resource:Q11959 }
Alicante Lola Forner
action is_in
entity Alicante
action find
entity Lola Forner
relation place of birth
['Lola Forner', 'place of birth', 'Alicante']
ASK WHERE { resource:Lola_Forner property:place_of_birth resource:Alicante }
[]
common name
SYSTEM
YES
(Q465820,P19,Q11959)
action is_in
entity Q11959
action find
entity Q465820
relation P19
[ANSWER]
['Q465820', 'P19', 'Q11959']
ASK WHERE { resource:Q465820 property:P19 resource:Q11959 }
Yes
action is_in
entity Alicante
action find
entity Lola Forner
relation place of birth
['Lola Forner', 'place of birth', 'Alicante']
ASK WHERE { resource:Lola_Forner property:place_of_birth resource:Alicante }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q11959
P19
Q502895
USER
How many people have location of birth at Alicante ?
(c(Q502895),P19,Q11959)
action count
action filter_type
action find_reverse
entity Q11959
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q11959']
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:P19 resource:Q11959 . ?l rdf:type ontology:Q502895 }
Alicante
action count
action filter_type
action find_reverse
entity Alicante
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Alicante']
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:place_of_birth resource:Alicante . ?l rdf:type ontology:common_name }
[]
common name
SYSTEM
296
Q19872575 Q616515 Q6100482 Q5938464 Q3814030 Q2879481 Q3130779 Q6101303 Q517704 Q8195244 Q9014778 Q5553797 Q973107 Q3325298 Q23758868 Q2889544 Q17064269 Q3857294 Q3259464 Q18049717 Q3824495 Q11934485 Q18416595 Q5940216 Q5975161 Q16221500 Q11954493 Q8776128 Q3824440 Q5674158 Q19370791 Q1371814 Q15015247 Q11912523 Q3780574 Q9014059 Q3266697 Q16300725 Q20106295 Q8776119 Q17278913 Q6159524 Q4083747 Q17278904 Q17278907 Q17278902 Q5231213 Q20101464 Q604675 Q17035183 Q11928367 Q21001613 Q20675843 Q3297970 Q22082736 Q16300769 Q11692955 Q5666885 Q5660653 Q5944210 Q11907064 Q5677552 Q15993702 Q5983968 Q3186365 Q19262378 Q9065924 Q326408 Q5940748 Q3323802 Q6161038 Q20100326 Q3189830 Q3186340 Q297642 Q950998 Q16188201 Q6272353 Q11905835 Q11929251 Q465820 Q6132220 Q5697980 Q2543638 Q20908962 Q20908960 Q20908961 Q426679 Q21001237 Q20908959 Q20908958 Q20908953 Q20908957 Q20908956 Q20908955 Q20908954 Q8263895 Q22054494 Q5951973 Q515646 Q20101740 Q5662813 Q21001140 Q3291863 Q2481842 Q20100270 Q6013911 Q22673298 Q117056 Q3071919 Q16297439 Q440545 Q21001363 Q5042296 Q6386868 Q21001164 Q23058151 Q5867409 Q9032639 Q5876173 Q9014931 Q7123076 Q5700061 Q3751764 Q11921709 Q5944553 Q11691076 Q8264126 Q16150421 Q638218 Q6173274 Q2720853 Q20013734 Q11918871 Q21001264 Q2192903 Q20113584 Q16229702 Q18205452 Q21001398 Q12356455 Q21192854 Q270120 Q7426576 Q5657983 Q20741231 Q21001090 Q9014980 Q23005885 Q8353138 Q437174 Q19758678 Q967673 Q5953791 Q11954662 Q1861573 Q20875472 Q3183999 Q11929160 Q18720176 Q26260979 Q5833020 Q3287153 Q5712089 Q8076679 Q11929188 Q5959110 Q6009440 Q8076647 Q3081811 Q9014876 Q5882848 Q11917587 Q3324338 Q16182169 Q11921017 Q6148557 Q5664718 Q3325644 Q6277456 Q8353582 Q21001412 Q16232938 Q11935409 Q24069681 Q3057294 Q11927490 Q5483254 Q11922985 Q6015800 Q2462896 Q5730013 Q543561 Q17064890 Q21001464 Q2831145 Q16768475 Q6292246 Q3772973 Q977368 Q1042706 Q721057 Q7299779 Q6059149 Q6161207 Q3620289 Q20963350 Q846474 Q2857303 Q7357389 Q6165382 Q19937381 Q5829211 Q5482901 Q3287151 Q11909159 Q24280194 Q3527948 Q5979081 Q16302709 Q5941499 Q2563287 Q507913 Q15909134 Q21001039 Q16300887 Q17278896 Q17278897 Q9014883 Q11935010 Q5409687 Q3050994 Q16266882 Q5945542 Q11929044 Q11929042 Q6406334 Q20003615 Q3293418 Q20004348 Q16531190 Q3775467 Q19999762 Q18022208 Q425592 Q9030061 Q7281998 Q5699145 Q11681944 Q2887662 Q545932 Q3623264 Q9013473 Q18719329 Q7322699 Q6844433 Q11935759 Q2880169 Q3823942 Q20898228 Q17278908 Q6076976 Q2254052 Q16237000 Q3928959 Q59206 Q1249501 Q1749970 Q5938833 Q11915413 Q2452715 Q5401249 Q458323 Q2879539 Q2011682 Q16618066 Q8961055 Q5950171 Q17274727 Q2313603 Q3321675 Q11954637 Q11944398 Q5397883 Q17148202 Q20973066 Q18416133 Q9053410 Q1525754 Q5642573 Q11929330 Q5379843 Q7416731 Q4888816 Q2450746 Q1335635
(c(Q502895),P19,Q11959)
action count
action filter_type
action find_reverse
entity Q11959
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q11959']
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:P19 resource:Q11959 . ?l rdf:type ontology:Q502895 }
Mario Arqués Gabriel Miró Raquel Micó José Benito Ruiz Luis Costa Juan Mariano Sánchez Soler José Llopis Corona Raúl Manrique Tajuelo Juan Manuel Asensi Alfonso de Rojas y Pascual de Bonanza José Rojas Moreno Alejandro Varela López Juan Ignacio Martínez Cristian Bustos Adrian Murcia Gregorio Cruzada Villaamil Miguel Ángel Martín Bordera Miguel Ángel Cuevas Lorenzo Carbonell Santacruz Miguel Ángel Garrido Cifuentes Juan Manuel Valero Martínez Macarena Montesinos Antonio Bosch Conde José Guardiola Picó Licia Calderón Lander Panera Arteagabeitia Verónica López Ramón Enrique Cerdán Tato Curro Montoya Ana del Rey Juanma Agulles Ramón López José Luis Miñano Carmen Sánchez Brufal Luis Berenguer Fuster José Luis Lassaletta Cano Luis Francisco Esplá Violeta Giménez Antonio Moreno Carrasco Enrique Bushell y Laussat José Soler y Aracil Vanesa Romero Augusto Benedico César Oarrichena Genaro Manuel Pérez Feliu Laura Martínez Berenguer David Bauzá Antonio Pérez Olcina Antonio Rodríguez Martínez Antonio Vicente Peral Villar Jordi Serra Ferrer José Juan Zaplana López Alexis Egea Alejandro Tous José Alejandro Chacopino Luchoro Jaime Giner Álvarez Miquel Grau Alfonso Guixot Guixot Agustín Galiana José Muñoz Maldonado Asunción Sánchez Zaplana Chechu Moltó Ernesto Llobregat Luis Miguel Seguí José Luis Jordán Peña Antonio Mira-Perceval Rafael Terol Maluenda Ginés Pérez de la Parra José Joaquín Albadalejo Gisbert José Bordalás Vicente Bañuls Alejandro Bas Carratalá Julio de España Moya José Joaquín Ripoll Serrano Inma Serrano Fele Martínez José Rafael Caturla i Palao Jonatan Neftalí Antoni Escarré Esteve Juan Antonio Montesinos Lola Forner Sonia Furió Antonio Campos Doménech Ana Milán María Pilar Sol Cortés Jose Miguel Saval Perez Juan Seva Martínez Manuel Francisco Alcaraz Ramos Beatriz Gascó Verdier José María Rodríguez Galant Genoveva Reig Ribelles María Trinidad Amorós Fillol María Dolores Mollá Soler María Ángeles Martínez Esplá Manuel Gómez Fernández Clara Abellán García Carlos Esplá Rizo Aureliano Ibarra y Manzoni Juan Pedro Hernández Moltó Liliana Fernández Paquita Sánchez Alberto Berna Guerrero María Estela Canales Martínez-Pinna Carlos Llorens Sipo Bohale Trinitat Alted i Fornet Miguel Arenas Llofriu y Sagrera, Eleuterio Miguel de las Cuevas Sonia Escolano Antoniet Rubén Ramírez Hidalgo María Moreno Ruiz Carlos López Huesca Antulio Sanjuan Ribes David Cerdán Pastor José Sala Catalá Francisco Sanguino Miguel Antonio Campoy Gastón Castelló José de Rojas Galiano Paco Cano Antonio Vidal Caturla Óscar Esplá Federico Bas Moró José Pedro Berenguer Soriano Mario Flores Lanuza Carlos Navarro Rodrigo Andrés Prieto Albert Lucía Tavera Ángel López-Amo Francisco Castelló Elena Camuñas Mohinelo Elisa Díaz González Noelia Hernández Sánchez Juande Gabriel Echávarri Borja Martínez Jesús Castro-Balbi Covadonga Peremarch Palomares Vicente Inglada Ors Julio Guillén Tato Isabel Fernández Satur Grech Adolfo Celdrán Mallol Federico de Botella y de Hornos Emilio Argüeso Torres José Ángel Pérez Cebrián Manuel Ausó y Monzó Cesar Augusto Asencio Adsuar Matilde Asensi Silvia Oñate Félix Berenguer de Marquina Juana Francés Vicenç Balaguer Pascual Raúl Alarcón José Botella Almodóvar Jose Tomas Torregrosa Torregrosa José María Gadea Orozco Nuria Oliver Francisco Bushell Laussat Enrique Alfonso José Mari Manzanares Aurora Carbonell Álvaro Clausí José Pasqual de Bonanza y Soler de Cornellá Kenny Ruiz Melchor Llopis Corona Álex Muñoz Francisco Bouligny José Vicente Lledó Gonzalo Bonastre Dolores Huesca Rodríguez Andrés Amado Reygondaud Jorge Cabré Rico Esther López Barceló Tomás López Torregrosa Alejandra Quereda Francisco Javier de Balmis Jordi César López Delgado Daniel Bañuls Manuel Pomares Monleón Ramón Soria Mari Llum Quiñonero Hernández Lola Blasco Ernesto Villar Millares Jerónimo Gomáriz Latorre Francisco Cerdá y Rico Francisco José Antón Lledó Miguel Ángel Pérez Oca Raúl Ruiz Matarín Blas Bernal Jeanne Mas Lauren Egea Acame María del Carmen Sánchez Zamora Albert Dupuy Raúl Ivars Santos José Francisco Mañuz Samuel Llorca Germán Sánchez Carlos Arniches Pedro Ferrándiz Raúl González Robles Paloma López Vicente López Barberá Antonio Valcarcel Federico Soto Eleuterio Maisonnave y Cutayar Antonio García Miralles Rodrigo Palomino Javi Paños José Marvá y Mayer Elena Martín Calvo José Miguel Marí Sánchez José María Dols Samper Bernat Lassaleta Gonzalo Puigcerver Romá José Gadea Pro Lorenzo Peña Carlos Serrano José Luis Miñano García José Aparicio Iván Navarro Antoni Egea Daniel Ros Gómez Vicente Ramón Tomás Latorre Miguel Fuentes Vízner Miguel Galiano Talens Tejedor y Ulloa José Luis Vegar Manuel Senante Martinez Juan Antonio Esplá José Bañón José Santacreu Bernabéu Pepe Sellés José Antonio Palomino Ortiz José Antonio Iborra Cilleros Kiko Martínez Joaquín Santo Matas Mario Escudero José Asensi Sabater Antonio Pallarés Kiko Sánchez Federico Carlos Bas Vassallo Francisco Antonio Candela Pascual Rafael Altamira y Crevea María Jurado Rafa Gómez Antonio Moreno Guerrero Francisco Ramos Molins Ramonzuelo Rafael Beltrán José Quirante José Abad Gosálbez Víctor Martínez-Simancas García Ricardo Llorca Miguel Aracil María Inmaculada de España Moya Josep Vicent Manuel Gato Thomason Tomás Ruso Antón Juan Poveda García José Rochel Michèle Tabarot Baldo Santana Rafael Navarro Artur Balder Laura Pamplona Manuel Berenguer Josep Carratalà Consuelo Català Pérez Juan Escarré Iñaki Gómez Pedro Solbes Heliodoro Madrona David Córcoles Pepita Meliá Federico Suárez Hurtado Juan José Bernabé Francisco Nortes Paqui Jorge Fernández Madinabeitia Vicente Magro Servet Rafael Alberola Herrera Alicia López Rafael Carratalá Ramos María del Mar Jover Manolito Motosierra Óscar Tordera Iñesta María Blasco Marhuenda Rúben Solano Juan de Rojas y Pascual de Bonanza Enrique Tortosa Palma Sandra Paños Juan Antonio Chesa Joaquín Dicenta Jaime Morey
296
action count
action filter_type
action find_reverse
entity Alicante
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Alicante']
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:place_of_birth resource:Alicante . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11959
P276
Q1190554
USER
What is located at that administrative territory ?
action filter_type
action find_reverse
entity Q11959
relation P276
type Q1190554
SELECT DISTINCT ?v WHERE { ?v property:P276 resource:Q11959 . ?v rdf:type ontology:Q1190554 }
Alicante
action filter_type
action find_reverse
entity Alicante
relation location
type event
SELECT DISTINCT ?v WHERE { ?v property:location resource:Alicante . ?v rdf:type ontology:event }
[]
event
Q4885479
SYSTEM
Bombing of Alicante
Q4885479
action filter_type
action find_reverse
entity Q11959
relation P276
type Q1190554
[ANSWER] is located at that administrative territory
SELECT DISTINCT ?v WHERE { ?v property:P276 resource:Q11959 . ?v rdf:type ontology:Q1190554 }
Bombing of Alicante
Bombing of Alicante is located at that administrative territory
Bombing of Alicante
action filter_type
action find_reverse
entity Alicante
relation location
type event
SELECT DISTINCT ?v WHERE { ?v property:location resource:Alicante . ?v rdf:type ontology:event }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q585842 Q11959
P19 P190
Q515
USER
Which cities are twin cities of Alicante or are the birthplace of Nguyen Van Thien ?
OR((Q11959,P190,c(Q515)), (Q585842,P19,c(Q515)))
action filter_type
action union
action find
entity Q11959
relation P190
action find
entity Q585842
relation P19
type Q515
{'OR': [['Q11959', 'P190', {'concept': 'Q515'}], ['Q585842', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q515 . { { resource:Q11959 property:P190 ?i } UNION { resource:Q585842 property:P19 ?i } } }
Nguyen Van Thien Alicante
action filter_type
action union
action find
entity Alicante
relation sister city
action find
entity Nguyen Van Thien
relation place of birth
type city
{'OR': [['Alicante', 'sister city', {'concept': 'city'}], ['Nguyen Van Thien', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:city . { { resource:Alicante property:sister_city ?i } UNION { resource:Nguyen_Van_Thien property:place_of_birth ?i } } }
[]
city
Q696388 Q1773 Q42635 Q107401 Q216075
SYSTEM
Toyooka, Riga, Wenzhou, Sivas, Cần Thơ
Q696388 Q1773 Q42635 Q107401 Q216075
OR((Q11959,P190,c(Q515)), (Q585842,P19,c(Q515)))
action filter_type
action union
action find
entity Q11959
relation P190
action find
entity Q585842
relation P19
type Q515
[ANSWERS] are twin cities of Alicante or are the birthplace of Nguyen Van Thien
{'OR': [['Q11959', 'P190', {'concept': 'Q515'}], ['Q585842', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q515 . { { resource:Q11959 property:P190 ?i } UNION { resource:Q585842 property:P19 ?i } } }
Toyooka Riga Wenzhou Sivas Cần Thơ
Toyooka, Riga, Wenzhou, Sivas and Cần Thơ are twin cities of Alicante or are the birthplace of Nguyen Van Thien
Toyooka Riga Wenzhou Sivas Cần Thơ
action filter_type
action union
action find
entity Alicante
relation sister city
action find
entity Nguyen Van Thien
relation place of birth
type city
{'OR': [['Alicante', 'sister city', {'concept': 'city'}], ['Nguyen Van Thien', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:city . { { resource:Alicante property:sister_city ?i } UNION { resource:Nguyen_Van_Thien property:place_of_birth ?i } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q337567 Q15324 Q515
USER
How many cities are located next to atmost 5 still waterss and bodies of water ?
(c(Q515),P206,c(Q337567)|c(Q15324))
action count
action atmost
action union
action find_tuple_counts
relation P206
type Q515
type Q337567
action find_tuple_counts
relation P206
type Q515
type Q15324
value 5
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { FILTER ( ?j <= 5 ) . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?j ) WHERE { { ?y property:P206 ?m . ?y rdf:type ontology:Q515 . ?m rdf:type ontology:Q337567 } UNION { ?y property:P206 ?m . ?y rdf:type ontology:Q515 . ?m rdf:type ontology:Q15324 } } GROUP BY ?y } }
action count
action atmost
action union
action find_tuple_counts
relation located next to body of water
type city
type still waters
action find_tuple_counts
relation located next to body of water
type city
type body of water
value 5
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { FILTER ( ?j <= 5 ) . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?j ) WHERE { { ?y property:located_next_to_body_of_water ?m . ?y rdf:type ontology:city . ?m rdf:type ontology:still_waters } UNION { ?y property:located_next_to_body_of_water ?m . ?y rdf:type ontology:city . ?m rdf:type ontology:body_of_water } } GROUP BY ?y } }
[]
still waters body of water city
SYSTEM
98
Q1410 Q3075 Q1794 Q1863 Q1865 Q1519 Q496499 Q3974 Q846877 Q19689 Q1486 Q2966 Q34217 Q496479 Q602903 Q3004 Q1461 Q488869 Q217432 Q827041 Q3572 Q623549 Q2865 Q4024 Q2978 Q3806 Q2973 Q34261 Q3014 Q1773 Q1844 Q14821 Q819587 Q3958 Q3955 Q23430 Q633272 Q2773 Q612815 Q320943 Q1858 Q633935 Q320416 Q7473516 Q1761 Q890122 Q4007 Q2706 Q7070 Q3826 Q653545 Q8684 Q270704 Q41474 Q2749 Q4174 Q4346 Q3838 Q2833 Q1209 Q23661 Q3931 Q3751 Q3750 Q3200 Q3126 Q3042 Q157835 Q3046 Q847550 Q3936 Q2936 Q646780 Q3214 Q2100 Q1533 Q1530 Q1731 Q1953 Q5838 Q7027 Q3857 Q3994 Q19660 Q11194 Q3915 Q2119 Q3069 Q1720 Q1721 Q329996 Q3904 Q695920 Q2910 Q3861 Q1899 Q2999 Q2844
(c(Q515),P206,c(Q337567)|c(Q15324))
action count
action atmost
action union
action find_tuple_counts
relation P206
type Q515
type Q337567
action find_tuple_counts
relation P206
type Q515
type Q15324
value 5
[ANSWER]
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { FILTER ( ?j <= 5 ) . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?j ) WHERE { { ?y property:P206 ?m . ?y rdf:type ontology:Q515 . ?m rdf:type ontology:Q337567 } UNION { ?y property:P206 ?m . ?y rdf:type ontology:Q515 . ?m rdf:type ontology:Q15324 } } GROUP BY ?y } }
Gibraltar Fürth Frankfurt Andorra la Vella Kuala Lumpur Abu Dhabi Kazuno Landshut Semboku Tirana Buenos Aires Heidelberg Oxford Yokote Yurihonjō Ingolstadt Manila Benalmádena Port Harcourt Beroun Tunis Puerto de la Cruz Kassel Frankfurt (Oder) Regensburg Tübingen Darmstadt Port-au-Prince Wolfsburg Riga Vaduz Coburg Noshiro Neubrandenburg Weimar Ulaanbaatar Yuzawa Braunschweig Garachico Matsudo Hanoi Oga Tartessos Tokyo Dublin Bolhrad Rosenheim Bremerhaven Eisenach Muscat Kita-Akita Seoul Třebíč Kingstown Augsburg Emden Waren (Müritz) Kinshasa Freiburg im Breisgau Free Hanseatic City of Bremen Wellington Brandenburg an der Havel Praia Gera Salzgitter Erlangen Offenbach am Main Zaporizhzhya Pforzheim Nikaho Bamberg Oldenburg Katagami Cottbus Duisburg Caracas Baghdad Dresden Yerevan Kabul Straubing Wilhelmshaven Kempten Bucharest Sarajevo Antananarivo Mannheim Bottrop Mainz Wiesbaden Ōdate Mbabane Daisen Ludwigshafen Doha Kyiv Würzburg Brasília
98
action count
action atmost
action union
action find_tuple_counts
relation located next to body of water
type city
type still waters
action find_tuple_counts
relation located next to body of water
type city
type body of water
value 5
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { FILTER ( ?j <= 5 ) . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?j ) WHERE { { ?y property:located_next_to_body_of_water ?m . ?y rdf:type ontology:city . ?m rdf:type ontology:still_waters } UNION { ?y property:located_next_to_body_of_water ?m . ?y rdf:type ontology:city . ?m rdf:type ontology:body_of_water } } GROUP BY ?y } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P190
Q515 Q515
USER
How many cities are twin city of approximately 4 cities ?
(c(Q515),P190,c(Q515))
action count
action approx
action find_tuple_counts
relation P190
type Q515
type Q515
value 4
[{'concept': 'Q515'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { FILTER ( ?a = 4 ) . { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?a ) WHERE { ?i property:P190 ?q . ?i rdf:type ontology:Q515 . ?q rdf:type ontology:Q515 } GROUP BY ?i } }
action count
action approx
action find_tuple_counts
relation sister city
type city
type city
value 4
[{'concept': 'city'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { FILTER ( ?a = 4 ) . { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?a ) WHERE { ?i property:sister_city ?q . ?i rdf:type ontology:city . ?q rdf:type ontology:city } GROUP BY ?i } }
[]
city city
SYSTEM
29
Q23430 Q3572 Q11736 Q837968 Q20934 Q57958 Q11462 Q23482 Q16520 Q17042 Q198370 Q8684 Q837157 Q8652 Q19660 Q200267 Q2844 Q533078 Q9005 Q2773 Q1773 Q252061 Q267708 Q1508 Q11194 Q11725 Q839796 Q456 Q1953
(c(Q515),P190,c(Q515))
action count
action approx
action find_tuple_counts
relation P190
type Q515
type Q515
value 4
[ANSWER]
[{'concept': 'Q515'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { FILTER ( ?a = 4 ) . { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?a ) WHERE { ?i property:P190 ?q . ?i rdf:type ontology:Q515 . ?q rdf:type ontology:Q515 } GROUP BY ?i } }
Ulaanbaatar Tunis Tianjin Băile Tușnad Incheon Zhenjiang Surabaya Marseille Busan Oakland Zibo Seoul Covasna Miami Bucharest Kamakura Brasília Baraolt Brussels Braunschweig Riga Valea lui Mihai Sovata Makati Sarajevo Chongqing Borsec Lyon Yerevan
29
action count
action approx
action find_tuple_counts
relation sister city
type city
type city
value 4
[{'concept': 'city'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { FILTER ( ?a = 4 ) . { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?a ) WHERE { ?i property:sister_city ?q . ?i rdf:type ontology:city . ?q rdf:type ontology:city } GROUP BY ?i } }
[]