Simple Question (Direct)
Simple Question
Q4712152
P1196
Q1190554
USER
Which situation led to the death of Alberto Olmedo ?
(Q4712152,P1196,c(Q1190554))
action filter_type
action find
entity Q4712152
relation P1196
type Q1190554
['Q4712152', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?s WHERE { resource:Q4712152 property:P1196 ?s . ?s rdf:type ontology:Q1190554 }
Alberto Olmedo
action filter_type
action find
entity Alberto Olmedo
relation manner of death
type event
['Alberto Olmedo', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?s WHERE { resource:Alberto_Olmedo property:manner_of_death ?s . ?s rdf:type ontology:event }
[]
event
Q171558
SYSTEM
accident
Q171558
(Q4712152,P1196,c(Q1190554))
action filter_type
action find
entity Q4712152
relation P1196
type Q1190554
En [ANSWER] led to the death of Alberto Olmedo
['Q4712152', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?s WHERE { resource:Q4712152 property:P1196 ?s . ?s rdf:type ontology:Q1190554 }
accident
En accident led to the death of Alberto Olmedo
accident
action filter_type
action find
entity Alberto Olmedo
relation manner of death
type event
['Alberto Olmedo', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?s WHERE { resource:Alberto_Olmedo property:manner_of_death ?s . ?s rdf:type ontology:event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4712152
P161
Q838948
USER
Which works of art stars that person as actor ?
(c(Q838948),P161,Q171558)
action filter_type
action find_reverse
entity Q4712152
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q171558']
SELECT DISTINCT ?k WHERE { ?k property:P161 resource:Q4712152 . ?k rdf:type ontology:Q838948 }
Alberto Olmedo
action filter_type
action find_reverse
entity Alberto Olmedo
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'accident']
SELECT DISTINCT ?k WHERE { ?k property:cast_member resource:Alberto_Olmedo . ?k rdf:type ontology:work_of_art }
[]
work of art
Q6683382 Q5980813 Q5299227
SYSTEM
Los caballeros de la cama redonda, Los Doctores las prefieren desnudas, Dos quijotes sobre ruedas
Q17062093 Q5421229 Q5980813 Q5671779 Q6683382 Q6492060 Q5460250 Q5260088 Q5299227 Q5721859 Q2881873 Q7882116 Q5711085 Q5351398
(c(Q838948),P161,Q171558)
action filter_type
action find_reverse
entity Q4712152
relation P161
type Q838948
[ANSWERS] star that person as actor
[{'concept': 'Q838948'}, 'P161', 'Q171558']
SELECT DISTINCT ?k WHERE { ?k property:P161 resource:Q4712152 . ?k rdf:type ontology:Q838948 }
Paper Boats Expertos en Pinchazos Los Doctores las prefieren desnudas A Lover For Two Los caballeros de la cama redonda Las Aventuras del Capitán Piluso en el Castillo del Terror Flor de piolas Departamento compartido Dos quijotes sobre ruedas Basta de mujeres Así No Hay Cama Que Aguante Una Jaula no tiene secretos Peculiar Attraction El Hombre del año
Los caballeros de la cama redonda, Los Doctores las prefieren desnudas and Dos quijotes sobre ruedas star that person as actor
Los caballeros de la cama redonda Los Doctores las prefieren desnudas Dos quijotes sobre ruedas
action filter_type
action find_reverse
entity Alberto Olmedo
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'accident']
SELECT DISTINCT ?k WHERE { ?k property:cast_member resource:Alberto_Olmedo . ?k rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q6683382 Q5980813 Q5299227
P364
Q34770
USER
What are the original languages of creation of Los caballeros de la cama redonda, Los Doctores las prefieren desnudas and Dos quijotes sobre ruedas ?
(Q6683382,P364,c(Q34770)) (Q5980813,P364,c(Q34770)) (Q5299227,P364,c(Q34770))
action union
action filter_type
action find
entity Q6683382
relation P364
type Q34770
action filter_type
action find
entity Q5980813
relation P364
type Q34770
action filter_type
action find
entity Q5299227
relation P364
type Q34770
['Q6683382', 'P364', {'concept': 'Q34770'}] ['Q5980813', 'P364', {'concept': 'Q34770'}] ['Q5299227', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { { resource:Q6683382 property:P364 ?g . ?g rdf:type ontology:Q34770 } UNION { resource:Q5980813 property:P364 ?g . ?g rdf:type ontology:Q34770 } }
Los caballeros de la cama redonda Los Doctores las prefieren desnudas Dos quijotes sobre ruedas
action union
action filter_type
action find
entity Los caballeros de la cama redonda
relation original language of work
type language
action filter_type
action find
entity Los Doctores las prefieren desnudas
relation original language of work
type language
action filter_type
action find
entity Dos quijotes sobre ruedas
relation original language of work
type language
['Los caballeros de la cama redonda', 'original language of work', {'concept': 'language'}] ['Los Doctores las prefieren desnudas', 'original language of work', {'concept': 'language'}] ['Dos quijotes sobre ruedas', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { { resource:Los_caballeros_de_la_cama_redonda property:original_language_of_work ?g . ?g rdf:type ontology:language } UNION { resource:Los_Doctores_las_prefieren_desnudas property:original_language_of_work ?g . ?g rdf:type ontology:language } }
[]
language
Q1321 Q1321 Q1321
SYSTEM
Spanish
Q1321 Q1321 Q1321
(Q6683382,P364,c(Q34770)) (Q5980813,P364,c(Q34770)) (Q5299227,P364,c(Q34770))
action union
action filter_type
action find
entity Q6683382
relation P364
type Q34770
action filter_type
action find
entity Q5980813
relation P364
type Q34770
action filter_type
action find
entity Q5299227
relation P364
type Q34770
Sobre ruedas the original languages of creation of Los caballeros de la cama redonda and Dos quijotes are prefieren in [ANSWER], [ANSWER] and [ANSWER]
['Q6683382', 'P364', {'concept': 'Q34770'}] ['Q5980813', 'P364', {'concept': 'Q34770'}] ['Q5299227', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { { resource:Q6683382 property:P364 ?g . ?g rdf:type ontology:Q34770 } UNION { resource:Q5980813 property:P364 ?g . ?g rdf:type ontology:Q34770 } }
Spanish Spanish Spanish
Sobre ruedas the original languages of creation of Los caballeros de la cama redonda and Dos quijotes are prefieren in Spanish, Spanish and Spanish
Spanish Spanish Spanish
action union
action filter_type
action find
entity Los caballeros de la cama redonda
relation original language of work
type language
action filter_type
action find
entity Los Doctores las prefieren desnudas
relation original language of work
type language
action filter_type
action find
entity Dos quijotes sobre ruedas
relation original language of work
type language
['Los caballeros de la cama redonda', 'original language of work', {'concept': 'language'}] ['Los Doctores las prefieren desnudas', 'original language of work', {'concept': 'language'}] ['Dos quijotes sobre ruedas', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { { resource:Los_caballeros_de_la_cama_redonda property:original_language_of_work ?g . ?g rdf:type ontology:language } UNION { resource:Los_Doctores_las_prefieren_desnudas property:original_language_of_work ?g . ?g rdf:type ontology:language } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6683382
P344
Q502895
USER
Who is appointed as the cinematographer of Los caballeros de la cama redonda ?
(Q6683382,P344,c(Q502895))
action filter_type
action find
entity Q6683382
relation P344
type Q502895
['Q6683382', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q6683382 property:P344 ?q }
Los caballeros de la cama redonda
action filter_type
action find
entity Los caballeros de la cama redonda
relation director of photography
type common name
['Los caballeros de la cama redonda', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Los_caballeros_de_la_cama_redonda property:director_of_photography ?q }
[]
common name
Q4749647
SYSTEM
Américo Hoss
Q4749647
(Q6683382,P344,c(Q502895))
action filter_type
action find
entity Q6683382
relation P344
type Q502895
[ANSWER] is appointed as the cinematographer of Los caballeros de la cama redonda
['Q6683382', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q6683382 property:P344 ?q }
Américo Hoss
Américo Hoss is appointed as the cinematographer of Los caballeros de la cama redonda
Américo Hoss
action filter_type
action find
entity Los caballeros de la cama redonda
relation director of photography
type common name
['Los caballeros de la cama redonda', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Los_caballeros_de_la_cama_redonda property:director_of_photography ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4749647
P106
Q12737077
USER
What is the profession of that person ?
(Q4749647,P106,c(Q12737077))
action filter_type
action find
entity Q4749647
relation P106
type Q12737077
['Q4749647', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q4749647 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Américo Hoss
action filter_type
action find
entity Américo Hoss
relation occupation
type occupation
['Américo Hoss', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Américo_Hoss property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q33231
SYSTEM
photographer
Q33231
(Q4749647,P106,c(Q12737077))
action filter_type
action find
entity Q4749647
relation P106
type Q12737077
The profession of that person is a [ANSWER]
['Q4749647', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q4749647 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
photographer
The profession of that person is a photographer
photographer
action filter_type
action find
entity Américo Hoss
relation occupation
type occupation
['Américo Hoss', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Américo_Hoss property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q4749647
Q28640
USER
And which profession?
(Q4749647,P106,c(Q28640))
action filter_type
action find
entity Q4749647
relation P106
type Q28640
['Q4749647', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q28640 . resource:Q4749647 property:P106 ?k }
Américo Hoss
action filter_type
action find
entity Américo Hoss
relation occupation
type profession
['Américo Hoss', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:profession . resource:Américo_Hoss property:occupation ?k }
[]
profession
Q222344
SYSTEM
cinematographer
Q222344
(Q4749647,P106,c(Q28640))
action filter_type
action find
entity Q4749647
relation P106
type Q28640
[ANSWER]
['Q4749647', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q28640 . resource:Q4749647 property:P106 ?k }
cinematographer
cinematographer
action filter_type
action find
entity Américo Hoss
relation occupation
type profession
['Américo Hoss', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:profession . resource:Américo_Hoss property:occupation ?k }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q164716
P355
Q28640 Q28640
USER
Which professions contains greater number of professions as their subordinate than Crytek ?
(c(Q28640),P355,c(Q28640))
action greater
action find_tuple_counts
relation P355
type Q28640
type Q28640
action count
action filter_type
action find
entity Q164716
relation P355
type Q28640
[{'concept': 'Q28640'}, 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?u ) WHERE { ?n property:P355 ?i . ?n rdf:type ontology:Q28640 . ?i rdf:type ontology:Q28640 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Q164716 property:P355 ?s . ?s rdf:type ontology:Q28640 } } . FILTER ( ?u > ?w ) }
Crytek
action greater
action find_tuple_counts
relation subsidiary
type profession
type profession
action count
action filter_type
action find
entity Crytek
relation subsidiary
type profession
[{'concept': 'profession'}, 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?u ) WHERE { ?n property:subsidiary ?i . ?n rdf:type ontology:profession . ?i rdf:type ontology:profession } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Crytek property:subsidiary ?s . ?s rdf:type ontology:profession } } . FILTER ( ?u > ?w ) }
[]
profession profession
Q122741 Q188273 Q18594
SYSTEM
Sega, Ubisoft, Sony Interactive Entertainment
Q7098994 Q860580 Q94933 Q73801 Q3875762 Q18594 Q679933 Q483036 Q188273 Q1782700 Q800120 Q372471 Q542018 Q245772 Q122741
(c(Q28640),P355,c(Q28640))
action greater
action find_tuple_counts
relation P355
type Q28640
type Q28640
action count
action filter_type
action find
entity Q164716
relation P355
type Q28640
[ANSWERS] contain greater number of professions as their subordinate than Crytek
[{'concept': 'Q28640'}, 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?u ) WHERE { ?n property:P355 ?i . ?n rdf:type ontology:Q28640 . ?i rdf:type ontology:Q28640 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Q164716 property:P355 ?s . ?s rdf:type ontology:Q28640 } } . FILTER ( ?u > ?w ) }
CD Projekt Tencent Holdings Take-Two Interactive Microsoft Studios ngmoco Sony Interactive Entertainment Eidos Interactive NCsoft Ubisoft Infogrames Entertainment Humongous Wargaming.net SCE Worldwide Studios Zynga Sega
Sega, Ubisoft and Sony Interactive Entertainment contain greater number of professions as their subordinate than Crytek
Sega Ubisoft Sony Interactive Entertainment
action greater
action find_tuple_counts
relation subsidiary
type profession
type profession
action count
action filter_type
action find
entity Crytek
relation subsidiary
type profession
[{'concept': 'profession'}, 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?u ) WHERE { ?n property:subsidiary ?i . ?n rdf:type ontology:profession . ?i rdf:type ontology:profession } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Crytek property:subsidiary ?s . ?s rdf:type ontology:profession } } . FILTER ( ?u > ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q122741
P355
Q28640 Q28640
USER
And how about Sega?
(c(Q28640),P355,c(Q28640))
action greater
action find_tuple_counts
relation P355
type Q28640
type Q28640
action count
action filter_type
action find
entity Q122741
relation P355
type Q28640
[{'concept': 'Q28640'}, 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?p ) WHERE { ?e rdf:type ontology:Q28640 . ?h rdf:type ontology:Q28640 . ?e property:P355 ?h } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { resource:Q122741 property:P355 ?m . ?m rdf:type ontology:Q28640 } } . FILTER ( ?p > ?s ) }
Sega
action greater
action find_tuple_counts
relation subsidiary
type profession
type profession
action count
action filter_type
action find
entity Sega
relation subsidiary
type profession
[{'concept': 'profession'}, 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?p ) WHERE { ?e rdf:type ontology:profession . ?h rdf:type ontology:profession . ?e property:subsidiary ?h } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { resource:Sega property:subsidiary ?m . ?m rdf:type ontology:profession } } . FILTER ( ?p > ?s ) }
[]
profession profession
Q188273 Q860580 Q73801
SYSTEM
Ubisoft, Tencent Holdings, Microsoft Studios
Q860580 Q73801 Q188273 Q372471 Q542018
(c(Q28640),P355,c(Q28640))
action greater
action find_tuple_counts
relation P355
type Q28640
type Q28640
action count
action filter_type
action find
entity Q122741
relation P355
type Q28640
[ANSWERS]
[{'concept': 'Q28640'}, 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?p ) WHERE { ?e rdf:type ontology:Q28640 . ?h rdf:type ontology:Q28640 . ?e property:P355 ?h } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { resource:Q122741 property:P355 ?m . ?m rdf:type ontology:Q28640 } } . FILTER ( ?p > ?s ) }
Tencent Holdings Microsoft Studios Ubisoft Wargaming.net SCE Worldwide Studios
Ubisoft Tencent Holdings Microsoft Studios
action greater
action find_tuple_counts
relation subsidiary
type profession
type profession
action count
action filter_type
action find
entity Sega
relation subsidiary
type profession
[{'concept': 'profession'}, 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?p ) WHERE { ?e rdf:type ontology:profession . ?h rdf:type ontology:profession . ?e property:subsidiary ?h } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { resource:Sega property:subsidiary ?m . ?m rdf:type ontology:profession } } . FILTER ( ?p > ?s ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P127
Q28640 Q1668024
USER
How many professions or services on internet are owned by that profession ?
(c(Q28640),P127,Q860580) (c(Q1668024),P127,Q860580) (c(Q28640),P127,Q188273) (c(Q1668024),P127,Q188273) (c(Q28640),P127,Q860580) (c(Q1668024),P127,Q860580) (c(Q28640),P127,Q73801) (c(Q1668024),P127,Q73801)
[{'concept': 'Q28640'}, 'P127', 'Q860580'] [{'concept': 'Q1668024'}, 'P127', 'Q860580'] [{'concept': 'Q28640'}, 'P127', 'Q188273'] [{'concept': 'Q1668024'}, 'P127', 'Q188273'] [{'concept': 'Q28640'}, 'P127', 'Q860580'] [{'concept': 'Q1668024'}, 'P127', 'Q860580'] [{'concept': 'Q28640'}, 'P127', 'Q73801'] [{'concept': 'Q1668024'}, 'P127', 'Q73801']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P127 resource:Q860580 } UNION { ?y property:P127 resource:Q860580 } UNION { ?z property:P127 resource:Q188273 } UNION { ?y property:P127 resource:Q188273 } UNION { ?z property:P127 resource:Q860580 } UNION { ?y property:P127 resource:Q860580 } UNION { ?z property:P127 resource:Q73801 } UNION { ?y property:P127 resource:Q73801 } } . ?z rdf:type ontology:Q28640 . ?y rdf:type ontology:Q1668024 }
[{'concept': 'profession'}, 'owned by', 'Tencent Holdings'] [{'concept': 'service on internet'}, 'owned by', 'Tencent Holdings'] [{'concept': 'profession'}, 'owned by', 'Ubisoft'] [{'concept': 'service on internet'}, 'owned by', 'Ubisoft'] [{'concept': 'profession'}, 'owned by', 'Tencent Holdings'] [{'concept': 'service on internet'}, 'owned by', 'Tencent Holdings'] [{'concept': 'profession'}, 'owned by', 'Microsoft Studios'] [{'concept': 'service on internet'}, 'owned by', 'Microsoft Studios']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:owned_by resource:Tencent_Holdings } UNION { ?y property:owned_by resource:Tencent_Holdings } UNION { ?z property:owned_by resource:Ubisoft } UNION { ?y property:owned_by resource:Ubisoft } UNION { ?z property:owned_by resource:Tencent_Holdings } UNION { ?y property:owned_by resource:Tencent_Holdings } UNION { ?z property:owned_by resource:Microsoft_Studios } UNION { ?y property:owned_by resource:Microsoft_Studios } } . ?z rdf:type ontology:profession . ?y rdf:type ontology:service_on_internet }
[]
profession service on internet
Quantitative|Count|Mult. entity type|Clarification
Q73801
SYSTEM
Did you mean Microsoft Studios ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P127 resource:Q860580 } UNION { ?y property:P127 resource:Q860580 } UNION { ?z property:P127 resource:Q188273 } UNION { ?y property:P127 resource:Q188273 } UNION { ?z property:P127 resource:Q860580 } UNION { ?y property:P127 resource:Q860580 } UNION { ?z property:P127 resource:Q73801 } UNION { ?y property:P127 resource:Q73801 } } . ?z rdf:type ontology:Q28640 . ?y rdf:type ontology:Q1668024 }
Did you mean Microsoft Studios ?
Microsoft Studios
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:owned_by resource:Tencent_Holdings } UNION { ?y property:owned_by resource:Tencent_Holdings } UNION { ?z property:owned_by resource:Ubisoft } UNION { ?y property:owned_by resource:Ubisoft } UNION { ?z property:owned_by resource:Tencent_Holdings } UNION { ?y property:owned_by resource:Tencent_Holdings } UNION { ?z property:owned_by resource:Microsoft_Studios } UNION { ?y property:owned_by resource:Microsoft_Studios } } . ?z rdf:type ontology:profession . ?y rdf:type ontology:service_on_internet }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Tencent Holdings. Could you tell me the answer for that?
(c(Q28640),P127,Q860580) (c(Q1668024),P127,Q860580) (c(Q28640),P127,Q188273) (c(Q1668024),P127,Q188273) (c(Q28640),P127,Q860580) (c(Q1668024),P127,Q860580) (c(Q28640),P127,Q73801) (c(Q1668024),P127,Q73801)
Q860580
[{'concept': 'Q28640'}, 'P127', 'Q860580'] [{'concept': 'Q1668024'}, 'P127', 'Q860580'] [{'concept': 'Q28640'}, 'P127', 'Q188273'] [{'concept': 'Q1668024'}, 'P127', 'Q188273'] [{'concept': 'Q28640'}, 'P127', 'Q860580'] [{'concept': 'Q1668024'}, 'P127', 'Q860580'] [{'concept': 'Q28640'}, 'P127', 'Q73801'] [{'concept': 'Q1668024'}, 'P127', 'Q73801']
[{'concept': 'profession'}, 'owned by', 'Tencent Holdings'] [{'concept': 'service on internet'}, 'owned by', 'Tencent Holdings'] [{'concept': 'profession'}, 'owned by', 'Ubisoft'] [{'concept': 'service on internet'}, 'owned by', 'Ubisoft'] [{'concept': 'profession'}, 'owned by', 'Tencent Holdings'] [{'concept': 'service on internet'}, 'owned by', 'Tencent Holdings'] [{'concept': 'profession'}, 'owned by', 'Microsoft Studios'] [{'concept': 'service on internet'}, 'owned by', 'Microsoft Studios']
[]
SYSTEM
2
Q857640 Q1060165
(c(Q28640),P127,Q860580) (c(Q1668024),P127,Q860580) (c(Q28640),P127,Q188273) (c(Q1668024),P127,Q188273) (c(Q28640),P127,Q860580) (c(Q1668024),P127,Q860580) (c(Q28640),P127,Q73801) (c(Q1668024),P127,Q73801)
[ANSWER]
[{'concept': 'Q28640'}, 'P127', 'Q860580'] [{'concept': 'Q1668024'}, 'P127', 'Q860580'] [{'concept': 'Q28640'}, 'P127', 'Q188273'] [{'concept': 'Q1668024'}, 'P127', 'Q188273'] [{'concept': 'Q28640'}, 'P127', 'Q860580'] [{'concept': 'Q1668024'}, 'P127', 'Q860580'] [{'concept': 'Q28640'}, 'P127', 'Q73801'] [{'concept': 'Q1668024'}, 'P127', 'Q73801']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P127 resource:Q860580 } UNION { ?y property:P127 resource:Q860580 } UNION { ?z property:P127 resource:Q188273 } UNION { ?y property:P127 resource:Q188273 } UNION { ?z property:P127 resource:Q860580 } UNION { ?y property:P127 resource:Q860580 } UNION { ?z property:P127 resource:Q73801 } UNION { ?y property:P127 resource:Q73801 } } . ?z rdf:type ontology:Q28640 . ?y rdf:type ontology:Q1668024 }
Tencent Riot Games
2
[{'concept': 'profession'}, 'owned by', 'Tencent Holdings'] [{'concept': 'service on internet'}, 'owned by', 'Tencent Holdings'] [{'concept': 'profession'}, 'owned by', 'Ubisoft'] [{'concept': 'service on internet'}, 'owned by', 'Ubisoft'] [{'concept': 'profession'}, 'owned by', 'Tencent Holdings'] [{'concept': 'service on internet'}, 'owned by', 'Tencent Holdings'] [{'concept': 'profession'}, 'owned by', 'Microsoft Studios'] [{'concept': 'service on internet'}, 'owned by', 'Microsoft Studios']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:owned_by resource:Tencent_Holdings } UNION { ?y property:owned_by resource:Tencent_Holdings } UNION { ?z property:owned_by resource:Ubisoft } UNION { ?y property:owned_by resource:Ubisoft } UNION { ?z property:owned_by resource:Tencent_Holdings } UNION { ?y property:owned_by resource:Tencent_Holdings } UNION { ?z property:owned_by resource:Microsoft_Studios } UNION { ?y property:owned_by resource:Microsoft_Studios } } . ?z rdf:type ontology:profession . ?y rdf:type ontology:service_on_internet }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3281900
P355
Q28640 Q43229 Q4830453
USER
How many professions are the subordinates of less number of organizations and business enterprises than Malfador Machinations ?
(c(Q43229)|c(Q4830453),P355,c(Q28640))
action count
action less
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q43229
action find_reverse_tuple_counts
relation P355
type Q28640
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q3281900
relation P355
type Q43229
type Q4830453
[[{'concept': 'Q43229'}, {'concept': 'Q4830453'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?s WHERE { { ?r property:P355 ?s . ?s rdf:type ontology:Q28640 . ?r rdf:type ontology:Q43229 } UNION { ?r property:P355 ?s . ?r rdf:type ontology:Q4830453 . ?s rdf:type ontology:Q28640 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:P355 resource:Q3281900 . { VALUES ( ?a ) { ( ontology:Q43229 ) ( ontology:Q4830453 ) } . ?y rdf:type ?a } } } . FILTER ( ?i < ?o ) }
Malfador Machinations
action count
action less
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type organization
action find_reverse_tuple_counts
relation subsidiary
type profession
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Malfador Machinations
relation subsidiary
type organization
type business enterprise
[[{'concept': 'organization'}, {'concept': 'business enterprise'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?s WHERE { { ?r property:subsidiary ?s . ?s rdf:type ontology:profession . ?r rdf:type ontology:organization } UNION { ?r property:subsidiary ?s . ?r rdf:type ontology:business_enterprise . ?s rdf:type ontology:profession } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:subsidiary resource:Malfador_Machinations . { VALUES ( ?a ) { ( ontology:organization ) ( ontology:business_enterprise ) } . ?y rdf:type ?a } } } . FILTER ( ?i < ?o ) }
[]
profession organization business enterprise
SYSTEM
33
Q1040450 Q18414205 Q15240959 Q1064703 Q863618 Q1403157 Q2076545 Q18388687 Q2607531 Q7641092 Q3456271 Q611508 Q1060165 Q26222 Q1053684 Q739711 Q991149 Q204474 Q1129295 Q2510684 Q94937 Q4039000 Q73801 Q1930918 Q923047 Q2740414 Q15018011 Q1692707 Q8043371 Q467598 Q1358751 Q1172164 Q3052263
(c(Q43229)|c(Q4830453),P355,c(Q28640))
action count
action less
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q43229
action find_reverse_tuple_counts
relation P355
type Q28640
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q3281900
relation P355
type Q43229
type Q4830453
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q4830453'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?s WHERE { { ?r property:P355 ?s . ?s rdf:type ontology:Q28640 . ?r rdf:type ontology:Q43229 } UNION { ?r property:P355 ?s . ?r rdf:type ontology:Q4830453 . ?s rdf:type ontology:Q28640 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:P355 resource:Q3281900 . { VALUES ( ?a ) { ( ontology:Q43229 ) ( ontology:Q4830453 ) } . ?y rdf:type ?a } } } . FILTER ( ?i < ?o ) }
Guerrilla Cambridge Future Games Of London Team Bloodlust PopCap Games Feral Interactive WMS Industries Day 1 Studios Lift London Harmonix Music Systems Sunrise Interactive BigWorld Creative Assembly Riot Games Gas Powered Games Polyphony Digital Epic Games 1-UP Studio id Software Mojang Zynga Dallas 2K Games Freeverse Microsoft Studios U.S. Gold 989 Studios Team Ninja Atari Interactive Square Enix Europe Launchworks Cryptic Studios Runic Games CD Projekt RED Omega Force
33
action count
action less
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type organization
action find_reverse_tuple_counts
relation subsidiary
type profession
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Malfador Machinations
relation subsidiary
type organization
type business enterprise
[[{'concept': 'organization'}, {'concept': 'business enterprise'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?s WHERE { { ?r property:subsidiary ?s . ?s rdf:type ontology:profession . ?r rdf:type ontology:organization } UNION { ?r property:subsidiary ?s . ?r rdf:type ontology:business_enterprise . ?s rdf:type ontology:profession } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:subsidiary resource:Malfador_Machinations . { VALUES ( ?a ) { ( ontology:organization ) ( ontology:business_enterprise ) } . ?y rdf:type ?a } } } . FILTER ( ?i < ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q123018
P355
Q28640 Q43229 Q4830453
USER
And how about Nintendo Software Technology?
(c(Q43229)|c(Q4830453),P355,c(Q28640))
action count
action less
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q43229
action find_reverse_tuple_counts
relation P355
type Q28640
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q123018
relation P355
type Q43229
type Q4830453
[[{'concept': 'Q43229'}, {'concept': 'Q4830453'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) ?p WHERE { ?s rdf:type ?n . VALUES ( ?n ) { ( ontology:Q43229 ) ( ontology:Q4830453 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:P355 resource:Q123018 . { { ?y rdf:type ontology:Q4830453 } UNION { ?y rdf:type ontology:Q43229 } } } } . FILTER ( ?l < ?u ) }
Nintendo Software Technology
action count
action less
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type organization
action find_reverse_tuple_counts
relation subsidiary
type profession
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Nintendo Software Technology
relation subsidiary
type organization
type business enterprise
[[{'concept': 'organization'}, {'concept': 'business enterprise'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) ?p WHERE { ?s rdf:type ?n . VALUES ( ?n ) { ( ontology:organization ) ( ontology:business_enterprise ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:subsidiary resource:Nintendo_Software_Technology . { { ?y rdf:type ontology:business_enterprise } UNION { ?y rdf:type ontology:organization } } } } . FILTER ( ?l < ?u ) }
[]
profession organization business enterprise
SYSTEM
33
Q1040450 Q18414205 Q15240959 Q1064703 Q863618 Q1403157 Q2076545 Q18388687 Q2607531 Q7641092 Q3456271 Q611508 Q1060165 Q26222 Q1053684 Q739711 Q991149 Q204474 Q1129295 Q2510684 Q94937 Q4039000 Q73801 Q1930918 Q923047 Q2740414 Q15018011 Q1692707 Q8043371 Q467598 Q1358751 Q1172164 Q3052263
(c(Q43229)|c(Q4830453),P355,c(Q28640))
action count
action less
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q43229
action find_reverse_tuple_counts
relation P355
type Q28640
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q123018
relation P355
type Q43229
type Q4830453
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q4830453'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) ?p WHERE { ?s rdf:type ?n . VALUES ( ?n ) { ( ontology:Q43229 ) ( ontology:Q4830453 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:P355 resource:Q123018 . { { ?y rdf:type ontology:Q4830453 } UNION { ?y rdf:type ontology:Q43229 } } } } . FILTER ( ?l < ?u ) }
Guerrilla Cambridge Future Games Of London Team Bloodlust PopCap Games Feral Interactive WMS Industries Day 1 Studios Lift London Harmonix Music Systems Sunrise Interactive BigWorld Creative Assembly Riot Games Gas Powered Games Polyphony Digital Epic Games 1-UP Studio id Software Mojang Zynga Dallas 2K Games Freeverse Microsoft Studios U.S. Gold 989 Studios Team Ninja Atari Interactive Square Enix Europe Launchworks Cryptic Studios Runic Games CD Projekt RED Omega Force
33
action count
action less
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type organization
action find_reverse_tuple_counts
relation subsidiary
type profession
type business enterprise
action count
action filter_multi_types
action find_reverse
entity Nintendo Software Technology
relation subsidiary
type organization
type business enterprise
[[{'concept': 'organization'}, {'concept': 'business enterprise'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) ?p WHERE { ?s rdf:type ?n . VALUES ( ?n ) { ( ontology:organization ) ( ontology:business_enterprise ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:subsidiary resource:Nintendo_Software_Technology . { { ?y rdf:type ontology:business_enterprise } UNION { ?y rdf:type ontology:organization } } } } . FILTER ( ?l < ?u ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P355
Q28640 Q1269299
USER
How many business organizations are the parent company of exactly 1 profession ?
(c(Q1269299),P355,c(Q28640))
action count
action equal
action find_tuple_counts
relation P355
type Q1269299
type Q28640
value 1
[{'concept': 'Q1269299'}, 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { FILTER ( ?v = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?v ) WHERE { ?k property:P355 ?c . ?k rdf:type ontology:Q1269299 . ?c rdf:type ontology:Q28640 } GROUP BY ?k } }
action count
action equal
action find_tuple_counts
relation subsidiary
type type of business entity
type profession
value 1
[{'concept': 'type of business entity'}, 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { FILTER ( ?v = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?v ) WHERE { ?k property:subsidiary ?c . ?k rdf:type ontology:type_of_business_entity . ?c rdf:type ontology:profession } GROUP BY ?k } }
[]
profession type of business entity
SYSTEM
3
Q753684 Q7433758 Q207784
(c(Q1269299),P355,c(Q28640))
action count
action equal
action find_tuple_counts
relation P355
type Q1269299
type Q28640
value 1
[ANSWER]
[{'concept': 'Q1269299'}, 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { FILTER ( ?v = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?v ) WHERE { ?k property:P355 ?c . ?k rdf:type ontology:Q1269299 . ?c rdf:type ontology:Q28640 } GROUP BY ?k } }
Atari, SA Scientific Games Corporation Square Enix
3
action count
action equal
action find_tuple_counts
relation subsidiary
type type of business entity
type profession
value 1
[{'concept': 'type of business entity'}, 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { FILTER ( ?v = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?v ) WHERE { ?k property:subsidiary ?c . ?k rdf:type ontology:type_of_business_entity . ?c rdf:type ontology:profession } GROUP BY ?k } }
[]