Simple Question (Direct)
Simple Question
Q8060529
P21
Q290
USER
Which sex does Yuji Yamamoto possess ?
(Q8060529,P21,c(Q290))
action filter_type
action find
entity Q8060529
relation P21
type Q290
['Q8060529', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q8060529 property:P21 ?w . ?w rdf:type ontology:Q290 }
Yuji Yamamoto
action filter_type
action find
entity Yuji Yamamoto
relation gender
type sex
['Yuji Yamamoto', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Yuji_Yamamoto property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q8060529,P21,c(Q290))
action filter_type
action find
entity Q8060529
relation P21
type Q290
Yuji Yamamoto possesses a [ANSWER]
['Q8060529', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q8060529 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
Yuji Yamamoto possesses a male
male
action filter_type
action find
entity Yuji Yamamoto
relation gender
type sex
['Yuji Yamamoto', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Yuji_Yamamoto property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8060529
P734
Q82799
USER
Which name is associated with Yuji Yamamoto ?
(Q8060529,P734,c(Q82799))
action filter_type
action find
entity Q8060529
relation P734
type Q82799
['Q8060529', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q82799 . resource:Q8060529 property:P734 ?j }
Yuji Yamamoto
action filter_type
action find
entity Yuji Yamamoto
relation family name
type name
['Yuji Yamamoto', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:name . resource:Yuji_Yamamoto property:family_name ?j }
[]
name
Q231555
SYSTEM
Yamamoto
Q231555
(Q8060529,P734,c(Q82799))
action filter_type
action find
entity Q8060529
relation P734
type Q82799
Ai [ANSWER] is associated with Yuji [ANSWER]
['Q8060529', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q82799 . resource:Q8060529 property:P734 ?j }
Yamamoto
Ai Yamamoto is associated with Yuji Yamamoto
Yamamoto
action filter_type
action find
entity Yuji Yamamoto
relation family name
type name
['Yuji Yamamoto', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:name . resource:Yuji_Yamamoto property:family_name ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8060529
P106
Q28640
USER
Which profession is the profession of that person ?
(Q231555,P106,c(Q28640))
action filter_type
action find
entity Q8060529
relation P106
type Q28640
['Q231555', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?m WHERE { resource:Q8060529 property:P106 ?m . ?m rdf:type ontology:Q28640 }
Yuji Yamamoto
action filter_type
action find
entity Yuji Yamamoto
relation occupation
type profession
['Yamamoto', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?m WHERE { resource:Yuji_Yamamoto property:occupation ?m . ?m rdf:type ontology:profession }
[]
profession
Q40348
SYSTEM
lawyer
Q40348
(Q231555,P106,c(Q28640))
action filter_type
action find
entity Q8060529
relation P106
type Q28640
The [ANSWER] is the profession of that person
['Q231555', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?m WHERE { resource:Q8060529 property:P106 ?m . ?m rdf:type ontology:Q28640 }
lawyer
The lawyer is the profession of that person
lawyer
action filter_type
action find
entity Yuji Yamamoto
relation occupation
type profession
['Yamamoto', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?m WHERE { resource:Yuji_Yamamoto property:occupation ?m . ?m rdf:type ontology:profession }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P355
Q28640 Q28640
USER
Which professions have approximately 1 profession as their subsidiary ?
(c(Q28640),P355,c(Q28640))
action approx
action find_tuple_counts
relation P355
type Q28640
type Q28640
value 1
[{'concept': 'Q28640'}, 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?i ) WHERE { ?z rdf:type ontology:Q28640 . ?x rdf:type ontology:Q28640 . ?z property:P355 ?x } GROUP BY ?z } . FILTER ( ?i = 1 ) }
action approx
action find_tuple_counts
relation subsidiary
type profession
type profession
value 1
[{'concept': 'profession'}, 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?i ) WHERE { ?z rdf:type ontology:profession . ?x rdf:type ontology:profession . ?z property:subsidiary ?x } GROUP BY ?z } . FILTER ( ?i = 1 ) }
[]
profession profession
Q122741 Q18594 Q800120
SYSTEM
Sega, Sony Interactive Entertainment, Humongous
Q7098994 Q94933 Q3875762 Q18594 Q679933 Q483036 Q1782700 Q800120 Q245772 Q122741
(c(Q28640),P355,c(Q28640))
action approx
action find_tuple_counts
relation P355
type Q28640
type Q28640
value 1
[ANSWERS] have approximately 1 profession as their subsidiary
[{'concept': 'Q28640'}, 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?i ) WHERE { ?z rdf:type ontology:Q28640 . ?x rdf:type ontology:Q28640 . ?z property:P355 ?x } GROUP BY ?z } . FILTER ( ?i = 1 ) }
CD Projekt Take-Two Interactive ngmoco Sony Interactive Entertainment Eidos Interactive NCsoft Infogrames Entertainment Humongous Zynga Sega
Sega, Sony Interactive Entertainment and Humongous have approximately 1 profession as their subsidiary
Sega Sony Interactive Entertainment Humongous
action approx
action find_tuple_counts
relation subsidiary
type profession
type profession
value 1
[{'concept': 'profession'}, 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?i ) WHERE { ?z rdf:type ontology:profession . ?x rdf:type ontology:profession . ?z property:subsidiary ?x } GROUP BY ?z } . FILTER ( ?i = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q800120
P355
Q28640 Q28640
USER
Which professions have more number of professions as their subsidiary than Humongous ?
(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 Q800120
relation P355
type Q28640
[{'concept': 'Q28640'}, 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?o ) WHERE { ?d property:P355 ?f . ?d rdf:type ontology:Q28640 . ?f rdf:type ontology:Q28640 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { resource:Q800120 property:P355 ?k . ?k rdf:type ontology:Q28640 } } . FILTER ( ?o > ?x ) }
Humongous
action greater
action find_tuple_counts
relation subsidiary
type profession
type profession
action count
action filter_type
action find
entity Humongous
relation subsidiary
type profession
[{'concept': 'profession'}, 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?o ) WHERE { ?d property:subsidiary ?f . ?d rdf:type ontology:profession . ?f rdf:type ontology:profession } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { resource:Humongous property:subsidiary ?k . ?k rdf:type ontology:profession } } . FILTER ( ?o > ?x ) }
[]
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 Q800120
relation P355
type Q28640
[ANSWERS] have more number of professions as their subsidiary than Humongous
[{'concept': 'Q28640'}, 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?o ) WHERE { ?d property:P355 ?f . ?d rdf:type ontology:Q28640 . ?f rdf:type ontology:Q28640 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { resource:Q800120 property:P355 ?k . ?k rdf:type ontology:Q28640 } } . FILTER ( ?o > ?x ) }
Tencent Holdings Microsoft Studios Ubisoft Wargaming.net SCE Worldwide Studios
Ubisoft, Tencent Holdings and Microsoft Studios have more number of professions as their subsidiary than Humongous
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 Humongous
relation subsidiary
type profession
[{'concept': 'profession'}, 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?o ) WHERE { ?d property:subsidiary ?f . ?d rdf:type ontology:profession . ?f rdf:type ontology:profession } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { resource:Humongous property:subsidiary ?k . ?k rdf:type ontology:profession } } . FILTER ( ?o > ?x ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P159
Q56061
USER
How many administrative territories are the headquarters of that profession located ?
(Q188273,P159,c(Q56061))
['Q188273', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q188273 property:P159 ?z . ?z rdf:type ontology:Q56061 }
['Ubisoft', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Ubisoft property:headquarters_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q860580
SYSTEM
Did you mean Tencent Holdings ?
(Q188273,P159,c(Q56061)) (Q860580,P159,c(Q56061)) (Q73801,P159,c(Q56061))
[ANSWER]
['Q188273', 'P159', {'concept': 'Q56061'}] ['Q860580', 'P159', {'concept': 'Q56061'}] ['Q73801', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q188273 property:P159 ?z . ?z rdf:type ontology:Q56061 }
Did you mean Tencent Holdings ?
Tencent Holdings
['Ubisoft', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Tencent Holdings', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Microsoft Studios', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Ubisoft property:headquarters_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Ubisoft. Could you tell me the answer for that?
(Q188273,P159,c(Q56061))
Q188273
['Q188273', 'P159', {'concept': 'Q56061'}]
['Ubisoft', 'headquarters location', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
1
Q90
(Q188273,P159,c(Q56061))
[ANSWER]
['Q188273', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q188273 property:P159 ?z . ?z rdf:type ontology:Q56061 }
Paris
1
['Ubisoft', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Ubisoft property:headquarters_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q122741
P144
Q15416
USER
Which television program is derived from Sega ?
(c(Q15416),P144,Q122741)
action filter_type
action find_reverse
entity Q122741
relation P144
type Q15416
[{'concept': 'Q15416'}, 'P144', 'Q122741']
SELECT DISTINCT ?r WHERE { ?r property:P144 resource:Q122741 . ?r rdf:type ontology:Q15416 }
Sega
action filter_type
action find_reverse
entity Sega
relation based on
type television program
[{'concept': 'television program'}, 'based on', 'Sega']
SELECT DISTINCT ?r WHERE { ?r property:based_on resource:Sega . ?r rdf:type ontology:television_program }
[]
television program
Q165986
SYSTEM
House of the Dead 2
Q165986
(c(Q15416),P144,Q122741)
action filter_type
action find_reverse
entity Q122741
relation P144
type Q15416
Game [ANSWER] is derived from Sega
[{'concept': 'Q15416'}, 'P144', 'Q122741']
SELECT DISTINCT ?r WHERE { ?r property:P144 resource:Q122741 . ?r rdf:type ontology:Q15416 }
House of the Dead 2
Game House of the Dead 2 is derived from Sega
House of the Dead 2
action filter_type
action find_reverse
entity Sega
relation based on
type television program
[{'concept': 'television program'}, 'based on', 'Sega']
SELECT DISTINCT ?r WHERE { ?r property:based_on resource:Sega . ?r rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q165986
P86
Q502895
USER
Who wrote the music for that television program ?
(Q165986,P86,c(Q502895))
action filter_type
action find
entity Q165986
relation P86
type Q502895
['Q165986', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q165986 property:P86 ?z . ?z rdf:type ontology:Q502895 }
House of the Dead 2
action filter_type
action find
entity House of the Dead 2
relation composer
type common name
['House of the Dead 2', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:House_of_the_Dead_2 property:composer ?z . ?z rdf:type ontology:common_name }
[]
common name
Q3180103
SYSTEM
Joe Kraemer
Q3180103
(Q165986,P86,c(Q502895))
action filter_type
action find
entity Q165986
relation P86
type Q502895
[ANSWER] wrote the music for that television program
['Q165986', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q165986 property:P86 ?z . ?z rdf:type ontology:Q502895 }
Joe Kraemer
Joe Kraemer wrote the music for that television program
Joe Kraemer
action filter_type
action find
entity House of the Dead 2
relation composer
type common name
['House of the Dead 2', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:House_of_the_Dead_2 property:composer ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1855742
Q502895
USER
And how about The Mighty?
(Q1855742,P86,c(Q502895))
action filter_type
action find
entity Q1855742
relation P86
type Q502895
['Q1855742', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q1855742 property:P86 ?e . ?e rdf:type ontology:Q502895 }
The Mighty
action filter_type
action find
entity The Mighty
relation composer
type common name
['The Mighty', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:The_Mighty property:composer ?e . ?e rdf:type ontology:common_name }
[]
common name
Q269244
SYSTEM
Trevor Jones
Q269244
(Q1855742,P86,c(Q502895))
action filter_type
action find
entity Q1855742
relation P86
type Q502895
[ANSWER]
['Q1855742', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q1855742 property:P86 ?e . ?e rdf:type ontology:Q502895 }
Trevor Jones
Trevor Jones
action filter_type
action find
entity The Mighty
relation composer
type common name
['The Mighty', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:The_Mighty property:composer ?e . ?e rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q269244 Q1627967 Q7522161
P69
Q3918
USER
Was that person educated at Liverpool John Moores University and Sindh Muslim Law College ?
(Q269244,P69,Q1627967) (Q269244,P69,Q7522161)
action is_in
entity Q269244
action intersection
action find_reverse
entity Q1627967
relation P69
action find_reverse
entity Q7522161
relation P69
['Q269244', 'P69', 'Q1627967'] ['Q269244', 'P69', 'Q7522161']
ASK WHERE { resource:Q269244 property:P69 resource:Q7522161 . resource:Q269244 property:P69 resource:Q1627967 }
Trevor Jones Liverpool John Moores University Sindh Muslim Law College
action is_in
entity Trevor Jones
action intersection
action find_reverse
entity Liverpool John Moores University
relation educated at
action find_reverse
entity Sindh Muslim Law College
relation educated at
['Trevor Jones', 'educated at', 'Liverpool John Moores University'] ['Trevor Jones', 'educated at', 'Sindh Muslim Law College']
ASK WHERE { resource:Trevor_Jones property:educated_at resource:Sindh_Muslim_Law_College . resource:Trevor_Jones property:educated_at resource:Liverpool_John_Moores_University }
[]
university
SYSTEM
NO
(Q269244,P69,Q1627967) (Q269244,P69,Q7522161)
action is_in
entity Q269244
action intersection
action find_reverse
entity Q1627967
relation P69
action find_reverse
entity Q7522161
relation P69
[ANSWER]
['Q269244', 'P69', 'Q1627967'] ['Q269244', 'P69', 'Q7522161']
ASK WHERE { resource:Q269244 property:P69 resource:Q7522161 . resource:Q269244 property:P69 resource:Q1627967 }
No
action is_in
entity Trevor Jones
action intersection
action find_reverse
entity Liverpool John Moores University
relation educated at
action find_reverse
entity Sindh Muslim Law College
relation educated at
['Trevor Jones', 'educated at', 'Liverpool John Moores University'] ['Trevor Jones', 'educated at', 'Sindh Muslim Law College']
ASK WHERE { resource:Trevor_Jones property:educated_at resource:Sindh_Muslim_Law_College . resource:Trevor_Jones property:educated_at resource:Liverpool_John_Moores_University }
[]