Simple Question (Direct)
Simple Question
Q5277452
P21
Q290
USER
Which sex does Dimitar Vakavliev have ?
(Q5277452,P21,c(Q290))
action filter_type
action find
entity Q5277452
relation P21
type Q290
['Q5277452', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q5277452 property:P21 ?h . ?h rdf:type ontology:Q290 }
Dimitar Vakavliev
action filter_type
action find
entity Dimitar Vakavliev
relation gender
type sex
['Dimitar Vakavliev', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Dimitar_Vakavliev property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5277452,P21,c(Q290))
action filter_type
action find
entity Q5277452
relation P21
type Q290
Dimitar Vakavliev has 1 [ANSWER]
['Q5277452', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q5277452 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
Dimitar Vakavliev has 1 male
male
action filter_type
action find
entity Dimitar Vakavliev
relation gender
type sex
['Dimitar Vakavliev', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Dimitar_Vakavliev property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5277452
P641
Q349
USER
Which sport did Dimitar Vakavliev participate in ?
(Q5277452,P641,c(Q349))
action filter_type
action find
entity Q5277452
relation P641
type Q349
['Q5277452', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { resource:Q5277452 property:P641 ?v . ?v rdf:type ontology:Q349 }
Dimitar Vakavliev
action filter_type
action find
entity Dimitar Vakavliev
relation sport
type sport
['Dimitar Vakavliev', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { resource:Dimitar_Vakavliev property:sport ?v . ?v rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5277452,P641,c(Q349))
action filter_type
action find
entity Q5277452
relation P641
type Q349
Dimitar Vakavliev participated in [ANSWER]
['Q5277452', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { resource:Q5277452 property:P641 ?v . ?v rdf:type ontology:Q349 }
association football
Dimitar Vakavliev participated in association football
association football
action filter_type
action find
entity Dimitar Vakavliev
relation sport
type sport
['Dimitar Vakavliev', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { resource:Dimitar_Vakavliev property:sport ?v . ?v rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5277452
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q5277452
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q5277452 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Dimitar Vakavliev
action filter_type
action find
entity Dimitar Vakavliev
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Dimitar_Vakavliev property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q219
SYSTEM
Bulgaria
Q219
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q5277452
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q5277452 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Bulgaria
Bulgaria is the native country of that person
Bulgaria
action filter_type
action find
entity Dimitar Vakavliev
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Dimitar_Vakavliev property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q318569 Q5277452
P19
Q56061
USER
Which administrative territories are the birthplace of Dimitar Vakavliev or Manuel Orantes ?
OR((Q5277452,P19,c(Q56061)), (Q318569,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5277452
relation P19
action find
entity Q318569
relation P19
type Q56061
{'OR': [['Q5277452', 'P19', {'concept': 'Q56061'}], ['Q318569', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q5277452 property:P19 ?f } UNION { resource:Q318569 property:P19 ?f } } . ?f rdf:type ontology:Q56061 }
Manuel Orantes Dimitar Vakavliev
action filter_type
action union
action find
entity Dimitar Vakavliev
relation place of birth
action find
entity Manuel Orantes
relation place of birth
type administrative territorial entity
{'OR': [['Dimitar Vakavliev', 'place of birth', {'concept': 'administrative territorial entity'}], ['Manuel Orantes', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Dimitar_Vakavliev property:place_of_birth ?f } UNION { resource:Manuel_Orantes property:place_of_birth ?f } } . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q170415 Q8810
SYSTEM
Stara Zagora, Granada
Q170415 Q8810
OR((Q5277452,P19,c(Q56061)), (Q318569,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5277452
relation P19
action find
entity Q318569
relation P19
type Q56061
[ANSWERS] are the birthplace of Dimitar Vakavliev or Manuel Orantes
{'OR': [['Q5277452', 'P19', {'concept': 'Q56061'}], ['Q318569', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q5277452 property:P19 ?f } UNION { resource:Q318569 property:P19 ?f } } . ?f rdf:type ontology:Q56061 }
Stara Zagora Granada
Stara Zagora and Granada are the birthplace of Dimitar Vakavliev or Manuel Orantes
Stara Zagora Granada
action filter_type
action union
action find
entity Dimitar Vakavliev
relation place of birth
action find
entity Manuel Orantes
relation place of birth
type administrative territorial entity
{'OR': [['Dimitar Vakavliev', 'place of birth', {'concept': 'administrative territorial entity'}], ['Manuel Orantes', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Dimitar_Vakavliev property:place_of_birth ?f } UNION { resource:Manuel_Orantes property:place_of_birth ?f } } . ?f rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q8810
P19
Q502895
USER
How many people have birthplace at Granada ?
(c(Q502895),P19,Q8810)
action count
action filter_type
action find_reverse
entity Q8810
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q8810']
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { ?q rdf:type ontology:Q502895 . ?q property:P19 resource:Q8810 }
Granada
action count
action filter_type
action find_reverse
entity Granada
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Granada']
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { ?q rdf:type ontology:common_name . ?q property:place_of_birth resource:Granada }
[]
common name
SYSTEM
316
Q6298833 Q727974 Q8201111 Q11906032 Q6107426 Q318569 Q8201769 Q19608559 Q5483496 Q539779 Q3323160 Q706889 Q429229 Q5698361 Q3742977 Q19300995 Q3052333 Q3074895 Q5938896 Q14124420 Q2344788 Q5860196 Q6015734 Q1348847 Q5993983 Q5441075 Q5928289 Q18987065 Q2967689 Q19997622 Q5163904 Q704786 Q6122977 Q23621810 Q5860134 Q3898657 Q20876966 Q5939438 Q5945288 Q680431 Q439888 Q27685212 Q23894996 Q2558737 Q724068 Q5956137 Q21695224 Q6291523 Q16911695 Q5796240 Q16298245 Q2742060 Q6428785 Q378783 Q23907151 Q5551008 Q21402446 Q21977529 Q16010215 Q3821614 Q9076249 Q4063485 Q17462731 Q5950380 Q5859605 Q4116374 Q5819199 Q3898636 Q719393 Q5830843 Q2849035 Q1620701 Q5992657 Q2744493 Q11705577 Q20861861 Q23758974 Q9014655 Q16227978 Q5866413 Q21899314 Q5927684 Q5873554 Q5698007 Q3186368 Q6293319 Q965997 Q5698215 Q9098263 Q3393043 Q5984040 Q7160041 Q72166 Q327592 Q20100320 Q11686845 Q784490 Q16230042 Q526055 Q608713 Q19900786 Q531326 Q16326191 Q9053922 Q745336 Q18925929 Q5641367 Q6173089 Q3773066 Q5992842 Q7121759 Q5834031 Q7123083 Q546734 Q18579675 Q3719956 Q5896252 Q2602284 Q3619726 Q5857772 Q3186399 Q16494415 Q23014076 Q5699525 Q5155259 Q21129777 Q316339 Q1357400 Q270817 Q4776643 Q6004060 Q2141886 Q19249879 Q24273134 Q16205371 Q16298238 Q5931994 Q6014472 Q6098088 Q20855850 Q5698771 Q21521896 Q5833764 Q5833760 Q5831069 Q13618960 Q3854180 Q11337712 Q6292783 Q11701823 Q1176596 Q293773 Q5939119 Q15179334 Q5867134 Q6056949 Q251441 Q6117711 Q11921764 Q321060 Q18719707 Q2297287 Q19662054 Q16334287 Q18810072 Q332790 Q7128419 Q5698710 Q729973 Q3186410 Q16268702 Q21080461 Q16583623 Q6455901 Q2745963 Q3081888 Q12352544 Q2083663 Q312763 Q2880569 Q21573033 Q775391 Q5949360 Q21976359 Q775389 Q2394494 Q5850584 Q4888643 Q5693984 Q15993845 Q16297325 Q22661791 Q459536 Q3814221 Q1327456 Q5699310 Q16302823 Q3099172 Q3291363 Q3810892 Q5973431 Q23815623 Q16561498 Q669296 Q2621743 Q4822241 Q5866046 Q5674318 Q21558224 Q5759874 Q16630388 Q11692658 Q2836421 Q5665637 Q1147965 Q5697734 Q6125691 Q311167 Q2829274 Q5860509 Q27357 Q5944431 Q16382727 Q22303791 Q3810831 Q14101602 Q441300 Q23022402 Q21561305 Q1267953 Q604471 Q5859858 Q9282609 Q445960 Q22977434 Q16145638 Q16583300 Q20880427 Q6108583 Q5837010 Q538714 Q5833923 Q3286862 Q5484161 Q2848566 Q3108386 Q1643179 Q1366542 Q5724897 Q483206 Q20670249 Q157130 Q16301231 Q7407597 Q5645813 Q1346472 Q5665373 Q5666714 Q21530864 Q4133924 Q3053717 Q5675091 Q22337713 Q3185897 Q16231335 Q461163 Q5873305 Q5721789 Q4417821 Q16599635 Q5577171 Q276432 Q8776239 Q5794970 Q5866684 Q463771 Q2888641 Q5791508 Q1042785 Q26265973 Q5787866 Q15720775 Q6097562 Q5998310 Q21519899 Q3928948 Q2279102 Q3049848 Q6173367 Q326926 Q982992 Q8078826 Q261621 Q3500543 Q9027844 Q16632362 Q22911289 Q16236138 Q6099686 Q6310265 Q3802215 Q667687 Q5749657 Q4450401 Q1158177 Q1349757 Q21931790 Q16591712 Q1113061 Q2090099 Q6279406 Q5868289 Q6165645 Q21853639 Q5945864 Q5992118
(c(Q502895),P19,Q8810)
action count
action filter_type
action find_reverse
entity Q8810
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q8810']
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { ?q rdf:type ontology:Q502895 . ?q property:P19 resource:Q8810 }
Juan Andrés Pedro de Mena Antonina Rodrigo Antonio Amaya Reynaldo Fernández Manzano Manuel Orantes Antonio Velázquez Joseba Aguado Jesús Manuel Sola Olivares Juan Miguel Mercado Cristino Martos y Balbí Ángel Ganivet Matilde Cantos Antonio Gallego Burín Fernando Valverde Manuel Pousa Engroñat Emilio Herrera Linares Luis del Mármol Carvajal José Castro y Serrano José Manuel Ruiz Reyes Manuel Pavía y Lacy, 1st Marquis of Novaliches Fernando Sainz de Bujanda Miguel Ángel Moleón Viana José Higueras Manuel Paso Federico Uruburu Javier Valenzuela Rogelia León Chus Gutiérrez Abu-Muhàmmad al-Gharnatí Constanza Cano Muhammed III, Sultan of Granada Sebastián Pérez Ortiz Juan Salcedo Fernando Reinoso Pedro González del Castillo Álvaro Luis Gijón Carrasco José Enrique Moratalla José Ruiz de Almodóvar Julio Casares Elisa Montés Alhambra Nievas Mariano Baena del Alcázar Juanjo Guarnido Luis García Montero Julián Martínez-Simancas Ximénez José Carlos Rosales José Antonio Sánchez de Luna Miguel Zúñiga Navarro Javier Verdejo Miguel Ángel Castillo Espinar María Pacheco Elena Martín Vivaldi Alonso Cano Ana Casas Broda Joseph Contreras Fernando Tomás de Páramo Gómez Manuel de la Plaza Navarro Albaicín Valentín Parera Sergio Valdeolmillos Juan Alcober Miguel Puche Gutiérrez Juan José Moreno Fernando García Sánchez Gregorio Morales Eduardo Espinosa Cuadros Pedro Bohórquez Moses ibn Ezra Emilia Serrano de Wilson Andrés María de Guzmán Alfredo Alvar Manuel Cobo del Rosal Luis Ricardo Falero Óscar Cano Jaime Ballesteros Eduardo González Arévalo José Pareja Yébenes Blas de Peralta Francisco José Orellana Manuel María del Valle y Cárdenas Javier Egea Gabriel Ruiz de Almodóvar Antonio Carmona José Luis Leal Maldonado José María Rico Pablo Aguilar Antonio Enrique Ángel Barrios Jesús Neira Rodríguez Luis Muñoz Pedro de Moya José María López Mezquita Miguel Ángel Gómez Martínez Ricardo Baquero Valdelomar Julio Aróstegui Sánchez Francisco Alonso Javi Cantero Victoria Padial Louis of Granada Ildefonso Sierra y Orantes Saadia Ibn Danan Guillermo Soria Pablo Almazán Judah ben Saul ibn Tibbon Vicente Díaz Molina Juan Habichuela Ángel Carvajal y Fernández de Córdoba Ibn Juzayy Manuel España Pablo Santos Enriqueta Lozano Paco Esteban Maria Galvany Carmen Blanco y Trigueros Edward Ferrero Hernán Pérez de Quesada Pablo Heras-Casado Antonio Jiménez Quiles Federico Olóriz Aguilera José López Rubio Rafa Delgado María Elena Gómez Moreno Antonio Riquelme Ana Torres-Álvarez Emilio Orozco Díaz Francisco Suárez Manuel Calvente Rosa López Antonio García-Trevijano Forte María José López González Yusuf I, Sultan of Granada Álvaro Cuadros Blanca Fernández Quesada Irene Cuesta Gerardo Jesús Castillo Joaquín García Labella Miguel Hermoso Rafael Villoslada Peula Carlos Calderón y Vasco Antonio Lafuente José María Muñoz Medina Enrique Rojas Montes Enrique Rodríguez Galindo Emilio Dáneo Palacios Manuel Garnica Roldan Melchor Fernández Almagro Jose Luis Gomez Hurtado José Luis Gómez Hurtado Rafael Rodríguez Méndez David Serrano Estrella Morente José Cuenca Jiménez Antoine Martínez Francisco Prieto Moreno Paco Rodríguez Álvaro de Bazán, 1st Marquis of Santa Cruz Salvador López Guijarro Felipe Moreno Rodríguez Nasr, Sultan of Granada Daniel Domínguez Barragán Diego Hurtado de Mendoza Francisco Espinosa Fernando Barrachina Manuel Cara y Espí Leo Africanus Palmolive Antonio Joaquín Afán de Ribera Enrique Morente José Manuel Fajardo Natalio Rivas Francisco de Paula Valladar José Millán González Juan Jesús León Ibn al-Yayyab Francisco Maroto del Ojo Miguel Fernández Luis de Narváez Muhammad XII of Granada Agustín Arenas Fran Ortiz Fuentes Aureliano Fernández-Guerra Juan Facundo Riaño y Montero José Luis García-Pérez Lucas Alcaraz Manuel Gómez-Moreno Eugenio Sellés José Antonio Castillo Ana Caro de Mallén Víctor Miguel Gallardo Barragán Francisco Acuyo Nicolás Paso y Delgado Ambrosio de Benavides Felipe Alcaraz Manuel Rivera Antonio Paso y Cano Rafael Yebra Ibn Zamrak Mariano Bertuchi Juan Nepomuceno Zegrí y Moreno Leopoldo Ballesteros Herminia Luque Elpidio José Silva Francisco Fernández Carvajal Abu Ishaq al-Shatibi Aureliano Maestre de San Juan Francisco Izquierdo Martínez Álvaro Salvador Jofre Carmina Moreno Arenas Cecilio Gutiérrez Sergio Martín García Miguel Gallardo Gonzalo de Salazar Jorge Antonio Fernández Hengge Pepe Habichuela Antonio Almagro y Cárdenas Sergio de la Puente Francisco Ayala Hafsa Bint al-Hajj al-Rukuniyya Fernando de Villena Francisco de Paula Martínez de la Rosa y Berdejo José Ortuño Silvia Bedmar Manuel Cano Tamayo Juan Enrique Maturana Tomas Piñas Bermudez Antonio de Mendoza Fernando Saínz Ruiz Manuel Calzada Pérez Muhammed V, Sultan of Granada Rafael Garzón Rodríguez Fernando Martínez-Monje Restoy Guillermo Hernán Pedro Bermúdez Ángeles de la Plata Martín Rafael Almagro José Manuel González López Patricia Loran Ricardo del Arco y Garay Ernesto Serrano Manuel Lucena Enrique Villar Yebra Manuel Jiménez de Parga Francisco de Paula Mellado André Romero José Bullejos José Guerrero José Ortega Torres Begoña Álvarez Civantos Sergio Escudero Sandra Pastrana Eugénie de Montijo Joaquín María López Calera Sam Hidalgo-Clyne Fernando Díaz de la Guardia Muhammed IV, Sultan of Granada Alejandro Pedregosa Alfonso Begara Antoni Pérez Garzón José García Román Encarnación García Bonilla Emilio Mario José Luis Serrano Moreno Joseph ibn Naghrela Israel Jerez Martínez Antonio Ruiz-Pipò Gabriel Díaz Berbel Basilio Ponce de León Francisco Serrano Frías Mariano Pina Domínguez José Luis Lozano Blanca Li Enrique Rodríguez Guerrero Curro Segura Francisco Martínez Díaz Tomás Marín de Poveda, 1st Marquis of Cañada Hermosa Mary Carmen Ramírez Cristina Peña Carlos Cano Cristina García Morales Pedro Atanasio Bocanegra Diego Sánchez Sarabia Rafael López Rienda Marina Heredia Manuel Torres Molina Rafael Guillén Alfonso Ceron David Fandila Ángel Ocaña Adolfo García Quesada Miguel Ríos Óscar García Guerrero María José Rienda María Francisca Palafox Portocarrero y KirkPatrick Manuel Gómez-Moreno González Francisco Ortiz Rivas Purificación Fenoll Francisco Varela Ramón Guardiola Julián Cuesta Díaz Isaac López Pérez Álex Gálvez Carlos Alvar Manuel Talens Mariana de Pineda Muñoz Francisco José Lara Pedro de Luján Manuel Molina García Mariano Fortuny Ildefonso Díez de Rivera, Count of Almodóvar Jose Julio Cabanillas Serrano Francisco Álvarez de la Chica Víctor Martínez Simancas Guillermo Antiñolo José Torrubia Manuel Almagro Díaz
316
action count
action filter_type
action find_reverse
entity Granada
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Granada']
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { ?q rdf:type ontology:common_name . ?q property:place_of_birth resource:Granada }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8810
P1376
Q183366
USER
Which territory has that administrative territory as its county seat ?
action filter_type
action find
entity Q8810
relation P1376
type Q183366
SELECT DISTINCT ?n WHERE { resource:Q8810 property:P1376 ?n . ?n rdf:type ontology:Q183366 }
Granada
action filter_type
action find
entity Granada
relation capital of
type territory
SELECT DISTINCT ?n WHERE { resource:Granada property:capital_of ?n . ?n rdf:type ontology:territory }
[]
territory
Q238445
SYSTEM
Emirate of Granada
Q238445
action filter_type
action find
entity Q8810
relation P1376
type Q183366
[ANSWER] has that administrative territory as its county seat
SELECT DISTINCT ?n WHERE { resource:Q8810 property:P1376 ?n . ?n rdf:type ontology:Q183366 }
Emirate of Granada
Emirate of Granada has that administrative territory as its county seat
Emirate of Granada
action filter_type
action find
entity Granada
relation capital of
type territory
SELECT DISTINCT ?n WHERE { resource:Granada property:capital_of ?n . ?n rdf:type ontology:territory }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q238445 Q19038306
P710
Q1190554
USER
Was that territory a participant of Singer Manufacturing Company v. Rahn ?
(Q19038306,P710,Q238445)
action is_in
entity Q19038306
action find
entity Q238445
relation P710
['Q19038306', 'P710', 'Q238445']
ASK WHERE { resource:Q238445 property:P710 resource:Q19038306 }
Emirate of Granada Singer Manufacturing Company v. Rahn
action is_in
entity Singer Manufacturing Company v. Rahn
action find
entity Emirate of Granada
relation participant
['Singer Manufacturing Company v. Rahn', 'participant', 'Emirate of Granada']
ASK WHERE { resource:Emirate_of_Granada property:participant resource:Singer_Manufacturing_Company_v._Rahn }
[]
event
SYSTEM
NO
(Q19038306,P710,Q238445)
action is_in
entity Q19038306
action find
entity Q238445
relation P710
[ANSWER]
['Q19038306', 'P710', 'Q238445']
ASK WHERE { resource:Q238445 property:P710 resource:Q19038306 }
No
action is_in
entity Singer Manufacturing Company v. Rahn
action find
entity Emirate of Granada
relation participant
['Singer Manufacturing Company v. Rahn', 'participant', 'Emirate of Granada']
ASK WHERE { resource:Emirate_of_Granada property:participant resource:Singer_Manufacturing_Company_v._Rahn }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q170415 Q7053348 Q6386596
P17
Q15617994
USER
Is Stara Zagora situated in Norristown Area School District and Kelton Head ?
(Q170415,P17,Q7053348) (Q170415,P17,Q6386596)
action is_in
entity Q170415
action intersection
action find_reverse
entity Q7053348
relation P17
action find_reverse
entity Q6386596
relation P17
['Q170415', 'P17', 'Q7053348'] ['Q170415', 'P17', 'Q6386596']
ASK WHERE { resource:Q170415 property:P17 resource:Q7053348 . resource:Q170415 property:P17 resource:Q6386596 }
Stara Zagora Norristown Area School District Kelton Head
action is_in
entity Stara Zagora
action intersection
action find_reverse
entity Norristown Area School District
relation country
action find_reverse
entity Kelton Head
relation country
['Stara Zagora', 'country', 'Norristown Area School District'] ['Stara Zagora', 'country', 'Kelton Head']
ASK WHERE { resource:Stara_Zagora property:country resource:Norristown_Area_School_District . resource:Stara_Zagora property:country resource:Kelton_Head }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q170415,P17,Q7053348) (Q170415,P17,Q6386596)
action is_in
entity Q170415
action intersection
action find_reverse
entity Q7053348
relation P17
action find_reverse
entity Q6386596
relation P17
[ANSWER]
['Q170415', 'P17', 'Q7053348'] ['Q170415', 'P17', 'Q6386596']
ASK WHERE { resource:Q170415 property:P17 resource:Q7053348 . resource:Q170415 property:P17 resource:Q6386596 }
No
action is_in
entity Stara Zagora
action intersection
action find_reverse
entity Norristown Area School District
relation country
action find_reverse
entity Kelton Head
relation country
['Stara Zagora', 'country', 'Norristown Area School District'] ['Stara Zagora', 'country', 'Kelton Head']
ASK WHERE { resource:Stara_Zagora property:country resource:Norristown_Area_School_District . resource:Stara_Zagora property:country resource:Kelton_Head }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q349 Q3084961 Q1076486
USER
How many sports are recognized as the main use of around 8 product linings and sports venues ?
(c(Q3084961)|c(Q1076486),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
value 8
[[{'concept': 'Q3084961'}, {'concept': 'Q1076486'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { FILTER ( ?k = 8 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) ?t WHERE { { ?x property:P366 ?t . ?t rdf:type ontology:Q349 . ?x rdf:type ontology:Q3084961 } UNION { ?x property:P366 ?t . ?t rdf:type ontology:Q349 . ?x rdf:type ontology:Q1076486 } } GROUP BY ?t } }
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type product lining
action find_reverse_tuple_counts
relation use
type sport
type sports venue
value 8
[[{'concept': 'product lining'}, {'concept': 'sports venue'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { FILTER ( ?k = 8 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) ?t WHERE { { ?x property:use ?t . ?t rdf:type ontology:sport . ?x rdf:type ontology:product_lining } UNION { ?x property:use ?t . ?t rdf:type ontology:sport . ?x rdf:type ontology:sports_venue } } GROUP BY ?t } }
[]
sport product lining sports venue
SYSTEM
22
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q183018 Q36908 Q500050 Q1875777 Q108429 Q624161 Q1345388 Q177275 Q206763 Q61065 Q847 Q41466 Q22857 Q1194269 Q41323 Q7291
(c(Q3084961)|c(Q1076486),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
value 8
[ANSWER]
[[{'concept': 'Q3084961'}, {'concept': 'Q1076486'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { FILTER ( ?k = 8 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) ?t WHERE { { ?x property:P366 ?t . ?t rdf:type ontology:Q349 . ?x rdf:type ontology:Q3084961 } UNION { ?x property:P366 ?t . ?t rdf:type ontology:Q349 . ?x rdf:type ontology:Q1076486 } } GROUP BY ?t } }
rallying basketball handball volleyball shooting sport skating bandy mountaineering cross country running air racing archery gliding greyhound racing bobsleigh floorball water sport tennis ice hockey climbing harness racing American football badminton
22
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type product lining
action find_reverse_tuple_counts
relation use
type sport
type sports venue
value 8
[[{'concept': 'product lining'}, {'concept': 'sports venue'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { FILTER ( ?k = 8 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) ?t WHERE { { ?x property:use ?t . ?t rdf:type ontology:sport . ?x rdf:type ontology:product_lining } UNION { ?x property:use ?t . ?t rdf:type ontology:sport . ?x rdf:type ontology:sports_venue } } GROUP BY ?t } }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q857913
Q15617994
USER
And what about Bierlast?
(Q857913,P366,c(Q15617994))
action filter_type
action find
entity Q857913
relation P366
type Q15617994
['Q857913', 'P366', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q857913 property:P366 ?r . ?r rdf:type ontology:Q15617994 }
Bierlast
action filter_type
action find
entity Bierlast
relation use
type designation for an administrative territorial entity
['Bierlast', 'use', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Bierlast property:use ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q3462133
SYSTEM
Saxe-Coburg and Gotha
Q3462133
(Q857913,P366,c(Q15617994))
action filter_type
action find
entity Q857913
relation P366
type Q15617994
[ANSWER]
['Q857913', 'P366', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q857913 property:P366 ?r . ?r rdf:type ontology:Q15617994 }
Saxe-Coburg and Gotha
Saxe-Coburg and Gotha
action filter_type
action find
entity Bierlast
relation use
type designation for an administrative territorial entity
['Bierlast', 'use', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Bierlast property:use ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3462133 Q14821 Q15720
P36
Q515
USER
Does Saxe-Coburg and Gotha consist of Coburg and Satsumasendai as its capital ?
(Q3462133,P36,Q14821) (Q3462133,P36,Q15720)
action is_in
entity Q3462133
action intersection
action find_reverse
entity Q14821
relation P36
action find_reverse
entity Q15720
relation P36
['Q3462133', 'P36', 'Q14821'] ['Q3462133', 'P36', 'Q15720']
ASK WHERE { resource:Q3462133 property:P36 resource:Q14821 . resource:Q3462133 property:P36 resource:Q15720 }
Saxe-Coburg and Gotha Coburg Satsumasendai
action is_in
entity Saxe-Coburg and Gotha
action intersection
action find_reverse
entity Coburg
relation capital
action find_reverse
entity Satsumasendai
relation capital
['Saxe-Coburg and Gotha', 'capital', 'Coburg'] ['Saxe-Coburg and Gotha', 'capital', 'Satsumasendai']
ASK WHERE { resource:Saxe-Coburg_and_Gotha property:capital resource:Coburg . resource:Saxe-Coburg_and_Gotha property:capital resource:Satsumasendai }
[]
city
SYSTEM
YES and NO respectively
(Q3462133,P36,Q14821) (Q3462133,P36,Q15720)
action is_in
entity Q3462133
action intersection
action find_reverse
entity Q14821
relation P36
action find_reverse
entity Q15720
relation P36
[ANSWER]
['Q3462133', 'P36', 'Q14821'] ['Q3462133', 'P36', 'Q15720']
ASK WHERE { resource:Q3462133 property:P36 resource:Q14821 . resource:Q3462133 property:P36 resource:Q15720 }
YES and NO respectively
action is_in
entity Saxe-Coburg and Gotha
action intersection
action find_reverse
entity Coburg
relation capital
action find_reverse
entity Satsumasendai
relation capital
['Saxe-Coburg and Gotha', 'capital', 'Coburg'] ['Saxe-Coburg and Gotha', 'capital', 'Satsumasendai']
ASK WHERE { resource:Saxe-Coburg_and_Gotha property:capital resource:Coburg . resource:Saxe-Coburg_and_Gotha property:capital resource:Satsumasendai }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with around 76 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 76
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?r ) WHERE { ?e property:P530 ?u . ?e rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 } GROUP BY ?e } . FILTER ( ?r = 76 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 76
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?r ) WHERE { ?e property:diplomatic_relation ?u . ?e rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . FILTER ( ?r = 76 ) }
[]
political territorial entity designation for an administrative territorial entity
Q408 Q16
SYSTEM
Australia, Canada
Q408 Q16
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 76
[ANSWERS] have diplomatic relations with around 76 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?r ) WHERE { ?e property:P530 ?u . ?e rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 } GROUP BY ?e } . FILTER ( ?r = 76 ) }
Australia Canada
Australia and Canada have diplomatic relations with around 76 administrative territories
Australia Canada
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 76
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?r ) WHERE { ?e property:diplomatic_relation ?u . ?e rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . FILTER ( ?r = 76 ) }
[]