Simple Question (Direct)
Simple Question
Q879860
P1066
Q502895
USER
Who was the teacher of Bjørn Wiinblad ?
(Q879860,P1066,c(Q502895))
action filter_type
action find
entity Q879860
relation P1066
type Q502895
['Q879860', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q879860 property:P1066 ?l }
Bjørn Wiinblad
action filter_type
action find
entity Bjørn Wiinblad
relation student of
type common name
['Bjørn Wiinblad', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Bjørn_Wiinblad property:student_of ?l }
[]
common name
Q5896262
SYSTEM
Aksel Jørgensen
Q5896262
(Q879860,P1066,c(Q502895))
action filter_type
action find
entity Q879860
relation P1066
type Q502895
The teacher of Bjørn Wiinblad was [ANSWER]
['Q879860', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q879860 property:P1066 ?l }
Aksel Jørgensen
The teacher of Bjørn Wiinblad was Aksel Jørgensen
Aksel Jørgensen
action filter_type
action find
entity Bjørn Wiinblad
relation student of
type common name
['Bjørn Wiinblad', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Bjørn_Wiinblad property:student_of ?l }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q5896262 Q35
P27
Q1048835
USER
Is that person a civilian of Denmark ?
(Q5896262,P27,Q35)
action is_in
entity Q35
action find
entity Q5896262
relation P27
['Q5896262', 'P27', 'Q35']
ASK WHERE { resource:Q5896262 property:P27 resource:Q35 }
Aksel Jørgensen Denmark
action is_in
entity Denmark
action find
entity Aksel Jørgensen
relation country of citizenship
['Aksel Jørgensen', 'country of citizenship', 'Denmark']
ASK WHERE { resource:Aksel_Jørgensen property:country_of_citizenship resource:Denmark }
[]
political territorial entity
SYSTEM
YES
(Q5896262,P27,Q35)
action is_in
entity Q35
action find
entity Q5896262
relation P27
[ANSWER]
['Q5896262', 'P27', 'Q35']
ASK WHERE { resource:Q5896262 property:P27 resource:Q35 }
Yes
action is_in
entity Denmark
action find
entity Aksel Jørgensen
relation country of citizenship
['Aksel Jørgensen', 'country of citizenship', 'Denmark']
ASK WHERE { resource:Aksel_Jørgensen property:country_of_citizenship resource:Denmark }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q5896262 Q1031911
P166
Q4220917
USER
How many film awards were Aksel Jørgensen or Can You Feel the Love Tonight awarded with ?
(Q5896262,P166,c(Q4220917)) (Q1031911,P166,c(Q4220917))
action count
action union
action filter_type
action find
entity Q5896262
relation P166
type Q4220917
action filter_type
action find
entity Q1031911
relation P166
type Q4220917
['Q5896262', 'P166', {'concept': 'Q4220917'}] ['Q1031911', 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { ?z rdf:type ontology:Q4220917 . resource:Q5896262 property:P166 ?z } UNION { ?z rdf:type ontology:Q4220917 . resource:Q1031911 property:P166 ?z } }
Aksel Jørgensen Can You Feel the Love Tonight
action count
action union
action filter_type
action find
entity Aksel Jørgensen
relation award received
type film award
action filter_type
action find
entity Can You Feel the Love Tonight
relation award received
type film award
['Aksel Jørgensen', 'award received', {'concept': 'film award'}] ['Can You Feel the Love Tonight', 'award received', {'concept': 'film award'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { ?z rdf:type ontology:film_award . resource:Aksel_Jørgensen property:award_received ?z } UNION { ?z rdf:type ontology:film_award . resource:Can_You_Feel_the_Love_Tonight property:award_received ?z } }
[]
film award
SYSTEM
2
Q1472235 Q112243
(Q5896262,P166,c(Q4220917)) (Q1031911,P166,c(Q4220917))
action count
action union
action filter_type
action find
entity Q5896262
relation P166
type Q4220917
action filter_type
action find
entity Q1031911
relation P166
type Q4220917
[ANSWER]
['Q5896262', 'P166', {'concept': 'Q4220917'}] ['Q1031911', 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { ?z rdf:type ontology:Q4220917 . resource:Q5896262 property:P166 ?z } UNION { ?z rdf:type ontology:Q4220917 . resource:Q1031911 property:P166 ?z } }
Golden Globe Award for Best Original Song Academy Award for Best Original Song
2
action count
action union
action filter_type
action find
entity Aksel Jørgensen
relation award received
type film award
action filter_type
action find
entity Can You Feel the Love Tonight
relation award received
type film award
['Aksel Jørgensen', 'award received', {'concept': 'film award'}] ['Can You Feel the Love Tonight', 'award received', {'concept': 'film award'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { ?z rdf:type ontology:film_award . resource:Aksel_Jørgensen property:award_received ?z } UNION { ?z rdf:type ontology:film_award . resource:Can_You_Feel_the_Love_Tonight property:award_received ?z } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q95074
USER
How many fictional characters had their voice dubbing done by atleast 2 people ?
(c(Q95074),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q95074
type Q502895
value 2
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { FILTER ( ?u >= 2 ) . { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?u ) WHERE { ?s rdf:type ontology:Q95074 . ?k rdf:type ontology:Q502895 . ?s property:P725 ?k } GROUP BY ?s } }
action count
action atleast
action find_tuple_counts
relation voice actor
type fictional character
type common name
value 2
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { FILTER ( ?u >= 2 ) . { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?u ) WHERE { ?s rdf:type ontology:fictional_character . ?k rdf:type ontology:common_name . ?s property:voice_actor ?k } GROUP BY ?s } }
[]
common name fictional character
SYSTEM
26
Q16027672 Q21837832 Q21847058 Q21847115 Q15710873 Q21847074 Q21837038 Q2570349 Q21847089 Q21847086 Q11623287 Q17349786 Q21847215 Q3256697 Q21837905 Q21837397 Q1621656 Q2544561 Q21837021 Q21837027 Q1984009 Q21847105 Q3471289 Q21847103 Q12400 Q2340460
(c(Q95074),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q95074
type Q502895
value 2
[ANSWER]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { FILTER ( ?u >= 2 ) . { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?u ) WHERE { ?s rdf:type ontology:Q95074 . ?k rdf:type ontology:Q502895 . ?s property:P725 ?k } GROUP BY ?s } }
Dr. Stewart Kyōichi Sudō Yūichi Tachibana Fumihiro Princess Celestia Kōichirō Iketani Keisuke Takahashi Spike Spiegel Kenji Natsuki Mogi Takumi Fujiwara Shulk Seiji Iwaki Little Mac Itsuki Takeuchi Takeshi Nakazato Solid Snake Ike Bunta Fujiwara Ryōsuke Takahashi Death Kenta Nakamura Samurai Goroh Shingo Shōji Samus Aran Captain Falcon
26
action count
action atleast
action find_tuple_counts
relation voice actor
type fictional character
type common name
value 2
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { FILTER ( ?u >= 2 ) . { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?u ) WHERE { ?s rdf:type ontology:fictional_character . ?k rdf:type ontology:common_name . ?s property:voice_actor ?k } GROUP BY ?s } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5896262
P21
Q290
USER
Which sex does Aksel Jørgensen belong to ?
(Q5896262,P21,c(Q290))
action filter_type
action find
entity Q5896262
relation P21
type Q290
['Q5896262', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q290 . resource:Q5896262 property:P21 ?y }
Aksel Jørgensen
action filter_type
action find
entity Aksel Jørgensen
relation gender
type sex
['Aksel Jørgensen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sex . resource:Aksel_Jørgensen property:gender ?y }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5896262,P21,c(Q290))
action filter_type
action find
entity Q5896262
relation P21
type Q290
Aksel Jørgensen belongs to [ANSWER]
['Q5896262', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q290 . resource:Q5896262 property:P21 ?y }
male
Aksel Jørgensen belongs to male
male
action filter_type
action find
entity Aksel Jørgensen
relation gender
type sex
['Aksel Jørgensen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sex . resource:Aksel_Jørgensen property:gender ?y }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3051671
Q290
USER
And what about Eloïssa Florez?
(Q3051671,P21,c(Q290))
action filter_type
action find
entity Q3051671
relation P21
type Q290
['Q3051671', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3051671 property:P21 ?t . ?t rdf:type ontology:Q290 }
Eloïssa Florez
action filter_type
action find
entity Eloïssa Florez
relation gender
type sex
['Eloïssa Florez', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Eloïssa_Florez property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q3051671,P21,c(Q290))
action filter_type
action find
entity Q3051671
relation P21
type Q290
[ANSWER]
['Q3051671', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3051671 property:P21 ?t . ?t rdf:type ontology:Q290 }
female
female
action filter_type
action find
entity Eloïssa Florez
relation gender
type sex
['Eloïssa Florez', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Eloïssa_Florez property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3051671
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q6581072,P106,c(Q12737077))
action filter_type
action find
entity Q3051671
relation P106
type Q12737077
['Q6581072', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q3051671 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Eloïssa Florez
action filter_type
action find
entity Eloïssa Florez
relation occupation
type occupation
['female', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Eloïssa_Florez property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q6581072,P106,c(Q12737077))
action filter_type
action find
entity Q3051671
relation P106
type Q12737077
The [ANSWER] is the profession of that person
['Q6581072', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q3051671 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
actor
The actor is the profession of that person
actor
action filter_type
action find
entity Eloïssa Florez
relation occupation
type occupation
['female', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Eloïssa_Florez property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47064
P425
Q43229
USER
Which organization has military personnel as thier associated field of occupation ?
(Q47064,P425,c(Q43229))
action filter_type
action find
entity Q47064
relation P425
type Q43229
['Q47064', 'P425', {'concept': 'Q43229'}]
SELECT DISTINCT ?g WHERE { resource:Q47064 property:P425 ?g . ?g rdf:type ontology:Q43229 }
military personnel
action filter_type
action find
entity military personnel
relation field of this occupation
type organization
['military personnel', 'field of this occupation', {'concept': 'organization'}]
SELECT DISTINCT ?g WHERE { resource:military_personnel property:field_of_this_occupation ?g . ?g rdf:type ontology:organization }
[]
organization
Q8473
SYSTEM
military
Q8473
(Q47064,P425,c(Q43229))
action filter_type
action find
entity Q47064
relation P425
type Q43229
The [ANSWER] has [ANSWER] personnel as thier associated field of occupation
['Q47064', 'P425', {'concept': 'Q43229'}]
SELECT DISTINCT ?g WHERE { resource:Q47064 property:P425 ?g . ?g rdf:type ontology:Q43229 }
military
The military has military personnel as thier associated field of occupation
military
action filter_type
action find
entity military personnel
relation field of this occupation
type organization
['military personnel', 'field of this occupation', {'concept': 'organization'}]
SELECT DISTINCT ?g WHERE { resource:military_personnel property:field_of_this_occupation ?g . ?g rdf:type ontology:organization }
[]