Simple Question (Direct)
Simple Question
Q21467922
P1412
Q34770
USER
Which language is Luis Silvela y de Le Vielleuze capable of writing ?
(Q21467922,P1412,c(Q34770))
action filter_type
action find
entity Q21467922
relation P1412
type Q34770
['Q21467922', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q21467922 property:P1412 ?j . ?j rdf:type ontology:Q34770 }
Luis Silvela y de Le Vielleuze
action filter_type
action find
entity Luis Silvela y de Le Vielleuze
relation languages spoken, written or signed
type language
['Luis Silvela y de Le Vielleuze', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Luis_Silvela_y_de_Le_Vielleuze property:languages_spoken,_written_or_signed ?j . ?j rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q21467922,P1412,c(Q34770))
action filter_type
action find
entity Q21467922
relation P1412
type Q34770
[ANSWER] is Luis Silvela y de Le Vielleuze capable of writing
['Q21467922', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q21467922 property:P1412 ?j . ?j rdf:type ontology:Q34770 }
Spanish
Spanish is Luis Silvela y de Le Vielleuze capable of writing
Spanish
action filter_type
action find
entity Luis Silvela y de Le Vielleuze
relation languages spoken, written or signed
type language
['Luis Silvela y de Le Vielleuze', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Luis_Silvela_y_de_Le_Vielleuze property:languages_spoken,_written_or_signed ?j . ?j rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21467922
P22
Q502895
USER
Who was the dad of Luis Silvela y de Le Vielleuze ?
(Q21467922,P22,c(Q502895))
action filter_type
action find
entity Q21467922
relation P22
type Q502895
['Q21467922', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q21467922 property:P22 ?o . ?o rdf:type ontology:Q502895 }
Luis Silvela y de Le Vielleuze
action filter_type
action find
entity Luis Silvela y de Le Vielleuze
relation father
type common name
['Luis Silvela y de Le Vielleuze', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Luis_Silvela_y_de_Le_Vielleuze property:father ?o . ?o rdf:type ontology:common_name }
[]
common name
Q8962277
SYSTEM
Francisco Agustín Silvela y Blanco
Q8962277
(Q21467922,P22,c(Q502895))
action filter_type
action find
entity Q21467922
relation P22
type Q502895
The dad of Luis Silvela y de Le Vielleuze was [ANSWER]
['Q21467922', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q21467922 property:P22 ?o . ?o rdf:type ontology:Q502895 }
Francisco Agustín Silvela y Blanco
The dad of Luis Silvela y de Le Vielleuze was Francisco Agustín Silvela y Blanco
Francisco Agustín Silvela y Blanco
action filter_type
action find
entity Luis Silvela y de Le Vielleuze
relation father
type common name
['Luis Silvela y de Le Vielleuze', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Luis_Silvela_y_de_Le_Vielleuze property:father ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q566403
Q502895
USER
And how about John William, Duke of Saxe-Weimar?
(Q566403,P22,c(Q502895))
action filter_type
action find
entity Q566403
relation P22
type Q502895
['Q566403', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q566403 property:P22 ?f . ?f rdf:type ontology:Q502895 }
John William, Duke of Saxe-Weimar
action filter_type
action find
entity John William, Duke of Saxe-Weimar
relation father
type common name
['John William, Duke of Saxe-Weimar', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:John_William,_Duke_of_Saxe-Weimar property:father ?f . ?f rdf:type ontology:common_name }
[]
common name
Q506182
SYSTEM
John Frederick I, Elector of Saxony
Q506182
(Q566403,P22,c(Q502895))
action filter_type
action find
entity Q566403
relation P22
type Q502895
[ANSWER]
['Q566403', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q566403 property:P22 ?f . ?f rdf:type ontology:Q502895 }
John Frederick I, Elector of Saxony
John Frederick I, Elector of Saxony
action filter_type
action find
entity John William, Duke of Saxe-Weimar
relation father
type common name
['John William, Duke of Saxe-Weimar', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:John_William,_Duke_of_Saxe-Weimar property:father ?f . ?f rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q506182 Q250006
P20
Q515
USER
Is Slănic-Moldova the place of death of that person ?
(Q506182,P20,Q250006)
action is_in
entity Q250006
action find
entity Q506182
relation P20
['Q506182', 'P20', 'Q250006']
ASK WHERE { resource:Q506182 property:P20 resource:Q250006 }
John Frederick I, Elector of Saxony Slănic-Moldova
action is_in
entity Slănic-Moldova
action find
entity John Frederick I, Elector of Saxony
relation place of death
['John Frederick I, Elector of Saxony', 'place of death', 'Slănic-Moldova']
ASK WHERE { resource:John_Frederick_I,_Elector_of_Saxony property:place_of_death resource:Slănic-Moldova }
[]
city
SYSTEM
NO
(Q506182,P20,Q250006)
action is_in
entity Q250006
action find
entity Q506182
relation P20
[ANSWER]
['Q506182', 'P20', 'Q250006']
ASK WHERE { resource:Q506182 property:P20 resource:Q250006 }
No
action is_in
entity Slănic-Moldova
action find
entity John Frederick I, Elector of Saxony
relation place of death
['John Frederick I, Elector of Saxony', 'place of death', 'Slănic-Moldova']
ASK WHERE { resource:John_Frederick_I,_Elector_of_Saxony property:place_of_death resource:Slănic-Moldova }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q21467922 Q29 Q16981072
P27
Q15617994
USER
Is Luis Silvela y de Le Vielleuze a civilian of Spain and Lampeter-Strasburg School District ?
(Q21467922,P27,Q29) (Q21467922,P27,Q16981072)
action is_in
entity Q21467922
action intersection
action find_reverse
entity Q29
relation P27
action find_reverse
entity Q16981072
relation P27
['Q21467922', 'P27', 'Q29'] ['Q21467922', 'P27', 'Q16981072']
ASK WHERE { resource:Q21467922 property:P27 resource:Q29 . resource:Q21467922 property:P27 resource:Q16981072 }
Luis Silvela y de Le Vielleuze Spain Lampeter-Strasburg School District
action is_in
entity Luis Silvela y de Le Vielleuze
action intersection
action find_reverse
entity Spain
relation country of citizenship
action find_reverse
entity Lampeter-Strasburg School District
relation country of citizenship
['Luis Silvela y de Le Vielleuze', 'country of citizenship', 'Spain'] ['Luis Silvela y de Le Vielleuze', 'country of citizenship', 'Lampeter-Strasburg School District']
ASK WHERE { resource:Luis_Silvela_y_de_Le_Vielleuze property:country_of_citizenship resource:Spain . resource:Luis_Silvela_y_de_Le_Vielleuze property:country_of_citizenship resource:Lampeter-Strasburg_School_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q21467922,P27,Q29) (Q21467922,P27,Q16981072)
action is_in
entity Q21467922
action intersection
action find_reverse
entity Q29
relation P27
action find_reverse
entity Q16981072
relation P27
[ANSWER]
['Q21467922', 'P27', 'Q29'] ['Q21467922', 'P27', 'Q16981072']
ASK WHERE { resource:Q21467922 property:P27 resource:Q29 . resource:Q21467922 property:P27 resource:Q16981072 }
YES and NO respectively
action is_in
entity Luis Silvela y de Le Vielleuze
action intersection
action find_reverse
entity Spain
relation country of citizenship
action find_reverse
entity Lampeter-Strasburg School District
relation country of citizenship
['Luis Silvela y de Le Vielleuze', 'country of citizenship', 'Spain'] ['Luis Silvela y de Le Vielleuze', 'country of citizenship', 'Lampeter-Strasburg School District']
ASK WHERE { resource:Luis_Silvela_y_de_Le_Vielleuze property:country_of_citizenship resource:Spain . resource:Luis_Silvela_y_de_Le_Vielleuze property:country_of_citizenship resource:Lampeter-Strasburg_School_District }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21467922
P40
Q502895
USER
Who has that one as an offspring ?
action filter_type
action find_reverse
entity Q21467922
relation P40
type Q502895
SELECT DISTINCT ?i WHERE { ?i property:P40 resource:Q21467922 . ?i rdf:type ontology:Q502895 }
Luis Silvela y de Le Vielleuze
action filter_type
action find_reverse
entity Luis Silvela y de Le Vielleuze
relation child
type common name
SELECT DISTINCT ?i WHERE { ?i property:child resource:Luis_Silvela_y_de_Le_Vielleuze . ?i rdf:type ontology:common_name }
[]
common name
Q8962277
SYSTEM
Francisco Agustín Silvela y Blanco
Q8962277
action filter_type
action find_reverse
entity Q21467922
relation P40
type Q502895
[ANSWER] has that one as an offspring
SELECT DISTINCT ?i WHERE { ?i property:P40 resource:Q21467922 . ?i rdf:type ontology:Q502895 }
Francisco Agustín Silvela y Blanco
Francisco Agustín Silvela y Blanco has that one as an offspring
Francisco Agustín Silvela y Blanco
action filter_type
action find_reverse
entity Luis Silvela y de Le Vielleuze
relation child
type common name
SELECT DISTINCT ?i WHERE { ?i property:child resource:Luis_Silvela_y_de_Le_Vielleuze . ?i rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q26829863
P725
Q502895 Q386724
USER
How many works have been dubbed by around the same number of people as Angry Birds: La película ?
(c(Q386724),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q26829863
relation P725
type Q386724
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?r ) WHERE { ?k property:P725 ?b . ?k rdf:type ontology:Q386724 . ?b rdf:type ontology:Q502895 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { resource:Q26829863 property:P725 ?w . ?w rdf:type ontology:Q386724 } } . FILTER ( ?r = ?f ) }
Angry Birds: La película
action count
action approx
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Angry Birds: La película
relation voice actor
type work
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?r ) WHERE { ?k property:voice_actor ?b . ?k rdf:type ontology:work . ?b rdf:type ontology:common_name } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { resource:Angry_Birds:_La_película property:voice_actor ?w . ?w rdf:type ontology:work } } . FILTER ( ?r = ?f ) }
[]
common name work
SYSTEM
12
Q26987217 Q26701981 Q23752771 Q27627540 Q26390366 Q26715049 Q26299860 Q25858085 Q26457246 Q13516675 Q26829863 Q23894983
(c(Q386724),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q26829863
relation P725
type Q386724
[ANSWER]
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?r ) WHERE { ?k property:P725 ?b . ?k rdf:type ontology:Q386724 . ?b rdf:type ontology:Q502895 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { resource:Q26829863 property:P725 ?w . ?w rdf:type ontology:Q386724 } } . FILTER ( ?r = ?f ) }
Hércules y la visita de Zeus Hércules y el grifo Iron Man Doctor Strange (Doctor Extraño) Hércules y el rey de Tesalia Peter y el dragón Hércules y el primer médico del mundo Alicia a través del espejo Hércules y el arma secreta Sakura Trick Angry Birds: La película Iron Man 2
12
action count
action approx
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Angry Birds: La película
relation voice actor
type work
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?r ) WHERE { ?k property:voice_actor ?b . ?k rdf:type ontology:work . ?b rdf:type ontology:common_name } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { resource:Angry_Birds:_La_película property:voice_actor ?w . ?w rdf:type ontology:work } } . FILTER ( ?r = ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q26712000
P725
Q502895 Q386724
USER
And what about Hércules y los Tecno-Griegos?
(c(Q386724),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q26712000
relation P725
type Q386724
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?n ) WHERE { ?k property:P725 ?t . ?k rdf:type ontology:Q386724 . ?t rdf:type ontology:Q502895 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s rdf:type ontology:Q386724 . resource:Q26712000 property:P725 ?s } } . FILTER ( ?n = ?l ) }
Hércules y los Tecno-Griegos
action count
action approx
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Hércules y los Tecno-Griegos
relation voice actor
type work
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?n ) WHERE { ?k property:voice_actor ?t . ?k rdf:type ontology:work . ?t rdf:type ontology:common_name } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s rdf:type ontology:work . resource:Hércules_y_los_Tecno-Griegos property:voice_actor ?s } } . FILTER ( ?n = ?l ) }
[]
common name work
SYSTEM
11
Q26987217 Q26331781 Q26701981 Q23752771 Q27627540 Q26712000 Q26390366 Q26299860 Q26457246 Q26301623 Q23894983
(c(Q386724),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q26712000
relation P725
type Q386724
[ANSWER]
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?n ) WHERE { ?k property:P725 ?t . ?k rdf:type ontology:Q386724 . ?t rdf:type ontology:Q502895 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s rdf:type ontology:Q386724 . resource:Q26712000 property:P725 ?s } } . FILTER ( ?n = ?l ) }
Hércules y la visita de Zeus Hércules y el examen de conducir Hércules y el grifo Iron Man Doctor Strange (Doctor Extraño) Hércules y los Tecno-Griegos Hércules y el rey de Tesalia Hércules y el primer médico del mundo Hércules y el arma secreta Hércules y el primer día de escuela Iron Man 2
11
action count
action approx
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Hércules y los Tecno-Griegos
relation voice actor
type work
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?n ) WHERE { ?k property:voice_actor ?t . ?k rdf:type ontology:work . ?t rdf:type ontology:common_name } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s rdf:type ontology:work . resource:Hércules_y_los_Tecno-Griegos property:voice_actor ?s } } . FILTER ( ?n = ?l ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q894896 Q26712000
P364 P407
Q34770
USER
What are the languages of work for Hércules y los Tecno-Griegos or are considered to be the original language of creation of Bottle Shock ?
OR((Q26712000,P407,c(Q34770)), (Q894896,P364,c(Q34770)))
action filter_type
action union
action find
entity Q26712000
relation P407
action find
entity Q894896
relation P364
type Q34770
{'OR': [['Q26712000', 'P407', {'concept': 'Q34770'}], ['Q894896', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q34770 . { { resource:Q26712000 property:P407 ?e } UNION { resource:Q894896 property:P364 ?e } } }
Bottle Shock Hércules y los Tecno-Griegos
action filter_type
action union
action find
entity Hércules y los Tecno-Griegos
relation language of work or name
action find
entity Bottle Shock
relation original language of work
type language
{'OR': [['Hércules y los Tecno-Griegos', 'language of work or name', {'concept': 'language'}], ['Bottle Shock', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:language . { { resource:Hércules_y_los_Tecno-Griegos property:language_of_work_or_name ?e } UNION { resource:Bottle_Shock property:original_language_of_work ?e } } }
[]
language
Q1860 Q1321
SYSTEM
English, Spanish
Q1860 Q1321
OR((Q26712000,P407,c(Q34770)), (Q894896,P364,c(Q34770)))
action filter_type
action union
action find
entity Q26712000
relation P407
action find
entity Q894896
relation P364
type Q34770
The languages of work for Hércules y los Tecno-Griegos are considered in [ANSWERS]
{'OR': [['Q26712000', 'P407', {'concept': 'Q34770'}], ['Q894896', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q34770 . { { resource:Q26712000 property:P407 ?e } UNION { resource:Q894896 property:P364 ?e } } }
English Spanish
The languages of work for Hércules y los Tecno-Griegos are considered in English and Spanish
English Spanish
action filter_type
action union
action find
entity Hércules y los Tecno-Griegos
relation language of work or name
action find
entity Bottle Shock
relation original language of work
type language
{'OR': [['Hércules y los Tecno-Griegos', 'language of work or name', {'concept': 'language'}], ['Bottle Shock', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:language . { { resource:Hércules_y_los_Tecno-Griegos property:language_of_work_or_name ?e } UNION { resource:Bottle_Shock property:original_language_of_work ?e } } }
[]