Simple Question (Direct)
Simple Question
Q1173430
P21
Q290
USER
What is the sex of Davey Graham ?
(Q1173430,P21,c(Q290))
action filter_type
action find
entity Q1173430
relation P21
type Q290
['Q1173430', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q290 . resource:Q1173430 property:P21 ?k }
Davey Graham
action filter_type
action find
entity Davey Graham
relation gender
type sex
['Davey Graham', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sex . resource:Davey_Graham property:gender ?k }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1173430,P21,c(Q290))
action filter_type
action find
entity Q1173430
relation P21
type Q290
The sex of Davey Graham is a [ANSWER]
['Q1173430', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q290 . resource:Q1173430 property:P21 ?k }
male
The sex of Davey Graham is a male
male
action filter_type
action find
entity Davey Graham
relation gender
type sex
['Davey Graham', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sex . resource:Davey_Graham property:gender ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1173430
P175
Q2031291
USER
Which releases performed that person ?
(c(Q2031291),P175,Q6581097)
action filter_type
action find_reverse
entity Q1173430
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q6581097']
SELECT DISTINCT ?n WHERE { ?n property:P175 resource:Q1173430 . ?n rdf:type ontology:Q2031291 }
Davey Graham
action filter_type
action find_reverse
entity Davey Graham
relation performer
type release
[{'concept': 'release'}, 'performer', 'male']
SELECT DISTINCT ?n WHERE { ?n property:performer resource:Davey_Graham . ?n rdf:type ontology:release }
[]
release
Q5882102 Q5576652 Q5680762
SYSTEM
Holly Kaleidoscope, Godington Boundry, Hat
Q5680762 Q5882102 Q4729748 Q6489111 Q5576652
(c(Q2031291),P175,Q6581097)
action filter_type
action find_reverse
entity Q1173430
relation P175
type Q2031291
[ANSWERS] performed that person
[{'concept': 'Q2031291'}, 'P175', 'Q6581097']
SELECT DISTINCT ?n WHERE { ?n property:P175 resource:Q1173430 . ?n rdf:type ontology:Q2031291 }
Hat Holly Kaleidoscope All That Moody Large as Life and Twice as Natural Godington Boundry
Holly Kaleidoscope, Godington Boundry and Hat performed that person
Holly Kaleidoscope Godington Boundry Hat
action filter_type
action find_reverse
entity Davey Graham
relation performer
type release
[{'concept': 'release'}, 'performer', 'male']
SELECT DISTINCT ?n WHERE { ?n property:performer resource:Davey_Graham . ?n rdf:type ontology:release }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q6619679 Q502895 Q2031291
USER
Which releases are the eponym of min number of fictional humanoids or people ?
(c(Q2031291),P138,c(Q6619679)|c(Q502895))
action argmin
action union
action find_tuple_counts
relation P138
type Q2031291
type Q6619679
action find_tuple_counts
relation P138
type Q2031291
type Q502895
[{'concept': 'Q2031291'}, 'P138', [{'concept': 'Q6619679'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) ?u WHERE { VALUES ( ?j ) { ( ontology:Q6619679 ) ( ontology:Q502895 ) } . ?c rdf:type ?j } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) ?f WHERE { ?s rdf:type ?o . VALUES ( ?o ) { ( ontology:Q6619679 ) ( ontology:Q502895 ) } } GROUP BY ?f } . FILTER ( ?a = ?r ) }
action argmin
action union
action find_tuple_counts
relation named after
type release
type fictional humanoid
action find_tuple_counts
relation named after
type release
type common name
[{'concept': 'release'}, 'named after', [{'concept': 'fictional humanoid'}, {'concept': 'common name'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) ?u WHERE { VALUES ( ?j ) { ( ontology:fictional_humanoid ) ( ontology:common_name ) } . ?c rdf:type ?j } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) ?f WHERE { ?s rdf:type ?o . VALUES ( ?o ) { ( ontology:fictional_humanoid ) ( ontology:common_name ) } } GROUP BY ?f } . FILTER ( ?a = ?r ) }
[]
fictional humanoid common name release
Q173643 Q740161 Q1753076
SYSTEM
Abbey Road, John Wesley Harding, New Morning
Q18668276 Q22690274 Q20988110 Q19858 Q11865376 Q11743771 Q11884852 Q21893638 Q5978789 Q6375877 Q11229672 Q16958271 Q3428917 Q3605621 Q902572 Q3360641 Q7560185 Q2328141 Q15406872 Q3341407 Q13518367 Q1753847 Q3905305 Q3437749 Q3052448 Q6698455 Q1155719 Q1792838 Q684280 Q2498611 Q10268851 Q6698224 Q4857730 Q173643 Q7715886 Q3305923 Q11972434 Q5417504 Q11870397 Q22683058 Q2563202 Q1721506 Q5419352 Q779923 Q25511121 Q492804 Q6698332 Q1753261 Q740161 Q6785481 Q10320388 Q4043244 Q15867296 Q1753076 Q5485835 Q897752 Q2367412 Q1166204 Q6304661 Q3489827 Q17508644 Q6698151 Q6698153 Q1779491 Q4740276 Q3758929 Q5016483 Q7757221 Q4544588 Q1492288 Q2679334 Q1426301 Q217211 Q1940923 Q6917260 Q11229671 Q15728910 Q7761229 Q2940115 Q3319798 Q17544686
(c(Q2031291),P138,c(Q6619679)|c(Q502895))
action argmin
action union
action find_tuple_counts
relation P138
type Q2031291
type Q6619679
action find_tuple_counts
relation P138
type Q2031291
type Q502895
[ANSWERS] are the eponym of min number of fictional humanoids or people
[{'concept': 'Q2031291'}, 'P138', [{'concept': 'Q6619679'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) ?u WHERE { VALUES ( ?j ) { ( ontology:Q6619679 ) ( ontology:Q502895 ) } . ?c rdf:type ?j } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) ?f WHERE { ?s rdf:type ?o . VALUES ( ?o ) { ( ontology:Q6619679 ) ( ontology:Q502895 ) } } GROUP BY ?f } . FILTER ( ?a = ?r ) }
Endless Forms Most Beautiful (album) Figgatta de Blanc Deepthroat Revolution Meteora Ivalo Korova Milky Bar Nummela DiscoDildo I Remember Clifford Kate and Anna McGarrigle Lucy Love - Winter Season - Trouble: The Jamie Saft Trio Plays Bob Dylan Deià...Vu The 59th Street Bridge Song The Times They Are a-Changin' Paisley Park Something Wicked This Way Comes One Tree Hill Les Perches du Nil Night on Bald Mountain Mercedes-Dance Something Wicked This Way Comes Pinocchio Rock Drill Watarasebashi Lucy Pearl De Stijl Waterloo Sunset Shot of Love Geidi Primes Du ringde från Flen Lucy Brown Baptized in Blood Abbey Road The Battle of Sealand Highway 61 Revisited Gram Per Person Every Grain of Sand: Barb Jungr Sings Bob Dylan Katra Vincere l'odio Rue des cascades Kairos Excalibur New Jersey Rosetta Kara Best 2007–2010 Lucy Gray Saved John Wesley Harding Masters of War Lucy Lucy New Eyes New Morning Inari Excalibur Twin Sons of Different Mothers La Grange Judy in Disguise Something Wicked This Way Comes Pe'ahi Lucy Lucy Sunday Bloody Sunday Amarillo Ramp (For Robert Smithson) Gaudí Cadillac Ranch The Pinocchio Theory (Do You Wanna Date My) Avatar Pinocchio Siberia Wuthering Heights Highway 61 Revisited NATO Mother-in-Law Lucy Love - Season II - Chantilly Lace The Roches Carpal Tunnel Syndrome Mon Pinocchio - Babar To Your Scattered Bodies Go
Abbey Road, John Wesley Harding and New Morning are the eponym of min number of fictional humanoids or people
Abbey Road John Wesley Harding New Morning
action argmin
action union
action find_tuple_counts
relation named after
type release
type fictional humanoid
action find_tuple_counts
relation named after
type release
type common name
[{'concept': 'release'}, 'named after', [{'concept': 'fictional humanoid'}, {'concept': 'common name'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) ?u WHERE { VALUES ( ?j ) { ( ontology:fictional_humanoid ) ( ontology:common_name ) } . ?c rdf:type ?j } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) ?f WHERE { ?s rdf:type ?o . VALUES ( ?o ) { ( ontology:fictional_humanoid ) ( ontology:common_name ) } } GROUP BY ?f } . FILTER ( ?a = ?r ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17654097 Q740161
P407
Q34770
USER
Which languages are John Wesley Harding or BNP lose council seat in Keighley in ?
OR((Q740161,P407,c(Q34770)), (Q17654097,P407,c(Q34770)))
action filter_type
action union
action find
entity Q740161
relation P407
action find
entity Q17654097
relation P407
type Q34770
{'OR': [['Q740161', 'P407', {'concept': 'Q34770'}], ['Q17654097', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q740161 property:P407 ?s } UNION { resource:Q17654097 property:P407 ?s } } . ?s rdf:type ontology:Q34770 }
BNP lose council seat in Keighley John Wesley Harding
action filter_type
action union
action find
entity John Wesley Harding
relation language of work or name
action find
entity BNP lose council seat in Keighley
relation language of work or name
type language
{'OR': [['John Wesley Harding', 'language of work or name', {'concept': 'language'}], ['BNP lose council seat in Keighley', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?s WHERE { { { resource:John_Wesley_Harding property:language_of_work_or_name ?s } UNION { resource:BNP_lose_council_seat_in_Keighley property:language_of_work_or_name ?s } } . ?s rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
OR((Q740161,P407,c(Q34770)), (Q17654097,P407,c(Q34770)))
action filter_type
action union
action find
entity Q740161
relation P407
action find
entity Q17654097
relation P407
type Q34770
[ANSWER] is John Wesley Harding or BNP lose council seat in Keighley in
{'OR': [['Q740161', 'P407', {'concept': 'Q34770'}], ['Q17654097', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q740161 property:P407 ?s } UNION { resource:Q17654097 property:P407 ?s } } . ?s rdf:type ontology:Q34770 }
English
English is John Wesley Harding or BNP lose council seat in Keighley in
English
action filter_type
action union
action find
entity John Wesley Harding
relation language of work or name
action find
entity BNP lose council seat in Keighley
relation language of work or name
type language
{'OR': [['John Wesley Harding', 'language of work or name', {'concept': 'language'}], ['BNP lose council seat in Keighley', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?s WHERE { { { resource:John_Wesley_Harding property:language_of_work_or_name ?s } UNION { resource:BNP_lose_council_seat_in_Keighley property:language_of_work_or_name ?s } } . ?s rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1860 Q178903
P1412
Q502895
USER
Does Alexander Hamilton speak that language ?
(Q178903,P1412,Q1860)
action is_in
entity Q1860
action find
entity Q178903
relation P1412
['Q178903', 'P1412', 'Q1860']
ASK WHERE { resource:Q178903 property:P1412 resource:Q1860 }
English Alexander Hamilton
action is_in
entity English
action find
entity Alexander Hamilton
relation languages spoken, written or signed
['Alexander Hamilton', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:Alexander_Hamilton property:languages_spoken,_written_or_signed resource:English }
[]
common name
SYSTEM
YES
(Q178903,P1412,Q1860)
action is_in
entity Q1860
action find
entity Q178903
relation P1412
[ANSWER]
['Q178903', 'P1412', 'Q1860']
ASK WHERE { resource:Q178903 property:P1412 resource:Q1860 }
Yes
action is_in
entity English
action find
entity Alexander Hamilton
relation languages spoken, written or signed
['Alexander Hamilton', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:Alexander_Hamilton property:languages_spoken,_written_or_signed resource:English }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5680762 Q1173430
P175
Q502895
USER
Was Davey Graham staged by Hat ?
(Q5680762,P175,Q1173430)
action is_in
entity Q1173430
action find
entity Q5680762
relation P175
['Q5680762', 'P175', 'Q1173430']
ASK WHERE { resource:Q5680762 property:P175 resource:Q1173430 }
Hat Davey Graham
action is_in
entity Davey Graham
action find
entity Hat
relation performer
['Hat', 'performer', 'Davey Graham']
ASK WHERE { resource:Hat property:performer resource:Davey_Graham }
[]
common name
SYSTEM
YES
(Q5680762,P175,Q1173430)
action is_in
entity Q1173430
action find
entity Q5680762
relation P175
[ANSWER]
['Q5680762', 'P175', 'Q1173430']
ASK WHERE { resource:Q5680762 property:P175 resource:Q1173430 }
Yes
action is_in
entity Davey Graham
action find
entity Hat
relation performer
['Hat', 'performer', 'Davey Graham']
ASK WHERE { resource:Hat property:performer resource:Davey_Graham }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20984146 Q1173430
P27
Q15617994
USER
Which administrative territories are Davey Graham or Muhan Hasi a civilian of ?
OR((Q1173430,P27,c(Q15617994)), (Q20984146,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1173430
relation P27
action find
entity Q20984146
relation P27
type Q15617994
{'OR': [['Q1173430', 'P27', {'concept': 'Q15617994'}], ['Q20984146', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { { resource:Q20984146 property:P27 ?k } UNION { resource:Q1173430 property:P27 ?k } } }
Muhan Hasi Davey Graham
action filter_type
action union
action find
entity Davey Graham
relation country of citizenship
action find
entity Muhan Hasi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Davey Graham', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Muhan Hasi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Muhan_Hasi property:country_of_citizenship ?k } UNION { resource:Davey_Graham property:country_of_citizenship ?k } } }
[]
designation for an administrative territorial entity
Q148 Q145
SYSTEM
People's Republic of China, United Kingdom
Q148 Q145
OR((Q1173430,P27,c(Q15617994)), (Q20984146,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1173430
relation P27
action find
entity Q20984146
relation P27
type Q15617994
[ANSWERS] are Davey Graham or Muhan Hasi a civilian of
{'OR': [['Q1173430', 'P27', {'concept': 'Q15617994'}], ['Q20984146', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { { resource:Q20984146 property:P27 ?k } UNION { resource:Q1173430 property:P27 ?k } } }
People's Republic of China United Kingdom
People's Republic of China and United Kingdom are Davey Graham or Muhan Hasi a civilian of
People's Republic of China United Kingdom
action filter_type
action union
action find
entity Davey Graham
relation country of citizenship
action find
entity Muhan Hasi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Davey Graham', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Muhan Hasi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Muhan_Hasi property:country_of_citizenship ?k } UNION { resource:Davey_Graham property:country_of_citizenship ?k } } }
[]