Simple Question (Direct)
Simple Question
Q11463016
P734
Q82799
USER
Who is associated with Hiroyoshi Oda ?
(Q11463016,P734,c(Q82799))
action filter_type
action find
entity Q11463016
relation P734
type Q82799
['Q11463016', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q11463016 property:P734 ?z . ?z rdf:type ontology:Q82799 }
Hiroyoshi Oda
action filter_type
action find
entity Hiroyoshi Oda
relation family name
type name
['Hiroyoshi Oda', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Hiroyoshi_Oda property:family_name ?z . ?z rdf:type ontology:name }
[]
name
Q16880652
SYSTEM
Oda
Q16880652
(Q11463016,P734,c(Q82799))
action filter_type
action find
entity Q11463016
relation P734
type Q82799
[ANSWER] is associated with Hiroyoshi [ANSWER]
['Q11463016', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q11463016 property:P734 ?z . ?z rdf:type ontology:Q82799 }
Oda
Oda is associated with Hiroyoshi Oda
Oda
action filter_type
action find
entity Hiroyoshi Oda
relation family name
type name
['Hiroyoshi Oda', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Hiroyoshi_Oda property:family_name ?z . ?z rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11463016
P21
Q290
USER
Which sex does Hiroyoshi Oda have ?
(Q11463016,P21,c(Q290))
action filter_type
action find
entity Q11463016
relation P21
type Q290
['Q11463016', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q11463016 property:P21 ?x . ?x rdf:type ontology:Q290 }
Hiroyoshi Oda
action filter_type
action find
entity Hiroyoshi Oda
relation gender
type sex
['Hiroyoshi Oda', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Hiroyoshi_Oda property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11463016,P21,c(Q290))
action filter_type
action find
entity Q11463016
relation P21
type Q290
Hiroyoshi Oda has a [ANSWER]
['Q11463016', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q11463016 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
Hiroyoshi Oda has a male
male
action filter_type
action find
entity Hiroyoshi Oda
relation gender
type sex
['Hiroyoshi Oda', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Hiroyoshi_Oda property:gender ?x . ?x rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11463016
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q11463016
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q11463016 property:P106 ?y }
Hiroyoshi Oda
action filter_type
action find
entity Hiroyoshi Oda
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Hiroyoshi_Oda property:occupation ?y }
[]
occupation
Q36834 Q1075651 Q486748
SYSTEM
composer, keyboardist, pianist
Q36834 Q1075651 Q486748
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q11463016
relation P106
type Q12737077
[ANSWERS] have that person as his/her 's career
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q11463016 property:P106 ?y }
composer keyboardist pianist
Composer, keyboardist and pianist have that person as his/her 's career
composer keyboardist pianist
action filter_type
action find
entity Hiroyoshi Oda
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Hiroyoshi_Oda property:occupation ?y }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q21517840
P106
Q502895
USER
Do Eleonora Zakharovna Koval have the profession as those occupations ?
(Q21517840,P106,Q36834) (Q21517840,P106,Q1075651) (Q21517840,P106,Q486748)
action is_in
entity prev_answer
action find
entity Q21517840
relation P106
['Q21517840', 'P106', 'Q36834'] ['Q21517840', 'P106', 'Q1075651'] ['Q21517840', 'P106', 'Q486748']
ASK WHERE { resource:Q21517840 property:P106 ?d . VALUES ( ?d ) { ( resource:Q36834 ) ( resource:Q1075651 ) ( resource:Q486748 ) } }
Eleonora Zakharovna Koval
action is_in
entity prev_answer
action find
entity Eleonora Zakharovna Koval
relation occupation
['Eleonora Zakharovna Koval', 'occupation', 'composer'] ['Eleonora Zakharovna Koval', 'occupation', 'keyboardist'] ['Eleonora Zakharovna Koval', 'occupation', 'pianist']
ASK WHERE { resource:Eleonora_Zakharovna_Koval property:occupation ?d . VALUES ( ?d ) { ( resource:composer ) ( resource:keyboardist ) ( resource:pianist ) } }
[]
common name
SYSTEM
NO
(Q21517840,P106,Q36834) (Q21517840,P106,Q1075651) (Q21517840,P106,Q486748)
action is_in
entity prev_answer
action find
entity Q21517840
relation P106
[ANSWER]
['Q21517840', 'P106', 'Q36834'] ['Q21517840', 'P106', 'Q1075651'] ['Q21517840', 'P106', 'Q486748']
ASK WHERE { resource:Q21517840 property:P106 ?d . VALUES ( ?d ) { ( resource:Q36834 ) ( resource:Q1075651 ) ( resource:Q486748 ) } }
No
action is_in
entity prev_answer
action find
entity Eleonora Zakharovna Koval
relation occupation
['Eleonora Zakharovna Koval', 'occupation', 'composer'] ['Eleonora Zakharovna Koval', 'occupation', 'keyboardist'] ['Eleonora Zakharovna Koval', 'occupation', 'pianist']
ASK WHERE { resource:Eleonora_Zakharovna_Koval property:occupation ?d . VALUES ( ?d ) { ( resource:composer ) ( resource:keyboardist ) ( resource:pianist ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11463016
P1303
Q34379
USER
Which musical instrument is played by Hiroyoshi Oda ?
(Q11463016,P1303,c(Q34379))
action filter_type
action find
entity Q11463016
relation P1303
type Q34379
['Q11463016', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { resource:Q11463016 property:P1303 ?j . ?j rdf:type ontology:Q34379 }
Hiroyoshi Oda
action filter_type
action find
entity Hiroyoshi Oda
relation instrument
type musical instrument
['Hiroyoshi Oda', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { resource:Hiroyoshi_Oda property:instrument ?j . ?j rdf:type ontology:musical_instrument }
[]
musical instrument
Q5994
SYSTEM
piano
Q5994
(Q11463016,P1303,c(Q34379))
action filter_type
action find
entity Q11463016
relation P1303
type Q34379
And [ANSWER] is played by Hiroyoshi Oda
['Q11463016', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { resource:Q11463016 property:P1303 ?j . ?j rdf:type ontology:Q34379 }
piano
And piano is played by Hiroyoshi Oda
piano
action filter_type
action find
entity Hiroyoshi Oda
relation instrument
type musical instrument
['Hiroyoshi Oda', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { resource:Hiroyoshi_Oda property:instrument ?j . ?j rdf:type ontology:musical_instrument }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q5994 Q4964595 Q5186156
P61
Q502895
USER
Was that musical instrument invented or discoverd by Brian Mallette and Cristian Bogado ?
(Q5994,P61,Q4964595) (Q5994,P61,Q5186156)
action is_in
entity Q5994
action intersection
action find_reverse
entity Q4964595
relation P61
action find_reverse
entity Q5186156
relation P61
['Q5994', 'P61', 'Q4964595'] ['Q5994', 'P61', 'Q5186156']
ASK WHERE { resource:Q5994 property:P61 resource:Q4964595 . resource:Q5994 property:P61 resource:Q5186156 }
piano Brian Mallette Cristian Bogado
action is_in
entity piano
action intersection
action find_reverse
entity Brian Mallette
relation discoverer or inventor
action find_reverse
entity Cristian Bogado
relation discoverer or inventor
['piano', 'discoverer or inventor', 'Brian Mallette'] ['piano', 'discoverer or inventor', 'Cristian Bogado']
ASK WHERE { resource:piano property:discoverer_or_inventor resource:Brian_Mallette . resource:piano property:discoverer_or_inventor resource:Cristian_Bogado }
[]
common name
SYSTEM
NO
(Q5994,P61,Q4964595) (Q5994,P61,Q5186156)
action is_in
entity Q5994
action intersection
action find_reverse
entity Q4964595
relation P61
action find_reverse
entity Q5186156
relation P61
[ANSWER]
['Q5994', 'P61', 'Q4964595'] ['Q5994', 'P61', 'Q5186156']
ASK WHERE { resource:Q5994 property:P61 resource:Q4964595 . resource:Q5994 property:P61 resource:Q5186156 }
No
action is_in
entity piano
action intersection
action find_reverse
entity Brian Mallette
relation discoverer or inventor
action find_reverse
entity Cristian Bogado
relation discoverer or inventor
['piano', 'discoverer or inventor', 'Brian Mallette'] ['piano', 'discoverer or inventor', 'Cristian Bogado']
ASK WHERE { resource:piano property:discoverer_or_inventor resource:Brian_Mallette . resource:piano property:discoverer_or_inventor resource:Cristian_Bogado }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2283
Q43229
USER
And what about Microsoft?
(Q2283,P1056,c(Q43229))
action filter_type
action find
entity Q2283
relation P1056
type Q43229
['Q2283', 'P1056', {'concept': 'Q43229'}]
SELECT DISTINCT ?c WHERE { resource:Q2283 property:P1056 ?c . ?c rdf:type ontology:Q43229 }
Microsoft
action filter_type
action find
entity Microsoft
relation product
type organization
['Microsoft', 'product', {'concept': 'organization'}]
SELECT DISTINCT ?c WHERE { resource:Microsoft property:product ?c . ?c rdf:type ontology:organization }
[]
organization
Q16538568
SYSTEM
Microsoft Mobile
Q16538568
(Q2283,P1056,c(Q43229))
action filter_type
action find
entity Q2283
relation P1056
type Q43229
[ANSWER]
['Q2283', 'P1056', {'concept': 'Q43229'}]
SELECT DISTINCT ?c WHERE { resource:Q2283 property:P1056 ?c . ?c rdf:type ontology:Q43229 }
Microsoft Mobile
Microsoft Mobile
action filter_type
action find
entity Microsoft
relation product
type organization
['Microsoft', 'product', {'concept': 'organization'}]
SELECT DISTINCT ?c WHERE { resource:Microsoft property:product ?c . ?c rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P825
Q502895 Q482994 Q811979
USER
How many people are approximately 1 albums and architectural structures dedicated to ?
(c(Q482994)|c(Q811979),P825,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q482994
action find_reverse_tuple_counts
relation P825
type Q502895
type Q811979
value 1
[[{'concept': 'Q482994'}, {'concept': 'Q811979'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { FILTER ( ?g = 1 ) . { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?g ) WHERE { { ?f property:P825 ?d . ?d rdf:type ontology:Q502895 . ?f rdf:type ontology:Q482994 } UNION { ?d rdf:type ontology:Q502895 . ?f rdf:type ontology:Q811979 . ?f property:P825 ?d } } GROUP BY ?d } }
action count
action approx
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type album
action find_reverse_tuple_counts
relation dedicated to
type common name
type architectural structure
value 1
[[{'concept': 'album'}, {'concept': 'architectural structure'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { FILTER ( ?g = 1 ) . { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?g ) WHERE { { ?f property:dedicated_to ?d . ?d rdf:type ontology:common_name . ?f rdf:type ontology:album } UNION { ?d rdf:type ontology:common_name . ?f rdf:type ontology:architectural_structure . ?f property:dedicated_to ?d } } GROUP BY ?d } }
[]
common name album architectural structure
SYSTEM
13
Q249719 Q935 Q173061 Q888326 Q1666 Q120180 Q541634 Q2594000 Q6918007 Q313196 Q2853967 Q374467 Q123062
(c(Q482994)|c(Q811979),P825,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q482994
action find_reverse_tuple_counts
relation P825
type Q502895
type Q811979
value 1
[ANSWER]
[[{'concept': 'Q482994'}, {'concept': 'Q811979'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { FILTER ( ?g = 1 ) . { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?g ) WHERE { { ?f property:P825 ?d . ?d rdf:type ontology:Q502895 . ?f rdf:type ontology:Q482994 } UNION { ?d rdf:type ontology:Q502895 . ?f rdf:type ontology:Q811979 . ?f property:P825 ?d } } GROUP BY ?d } }
Yui Isaac Newton Syd Barrett Bob Wills Jacques Brel Alexander III of Russia Bobby Bland Diego Brosset Motoharu Sano Louis Desaix Antoine Gailleton Gabriel of Our Lady of Sorrows Jacques Necker
13
action count
action approx
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type album
action find_reverse_tuple_counts
relation dedicated to
type common name
type architectural structure
value 1
[[{'concept': 'album'}, {'concept': 'architectural structure'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { FILTER ( ?g = 1 ) . { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?g ) WHERE { { ?f property:dedicated_to ?d . ?d rdf:type ontology:common_name . ?f rdf:type ontology:album } UNION { ?d rdf:type ontology:common_name . ?f rdf:type ontology:architectural_structure . ?f property:dedicated_to ?d } } GROUP BY ?d } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16538568
P749
Q1269299
USER
Which business organization owns Microsoft Mobile ?
(Q16538568,P749,c(Q1269299))
action filter_type
action find
entity Q16538568
relation P749
type Q1269299
['Q16538568', 'P749', {'concept': 'Q1269299'}]
SELECT DISTINCT ?h WHERE { resource:Q16538568 property:P749 ?h . ?h rdf:type ontology:Q1269299 }
Microsoft Mobile
action filter_type
action find
entity Microsoft Mobile
relation parent organization
type type of business entity
['Microsoft Mobile', 'parent organization', {'concept': 'type of business entity'}]
SELECT DISTINCT ?h WHERE { resource:Microsoft_Mobile property:parent_organization ?h . ?h rdf:type ontology:type_of_business_entity }
[]
type of business entity
Q2283
SYSTEM
Microsoft
Q2283
(Q16538568,P749,c(Q1269299))
action filter_type
action find
entity Q16538568
relation P749
type Q1269299
[ANSWER] owns [ANSWER] Mobile
['Q16538568', 'P749', {'concept': 'Q1269299'}]
SELECT DISTINCT ?h WHERE { resource:Q16538568 property:P749 ?h . ?h rdf:type ontology:Q1269299 }
Microsoft
Microsoft owns Microsoft Mobile
Microsoft
action filter_type
action find
entity Microsoft Mobile
relation parent organization
type type of business entity
['Microsoft Mobile', 'parent organization', {'concept': 'type of business entity'}]
SELECT DISTINCT ?h WHERE { resource:Microsoft_Mobile property:parent_organization ?h . ?h rdf:type ontology:type_of_business_entity }
[]