Simple Question (Direct)
Simple Question
Q220799
P21
Q290
USER
Which sex does Bernard I, Duke of Saxony possess ?
(Q220799,P21,c(Q290))
action filter_type
action find
entity Q220799
relation P21
type Q290
['Q220799', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q220799 property:P21 ?z . ?z rdf:type ontology:Q290 }
Bernard I, Duke of Saxony
action filter_type
action find
entity Bernard I, Duke of Saxony
relation gender
type sex
['Bernard I, Duke of Saxony', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Bernard_I,_Duke_of_Saxony property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q220799,P21,c(Q290))
action filter_type
action find
entity Q220799
relation P21
type Q290
Bernard I , Duke of Saxony possesses a [ANSWER]
['Q220799', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q220799 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
Bernard I , Duke of Saxony possesses a male
male
action filter_type
action find
entity Bernard I, Duke of Saxony
relation gender
type sex
['Bernard I, Duke of Saxony', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Bernard_I,_Duke_of_Saxony property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220799
P7
Q502895
USER
Who is a sibling of that one ?
(c(Q502895),P7,Q6581097)
action filter_type
action find_reverse
entity Q220799
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q6581097']
SELECT DISTINCT ?j WHERE { ?j property:P7 resource:Q220799 . ?j rdf:type ontology:Q502895 }
Bernard I, Duke of Saxony
action filter_type
action find_reverse
entity Bernard I, Duke of Saxony
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'male']
SELECT DISTINCT ?j WHERE { ?j property:brother resource:Bernard_I,_Duke_of_Saxony . ?j rdf:type ontology:common_name }
[]
common name
Q3299000
SYSTEM
Matilda of Saxony
Q3299000
(c(Q502895),P7,Q6581097)
action filter_type
action find_reverse
entity Q220799
relation P7
type Q502895
A sibling of that one is Princess [ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q6581097']
SELECT DISTINCT ?j WHERE { ?j property:P7 resource:Q220799 . ?j rdf:type ontology:Q502895 }
Matilda of Saxony
A sibling of that one is Princess Matilda of Saxony
Matilda of Saxony
action filter_type
action find_reverse
entity Bernard I, Duke of Saxony
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'male']
SELECT DISTINCT ?j WHERE { ?j property:brother resource:Bernard_I,_Duke_of_Saxony . ?j rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3299000 Q7598990
P25
Q502895
USER
Does Stanislav Edward Shmelev have that one as a parent ?
(Q7598990,P25,Q3299000)
action is_in
entity Q7598990
action find
entity Q3299000
relation P25
['Q7598990', 'P25', 'Q3299000']
ASK WHERE { resource:Q3299000 property:P25 resource:Q7598990 }
Matilda of Saxony Stanislav Edward Shmelev
action is_in
entity Stanislav Edward Shmelev
action find
entity Matilda of Saxony
relation mother
['Stanislav Edward Shmelev', 'mother', 'Matilda of Saxony']
ASK WHERE { resource:Matilda_of_Saxony property:mother resource:Stanislav_Edward_Shmelev }
[]
common name
SYSTEM
NO
(Q7598990,P25,Q3299000)
action is_in
entity Q7598990
action find
entity Q3299000
relation P25
[ANSWER]
['Q7598990', 'P25', 'Q3299000']
ASK WHERE { resource:Q3299000 property:P25 resource:Q7598990 }
No
action is_in
entity Stanislav Edward Shmelev
action find
entity Matilda of Saxony
relation mother
['Stanislav Edward Shmelev', 'mother', 'Matilda of Saxony']
ASK WHERE { resource:Matilda_of_Saxony property:mother resource:Stanislav_Edward_Shmelev }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q25218391
P725
Q502895 Q838948
USER
How many works of art have been dubbed by more number of people than Exile ?
(c(Q838948),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q25218391
relation P725
type Q838948
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?v ) WHERE { ?j property:P725 ?c . ?j rdf:type ontology:Q838948 . ?c rdf:type ontology:Q502895 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ontology:Q838948 . resource:Q25218391 property:P725 ?p } } . FILTER ( ?v > ?t ) }
Exile
action count
action greater
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Exile
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?v ) WHERE { ?j property:voice_actor ?c . ?j rdf:type ontology:work_of_art . ?c rdf:type ontology:common_name } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ontology:work_of_art . resource:Exile property:voice_actor ?p } } . FILTER ( ?v > ?t ) }
[]
common name work of art
SYSTEM
43
Q13393950 Q127367 Q16207076 Q23838455 Q21428001 Q568928 Q3139297 Q212792 Q17485699 Q390341 Q7737199 Q477965 Q5640689 Q777739 Q3282491 Q477365 Q16782 Q18407657 Q4158396 Q4503243 Q1185099 Q4646903 Q18786473 Q16857406 Q4305149 Q25167044 Q622742 Q1058469 Q19776435 Q204416 Q207659 Q1519753 Q729809 Q23034444 Q318975 Q2165639 Q1201022 Q387674 Q741883 Q1193324 Q19263748 Q246418 Q16248866
(c(Q838948),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q25218391
relation P725
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?v ) WHERE { ?j property:P725 ?c . ?j rdf:type ontology:Q838948 . ?c rdf:type ontology:Q502895 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ontology:Q838948 . resource:Q25218391 property:P725 ?p } } . FILTER ( ?v > ?t ) }
My Little Pony: Equestria Girls The Lord of the Rings: The Fellowship of the Ring Battle Beyond the Sun Planetarian: Hoshi no Hito Riley's First Date? Garfield: The Movie Hold the Lion, Please Bolt Alice Through the Looking Glass Beverly Hills Chihuahua The Good Dinosaur Persepolis Hal Ivan Vasilievich: Back to the Future Trigun: Badlands Rumble 101 Dalmatians II: Patch's London Adventure Buried Captain America: Civil War Radio Day The Tsar's Bride Star Driver: Kagayaki no Takuto A-Haunting We Will Go Pete's Dragon The Jungle Book Mozart and Salieri Wreck-It Ralph 2 Where the Wild Things Are Ghost in the Shell 2: Innocence Szenario Felidae Space Jam Mimino Bodacious Space Pirates Ghost in the Shell 2.0 Atlantis: The Lost Empire Watership Down Tiger & Bunny Final Fantasy VII: Advent Children Heaven's Lost Property The Disappearance of Haruhi Suzumiya The Anthem of the Heart Gulliver's Travels The Book of Life
43
action count
action greater
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Exile
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?v ) WHERE { ?j property:voice_actor ?c . ?j rdf:type ontology:work_of_art . ?c rdf:type ontology:common_name } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ontology:work_of_art . resource:Exile property:voice_actor ?p } } . FILTER ( ?v > ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q212792
P725
Q502895 Q838948
USER
And also tell me about Bolt?
(c(Q838948),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q212792
relation P725
type Q838948
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?v ) WHERE { ?c property:P725 ?y . ?y rdf:type ontology:Q502895 . ?c rdf:type ontology:Q838948 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { resource:Q212792 property:P725 ?k . ?k rdf:type ontology:Q838948 } } . FILTER ( ?v > ?n ) }
Bolt
action count
action greater
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Bolt
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?v ) WHERE { ?c property:voice_actor ?y . ?y rdf:type ontology:common_name . ?c rdf:type ontology:work_of_art } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { resource:Bolt property:voice_actor ?k . ?k rdf:type ontology:work_of_art } } . FILTER ( ?v > ?n ) }
[]
common name work of art
SYSTEM
29
Q13393950 Q127367 Q16207076 Q23838455 Q568928 Q3139297 Q17485699 Q390341 Q7737199 Q477965 Q5640689 Q3282491 Q477365 Q16782 Q4158396 Q4503243 Q16857406 Q622742 Q1058469 Q204416 Q23034444 Q2165639 Q1201022 Q387674 Q741883 Q1193324 Q19263748 Q246418 Q16248866
(c(Q838948),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q212792
relation P725
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?v ) WHERE { ?c property:P725 ?y . ?y rdf:type ontology:Q502895 . ?c rdf:type ontology:Q838948 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { resource:Q212792 property:P725 ?k . ?k rdf:type ontology:Q838948 } } . FILTER ( ?v > ?n ) }
My Little Pony: Equestria Girls The Lord of the Rings: The Fellowship of the Ring Battle Beyond the Sun Planetarian: Hoshi no Hito Garfield: The Movie Hold the Lion, Please Alice Through the Looking Glass Beverly Hills Chihuahua The Good Dinosaur Persepolis Hal Trigun: Badlands Rumble 101 Dalmatians II: Patch's London Adventure Buried Radio Day The Tsar's Bride The Jungle Book Where the Wild Things Are Ghost in the Shell 2: Innocence Felidae Ghost in the Shell 2.0 Watership Down Tiger & Bunny Final Fantasy VII: Advent Children Heaven's Lost Property The Disappearance of Haruhi Suzumiya The Anthem of the Heart Gulliver's Travels The Book of Life
29
action count
action greater
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Bolt
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?v ) WHERE { ?c property:voice_actor ?y . ?y rdf:type ontology:common_name . ?c rdf:type ontology:work_of_art } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { resource:Bolt property:voice_actor ?k . ?k rdf:type ontology:work_of_art } } . FILTER ( ?v > ?n ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3973585 Q212792
P495
Q15617994
USER
Which administrative territories are the origin of Bolt or Stigmate of Saint Francis ?
OR((Q212792,P495,c(Q15617994)), (Q3973585,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q212792
relation P495
action find
entity Q3973585
relation P495
type Q15617994
{'OR': [['Q212792', 'P495', {'concept': 'Q15617994'}], ['Q3973585', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . { { resource:Q212792 property:P495 ?c } UNION { resource:Q3973585 property:P495 ?c } } }
Stigmate of Saint Francis Bolt
action filter_type
action union
action find
entity Bolt
relation country of origin
action find
entity Stigmate of Saint Francis
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Bolt', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Stigmate of Saint Francis', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Bolt property:country_of_origin ?c } UNION { resource:Stigmate_of_Saint_Francis property:country_of_origin ?c } } }
[]
designation for an administrative territorial entity
Q30 Q38
SYSTEM
United States of America, Italy
Q30 Q38
OR((Q212792,P495,c(Q15617994)), (Q3973585,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q212792
relation P495
action find
entity Q3973585
relation P495
type Q15617994
[ANSWERS] are the origin of Bolt or Stigmate of Saint Francis
{'OR': [['Q212792', 'P495', {'concept': 'Q15617994'}], ['Q3973585', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . { { resource:Q212792 property:P495 ?c } UNION { resource:Q3973585 property:P495 ?c } } }
United States of America Italy
United States of America and Italy are the origin of Bolt or Stigmate of Saint Francis
United States of America Italy
action filter_type
action union
action find
entity Bolt
relation country of origin
action find
entity Stigmate of Saint Francis
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Bolt', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Stigmate of Saint Francis', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Bolt property:country_of_origin ?c } UNION { resource:Stigmate_of_Saint_Francis property:country_of_origin ?c } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q184
P530
Q15617994
USER
Do Belarus have diplomatic relations with those ones ?
(Q184,P530,Q30) (Q184,P530,Q38)
action is_in
entity prev_answer
action find
entity Q184
relation P530
['Q184', 'P530', 'Q30'] ['Q184', 'P530', 'Q38']
ASK WHERE { VALUES ( ?p ) { ( resource:Q30 ) ( resource:Q38 ) } . resource:Q184 property:P530 ?p }
Belarus
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'United States of America'] ['Belarus', 'diplomatic relation', 'Italy']
ASK WHERE { VALUES ( ?p ) { ( resource:United_States_of_America ) ( resource:Italy ) } . resource:Belarus property:diplomatic_relation ?p }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q184,P530,Q30) (Q184,P530,Q38)
action is_in
entity prev_answer
action find
entity Q184
relation P530
[ANSWER]
['Q184', 'P530', 'Q30'] ['Q184', 'P530', 'Q38']
ASK WHERE { VALUES ( ?p ) { ( resource:Q30 ) ( resource:Q38 ) } . resource:Q184 property:P530 ?p }
Yes
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'United States of America'] ['Belarus', 'diplomatic relation', 'Italy']
ASK WHERE { VALUES ( ?p ) { ( resource:United_States_of_America ) ( resource:Italy ) } . resource:Belarus property:diplomatic_relation ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3973585
P136
Q1792379
USER
What can be considered as category for Stigmate of Saint Francis ?
(Q3973585,P136,c(Q1792379))
action filter_type
action find
entity Q3973585
relation P136
type Q1792379
['Q3973585', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?v WHERE { resource:Q3973585 property:P136 ?v . ?v rdf:type ontology:Q1792379 }
Stigmate of Saint Francis
action filter_type
action find
entity Stigmate of Saint Francis
relation genre
type art genre
['Stigmate of Saint Francis', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?v WHERE { resource:Stigmate_of_Saint_Francis property:genre ?v . ?v rdf:type ontology:art_genre }
[]
art genre
Q2414609
SYSTEM
religious painting
Q2414609
(Q3973585,P136,c(Q1792379))
action filter_type
action find
entity Q3973585
relation P136
type Q1792379
[ANSWER] can be considered as category for Stigmate of Saint Francis
['Q3973585', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?v WHERE { resource:Q3973585 property:P136 ?v . ?v rdf:type ontology:Q1792379 }
religious painting
Religious painting can be considered as category for Stigmate of Saint Francis
religious painting
action filter_type
action find
entity Stigmate of Saint Francis
relation genre
type art genre
['Stigmate of Saint Francis', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?v WHERE { resource:Stigmate_of_Saint_Francis property:genre ?v . ?v rdf:type ontology:art_genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q38 Q1009
P530
Q1048835
USER
How many political territories have diplomatic relationships with Italy and Cameroon ?
(Q38,P530,c(Q1048835)) (Q1009,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q38
relation P530
type Q1048835
action filter_type
action find
entity Q1009
relation P530
type Q1048835
['Q38', 'P530', {'concept': 'Q1048835'}] ['Q1009', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Q38 property:P530 ?b . ?b rdf:type ontology:Q1048835 . resource:Q1009 property:P530 ?b . ?b rdf:type ontology:Q1048835 }
Italy Cameroon
action count
action intersection
action filter_type
action find
entity Italy
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Cameroon
relation diplomatic relation
type political territorial entity
['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Cameroon', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Italy property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity . resource:Cameroon property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(Q38,P530,c(Q1048835)) (Q1009,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q38
relation P530
type Q1048835
action filter_type
action find
entity Q1009
relation P530
type Q1048835
[ANSWER]
['Q38', 'P530', {'concept': 'Q1048835'}] ['Q1009', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Q38 property:P530 ?b . ?b rdf:type ontology:Q1048835 . resource:Q1009 property:P530 ?b . ?b rdf:type ontology:Q1048835 }
Australia Germany
2
action count
action intersection
action filter_type
action find
entity Italy
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Cameroon
relation diplomatic relation
type political territorial entity
['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Cameroon', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Italy property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity . resource:Cameroon property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity }
[]