Simple Question (Direct)
Simple Question
Q453690
P21
Q290
USER
Which sex does Richard Christopher Carrington have ?
(Q453690,P21,c(Q290))
action filter_type
action find
entity Q453690
relation P21
type Q290
['Q453690', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q453690 property:P21 ?a . ?a rdf:type ontology:Q290 }
Richard Christopher Carrington
action filter_type
action find
entity Richard Christopher Carrington
relation gender
type sex
['Richard Christopher Carrington', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Richard_Christopher_Carrington property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q453690,P21,c(Q290))
action filter_type
action find
entity Q453690
relation P21
type Q290
Richard Christopher Carrington has a [ANSWER]
['Q453690', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q453690 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
Richard Christopher Carrington has a male
male
action filter_type
action find
entity Richard Christopher Carrington
relation gender
type sex
['Richard Christopher Carrington', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Richard_Christopher_Carrington property:gender ?a . ?a rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q453690
P27
Q15617994
USER
How many administrative territories are the countries of citizenship of Richard Christopher Carrington ?
(Q453690,P27,c(Q15617994))
action count
action filter_type
action find
entity Q453690
relation P27
type Q15617994
['Q453690', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { ?r rdf:type ontology:Q15617994 . resource:Q453690 property:P27 ?r }
Richard Christopher Carrington
action count
action filter_type
action find
entity Richard Christopher Carrington
relation country of citizenship
type designation for an administrative territorial entity
['Richard Christopher Carrington', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Richard_Christopher_Carrington property:country_of_citizenship ?r }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q453690,P27,c(Q15617994))
action count
action filter_type
action find
entity Q453690
relation P27
type Q15617994
[ANSWER]
['Q453690', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { ?r rdf:type ontology:Q15617994 . resource:Q453690 property:P27 ?r }
United Kingdom
1
action count
action filter_type
action find
entity Richard Christopher Carrington
relation country of citizenship
type designation for an administrative territorial entity
['Richard Christopher Carrington', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Richard_Christopher_Carrington property:country_of_citizenship ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7352712
P27
Q15617994
USER
Which administrative territory does Robin Petrie belong to ?
(Q7352712,P27,c(Q15617994))
action filter_type
action find
entity Q7352712
relation P27
type Q15617994
['Q7352712', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q7352712 property:P27 ?p }
Robin Petrie
action filter_type
action find
entity Robin Petrie
relation country of citizenship
type designation for an administrative territorial entity
['Robin Petrie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Robin_Petrie property:country_of_citizenship ?p }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7352712,P27,c(Q15617994))
action filter_type
action find
entity Q7352712
relation P27
type Q15617994
Robin Petrie belongs to [ANSWER]
['Q7352712', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q7352712 property:P27 ?p }
United States of America
Robin Petrie belongs to United States of America
United States of America
action filter_type
action find
entity Robin Petrie
relation country of citizenship
type designation for an administrative territorial entity
['Robin Petrie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Robin_Petrie property:country_of_citizenship ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7352712
P735
Q82799
USER
What is forename of that person ?
(Q30,P735,c(Q82799))
action filter_type
action find
entity Q7352712
relation P735
type Q82799
['Q30', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q7352712 property:P735 ?g . ?g rdf:type ontology:Q82799 }
Robin Petrie
action filter_type
action find
entity Robin Petrie
relation given name
type name
['United States of America', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Robin_Petrie property:given_name ?g . ?g rdf:type ontology:name }
[]
name
Q1158139
SYSTEM
Robin
Q1158139
(Q30,P735,c(Q82799))
action filter_type
action find
entity Q7352712
relation P735
type Q82799
Forename of that person is [ANSWER]
['Q30', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q7352712 property:P735 ?g . ?g rdf:type ontology:Q82799 }
Robin
Forename of that person is Robin
Robin
action filter_type
action find
entity Robin Petrie
relation given name
type name
['United States of America', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Robin_Petrie property:given_name ?g . ?g rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2055700 Q1158139
P1412 P407
Q34770
USER
Which languages are Robin in or are Pasquale Festa Campanile capable of writing ?
OR((Q1158139,P407,c(Q34770)), (Q2055700,P1412,c(Q34770)))
action filter_type
action union
action find
entity Q1158139
relation P407
action find
entity Q2055700
relation P1412
type Q34770
{'OR': [['Q1158139', 'P407', {'concept': 'Q34770'}], ['Q2055700', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q1158139 property:P407 ?q } UNION { resource:Q2055700 property:P1412 ?q } } . ?q rdf:type ontology:Q34770 }
Pasquale Festa Campanile Robin
action filter_type
action union
action find
entity Robin
relation language of work or name
action find
entity Pasquale Festa Campanile
relation languages spoken, written or signed
type language
{'OR': [['Robin', 'language of work or name', {'concept': 'language'}], ['Pasquale Festa Campanile', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Robin property:language_of_work_or_name ?q } UNION { resource:Pasquale_Festa_Campanile property:languages_spoken,_written_or_signed ?q } } . ?q rdf:type ontology:language }
[]
language
Q652 Q1860
SYSTEM
Italian, English
Q652 Q1860
OR((Q1158139,P407,c(Q34770)), (Q2055700,P1412,c(Q34770)))
action filter_type
action union
action find
entity Q1158139
relation P407
action find
entity Q2055700
relation P1412
type Q34770
Are [ANSWERS] are Robin in or are Pasquale Festa Campanile capable of writing
{'OR': [['Q1158139', 'P407', {'concept': 'Q34770'}], ['Q2055700', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q1158139 property:P407 ?q } UNION { resource:Q2055700 property:P1412 ?q } } . ?q rdf:type ontology:Q34770 }
Italian English
Are Italian and English are Robin in or are Pasquale Festa Campanile capable of writing
Italian English
action filter_type
action union
action find
entity Robin
relation language of work or name
action find
entity Pasquale Festa Campanile
relation languages spoken, written or signed
type language
{'OR': [['Robin', 'language of work or name', {'concept': 'language'}], ['Pasquale Festa Campanile', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Robin property:language_of_work_or_name ?q } UNION { resource:Pasquale_Festa_Campanile property:languages_spoken,_written_or_signed ?q } } . ?q rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q652 Q1860
P407
Q7725634
USER
Which literary works are created in language those ones ?
(c(Q7725634),P407,Q652) (c(Q7725634),P407,Q1860)
action filter_type
action find_reverse
entity prev_answer
relation P407
type Q7725634
[{'concept': 'Q7725634'}, 'P407', 'Q652'] [{'concept': 'Q7725634'}, 'P407', 'Q1860']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q7725634 . ?v property:P407 ?j . VALUES ( ?j ) { ( resource:Q652 ) ( resource:Q1860 ) } }
Italian English
action filter_type
action find_reverse
entity prev_answer
relation language of work or name
type literary work
[{'concept': 'literary work'}, 'language of work or name', 'Italian'] [{'concept': 'literary work'}, 'language of work or name', 'English']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:literary_work . ?v property:language_of_work_or_name ?j . VALUES ( ?j ) { ( resource:Italian ) ( resource:English ) } }
[]
literary work
Q22249625 Q22249625 Q4928860
SYSTEM
At Memphis Station for 1st, 2nd, Blue Bayou for 3rd
Q3809234 Q924657 Q232206 Q22586455 Q4949773 Q7971073 Q22249625 Q2679326 Q2260402 Q1921383 Q2257959 Q19048014 Q2027936 Q4068801 Q7721407 Q924657 Q21038194 Q11973189 Q3520554 Q1131761 Q1326000 Q22916092 Q5990361 Q923359 Q814212 Q25078106 Q1324384 Q1072741 Q27660414 Q1314091 Q232206 Q22336205 Q18928771 Q25078135 Q760350 Q18085203 Q7765262 Q5419457 Q2028257 Q7908800 Q19358345 Q633376 Q4463074 Q1137020 Q7785162 Q18922454 Q7749999 Q1187321 Q26270893 Q25558 Q1616910 Q21287676 Q21287672 Q17138567 Q21287668 Q6919622 Q889240 Q7334669 Q2476190 Q27037419 Q593978 Q2009848 Q1676224 Q20800508 Q25078036 Q19263052 Q21287627 Q380825 Q5856638 Q19242944 Q5028908 Q25078000 Q16996354 Q19091696 Q4018684 Q25078073 Q1575153 Q109026 Q4949773 Q21287682 Q25101409 Q21287992 Q650884 Q1165305 Q19103248 Q3501212 Q21283498 Q2866642 Q1828805 Q21438649 Q542497 Q642170 Q7334756 Q22607638 Q921458 Q1086652 Q7541463 Q1049271 Q3351931 Q19158918 Q4928860 Q15907412 Q16826455 Q938656 Q1628696 Q21287936 Q19362937 Q7990739 Q7971073 Q10518612 Q19507764 Q1146122 Q15272117 Q19081037 Q6946371 Q74038 Q7516463 Q21539855 Q210218 Q23726780 Q2525778 Q775791 Q19517346 Q7073385 Q21287883 Q25077971 Q25077973 Q25077972 Q3471801 Q22599681 Q25077961 Q1407640 Q19360901 Q22964724 Q1407276 Q1128775 Q23058769 Q7621111 Q1242262 Q167545 Q27210603 Q27210275 Q4929858 Q3045024 Q1535296 Q666856 Q21283228 Q5576668 Q21287809 Q10290000 Q21203631 Q17151241 Q6945619 Q7559085 Q18360321 Q7720088 Q1046717 Q22596013 Q11510350 Q9095908 Q19348230 Q1031911 Q7644424 Q22249625 Q4999494 Q20010984 Q19892044
(c(Q7725634),P407,Q652) (c(Q7725634),P407,Q1860)
action filter_type
action find_reverse
entity prev_answer
relation P407
type Q7725634
[ANSWERS]
[{'concept': 'Q7725634'}, 'P407', 'Q652'] [{'concept': 'Q7725634'}, 'P407', 'Q1860']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q7725634 . ?v property:P407 ?j . VALUES ( ?j ) { ( resource:Q652 ) ( resource:Q1860 ) } }
Non andare più lontano Puppet on a String Zwei kleine Italiener At Lunch Boum-Badaboum Warum nur, warum? At Memphis Station White Light/White Heat Planet Caravan Music I Just Can't Wait to Be King Hospital Barge Auguries of Innocence Down by the Riverside The Carnival Is Over Puppet on a String Lines Inscribed upon a Cup Formed from a Skull Guldhornene The Deer's Cry White Christmas A Whole New World I Still Do If I Could Choose The Unforgiven Before I Forget The Only Way Out In My Life Childe Harold's Pilgrimage Circle of Life We Shall Overcome Zwei kleine Italiener Solstice Song One Thing I Should Have Done St. George and the Dragon And You and I Baptism The Song of the Shirt Excelsior Colors of the Wind Vainglory I'm Alive It's So Easy Trilogy of desire Erotica Thirteen Time to Shine The Man With the Hoe Only a Northern Song Waterloo Road Infinity Hey Bulldog The Flame of Sun My Salvation The Arrow and the Song I Feel the Rain The Forgotten Happy Xmas (War Is Over) Ring-A-Ding Girl Abide with Me PPAP (Pen-Pineapple-Apple-Pen) Sledgehammer Martha My Dear I'm the Man Hold Tight Smile This Time Show Me the Way Thriller The 2nd Law: Unsustainable Darkness (Byron) Can't Help Lovin' Dat Man Daddy's Home The Line Rain We Used to Be Friends Gunga Din Polly Circle of Life Boum-Badaboum Horizon They're moving Father's grave to build a sewer The Light of Dreams Blew Eye of the Tiger There was a young lady in white The Anthem The Dean's Answer to The Rebus Asimbonanga The Man I Love Authors Like a Virgin About a Girl Rings Around the Moon Columbus Odorono What's Another Year Slough Liar Cheek to Cheek Devil Pray Blue Bayou Bad Things Cherry Red One Uno Rivers of Time Playing with Numbers What'll I Do Warum nur, warum? Have You Met Miss Jones? Here for You I'm Beginning to See the Light I See Fire Joseph Warren My Shining Hour Diamonds Silver Threads and Golden Needles Boys like You Beat It Silent Night The Thing That Should Not Be Fly on the Wings of Love A Million Voices O vento mudou Run in a Way Who'll Be the Next in Line Bitter Pill Chelsea Smile How Does That Grab You? The wandering Girl Never Let You Down They Can't Take That Away from Me A Monster Like Me Sing It Away Hung Up Vogue Walk on Water Straighten Up and Fly Right Don't Get Around Much Anymore Happy Birthday to You Ye Sons of Freedom, Wake to Glory La Marseillaise (Patterson) Blue Sky What Now My Love These Boots Are Made for Walkin' I Will Always Love You A Rebus Godiva Try to Make It Your Own Give Me a Reason Wild Some Enchanted Evening My Head's in Mississippi Som en dröm Torsten the Bareback Saint The Bridge of Sighs Paint It Black The red Tree Get Lucky Whisper Love Injected Can You Feel the Love Tonight Supper Time At Memphis Station Burn Take Me With You All Over the World
At Memphis Station, At Memphis Station and Blue Bayou are created in language those ones
At Memphis Station At Memphis Station Blue Bayou
action filter_type
action find_reverse
entity prev_answer
relation language of work or name
type literary work
[{'concept': 'literary work'}, 'language of work or name', 'Italian'] [{'concept': 'literary work'}, 'language of work or name', 'English']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:literary_work . ?v property:language_of_work_or_name ?j . VALUES ( ?j ) { ( resource:Italian ) ( resource:English ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q22249625
P50
Q502895
USER
Which person authored that literary work ?
(Q22249625,P50,c(Q502895))
action filter_type
action find
entity Q22249625
relation P50
type Q502895
['Q22249625', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q22249625 property:P50 ?z . ?z rdf:type ontology:Q502895 }
At Memphis Station
action filter_type
action find
entity At Memphis Station
relation author
type common name
['At Memphis Station', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:At_Memphis_Station property:author ?z . ?z rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q22249625
SYSTEM
Did you mean At Memphis Station ?
Q22249625 Q22249625 Q4928860
(Q22249625,P50,c(Q502895)) (Q22249625,P50,c(Q502895)) (Q4928860,P50,c(Q502895))
[ANSWER]
['Q22249625', 'P50', {'concept': 'Q502895'}] ['Q22249625', 'P50', {'concept': 'Q502895'}] ['Q4928860', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q22249625 property:P50 ?z . ?z rdf:type ontology:Q502895 }
At Memphis Station At Memphis Station Blue Bayou
Did you mean At Memphis Station ?
At Memphis Station
['At Memphis Station', 'author', {'concept': 'common name'}] ['At Memphis Station', 'author', {'concept': 'common name'}] ['Blue Bayou', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:At_Memphis_Station property:author ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q22249625,P50,c(Q502895))
['Q22249625', 'P50', {'concept': 'Q502895'}]
['At Memphis Station', 'author', {'concept': 'common name'}]
[]
Q159552
SYSTEM
Johannes V. Jensen
Q159552
(Q22249625,P50,c(Q502895))
action filter_type
action find
entity Q22249625
relation P50
type Q502895
[ANSWER] authored that literary work
['Q22249625', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q22249625 property:P50 ?z . ?z rdf:type ontology:Q502895 }
Johannes V. Jensen
Johannes V. Jensen authored that literary work
Johannes V. Jensen
action filter_type
action find
entity At Memphis Station
relation author
type common name
['At Memphis Station', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:At_Memphis_Station property:author ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15416
USER
How many television programs did atleast 10 people do the dubbing for ?
(c(Q15416),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 10
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?i ) WHERE { ?y property:P725 ?t . ?y rdf:type ontology:Q15416 . ?t rdf:type ontology:Q502895 } GROUP BY ?y } . FILTER ( ?i >= 10 ) }
action count
action atleast
action find_tuple_counts
relation voice actor
type television program
type common name
value 10
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?i ) WHERE { ?y property:voice_actor ?t . ?y rdf:type ontology:television_program . ?t rdf:type ontology:common_name } GROUP BY ?y } . FILTER ( ?i >= 10 ) }
[]
common name television program
SYSTEM
7
Q23558 Q18571935 Q165515 Q10358973 Q25000347 Q18553975 Q17183708
(c(Q15416),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 10
[ANSWER]
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?i ) WHERE { ?y property:P725 ?t . ?y rdf:type ontology:Q15416 . ?t rdf:type ontology:Q502895 } GROUP BY ?y } . FILTER ( ?i >= 10 ) }
House The Big O 101 Dalmatians: The Series Reynard the Fox Pirate Express Soul Eater The 7D
7
action count
action atleast
action find_tuple_counts
relation voice actor
type television program
type common name
value 10
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?i ) WHERE { ?y property:voice_actor ?t . ?y rdf:type ontology:television_program . ?t rdf:type ontology:common_name } GROUP BY ?y } . FILTER ( ?i >= 10 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P629
Q7725634 Q223393 Q7725634
USER
Which literary works are an edition or translation of around 1 literary works and literary genres ?
(c(Q7725634),P629,c(Q7725634)|c(Q223393))
action approx
action union
action find_tuple_counts
relation P629
type Q7725634
type Q7725634
action find_tuple_counts
relation P629
type Q7725634
type Q223393
value 1
[{'concept': 'Q7725634'}, 'P629', [{'concept': 'Q7725634'}, {'concept': 'Q223393'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?t ) WHERE { { ?g property:P629 ?e . ?g rdf:type ontology:Q7725634 . ?e rdf:type ontology:Q7725634 } UNION { ?g property:P629 ?e . ?e rdf:type ontology:Q223393 . ?g rdf:type ontology:Q7725634 } } GROUP BY ?g } . FILTER ( ?t = 1 ) }
action approx
action union
action find_tuple_counts
relation edition or translation of
type literary work
type literary work
action find_tuple_counts
relation edition or translation of
type literary work
type literary genre
value 1
[{'concept': 'literary work'}, 'edition or translation of', [{'concept': 'literary work'}, {'concept': 'literary genre'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?t ) WHERE { { ?g property:edition_or_translation_of ?e . ?g rdf:type ontology:literary_work . ?e rdf:type ontology:literary_work } UNION { ?g property:edition_or_translation_of ?e . ?e rdf:type ontology:literary_genre . ?g rdf:type ontology:literary_work } } GROUP BY ?g } . FILTER ( ?t = 1 ) }
[]
literary work literary genre literary work
Q24027735 Q27334412 Q27837182
SYSTEM
I once had a beautiful homeland, Ode to Aphrodite (Falconnet), God Help the Outcasts
Q27837182 Q24827886 Q19068433 Q24027735 Q23726750 Q19068438 Q27333152 Q27334412 Q27686311 Q19021359 Q27334838 Q23726780
(c(Q7725634),P629,c(Q7725634)|c(Q223393))
action approx
action union
action find_tuple_counts
relation P629
type Q7725634
type Q7725634
action find_tuple_counts
relation P629
type Q7725634
type Q223393
value 1
[ANSWERS] are an edition or translation of around 1 literary works and literary genres
[{'concept': 'Q7725634'}, 'P629', [{'concept': 'Q7725634'}, {'concept': 'Q223393'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?t ) WHERE { { ?g property:P629 ?e . ?g rdf:type ontology:Q7725634 . ?e rdf:type ontology:Q7725634 } UNION { ?g property:P629 ?e . ?e rdf:type ontology:Q223393 . ?g rdf:type ontology:Q7725634 } } GROUP BY ?g } . FILTER ( ?t = 1 ) }
God Help the Outcasts Král duchů Infant Sorrow I once had a beautiful homeland Glade jul, dejlige jul Infant Sorrow Ode to Aphrodite (Rubió i Lluch) Ode to Aphrodite (Falconnet) Colors of the Wind A Dream Ode to Aphrodite (Sumarokov) Silent Night
I once had a beautiful homeland, Ode to Aphrodite (Falconnet) and God Help the Outcasts are an edition or translation of around 1 literary works and literary genres
I once had a beautiful homeland Ode to Aphrodite (Falconnet) God Help the Outcasts
action approx
action union
action find_tuple_counts
relation edition or translation of
type literary work
type literary work
action find_tuple_counts
relation edition or translation of
type literary work
type literary genre
value 1
[{'concept': 'literary work'}, 'edition or translation of', [{'concept': 'literary work'}, {'concept': 'literary genre'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?t ) WHERE { { ?g property:edition_or_translation_of ?e . ?g rdf:type ontology:literary_work . ?e rdf:type ontology:literary_work } UNION { ?g property:edition_or_translation_of ?e . ?e rdf:type ontology:literary_genre . ?g rdf:type ontology:literary_work } } GROUP BY ?g } . FILTER ( ?t = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q27334412
P655
Q502895
USER
Who translated that literary work ?
(Q27334412,P655,c(Q502895))
action filter_type
action find
entity Q27334412
relation P655
type Q502895
['Q27334412', 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q27334412 property:P655 ?v }
Ode to Aphrodite (Falconnet)
action filter_type
action find
entity Ode to Aphrodite (Falconnet)
relation translator
type common name
['Ode to Aphrodite (Falconnet)', 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Ode_to_Aphrodite_(Falconnet) property:translator ?v }
[]
common name
Clarification for simple ques.
Q27837182
SYSTEM
Did you mean God Help the Outcasts ?
Q24027735 Q27334412 Q27837182
(Q24027735,P655,c(Q502895)) (Q27334412,P655,c(Q502895)) (Q27837182,P655,c(Q502895))
[ANSWER]
['Q24027735', 'P655', {'concept': 'Q502895'}] ['Q27334412', 'P655', {'concept': 'Q502895'}] ['Q27837182', 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q27334412 property:P655 ?v }
I once had a beautiful homeland Ode to Aphrodite (Falconnet) God Help the Outcasts
Did you mean God Help the Outcasts ?
God Help the Outcasts
['I once had a beautiful homeland', 'translator', {'concept': 'common name'}] ['Ode to Aphrodite (Falconnet)', 'translator', {'concept': 'common name'}] ['God Help the Outcasts', 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Ode_to_Aphrodite_(Falconnet) property:translator ?v }
[]
Simple Question (Coreferenced)
USER
No, I meant Ode to Aphrodite (Falconnet). Could you tell me the answer for that?
(Q27334412,P655,c(Q502895))
Q27334412
['Q27334412', 'P655', {'concept': 'Q502895'}]
['Ode to Aphrodite (Falconnet)', 'translator', {'concept': 'common name'}]
[]
Q18057590
SYSTEM
Ernest Falconnet
Q18057590
(Q27334412,P655,c(Q502895))
action filter_type
action find
entity Q27334412
relation P655
type Q502895
[ANSWER] translated that literary work
['Q27334412', 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q27334412 property:P655 ?v }
Ernest Falconnet
Ernest Falconnet translated that literary work
Ernest Falconnet
action filter_type
action find
entity Ode to Aphrodite (Falconnet)
relation translator
type common name
['Ode to Aphrodite (Falconnet)', 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Ode_to_Aphrodite_(Falconnet) property:translator ?v }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q18057590 Q17611899
P106
Q12737077
USER
Is racquetball player the profession of Ernest Falconnet ?
(Q18057590,P106,Q17611899)
action is_in
entity Q17611899
action find
entity Q18057590
relation P106
['Q18057590', 'P106', 'Q17611899']
ASK WHERE { resource:Q18057590 property:P106 resource:Q17611899 }
Ernest Falconnet racquetball player
action is_in
entity racquetball player
action find
entity Ernest Falconnet
relation occupation
['Ernest Falconnet', 'occupation', 'racquetball player']
ASK WHERE { resource:Ernest_Falconnet property:occupation resource:racquetball_player }
[]
occupation
SYSTEM
NO
(Q18057590,P106,Q17611899)
action is_in
entity Q17611899
action find
entity Q18057590
relation P106
[ANSWER]
['Q18057590', 'P106', 'Q17611899']
ASK WHERE { resource:Q18057590 property:P106 resource:Q17611899 }
No
action is_in
entity racquetball player
action find
entity Ernest Falconnet
relation occupation
['Ernest Falconnet', 'occupation', 'racquetball player']
ASK WHERE { resource:Ernest_Falconnet property:occupation resource:racquetball_player }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q30 Q220249 Q10212
P47
Q15617994
USER
Is United States of America next to the border of Eden District Municipality and Quassolo ?
(Q30,P47,Q220249) (Q30,P47,Q10212)
action is_in
entity Q30
action intersection
action find_reverse
entity Q220249
relation P47
action find_reverse
entity Q10212
relation P47
['Q30', 'P47', 'Q220249'] ['Q30', 'P47', 'Q10212']
ASK WHERE { resource:Q30 property:P47 resource:Q220249 . resource:Q30 property:P47 resource:Q10212 }
United States of America Eden District Municipality Quassolo
action is_in
entity United States of America
action intersection
action find_reverse
entity Eden District Municipality
relation shares border with
action find_reverse
entity Quassolo
relation shares border with
['United States of America', 'shares border with', 'Eden District Municipality'] ['United States of America', 'shares border with', 'Quassolo']
ASK WHERE { resource:United_States_of_America property:shares_border_with resource:Eden_District_Municipality . resource:United_States_of_America property:shares_border_with resource:Quassolo }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q30,P47,Q220249) (Q30,P47,Q10212)
action is_in
entity Q30
action intersection
action find_reverse
entity Q220249
relation P47
action find_reverse
entity Q10212
relation P47
[ANSWER]
['Q30', 'P47', 'Q220249'] ['Q30', 'P47', 'Q10212']
ASK WHERE { resource:Q30 property:P47 resource:Q220249 . resource:Q30 property:P47 resource:Q10212 }
No
action is_in
entity United States of America
action intersection
action find_reverse
entity Eden District Municipality
relation shares border with
action find_reverse
entity Quassolo
relation shares border with
['United States of America', 'shares border with', 'Eden District Municipality'] ['United States of America', 'shares border with', 'Quassolo']
ASK WHERE { resource:United_States_of_America property:shares_border_with resource:Eden_District_Municipality . resource:United_States_of_America property:shares_border_with resource:Quassolo }
[]