Simple Question (Direct)
Simple Question
Q508784
P734
Q82799
USER
Which name is associated with Carmelo Morales ?
(Q508784,P734,c(Q82799))
action filter_type
action find
entity Q508784
relation P734
type Q82799
['Q508784', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q508784 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Carmelo Morales
action filter_type
action find
entity Carmelo Morales
relation family name
type name
['Carmelo Morales', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Carmelo_Morales property:family_name ?x . ?x rdf:type ontology:name }
[]
name
Q16463652
SYSTEM
Morales
Q16463652
(Q508784,P734,c(Q82799))
action filter_type
action find
entity Q508784
relation P734
type Q82799
[ANSWER] is associated with Carmelo [ANSWER]
['Q508784', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q508784 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Morales
Morales is associated with Carmelo Morales
Morales
action filter_type
action find
entity Carmelo Morales
relation family name
type name
['Carmelo Morales', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Carmelo_Morales property:family_name ?x . ?x rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q508784
P19
Q1048835
USER
Which political territory is the place of birth of Carmelo Morales ?
(Q508784,P19,c(Q1048835))
action filter_type
action find
entity Q508784
relation P19
type Q1048835
['Q508784', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q508784 property:P19 ?q . ?q rdf:type ontology:Q1048835 }
Carmelo Morales
action filter_type
action find
entity Carmelo Morales
relation place of birth
type political territorial entity
['Carmelo Morales', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Carmelo_Morales property:place_of_birth ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q13918
SYSTEM
Castellar del Vallès
Q13918
(Q508784,P19,c(Q1048835))
action filter_type
action find
entity Q508784
relation P19
type Q1048835
[ANSWER] is the place of birth of Carmelo Morales
['Q508784', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q508784 property:P19 ?q . ?q rdf:type ontology:Q1048835 }
Castellar del Vallès
Castellar del Vallès is the place of birth of Carmelo Morales
Castellar del Vallès
action filter_type
action find
entity Carmelo Morales
relation place of birth
type political territorial entity
['Carmelo Morales', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Carmelo_Morales property:place_of_birth ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1341418
Q1048835
USER
And what about Pedro Abarca?
(Q1341418,P19,c(Q1048835))
action filter_type
action find
entity Q1341418
relation P19
type Q1048835
['Q1341418', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q1341418 property:P19 ?q . ?q rdf:type ontology:Q1048835 }
Pedro Abarca
action filter_type
action find
entity Pedro Abarca
relation place of birth
type political territorial entity
['Pedro Abarca', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Pedro_Abarca property:place_of_birth ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q49581
SYSTEM
Jaca
Q49581
(Q1341418,P19,c(Q1048835))
action filter_type
action find
entity Q1341418
relation P19
type Q1048835
[ANSWER]
['Q1341418', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q1341418 property:P19 ?q . ?q rdf:type ontology:Q1048835 }
Jaca
Jaca
action filter_type
action find
entity Pedro Abarca
relation place of birth
type political territorial entity
['Pedro Abarca', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Pedro_Abarca property:place_of_birth ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P19
Q502895
USER
How many people were born at that political territory ?
(c(Q502895),P19,Q49581)
action count
action filter_type
action find_reverse
entity Q49581
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q49581']
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { ?m property:P19 resource:Q49581 . ?m rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Jaca
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Jaca']
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { ?m property:place_of_birth resource:Jaca . ?m rdf:type ontology:common_name }
[]
common name
SYSTEM
33
Q18418795 Q2640689 Q527823 Q23994726 Q2254091 Q17379298 Q1355148 Q5939630 Q15696781 Q6003064 Q8263811 Q1341418 Q17310949 Q982771 Q2045225 Q667259 Q5942112 Q490506 Q11011796 Q6700555 Q15161278 Q1043221 Q81833 Q1362419 Q19297923 Q5492822 Q12167699 Q17399225 Q15712077 Q20203851 Q1709298 Q2983613 Q9048410
(c(Q502895),P19,Q49581)
action count
action filter_type
action find_reverse
entity Q49581
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q49581']
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { ?m property:P19 resource:Q49581 . ?m rdf:type ontology:Q502895 }
Jesús Villar Alejandro Hernández Carlos Pauner Pablo Pantoja Mariano Benito Barrio Fernández Adrián Ubieto Jean-Joseph de Laborde José Fernando González Sánchez Antonio Miguel Méndez Pozo Maruja Callaved Carlos Castán Usieto Pedro Abarca Juan José Palacín María José Pueyo Pablo Muñoz Diego Ruiz Asín José Manuel Gómez Benítez Ander Alcaine Rafael Andolz Canela Luis Fenero Fernando Gimeno Marín Carlos Santanatalia Alfonso the Battler Juan Muñoz Desiderio Pérez Franz Joseph, Marquis de Lusignan José Antonio Biec Cebrián Alejandro Carbonell Pablo Puyuelo Ángeles Ribes José Luis Alonso Ara Martín Sessé y Lacasta Nacho Biota
33
action count
action filter_type
action find_reverse
entity Jaca
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Jaca']
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { ?m property:place_of_birth resource:Jaca . ?m rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q13918
P19
Q502895
USER
How many people have place of birth as Castellar del Vallès ?
(c(Q502895),P19,Q13918)
action count
action filter_type
action find_reverse
entity Q13918
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q13918']
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:P19 resource:Q13918 . ?v rdf:type ontology:Q502895 }
Castellar del Vallès
action count
action filter_type
action find_reverse
entity Castellar del Vallès
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Castellar del Vallès']
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:place_of_birth resource:Castellar_del_Vallès . ?v rdf:type ontology:common_name }
[]
common name
SYSTEM
18
Q508784 Q3725553 Q11905988 Q16015424 Q11928438 Q24493222 Q11922733 Q19291032 Q11922860 Q19289836 Q11944632 Q11927596 Q3093899 Q4894605 Q19289443 Q16189907 Q11928587 Q19301549
(c(Q502895),P19,Q13918)
action count
action filter_type
action find_reverse
entity Q13918
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q13918']
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:P19 resource:Q13918 . ?v rdf:type ontology:Q502895 }
Carmelo Morales Enric Clarasó Antoni Vergés i Mirassó Joan Blanquer i Penedès Josep Arderius Casanovas Pere Joan Ventura Francesc Comellas i Llinares Gemma Ubasart Francesc Valls i Llinares Antoni Tort i Rocavert Ramon Puigdelloses Sastre Joan Arús i Colomer Gabriel Mora Ignasi Giménez Renom Albert Antonell Ribatallada Lluís Corominas i Díaz Josep Germà i Homet Pere Oliver i Salt
18
action count
action filter_type
action find_reverse
entity Castellar del Vallès
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Castellar del Vallès']
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:place_of_birth resource:Castellar_del_Vallès . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13918
P159
Q334453
USER
Which division has the principal seat at that political territory ?
action filter_type
action find_reverse
entity Q13918
relation P159
type Q334453
SELECT DISTINCT ?v WHERE { ?v property:P159 resource:Q13918 . ?v rdf:type ontology:Q334453 }
Castellar del Vallès
action filter_type
action find_reverse
entity Castellar del Vallès
relation headquarters location
type division
SELECT DISTINCT ?v WHERE { ?v property:headquarters_location resource:Castellar_del_Vallès . ?v rdf:type ontology:division }
[]
division
Q4890403
SYSTEM
Picap
Q4890403
action filter_type
action find_reverse
entity Q13918
relation P159
type Q334453
[ANSWER] has the principal seat at that political territory
SELECT DISTINCT ?v WHERE { ?v property:P159 resource:Q13918 . ?v rdf:type ontology:Q334453 }
Picap
Picap has the principal seat at that political territory
Picap
action filter_type
action find_reverse
entity Castellar del Vallès
relation headquarters location
type division
SELECT DISTINCT ?v WHERE { ?v property:headquarters_location resource:Castellar_del_Vallès . ?v rdf:type ontology:division }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4890403 Q29
P17
Q15617994
USER
Is Picap a part of Spain ?
(Q4890403,P17,Q29)
action is_in
entity Q29
action find
entity Q4890403
relation P17
['Q4890403', 'P17', 'Q29']
ASK WHERE { resource:Q4890403 property:P17 resource:Q29 }
Picap Spain
action is_in
entity Spain
action find
entity Picap
relation country
['Picap', 'country', 'Spain']
ASK WHERE { resource:Picap property:country resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q4890403,P17,Q29)
action is_in
entity Q29
action find
entity Q4890403
relation P17
[ANSWER]
['Q4890403', 'P17', 'Q29']
ASK WHERE { resource:Q4890403 property:P17 resource:Q29 }
Yes
action is_in
entity Spain
action find
entity Picap
relation country
['Picap', 'country', 'Spain']
ASK WHERE { resource:Picap property:country resource:Spain }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q202585
P355
Q334453 Q334453
USER
Which divisions contains around the same number of divisions as their subordinate as RCA Records ?
(c(Q334453),P355,c(Q334453))
action approx
action find_tuple_counts
relation P355
type Q334453
type Q334453
action count
action filter_type
action find
entity Q202585
relation P355
type Q334453
[{'concept': 'Q334453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?v ) WHERE { ?h property:P355 ?y . ?h rdf:type ontology:Q334453 . ?y rdf:type ontology:Q334453 } GROUP BY ?h } . FILTER ( ?v = ?s ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t rdf:type ontology:Q334453 . resource:Q202585 property:P355 ?t } } }
RCA Records
action approx
action find_tuple_counts
relation subsidiary
type division
type division
action count
action filter_type
action find
entity RCA Records
relation subsidiary
type division
[{'concept': 'division'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?v ) WHERE { ?h property:subsidiary ?y . ?h rdf:type ontology:division . ?y rdf:type ontology:division } GROUP BY ?h } . FILTER ( ?v = ?s ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t rdf:type ontology:division . resource:RCA_Records property:subsidiary ?t } } }
[]
division division
Q202585 Q732503 Q483938
SYSTEM
RCA Records, Sony Music Entertainment Japan, S.M. Entertainment
Q1238400 Q700359 Q1064327 Q557632 Q483938 Q843402 Q1328605 Q933025 Q1988428 Q1533331 Q202585 Q732503 Q1205595
(c(Q334453),P355,c(Q334453))
action approx
action find_tuple_counts
relation P355
type Q334453
type Q334453
action count
action filter_type
action find
entity Q202585
relation P355
type Q334453
[ANSWERS] contain around the same number of divisions as their subordinate as RCA Records
[{'concept': 'Q334453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?v ) WHERE { ?h property:P355 ?y . ?h rdf:type ontology:Q334453 . ?y rdf:type ontology:Q334453 } GROUP BY ?h } . FILTER ( ?v = ?s ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t rdf:type ontology:Q334453 . resource:Q202585 property:P355 ?t } } }
Domino Recording Company PolyGram Johnny & Associates Decca Records S.M. Entertainment Warner Bros. Records King Records Windham Hill Records Avex Trax Go! Discs RCA Records Sony Music Entertainment Japan NBCUniversal Entertainment Japan
RCA Records, Sony Music Entertainment Japan and S.M. Entertainment contain around the same number of divisions as their subordinate as RCA Records
RCA Records Sony Music Entertainment Japan S.M. Entertainment
action approx
action find_tuple_counts
relation subsidiary
type division
type division
action count
action filter_type
action find
entity RCA Records
relation subsidiary
type division
[{'concept': 'division'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?v ) WHERE { ?h property:subsidiary ?y . ?h rdf:type ontology:division . ?y rdf:type ontology:division } GROUP BY ?h } . FILTER ( ?v = ?s ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t rdf:type ontology:division . resource:RCA_Records property:subsidiary ?t } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q330629
P355
Q334453 Q334453
USER
And how about Sony Music Entertainment?
(c(Q334453),P355,c(Q334453))
action approx
action find_tuple_counts
relation P355
type Q334453
type Q334453
action count
action filter_type
action find
entity Q330629
relation P355
type Q334453
[{'concept': 'Q334453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?k ) WHERE { ?m property:P355 ?v . ?m rdf:type ontology:Q334453 . ?v rdf:type ontology:Q334453 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { resource:Q330629 property:P355 ?q . ?q rdf:type ontology:Q334453 } } . FILTER ( ?k = ?s ) }
Sony Music Entertainment
action approx
action find_tuple_counts
relation subsidiary
type division
type division
action count
action filter_type
action find
entity Sony Music Entertainment
relation subsidiary
type division
[{'concept': 'division'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?k ) WHERE { ?m property:subsidiary ?v . ?m rdf:type ontology:division . ?v rdf:type ontology:division } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { resource:Sony_Music_Entertainment property:subsidiary ?q . ?q rdf:type ontology:division } } . FILTER ( ?k = ?s ) }
[]
division division
Q330629 Q1551705
SYSTEM
Sony Music Entertainment, Modern Records
Q330629 Q1551705
(c(Q334453),P355,c(Q334453))
action approx
action find_tuple_counts
relation P355
type Q334453
type Q334453
action count
action filter_type
action find
entity Q330629
relation P355
type Q334453
[ANSWERS]
[{'concept': 'Q334453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?k ) WHERE { ?m property:P355 ?v . ?m rdf:type ontology:Q334453 . ?v rdf:type ontology:Q334453 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { resource:Q330629 property:P355 ?q . ?q rdf:type ontology:Q334453 } } . FILTER ( ?k = ?s ) }
Sony Music Entertainment Modern Records
Sony Music Entertainment Modern Records
action approx
action find_tuple_counts
relation subsidiary
type division
type division
action count
action filter_type
action find
entity Sony Music Entertainment
relation subsidiary
type division
[{'concept': 'division'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?k ) WHERE { ?m property:subsidiary ?v . ?m rdf:type ontology:division . ?v rdf:type ontology:division } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { resource:Sony_Music_Entertainment property:subsidiary ?q . ?q rdf:type ontology:division } } . FILTER ( ?k = ?s ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P355
Q334453 Q4830453
USER
Which business enterprises contains approximately 1 division as their subordinate ?
(c(Q4830453),P355,c(Q334453))
action approx
action find_tuple_counts
relation P355
type Q4830453
type Q334453
value 1
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?d ) WHERE { ?k property:P355 ?s . ?k rdf:type ontology:Q4830453 . ?s rdf:type ontology:Q334453 } GROUP BY ?k } . FILTER ( ?d = 1 ) }
action approx
action find_tuple_counts
relation subsidiary
type business enterprise
type division
value 1
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?d ) WHERE { ?k property:subsidiary ?s . ?k rdf:type ontology:business_enterprise . ?s rdf:type ontology:division } GROUP BY ?k } . FILTER ( ?d = 1 ) }
[]
division business enterprise
Q10954015 Q23638508 Q43380
SYSTEM
Fuji Media Holdings, ArtPeople Holding, CBS
Q10954015 Q23638508 Q43380
(c(Q4830453),P355,c(Q334453))
action approx
action find_tuple_counts
relation P355
type Q4830453
type Q334453
value 1
[ANSWERS] contain approximately 1 division as their subordinate
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?d ) WHERE { ?k property:P355 ?s . ?k rdf:type ontology:Q4830453 . ?s rdf:type ontology:Q334453 } GROUP BY ?k } . FILTER ( ?d = 1 ) }
Fuji Media Holdings ArtPeople Holding CBS
Fuji Media Holdings, ArtPeople Holding and CBS contain approximately 1 division as their subordinate
Fuji Media Holdings ArtPeople Holding CBS
action approx
action find_tuple_counts
relation subsidiary
type business enterprise
type division
value 1
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?d ) WHERE { ?k property:subsidiary ?s . ?k rdf:type ontology:business_enterprise . ?s rdf:type ontology:division } GROUP BY ?k } . FILTER ( ?d = 1 ) }
[]