Simple Question (Direct)
Simple Question
Q1749384
P344
Q502895
USER
Who is appointed as the cinematographer of London ?
(Q1749384,P344,c(Q502895))
action filter_type
action find
entity Q1749384
relation P344
type Q502895
['Q1749384', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q1749384 property:P344 ?t . ?t rdf:type ontology:Q502895 }
London
action filter_type
action find
entity London
relation director of photography
type common name
['London', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:London property:director_of_photography ?t . ?t rdf:type ontology:common_name }
[]
common name
Q1677862
SYSTEM
Jo Willems
Q1677862
(Q1749384,P344,c(Q502895))
action filter_type
action find
entity Q1749384
relation P344
type Q502895
[ANSWER] is appointed as the cinematographer of London
['Q1749384', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q1749384 property:P344 ?t . ?t rdf:type ontology:Q502895 }
Jo Willems
Jo Willems is appointed as the cinematographer of London
Jo Willems
action filter_type
action find
entity London
relation director of photography
type common name
['London', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:London property:director_of_photography ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1749384
P840
Q56061
USER
Which is the narrative location of London ?
(Q1749384,P840,c(Q56061))
action filter_type
action find
entity Q1749384
relation P840
type Q56061
['Q1749384', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q1749384 property:P840 ?r . ?r rdf:type ontology:Q56061 }
London
action filter_type
action find
entity London
relation narrative location
type administrative territorial entity
['London', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:London property:narrative_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q1749384,P840,c(Q56061))
action filter_type
action find
entity Q1749384
relation P840
type Q56061
London [ANSWER] is the narrative location of London
['Q1749384', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q1749384 property:P840 ?r . ?r rdf:type ontology:Q56061 }
New York City
London New York City is the narrative location of London
New York City
action filter_type
action find
entity London
relation narrative location
type administrative territorial entity
['London', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:London property:narrative_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1749384
P364
Q34770
USER
Which language was used originally for the creation of London ?
(Q1749384,P364,c(Q34770))
action filter_type
action find
entity Q1749384
relation P364
type Q34770
['Q1749384', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q1749384 property:P364 ?t . ?t rdf:type ontology:Q34770 }
London
action filter_type
action find
entity London
relation original language of work
type language
['London', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:London property:original_language_of_work ?t . ?t rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1749384,P364,c(Q34770))
action filter_type
action find
entity Q1749384
relation P364
type Q34770
The [ANSWER] was used originally for the creation of London
['Q1749384', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q1749384 property:P364 ?t . ?t rdf:type ontology:Q34770 }
English
The English was used originally for the creation of London
English
action filter_type
action find
entity London
relation original language of work
type language
['London', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:London property:original_language_of_work ?t . ?t rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60
P119
Q502895
USER
Which people have New York City as place of burial ?
(c(Q502895),P119,Q60)
action filter_type
action find_reverse
entity Q60
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q60']
SELECT DISTINCT ?b WHERE { ?b property:P119 resource:Q60 . ?b rdf:type ontology:Q502895 }
New York City
action filter_type
action find_reverse
entity New York City
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'New York City']
SELECT DISTINCT ?b WHERE { ?b property:place_of_burial resource:New_York_City . ?b rdf:type ontology:common_name }
[]
common name
Q6143065 Q17479172 Q6104974
SYSTEM
James Shedden Palmer, Abram P. Haring, J. C. Julius Langbein
Q6143065 Q17479172 Q6104974
(c(Q502895),P119,Q60)
action filter_type
action find_reverse
entity Q60
relation P119
type Q502895
[ANSWERS] have New York City as place of burial
[{'concept': 'Q502895'}, 'P119', 'Q60']
SELECT DISTINCT ?b WHERE { ?b property:P119 resource:Q60 . ?b rdf:type ontology:Q502895 }
James Shedden Palmer Abram P. Haring J. C. Julius Langbein
James Shedden Palmer, Abram P. Haring and J. C. Julius Langbein have New York City as place of burial
James Shedden Palmer Abram P. Haring J. C. Julius Langbein
action filter_type
action find_reverse
entity New York City
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'New York City']
SELECT DISTINCT ?b WHERE { ?b property:place_of_burial resource:New_York_City . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60
P190
Q56061
USER
Which administrative territories are partner towns of New York City ?
(Q60,P190,c(Q56061))
action filter_type
action find
entity Q60
relation P190
type Q56061
['Q60', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q60 property:P190 ?d . ?d rdf:type ontology:Q56061 }
New York City
action filter_type
action find
entity New York City
relation sister city
type administrative territorial entity
['New York City', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:New_York_City property:sister_city ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2807 Q1781 Q956
SYSTEM
Madrid, Budapest, Beijing
Q3630 Q33935 Q34820 Q34647 Q2807 Q956 Q1781 Q84 Q85 Q1490 Q1218 Q3561 Q51103 Q585
(Q60,P190,c(Q56061))
action filter_type
action find
entity Q60
relation P190
type Q56061
[ANSWERS] are partner towns of New York City
['Q60', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q60 property:P190 ?d . ?d rdf:type ontology:Q56061 }
Jakarta Tel Aviv Santo Domingo Johannesburg Madrid Beijing Budapest London Cairo Tokyo Jerusalem Algiers Cali Oslo
Madrid, Budapest and Beijing are partner towns of New York City
Madrid Budapest Beijing
action filter_type
action find
entity New York City
relation sister city
type administrative territorial entity
['New York City', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:New_York_City property:sister_city ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q24550
Q56061
USER
And what about Cleveland?
(Q24550,P190,c(Q56061))
action filter_type
action find
entity Q24550
relation P190
type Q56061
['Q24550', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q24550 property:P190 ?u . ?u rdf:type ontology:Q56061 }
Cleveland
action filter_type
action find
entity Cleveland
relation sister city
type administrative territorial entity
['Cleveland', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Cleveland property:sister_city ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q37320
SYSTEM
Cleveland
Q37320
(Q24550,P190,c(Q56061))
action filter_type
action find
entity Q24550
relation P190
type Q56061
[ANSWER]
['Q24550', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q24550 property:P190 ?u . ?u rdf:type ontology:Q56061 }
Cleveland
Cleveland
action filter_type
action find
entity Cleveland
relation sister city
type administrative territorial entity
['Cleveland', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Cleveland property:sister_city ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q37320 Q1867 Q2355376
P190
Q56061
USER
Is that administrative territory twin city of Taipei and Stinsford ?
(Q37320,P190,Q1867) (Q37320,P190,Q2355376)
action is_in
entity Q37320
action intersection
action find_reverse
entity Q1867
relation P190
action find_reverse
entity Q2355376
relation P190
['Q37320', 'P190', 'Q1867'] ['Q37320', 'P190', 'Q2355376']
ASK WHERE { resource:Q37320 property:P190 resource:Q1867 . resource:Q37320 property:P190 resource:Q2355376 }
Cleveland Taipei Stinsford
action is_in
entity Cleveland
action intersection
action find_reverse
entity Taipei
relation sister city
action find_reverse
entity Stinsford
relation sister city
['Cleveland', 'sister city', 'Taipei'] ['Cleveland', 'sister city', 'Stinsford']
ASK WHERE { resource:Cleveland property:sister_city resource:Taipei . resource:Cleveland property:sister_city resource:Stinsford }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q37320,P190,Q1867) (Q37320,P190,Q2355376)
action is_in
entity Q37320
action intersection
action find_reverse
entity Q1867
relation P190
action find_reverse
entity Q2355376
relation P190
[ANSWER]
['Q37320', 'P190', 'Q1867'] ['Q37320', 'P190', 'Q2355376']
ASK WHERE { resource:Q37320 property:P190 resource:Q1867 . resource:Q37320 property:P190 resource:Q2355376 }
YES and NO respectively
action is_in
entity Cleveland
action intersection
action find_reverse
entity Taipei
relation sister city
action find_reverse
entity Stinsford
relation sister city
['Cleveland', 'sister city', 'Taipei'] ['Cleveland', 'sister city', 'Stinsford']
ASK WHERE { resource:Cleveland property:sister_city resource:Taipei . resource:Cleveland property:sister_city resource:Stinsford }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19880889 Q60
P19 P190
Q515
USER
Which cities are the sister cities of New York City or were Mark Luz born ?
OR((Q60,P190,c(Q515)), (Q19880889,P19,c(Q515)))
action filter_type
action union
action find
entity Q60
relation P190
action find
entity Q19880889
relation P19
type Q515
{'OR': [['Q60', 'P190', {'concept': 'Q515'}], ['Q19880889', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q515 . { { resource:Q19880889 property:P19 ?l } UNION { resource:Q60 property:P190 ?l } } }
Mark Luz New York City
action filter_type
action union
action find
entity New York City
relation sister city
action find
entity Mark Luz
relation place of birth
type city
{'OR': [['New York City', 'sister city', {'concept': 'city'}], ['Mark Luz', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:city . { { resource:Mark_Luz property:place_of_birth ?l } UNION { resource:New_York_City property:sister_city ?l } } }
[]
city
Q1475 Q2844
SYSTEM
Quezon City, Brasília
Q1475 Q2844
OR((Q60,P190,c(Q515)), (Q19880889,P19,c(Q515)))
action filter_type
action union
action find
entity Q60
relation P190
action find
entity Q19880889
relation P19
type Q515
[ANSWERS] are the sister cities of New York City or were Mark Luz born
{'OR': [['Q60', 'P190', {'concept': 'Q515'}], ['Q19880889', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q515 . { { resource:Q19880889 property:P19 ?l } UNION { resource:Q60 property:P190 ?l } } }
Quezon City Brasília
Quezon City and Brasília are the sister cities of New York City or were Mark Luz born
Quezon City Brasília
action filter_type
action union
action find
entity New York City
relation sister city
action find
entity Mark Luz
relation place of birth
type city
{'OR': [['New York City', 'sister city', {'concept': 'city'}], ['Mark Luz', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:city . { { resource:Mark_Luz property:place_of_birth ?l } UNION { resource:New_York_City property:sister_city ?l } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1677862 Q184851
P344
Q838948
USER
How many works of art are Jo Willems or Diego Garcia the cinematographer of ?
(c(Q838948),P344,Q1677862) (c(Q838948),P344,Q184851)
action count
action union
action filter_type
action find_reverse
entity Q1677862
relation P344
type Q838948
action filter_type
action find_reverse
entity Q184851
relation P344
type Q838948
[{'concept': 'Q838948'}, 'P344', 'Q1677862'] [{'concept': 'Q838948'}, 'P344', 'Q184851']
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { VALUES ( ?a ) { ( resource:Q1677862 ) ( resource:Q184851 ) } . ?d property:P344 ?a }
Jo Willems Diego Garcia
action count
action union
action filter_type
action find_reverse
entity Jo Willems
relation director of photography
type work of art
action filter_type
action find_reverse
entity Diego Garcia
relation director of photography
type work of art
[{'concept': 'work of art'}, 'director of photography', 'Jo Willems'] [{'concept': 'work of art'}, 'director of photography', 'Diego Garcia']
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { VALUES ( ?a ) { ( resource:Jo_Willems ) ( resource:Diego_Garcia ) } . ?d property:director_of_photography ?a }
[]
work of art
SYSTEM
9
Q753517 Q224117 Q1749384 Q19892219 Q841476 Q10307713 Q852963 Q821753 Q4142083
(c(Q838948),P344,Q1677862) (c(Q838948),P344,Q184851)
action count
action union
action filter_type
action find_reverse
entity Q1677862
relation P344
type Q838948
action filter_type
action find_reverse
entity Q184851
relation P344
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P344', 'Q1677862'] [{'concept': 'Q838948'}, 'P344', 'Q184851']
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { VALUES ( ?a ) { ( resource:Q1677862 ) ( resource:Q184851 ) } . ?d property:P344 ?a }
Limitless 30 Days of Night London Cemetery of Splendour Hard Candy The Hunger Games: Mockingjay – Part 2 Confessions of a Shopaholic Rocket Science The Hunger Games: Mockingjay – Part 1
9
action count
action union
action filter_type
action find_reverse
entity Jo Willems
relation director of photography
type work of art
action filter_type
action find_reverse
entity Diego Garcia
relation director of photography
type work of art
[{'concept': 'work of art'}, 'director of photography', 'Jo Willems'] [{'concept': 'work of art'}, 'director of photography', 'Diego Garcia']
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { VALUES ( ?a ) { ( resource:Jo_Willems ) ( resource:Diego_Garcia ) } . ?d property:director_of_photography ?a }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2844
P19
Q502895
USER
How many people have place of birth as Brasília ?
(c(Q502895),P19,Q2844)
action count
action filter_type
action find_reverse
entity Q2844
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q2844']
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a rdf:type ontology:Q502895 . ?a property:P19 resource:Q2844 }
Brasília
action count
action filter_type
action find_reverse
entity Brasília
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Brasília']
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a rdf:type ontology:common_name . ?a property:place_of_birth resource:Brasília }
[]
common name
SYSTEM
156
Q26706906 Q16148921 Q7029561 Q7312661 Q10263050 Q10273606 Q3660019 Q2261411 Q1067904 Q1249621 Q551898 Q372119 Q10309289 Q13582494 Q5760145 Q3391712 Q7160012 Q9614493 Q3567581 Q264423 Q9065946 Q2623935 Q4750520 Q16336335 Q19968639 Q10320436 Q6124225 Q16841282 Q1585510 Q3780251 Q495121 Q517802 Q3136565 Q1856504 Q3266945 Q16940532 Q24150738 Q2016158 Q2457765 Q316959 Q5562611 Q7862113 Q3811742 Q10335533 Q3615358 Q10350804 Q9010833 Q18921693 Q3051070 Q16934933 Q2256193 Q10312755 Q16216761 Q7815199 Q1069126 Q16940580 Q4979438 Q7799558 Q375427 Q5385616 Q16940853 Q10347309 Q6298228 Q10324994 Q10284618 Q19801518 Q4972979 Q10333318 Q777319 Q4713920 Q5219575 Q7322717 Q495800 Q10274194 Q6191118 Q1308972 Q3990990 Q3527997 Q197556 Q8188057 Q5130301 Q495841 Q451011 Q9184328 Q7132190 Q2037738 Q506960 Q3869206 Q519758 Q10326059 Q16237766 Q2372110 Q2978437 Q765135 Q3266030 Q19668602 Q10270313 Q3838518 Q74008 Q2933227 Q2978402 Q3233799 Q10327341 Q5301501 Q6453360 Q5217941 Q9293717 Q24450492 Q218105 Q5615972 Q2494069 Q1354334 Q7301636 Q161039 Q16631845 Q16336962 Q6525931 Q19663818 Q3990407 Q309731 Q2526336 Q10394782 Q3554540 Q969294 Q7909329 Q993632 Q5252639 Q5131127 Q4134787 Q6175588 Q8467584 Q10389061 Q1363397 Q10280962 Q8246862 Q15629650 Q15831175 Q20048050 Q5480402 Q1055363 Q2451450 Q467194 Q2457935 Q279889 Q10287898 Q19968799 Q16222423 Q6731826 Q3810734 Q274418 Q4463691 Q10359276 Q5621834 Q7357293 Q5202607 Q3620481
(c(Q502895),P19,Q2844)
action count
action filter_type
action find_reverse
entity Q2844
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q2844']
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a rdf:type ontology:Q502895 . ?a property:P19 resource:Q2844 }
Jean Carlos de Souza Irmer Karoline Amaral Nicolas Ceolin Renato Medeiros Célio Amorim Erik de Castro Carlos Augusto José de Lira Luciano Corrêa Eduardo Delani Robson De Sousa Vasconcelos Goes Vitorino Hilton Ana Paula Padrão José Eduardo Belmonte Manuella Lyrio Higor Coimbra Vivi Fernandez Pedro de Abreu André Moraes Weverson Leandro Oliveira Moura Paula Pequeno Rafaela Mandelli Rosanne Mulholland Ana Vasconcelos Alexandre Carlo Jonathan Francisco Lemos Ludmila Ferber Jairo Lima de Araújo Jackson Beckham da Silva Harley Marques Gélson Baresi Héverton Durães Coutinho Alves César Castro Thaís de Campos Paulo Thiago Luiz Carlos Filgueira Pedro Piquet Matheus Nolasco Josefa Fabíola Henrique Almeida Caixeta Nascentes Digão Gilson Rosa de Jesus Tânia Mara Jéferson Rodrigues Gonçalves Narciza Leão Anderson de Carvalho Barbosa Poliana Abritta Jaqueline Jesus Edigar Junio Elisa do Brasil Gui Brandao Augusto Pedro de Souza Juelz Ventura Fábio Gonçalves Silva Tom Capone Éder Luciano Rainer Cadete Bruno Zandonaide Thyago Fernandes de Araújo Cristiano Pereira de Souza Erenice Guerra Suzana Silva Pedro Amorim João MacDowell Marcela Tamm Francisco Assis dos Santos Pollyanna Teresa Cirilo Gomes Grazielle Murilo Grossi Felipe Nasr Aldo Rodrigues de Sousa Danillo Villefort Ricardo Martins de Araújo Michel Platini Mesquita Eryk Rocha Jhon Cley Lucas Foresti Théo Lopes Tiago Queiroz Bezerra Carlos Alberto Dias Addison Alves de Oliveira Clayton Michel Afonso Vinícius Lopes Alípio Camila Carvalho Paolo Farinola Pedro Alves da Silva Duane Da Rocha Mário Jorge da Fonseca Hermes Patrícia Pillar Maria Ramos Lucas Cavalcante Silva Afonso Erika Miranda Claudia Souza Karla Costa Lucélia Ribeiro Lucas Crispim Edison Lobão Filho Luciano Augusto Teoton Almeida Vitor Meira Caio Bonfim Claudia Chabalgoity Wanderson Costa Viana Mateus Solano Douglas Galvão Silva Kátya Chamma Daniel Lima Goeber Bruna Hamú Túlio Lustosa Seixas Pinheiro Guilherme Mascarenhas Santana Cléber Erika Carvalho de Sousa Rebeca Gusmão Josué Anunciado de Oliveira Elisângela Paulino Breno Silveira Leonardo Borges de Azevedo Nicolas Careca Thiago Marin Martir Márcio Amoroso Antonio Silva Yuri Villefort Vanessa Oliveira Murilo Rosa Valci Teixeira Júnior Bruno Oscar Schmidt Dejair Jorge Ferreira Cleiton Mendes dos Santos Rani Yahya Jefferson Souza Araújo Menezes Ellen Oléria Vanessa Barum Marílson Gomes dos Santos Felipe Amorim Bernardo Oliveira Eron Falbo Régis Ribeiro de Souza Gabriel Teixeira da Silva Lucas Tischer Iara Lee Kayke Rodrigues Washington Ketleyn Quadros Yann Cunha Gabriel Thomaz Marco Damasceno Denise Rocha Magno Vieira João Vianna Tandara Caixeta Alex de Albuquerque Troleis Renata Bueno Guto Inocente Rodrigo Antônio Lopes Belchior César Paulo Lopes Cardoso Campos Antônio José Nogueira Santana
156
action count
action filter_type
action find_reverse
entity Brasília
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Brasília']
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a rdf:type ontology:common_name . ?a property:place_of_birth resource:Brasília }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q81033
P19
Q502895
USER
And how about Monterrey?
(c(Q502895),P19,Q81033)
action count
action filter_type
action find_reverse
entity Q81033
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q81033']
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:P19 resource:Q81033 . ?i rdf:type ontology:Q502895 }
Monterrey
action count
action filter_type
action find_reverse
entity Monterrey
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Monterrey']
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:place_of_birth resource:Monterrey . ?i rdf:type ontology:common_name }
[]
common name
SYSTEM
384
Q362425 Q2834879 Q18753603 Q5983830 Q2354885 Q1389223 Q4267138 Q958495 Q5483956 Q522485 Q7332177 Q5548571 Q2917753 Q16215456 Q5994640 Q5943697 Q5368409 Q9011260 Q19632119 Q1703277 Q17628845 Q16106631 Q5950910 Q9014082 Q714297 Q6756281 Q5488990 Q3700048 Q24207227 Q5941932 Q667722 Q5237177 Q4712245 Q332226 Q5752225 Q1979400 Q5673742 Q5574393 Q5371836 Q6111040 Q5115929 Q7351728 Q3269436 Q17993320 Q5689855 Q5996984 Q2639647 Q15975631 Q1371204 Q5938253 Q20081304 Q16221892 Q5103578 Q841181 Q6110667 Q18687880 Q1635768 Q16302590 Q16302597 Q6277640 Q9052237 Q2902290 Q17037505 Q562337 Q20081321 Q4889481 Q5707096 Q137979 Q6101436 Q3424505 Q348049 Q5955051 Q17492 Q21467789 Q16195014 Q5815579 Q16211188 Q5819297 Q6274915 Q6101403 Q9032734 Q20995283 Q5833359 Q4402641 Q21573740 Q23035778 Q3875035 Q3314269 Q641344 Q546502 Q6101208 Q16493510 Q1692076 Q16300712 Q24728203 Q1139775 Q16019127 Q3124795 Q5929860 Q20745630 Q18637692 Q5365673 Q6056594 Q6109957 Q4502000 Q5729849 Q5274885 Q4279417 Q982818 Q5888928 Q2272787 Q5674079 Q3014368 Q4678511 Q16566511 Q2502774 Q3186398 Q17319045 Q5408287 Q5749829 Q3069445 Q15127185 Q19519152 Q3067901 Q25934976 Q5704501 Q8205916 Q24305204 Q462721 Q6782152 Q5812707 Q20675528 Q16300618 Q19519173 Q9034911 Q17364180 Q2064992 Q20081204 Q853459 Q16151656 Q24254362 Q24305252 Q5554843 Q7911086 Q5796748 Q19271577 Q5868033 Q16194570 Q959255 Q3467410 Q7357137 Q4893903 Q3194260 Q26251558 Q19668713 Q2114256 Q7319470 Q5244317 Q4776490 Q3183821 Q22280404 Q5698416 Q7360597 Q6108279 Q16631970 Q5751787 Q16300550 Q7847608 Q5662171 Q5930730 Q20641948 Q5927795 Q519030 Q16942230 Q10515505 Q14944310 Q6033169 Q6280347 Q3286426 Q16195306 Q6014268 Q6123741 Q3304349 Q5394169 Q787191 Q5971614 Q6450346 Q16190462 Q1932178 Q5621409 Q17305742 Q15774989 Q5129254 Q2821530 Q16215261 Q2233162 Q9025814 Q5998787 Q6294233 Q16151159 Q19662413 Q6013028 Q4714610 Q5812835 Q5812833 Q2083675 Q5663032 Q2878374 Q5444691 Q16195928 Q388723 Q5819374 Q5442015 Q20714788 Q957990 Q16631522 Q5094167 Q2101172 Q5876221 Q7159849 Q20014064 Q2834643 Q6070382 Q2159528 Q5764298 Q5442031 Q5131459 Q1756114 Q5707558 Q18685932 Q5992995 Q4822265 Q16146929 Q775350 Q5999119 Q5805147 Q3294918 Q6050546 Q321081 Q1845883 Q1691658 Q5829897 Q5946557 Q5932717 Q2644560 Q5442067 Q6496439 Q2191407 Q5791574 Q707529 Q18222791 Q5906263 Q16303341 Q21001808 Q5866056 Q17180915 Q24305532 Q804324 Q977880 Q6059291 Q5997024 Q5973062 Q21005751 Q6101198 Q6038470 Q1291263 Q16297592 Q16298110 Q7132026 Q19364632 Q5935606 Q5444814 Q5984287 Q16333725 Q18211131 Q6109762 Q7322624 Q5686073 Q21045587 Q16301272 Q3109133 Q18685334 Q925837 Q2718435 Q3183906 Q5367405 Q5946237 Q16215285 Q6256508 Q6007013 Q3290573 Q3002884 Q4722122 Q7458906 Q485882 Q19321808 Q5659874 Q1685716 Q16297997 Q4011269 Q5733636 Q5993745 Q6105740 Q18390899 Q9293552 Q3779631 Q19880543 Q16727874 Q641146 Q2939038 Q16519561 Q5818917 Q1516036 Q5359195 Q15647594 Q1850406 Q5833122 Q5753199 Q7322657 Q20018195 Q5645832 Q5707217 Q16186253 Q17478299 Q5950868 Q2190200 Q5667941 Q18915 Q3567252 Q2748683 Q6039094 Q8078863 Q6291835 Q16214055 Q16298633 Q5973511 Q5946049 Q20810462 Q2411250 Q5913441 Q5941432 Q5444726 Q2843212 Q5985135 Q5927782 Q7561687 Q21010107 Q5993420 Q6068380 Q16165028 Q5352240 Q6434127 Q5444704 Q1178440 Q926266 Q3063766 Q11685992 Q6121125 Q18685203 Q5556686 Q6291247 Q18097802 Q5944455 Q23413612 Q5217251 Q2889415 Q24254912 Q2351132 Q5951636 Q5772464 Q5663563 Q20747099 Q6499227 Q2350673 Q3149778 Q6764723 Q5058467 Q4341194 Q20489598 Q18203086 Q2832448 Q19950790 Q2750015 Q5663402
(c(Q502895),P19,Q81033)
action count
action filter_type
action find_reverse
entity Q81033
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q81033']
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:P19 resource:Q81033 . ?i rdf:type ontology:Q502895 }
Manuel Uribe Alfonso Rangel Guerra Arturo Ortiz Luis M. Farías Israel Elver Galarga Jiménez "Pilotito" Pablo Santos Irma Lozano Alejandro García Francisco Serrano Gustavo Napoles Ricky Rick Lorena Marlene Cortinas Galván Eduardo Zambrano Homero Niño de Rivera Manuel Zozaya José María Zaragoza Ely Guerra Javier Lozano Chavira Sofía Reyes Jonathan Orozco Rodrigo Barragán Raúl Santos Galván Villanueva Juan Manuel Azuara Villareal José Luis Montes Cruz Raúl Alcalá Marcela Guerra Castillo Agustín Basave Benítez César de la Peña Ricardo Dávila José Maiz García Valentín Canalizo David Martinez Alberto Zeni Lorenzo Zambrano Carlos de la Fuente Alejandro Junco de la Vega Ana Estefanía Lago Ildefonso Guajardo Villarreal Emilio Charles, Jr. Roger Lemy Erik Perez Roberto Guajardo Suárez Ana Cecilia Cantu Alejandro Berber Gregorio Zambrano Margarita Arellanes Cervantes Marcela Bovio Francisco Rodriguez, Jr. Mariana Avitia José Antonio de la Peña Marco Antonio Tovar Imelda Martínez Brayan Martínez Nora Salinas Rodrigo De León Gregorio Hurtado Hugo Sánchez Guerrero Genaro Castillo Jair Zacarías Jorge Alonso Treviño Omar Israel Jaime Binyamin Temkin Mayela Quiroga Tamez Giovani dos Santos Erikson Llanes Benjamín Clariond Arturo Alvarado Jesús Zavala Raúl Salas Remigio Valdés de Hoyos Adalberto Madero Julio Camelo Martínez Jonathan dos Santos Macario Aguirre Puente Alberto Coronado Quintanilla Manuel María de Llano Ana Lilia Garza Cadena Eduardo Hinojosa Jonathan de León Raúl Rangel Frías Miguel Garza Luis Panini Enrique Gorostieta González Clemente Sánchez Raúl Rangel Hinojosa La Panchita (singer) Bianca Marroquín Lucia Navarro Luis Ángel García Eder Borelli Raúl Gerardo Quintero Flores José Calderón Penilla Johan Rodríguez Héctor Gutiérrez De la Garza Romulo Garza Guerra Ramiro Peña Humberto Leal Garcia Raul Padilla Jesús Ancer Rodríguez Deborah Dultzin Kessler Adrián Marín Lugo Elliott Huitrón Pablo de la Garza Roberto Ramírez Garza Juan Carlos Barreto Blanca Torres Diego del Real Galindo Alejandra Maldonado Rodrigo Medina de la Cruz Guillermo Sauceda Farah Eslaquit Ana Silvia Garza Daniel Luna Adal Ramones Ismael Tijerina Alfonso Martínez Domínguez José Madero Vizcaíno Adrián Villagómez García Eugenio Garza Lagüera Carlos Berardi Fernando Canales Clariond Selma Oxor Alfredo Rodríguez Dávila Federico Curiel Fidias Elizondo Armando Garza Sada Arturo Carmona Ricardo Arnaiz Alfonso Reyes María de Lourdes Dieck-Assad Domingo Arturo García Teofilo F. Gonzalez Alejandro Frank Ana María Ramírez Cerda Montserrat Oliver Adrián Sada González Sergio Almaguer Luis Daniel Martínez Rocío Banquells María Ceseñas Chapa Horacio Guajardo Elizondo Roberto Escamilla Sanjuana Martínez Valentín Campa José Luis Sánchez Julián Ezequiel Reynoso Francisco de Padua Morales Héctor Humberto Gutiérrez Santiago Roel Darío Carreño Rodolfo Barragán Schwarz Bernardo Garza Sada Katty Fuentes Luis Fernando Cruz Omar Kiam Servando Teresa de Mier Reyes Tamez Omar Ortiz Antonio Canales Rosillo Jonathan Espericueta Mauricio Talancón Antonio García González Rolando Vera Ricardo Leal Simón de la Garza Melo Carlos Simental Aníbal González Ramirez Trueno Jesús María Aguilar Jesús Urbina Julia Tuñón Pablos Javier González Garza Antonio de Nigris Francisco G. Sada Obed Rincon Luis Ángel Mendoza Ingrid Drexel Josefina Niggli Manuel Martínez Ancira Verónica Sada Pérez Miguel F. Martínez Jaime Fernández Estefanía Villarreal Ernesto Enkerlin Ramón Ayala Laura Cepeda Sofía Arreola Marcelo Garza Ruvalcaba Anagabriela Espinoza Gustavo Garza Villarreal José Antonio Cabello Malukah Claudia Salinas Abel Quezada Víctor Oswaldo Fuentes Solís Priscila Perales Lázaro Gutiérrez de Lara Mario Jáuregui José Woldenberg María Sanjuana Cerda Franco Miguel Arizpe Jiménez Michelle Alvarez Alejandro Millán Domingo Martínez Echartea Domingo Martínez Enrique Gorostieta Alberto Fernández Ruiloba Laura G Fernando Elizondo Barragán Benito Caballero Garza Marcelo Gracia Eduardo Livas Villarreal Felipe Montes Ernesto Montemayor, Jr. José Horacio Gómez Eduardo Vélez Chetes Aarón Sáenz Garza Gastón Luken Garza Pedro Pablo Treviño Villarreal Francisco Cienfuegos Eduardo Bailey Pedro Zorrilla Martínez Roberto Gómez Junco Roberto González Felipe Quintero Clemente Ovalle Jaime Garza Arturo de la Garza González Felipe Enríquez Hernández Manuel Flores Varela Aurelio Molina Ivonne Liliana Álvarez Éder dos Santos Mario Vanzzini Diana García Guillermo García Cantú Omar Rodríguez José Natividad González Parás Manuel Sánchez Joe Wizan Eloy Cantú Segovia José Ángel Conchello Joel Arturo Morales Alfonso de Jesús Hinojosa Berrones Felipe de Jesús Ayala Latin Lover Mauricio Fernández Garza Cristian Castaño Contreras Jesús Arellano David Oliva Héctor López Santillana Martha Ofelia Galindo Blanca Treviño Francisco J. Azcunaga Guerra Norma Patricia Saucedo Ángel Mario Huerta Cantú Blanca Soto Lauro Salas Pamela Reiter Margarita García Flores Leobardo Canales Alejandra Estrella Raúl García Rivera Natalia Gómez Junco Erika Buenfil Ricardo  Balderas Felipe de Jesús Cantú Rodríguez Roger González Marina Tamayo Jorge Mendoza Garza Fernando Margáin Luis Rolando Ramírez Julian Ramirez Laura Elena Martínez Rivera Roberto Garza Sada Ricardo Elizondo Elizondo Antonio de la Paz Guerra Daniel Galo Luis Antonio García Sepúlveda Gloria Sierra Rogelio Cerda Pérez Silvia Salgado Lumi Cavazos Jorge de la Rosa Elsa García José de Jesús Dávila y Prieto Raúl Gracia Guzmán John Saldivar Mauricio Martínez Nuria Bages Cristina Díaz Alfonso de Nigris Sexy Star Édgar González Oscar Lozano Aglahe Leyva Alfredo Ramos Martínez Luis Caballero Victor Proa Brenda Bezares Manuel Medel René Mario Montante Pardo Rocío Morgan Franco Manola Díez Guillermo Muñoz Arturo de la Garza Tijerina José Alberto Castañeda José Treviño Carla Medina Fabiola Guajardo Eduardo A. Elizondo Lozano Gerónimo Gutiérrez Fernández Elenitza Canavati Pedro Rangel Arturo Beltrán Leyva Enrique C. Livas Carolina Fuentes Ricardo González Oscar Talancón Pedro F. Quintanilla Coffin Arturo Manrique Amira Griselda Gómez Javier Treviño Cantú Juan M. García Raúl Salinas Lozano Alfredo Pérez Garza Esteban Gutiérrez Wendy González José Luis Reséndez Nayeli Rangel Óscar Recio José Carlos Herrera José Martín López Cisneros Julio César Armendáriz Leopoldo Treviño Garza José Videgaray Melissa Barrera Martínez Hiram Mier Ignacio Morelos José Luis López Sánchez Fernando García Roel Mireille Roccatti Lydia Madero García Javier Garza Sepúlveda Sonia Arredondo Julio Reyes Manuel L. Barragán Pedro C. Martínez Enrique Abaroa Martínez El Terrible Eva Gonda de Rivera Fernando Fernández Davíd Garza Pérez Aldo de Nigris Fabián Chávez José Marroquín Leal Santiago Roel Melo Vidal Cantu Ramón E. Treviño José A. Muguerza Carlos Treviño José P. Saldaña Gustavo A. De Hoyos Walther Daniel Garza Rogelio Sada Zambrano Diego Enrique Osorno Héctor Morales Juan Nepomuceno de la Garza y Evia Clemente Ovalle Barbosa Alberto Santos de Hoyos Consuelo Morales Elizondo Laura Moreno Manuel Viniegra Inaki Basauri Mario Hernández Lash Celso Piña Pablo Adrián Lozano Lozano Yanet García Adrián de la Garza Alejandro Galindo Víctor Guajardo Rogelio A. González Alberto Padilla
384
action count
action filter_type
action find_reverse
entity Monterrey
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Monterrey']
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:place_of_birth resource:Monterrey . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1376
Q515 Q515
USER
Which cities have max number of cities have their center of administration ?
(c(Q515),P1376,Q850992)
action argmax
action find_tuple_counts
relation P1376
type Q515
type Q515
[{'concept': 'Q515'}, 'P1376', 'Q850992']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?f ) WHERE { ?p rdf:type ontology:Q515 . ?y rdf:type ontology:Q515 . ?p property:P1376 ?y } GROUP BY ?p } . FILTER ( ?f = ?w ) . { SELECT DISTINCT ( MAX ( ?c ) AS ?w ) { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?c ) WHERE { ?m property:P1376 ?u . ?m rdf:type ontology:Q515 . ?u rdf:type ontology:Q515 } GROUP BY ?m } } }
action argmax
action find_tuple_counts
relation capital of
type city
type city
[{'concept': 'city'}, 'capital of', 'Costești']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?f ) WHERE { ?p rdf:type ontology:city . ?y rdf:type ontology:city . ?p property:capital_of ?y } GROUP BY ?p } . FILTER ( ?f = ?w ) . { SELECT DISTINCT ( MAX ( ?c ) AS ?w ) { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?c ) WHERE { ?m property:capital_of ?u . ?m rdf:type ontology:city . ?u rdf:type ontology:city } GROUP BY ?m } } }
[]
city city
Q1410
SYSTEM
Gibraltar
Q1410
(c(Q515),P1376,Q850992)
action argmax
action find_tuple_counts
relation P1376
type Q515
type Q515
[ANSWER] have max number of cities have their center of administration
[{'concept': 'Q515'}, 'P1376', 'Q850992']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?f ) WHERE { ?p rdf:type ontology:Q515 . ?y rdf:type ontology:Q515 . ?p property:P1376 ?y } GROUP BY ?p } . FILTER ( ?f = ?w ) . { SELECT DISTINCT ( MAX ( ?c ) AS ?w ) { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?c ) WHERE { ?m property:P1376 ?u . ?m rdf:type ontology:Q515 . ?u rdf:type ontology:Q515 } GROUP BY ?m } } }
Gibraltar
Gibraltar have max number of cities have their center of administration
Gibraltar
action argmax
action find_tuple_counts
relation capital of
type city
type city
[{'concept': 'city'}, 'capital of', 'Costești']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?f ) WHERE { ?p rdf:type ontology:city . ?y rdf:type ontology:city . ?p property:capital_of ?y } GROUP BY ?p } . FILTER ( ?f = ?w ) . { SELECT DISTINCT ( MAX ( ?c ) AS ?w ) { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?c ) WHERE { ?m property:capital_of ?u . ?m rdf:type ontology:city . ?u rdf:type ontology:city } GROUP BY ?m } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P840
Q515 Q166142 Q838948
USER
Which cities are the narrative locations of approximately the same number of applications and works of art as that city ?
(c(Q166142)|c(Q838948),P840,c(Q515))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q515
type Q166142
action find_reverse_tuple_counts
relation P840
type Q515
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1410
relation P840
type Q166142
type Q838948
[[{'concept': 'Q166142'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?t ) WHERE { { ?w property:P840 ?a . ?a rdf:type ontology:Q515 . ?w rdf:type ontology:Q166142 } UNION { ?w property:P840 ?a . ?w rdf:type ontology:Q838948 . ?a rdf:type ontology:Q515 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:P840 resource:Q1410 . { { ?z rdf:type ontology:Q166142 } UNION { ?z rdf:type ontology:Q838948 } } } } . FILTER ( ?t = ?d ) }
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type city
type application
action find_reverse_tuple_counts
relation narrative location
type city
type work of art
action count
action filter_multi_types
action find_reverse
entity Gibraltar
relation narrative location
type application
type work of art
[[{'concept': 'application'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?t ) WHERE { { ?w property:narrative_location ?a . ?a rdf:type ontology:city . ?w rdf:type ontology:application } UNION { ?w property:narrative_location ?a . ?w rdf:type ontology:work_of_art . ?a rdf:type ontology:city } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:narrative_location resource:Gibraltar . { { ?z rdf:type ontology:application } UNION { ?z rdf:type ontology:work_of_art } } } } . FILTER ( ?t = ?d ) }
[]
city application work of art
Q1486 Q1899 Q1794
SYSTEM
Buenos Aires, Kyiv, Frankfurt
Q1410 Q34261 Q2749 Q8684 Q2100 Q5690 Q1530 Q1641811 Q1794 Q456 Q386635 Q1519 Q5838 Q841125 Q66485 Q9005 Q14821 Q3852 Q1711 Q2337 Q6602 Q3870 Q3955 Q3838 Q16506 Q2833 Q1533 Q19660 Q19689 Q6582 Q2079 Q23768 Q1486 Q11194 Q34217 Q42622 Q3994 Q3572 Q2119 Q3616 Q3126 Q3004 Q1461 Q7473516 Q1854 Q2135 Q43196 Q235 Q17042 Q3692 Q2887 Q3014 Q1899 Q2978 Q2999
(c(Q166142)|c(Q838948),P840,c(Q515))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q515
type Q166142
action find_reverse_tuple_counts
relation P840
type Q515
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1410
relation P840
type Q166142
type Q838948
[ANSWERS] are the narrative locations of approximately the same number of applications and works of art as that city
[[{'concept': 'Q166142'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?t ) WHERE { { ?w property:P840 ?a . ?a rdf:type ontology:Q515 . ?w rdf:type ontology:Q166142 } UNION { ?w property:P840 ?a . ?w rdf:type ontology:Q838948 . ?a rdf:type ontology:Q515 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:P840 resource:Q1410 . { { ?z rdf:type ontology:Q166142 } UNION { ?z rdf:type ontology:Q838948 } } } } . FILTER ( ?t = ?d ) }
Gibraltar Port-au-Prince Augsburg Seoul Duisburg Sparta Baghdad Mirotice Frankfurt Lyon Hikone Abu Dhabi Kabul Tsuyama Jaipur Brussels Coburg Worms Potsdam Smolensk Strasbourg Nairobi Weimar Kinshasa České Budějovice Freiburg im Breisgau Caracas Bucharest Tirana Carcassonne Leipzig Las Vegas Buenos Aires Sarajevo Oxford Suzhou Kempten Tunis Mannheim Tehran Erlangen Ingolstadt Manila Tokyo Ho Chi Minh City Winnipeg Cincinnati Monaco Oakland Riyadh Santiago Wolfsburg Kyiv Regensburg Würzburg
Buenos Aires, Kyiv and Frankfurt are the narrative locations of approximately the same number of applications and works of art as that city
Buenos Aires Kyiv Frankfurt
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type city
type application
action find_reverse_tuple_counts
relation narrative location
type city
type work of art
action count
action filter_multi_types
action find_reverse
entity Gibraltar
relation narrative location
type application
type work of art
[[{'concept': 'application'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?t ) WHERE { { ?w property:narrative_location ?a . ?a rdf:type ontology:city . ?w rdf:type ontology:application } UNION { ?w property:narrative_location ?a . ?w rdf:type ontology:work_of_art . ?a rdf:type ontology:city } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:narrative_location resource:Gibraltar . { { ?z rdf:type ontology:application } UNION { ?z rdf:type ontology:work_of_art } } } } . FILTER ( ?t = ?d ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1486 Q1899 Q1794
P119
Q502895
USER
Which people were burried at Buenos Aires, Kyiv and Frankfurt ?
(c(Q502895),P119,Q1486) (c(Q502895),P119,Q1899) (c(Q502895),P119,Q1794)
action union
action filter_type
action find_reverse
entity Q1486
relation P119
type Q502895
action filter_type
action find_reverse
entity Q1899
relation P119
type Q502895
action filter_type
action find_reverse
entity Q1794
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q1486'] [{'concept': 'Q502895'}, 'P119', 'Q1899'] [{'concept': 'Q502895'}, 'P119', 'Q1794']
SELECT DISTINCT ?j WHERE { VALUES ( ?w ) { ( resource:Q1486 ) ( resource:Q1899 ) } . ?j property:P119 ?w }
Buenos Aires Kyiv Frankfurt
action union
action filter_type
action find_reverse
entity Buenos Aires
relation place of burial
type common name
action filter_type
action find_reverse
entity Kyiv
relation place of burial
type common name
action filter_type
action find_reverse
entity Frankfurt
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Buenos Aires'] [{'concept': 'common name'}, 'place of burial', 'Kyiv'] [{'concept': 'common name'}, 'place of burial', 'Frankfurt']
SELECT DISTINCT ?j WHERE { VALUES ( ?w ) { ( resource:Buenos_Aires ) ( resource:Kyiv ) } . ?j property:place_of_burial ?w }
[]
common name
Q2163264 Q3082494 Q6131983
SYSTEM
Rolf Bossert, María de los Remedios de Escalada, Oleg of Novgorod
Q3082494 Q4203883 Q6131983 Q2163264
(c(Q502895),P119,Q1486) (c(Q502895),P119,Q1899) (c(Q502895),P119,Q1794)
action union
action filter_type
action find_reverse
entity Q1486
relation P119
type Q502895
action filter_type
action find_reverse
entity Q1899
relation P119
type Q502895
action filter_type
action find_reverse
entity Q1794
relation P119
type Q502895
[ANSWERS] were burried at Buenos Aires, Kyiv and Frankfurt
[{'concept': 'Q502895'}, 'P119', 'Q1486'] [{'concept': 'Q502895'}, 'P119', 'Q1899'] [{'concept': 'Q502895'}, 'P119', 'Q1794']
SELECT DISTINCT ?j WHERE { VALUES ( ?w ) { ( resource:Q1486 ) ( resource:Q1899 ) } . ?j property:P119 ?w }
María de los Remedios de Escalada Ivan Iskra Oleg of Novgorod Rolf Bossert
Rolf Bossert, María de los Remedios de Escalada and Oleg of Novgorod were burried at Buenos Aires, Kyiv and Frankfurt
Rolf Bossert María de los Remedios de Escalada Oleg of Novgorod
action union
action filter_type
action find_reverse
entity Buenos Aires
relation place of burial
type common name
action filter_type
action find_reverse
entity Kyiv
relation place of burial
type common name
action filter_type
action find_reverse
entity Frankfurt
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Buenos Aires'] [{'concept': 'common name'}, 'place of burial', 'Kyiv'] [{'concept': 'common name'}, 'place of burial', 'Frankfurt']
SELECT DISTINCT ?j WHERE { VALUES ( ?w ) { ( resource:Buenos_Aires ) ( resource:Kyiv ) } . ?j property:place_of_burial ?w }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2163264 Q3082494 Q6131983
P21
Q290
USER
Which sexes do those people belong to ?
(Q2163264,P21,c(Q290)) (Q3082494,P21,c(Q290)) (Q6131983,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q2163264', 'P21', {'concept': 'Q290'}] ['Q3082494', 'P21', {'concept': 'Q290'}] ['Q6131983', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?x ) { ( resource:Q3082494 ) ( resource:Q4203883 ) ( resource:Q6131983 ) } . ?n rdf:type ontology:Q290 . ?x property:P21 ?n }
Rolf Bossert María de los Remedios de Escalada Oleg of Novgorod
action filter_type
action find
entity prev_answer
relation gender
type sex
['Rolf Bossert', 'gender', {'concept': 'sex'}] ['María de los Remedios de Escalada', 'gender', {'concept': 'sex'}] ['Oleg of Novgorod', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?x ) { ( resource:María_de_los_Remedios_de_Escalada ) ( resource:Ivan_Iskra ) ( resource:Oleg_of_Novgorod ) } . ?n rdf:type ontology:sex . ?x property:gender ?n }
[]
sex
Q6581097 Q6581072 Q6581097
SYSTEM
male for 1st, 3rd, female for 2nd
Q6581097 Q6581072 Q6581097
(Q2163264,P21,c(Q290)) (Q3082494,P21,c(Q290)) (Q6131983,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q2163264', 'P21', {'concept': 'Q290'}] ['Q3082494', 'P21', {'concept': 'Q290'}] ['Q6131983', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?x ) { ( resource:Q3082494 ) ( resource:Q4203883 ) ( resource:Q6131983 ) } . ?n rdf:type ontology:Q290 . ?x property:P21 ?n }
male female male
Those people belong to male, female and male
male female male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Rolf Bossert', 'gender', {'concept': 'sex'}] ['María de los Remedios de Escalada', 'gender', {'concept': 'sex'}] ['Oleg of Novgorod', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?x ) { ( resource:María_de_los_Remedios_de_Escalada ) ( resource:Ivan_Iskra ) ( resource:Oleg_of_Novgorod ) } . ?n rdf:type ontology:sex . ?x property:gender ?n }
[]