Simple Question (Direct)
Simple Question
Q289793
P19
Q486972
USER
Which human settlement was Holly McPeak born at ?
(Q289793,P19,c(Q486972))
action filter_type
action find
entity Q289793
relation P19
type Q486972
['Q289793', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?p WHERE { resource:Q289793 property:P19 ?p . ?p rdf:type ontology:Q486972 }
Holly McPeak
action filter_type
action find
entity Holly McPeak
relation place of birth
type human settlement
['Holly McPeak', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?p WHERE { resource:Holly_McPeak property:place_of_birth ?p . ?p rdf:type ontology:human_settlement }
[]
human settlement
Q34006
SYSTEM
Hollywood
Q34006
(Q289793,P19,c(Q486972))
action filter_type
action find
entity Q289793
relation P19
type Q486972
Holly McPeak was born in [ANSWER]
['Q289793', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?p WHERE { resource:Q289793 property:P19 ?p . ?p rdf:type ontology:Q486972 }
Hollywood
Holly McPeak was born in Hollywood
Hollywood
action filter_type
action find
entity Holly McPeak
relation place of birth
type human settlement
['Holly McPeak', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?p WHERE { resource:Holly_McPeak property:place_of_birth ?p . ?p rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q289793
P641
Q349
USER
What did that person participate in ?
(Q34006,P641,c(Q349))
action filter_type
action find
entity Q289793
relation P641
type Q349
['Q34006', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q289793 property:P641 ?d . ?d rdf:type ontology:Q349 }
Holly McPeak
action filter_type
action find
entity Holly McPeak
relation sport
type sport
['Hollywood', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Holly_McPeak property:sport ?d . ?d rdf:type ontology:sport }
[]
sport
Q4543
SYSTEM
beach volleyball
Q4543
(Q34006,P641,c(Q349))
action filter_type
action find
entity Q289793
relation P641
type Q349
That person participated in [ANSWER]
['Q34006', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q289793 property:P641 ?d . ?d rdf:type ontology:Q349 }
beach volleyball
That person participated in beach volleyball
beach volleyball
action filter_type
action find
entity Holly McPeak
relation sport
type sport
['Hollywood', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Holly_McPeak property:sport ?d . ?d rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q289793
P21
Q290
USER
What is the sex of that person ?
(Q4543,P21,c(Q290))
action filter_type
action find
entity Q289793
relation P21
type Q290
['Q4543', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q289793 property:P21 ?e . ?e rdf:type ontology:Q290 }
Holly McPeak
action filter_type
action find
entity Holly McPeak
relation gender
type sex
['beach volleyball', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Holly_McPeak property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q4543,P21,c(Q290))
action filter_type
action find
entity Q289793
relation P21
type Q290
The sex of that person is the [ANSWER]
['Q4543', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q289793 property:P21 ?e . ?e rdf:type ontology:Q290 }
female
The sex of that person is the female
female
action filter_type
action find
entity Holly McPeak
relation gender
type sex
['beach volleyball', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Holly_McPeak property:gender ?e . ?e rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q851007
P1376
Q515 Q486972
USER
How many cities have around the same number of human settlements have their center of administration as Deta ?
(c(Q486972),P1376,c(Q515))
action count
action approx
action find_reverse_tuple_counts
relation P1376
type Q515
type Q486972
action count
action filter_type
action find
entity Q851007
relation P1376
type Q515
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?s ) WHERE { ?c property:P1376 ?r . ?r rdf:type ontology:Q515 . ?c rdf:type ontology:Q486972 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o rdf:type ontology:Q515 . resource:Q851007 property:P1376 ?o } } . FILTER ( ?s = ?n ) }
Deta
action count
action approx
action find_reverse_tuple_counts
relation capital of
type city
type human settlement
action count
action filter_type
action find
entity Deta
relation capital of
type city
[{'concept': 'human settlement'}, 'capital of', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?s ) WHERE { ?c property:capital_of ?r . ?r rdf:type ontology:city . ?c rdf:type ontology:human_settlement } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o rdf:type ontology:city . resource:Deta property:capital_of ?o } } . FILTER ( ?s = ?n ) }
[]
city human settlement
SYSTEM
218
Q280364 Q168921 Q837161 Q253825 Q507846 Q283862 Q850974 Q3846983 Q935834 Q765841 Q851056 Q292769 Q851409 Q775799 Q585548 Q777619 Q508313 Q328647 Q584825 Q248018 Q169127 Q850982 Q835227 Q639520 Q851037 Q331577 Q1018204 Q771191 Q325736 Q275645 Q275642 Q855187 Q325732 Q3573941 Q837167 Q2198771 Q803706 Q850962 Q276156 Q265012 Q850969 Q386945 Q794200 Q276164 Q923254 Q556266 Q666373 Q851042 Q732851 Q207196 Q851048 Q571769 Q276168 Q276152 Q226000 Q591285 Q751352 Q737830 Q169135 Q837968 Q10860283 Q221214 Q789811 Q276120 Q837960 Q778516 Q209782 Q641218 Q276004 Q592480 Q203929 Q930102 Q837170 Q596043 Q250006 Q829051 Q276042 Q521108 Q275810 Q275895 Q423441 Q899427 Q179297 Q737276 Q276119 Q837173 Q225257 Q1018184 Q373707 Q946893 Q518992 Q376233 Q660417 Q666521 Q851007 Q276336 Q325555 Q252061 Q963829 Q739444 Q586387 Q912204 Q750220 Q570113 Q916156 Q610341 Q593157 Q267708 Q899454 Q590443 Q548502 Q568376 Q186719 Q276083 Q75537 Q535516 Q508057 Q754721 Q839796 Q837157 Q837154 Q837152 Q748068 Q743752 Q736276 Q276135 Q276137 Q276132 Q197687 Q383306 Q253872 Q1209 Q217131 Q899448 Q275990 Q248959 Q511951 Q855719 Q576804 Q834101 Q935846 Q75504 Q313689 Q629776 Q899551 Q275981 Q651322 Q906711 Q276128 Q790338 Q186214 Q756585 Q851001 Q292759 Q375371 Q276127 Q912224 Q855721 Q276009 Q305001 Q305182 Q169064 Q772576 Q1017982 Q166829 Q926163 Q247807 Q589880 Q526019 Q167121 Q275997 Q548575 Q275910 Q678884 Q668701 Q584531 Q587746 Q383085 Q756593 Q756590 Q756596 Q851013 Q167792 Q19660 Q602184 Q899467 Q276154 Q423371 Q899461 Q209977 Q650981 Q764806 Q791387 Q756578 Q390156 Q851021 Q592497 Q727421 Q276117 Q533078 Q851029 Q225100 Q423414 Q596609 Q655818 Q386091 Q386888 Q275904 Q275890 Q508670 Q125604 Q1006796 Q679428 Q276145 Q276146 Q213296 Q276141 Q850992
(c(Q486972),P1376,c(Q515))
action count
action approx
action find_reverse_tuple_counts
relation P1376
type Q515
type Q486972
action count
action filter_type
action find
entity Q851007
relation P1376
type Q515
[ANSWER]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?s ) WHERE { ?c property:P1376 ?r . ?r rdf:type ontology:Q515 . ?c rdf:type ontology:Q486972 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o rdf:type ontology:Q515 . resource:Q851007 property:P1376 ?o } } . FILTER ( ?s = ?n ) }
Titu Bragadiru Sânnicolau Mare Salcea Sebiș Băicoi Segarcea Șimleu Silvaniei Sângeorz-Băi Urlați Cristuru Secuiesc Întorsura Buzăului Budești Baia de Arieș Ocnele Mari Strehaia Nădlac Sulina Scornicești Isaccea Chitila Curtici Ineu Voluntari Comarnic Abrud Slănic Berești Ciacova Fierbinți-Târg Roznov Câmpeni Gătaia Săliște Hațeg Măgurele Baia Sprie Copșa Mică Berbești Bușteni Victoria Babadag Beclean Căzănești Fundulea Târgu Ocna Seini Hârlău Mioveni Zlatna Făget Boldești-Scăeni Pătârlagele Dragomirești Jimbolia Piatra-Olt Plopeni Mizil Pantelimon Băile Tușnad Broșteni Cugir Bălan Ulmeni Năvodari Baia de Aramă Borșa Videle Murgeni Târgu Bujor Zimnicea Tăuții-Măgherăuș Gura Humorului Ovidiu Slănic-Moldova Moldova Nouă Băneasa Dumbrăveni Cajvana Șomcuta Mare Țăndărei Iernut Nehoiu Cehu Silvaniei Liteni Cisnădie Rupea Cavnic Luduș Teiuș Călan Săcueni Jibou Târgu Cărbunești Deta Livada Recaș Valea lui Mihai Mihăilești Topoloveni Eforie Lehliu Gară Huedin Uricani Ghimbav Pogoanele Murfatlar Sovata Panciu Balș Anina Breaza Ocna Sibiului Potcoava Oțelu Roșu Azuga Drăgănești-Olt Corabia Borsec Covasna Simeria Ocna Mureș Hârșova Odobești Cernavodă Dăbuleni Milișăuți Pecica Miercurea Sibiului Tismana Bechet Free Hanseatic City of Bremen Buftea Negrești Răcari Zărnești Predeal Băile Govora Mărășești Bolintin-Vale Vlăhița Bocșa Agnita Vânju Mare Ianca Podu Iloaiei Năsăud Nucet Frasin Râșnov Turceni Buhuși Măcin Însurăței Călimănești Bălcești Techirghiol Băile Olănești Amara Negru Vodă Dărmănești Sângeorgiu de Pădure Negrești-Oaș Geoagiu Miercurea Nirajului Popești-Leordeni Săveni Pucioasa Brezoi Ungheni Ardud Aninoasa Sântana Fieni Tășnad Bumbești-Jiu Siret Oravița Târgu Neamț Comănești Filiași Vașcău Sărmașu Bucharest Solca Darabani Ștefănești Ștei Horezu Ștefănești Băile Herculane Rovinari Avrig Târgu Frumos Petrila Pâncota Vălenii de Munte Otopeni Dolhasca Baraolt Aleșd Bicaz Țicleni Vișeu de Sus Buziaș Novaci Târgu Lăpuș Flămânzi Băbeni Chișineu-Criș Găești Făurei Tălmaciu Vicovu de Sus Bucecea Sinaia Săliștea de Sus Costești
218
action count
action approx
action find_reverse_tuple_counts
relation capital of
type city
type human settlement
action count
action filter_type
action find
entity Deta
relation capital of
type city
[{'concept': 'human settlement'}, 'capital of', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?s ) WHERE { ?c property:capital_of ?r . ?r rdf:type ontology:city . ?c rdf:type ontology:human_settlement } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o rdf:type ontology:city . resource:Deta property:capital_of ?o } } . FILTER ( ?s = ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q639520
P1376
Q515 Q486972
USER
And also tell me about Voluntari?
(c(Q486972),P1376,c(Q515))
action count
action approx
action find_reverse_tuple_counts
relation P1376
type Q515
type Q486972
action count
action filter_type
action find
entity Q639520
relation P1376
type Q515
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?m ) WHERE { ?x rdf:type ontology:Q515 . ?t rdf:type ontology:Q486972 . ?t property:P1376 ?x } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Q639520 property:P1376 ?g . ?g rdf:type ontology:Q515 } } . FILTER ( ?m = ?i ) }
Voluntari
action count
action approx
action find_reverse_tuple_counts
relation capital of
type city
type human settlement
action count
action filter_type
action find
entity Voluntari
relation capital of
type city
[{'concept': 'human settlement'}, 'capital of', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?m ) WHERE { ?x rdf:type ontology:city . ?t rdf:type ontology:human_settlement . ?t property:capital_of ?x } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Voluntari property:capital_of ?g . ?g rdf:type ontology:city } } . FILTER ( ?m = ?i ) }
[]
city human settlement
SYSTEM
218
Q280364 Q168921 Q837161 Q253825 Q507846 Q283862 Q850974 Q3846983 Q935834 Q765841 Q851056 Q292769 Q851409 Q775799 Q585548 Q777619 Q508313 Q328647 Q584825 Q248018 Q169127 Q850982 Q835227 Q639520 Q851037 Q331577 Q1018204 Q771191 Q325736 Q275645 Q275642 Q855187 Q325732 Q3573941 Q837167 Q2198771 Q803706 Q850962 Q276156 Q265012 Q850969 Q386945 Q794200 Q276164 Q923254 Q556266 Q666373 Q851042 Q732851 Q207196 Q851048 Q571769 Q276168 Q276152 Q226000 Q591285 Q751352 Q737830 Q169135 Q837968 Q10860283 Q221214 Q789811 Q276120 Q837960 Q778516 Q209782 Q641218 Q276004 Q592480 Q203929 Q930102 Q837170 Q596043 Q250006 Q829051 Q276042 Q521108 Q275810 Q275895 Q423441 Q899427 Q179297 Q737276 Q276119 Q837173 Q225257 Q1018184 Q373707 Q946893 Q518992 Q376233 Q660417 Q666521 Q851007 Q276336 Q325555 Q252061 Q963829 Q739444 Q586387 Q912204 Q750220 Q570113 Q916156 Q610341 Q593157 Q267708 Q899454 Q590443 Q548502 Q568376 Q186719 Q276083 Q75537 Q535516 Q508057 Q754721 Q839796 Q837157 Q837154 Q837152 Q748068 Q743752 Q736276 Q276135 Q276137 Q276132 Q197687 Q383306 Q253872 Q1209 Q217131 Q899448 Q275990 Q248959 Q511951 Q855719 Q576804 Q834101 Q935846 Q75504 Q313689 Q629776 Q899551 Q275981 Q651322 Q906711 Q276128 Q790338 Q186214 Q756585 Q851001 Q292759 Q375371 Q276127 Q912224 Q855721 Q276009 Q305001 Q305182 Q169064 Q772576 Q1017982 Q166829 Q926163 Q247807 Q589880 Q526019 Q167121 Q275997 Q548575 Q275910 Q678884 Q668701 Q584531 Q587746 Q383085 Q756593 Q756590 Q756596 Q851013 Q167792 Q19660 Q602184 Q899467 Q276154 Q423371 Q899461 Q209977 Q650981 Q764806 Q791387 Q756578 Q390156 Q851021 Q592497 Q727421 Q276117 Q533078 Q851029 Q225100 Q423414 Q596609 Q655818 Q386091 Q386888 Q275904 Q275890 Q508670 Q125604 Q1006796 Q679428 Q276145 Q276146 Q213296 Q276141 Q850992
(c(Q486972),P1376,c(Q515))
action count
action approx
action find_reverse_tuple_counts
relation P1376
type Q515
type Q486972
action count
action filter_type
action find
entity Q639520
relation P1376
type Q515
[ANSWER]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?m ) WHERE { ?x rdf:type ontology:Q515 . ?t rdf:type ontology:Q486972 . ?t property:P1376 ?x } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Q639520 property:P1376 ?g . ?g rdf:type ontology:Q515 } } . FILTER ( ?m = ?i ) }
Titu Bragadiru Sânnicolau Mare Salcea Sebiș Băicoi Segarcea Șimleu Silvaniei Sângeorz-Băi Urlați Cristuru Secuiesc Întorsura Buzăului Budești Baia de Arieș Ocnele Mari Strehaia Nădlac Sulina Scornicești Isaccea Chitila Curtici Ineu Voluntari Comarnic Abrud Slănic Berești Ciacova Fierbinți-Târg Roznov Câmpeni Gătaia Săliște Hațeg Măgurele Baia Sprie Copșa Mică Berbești Bușteni Victoria Babadag Beclean Căzănești Fundulea Târgu Ocna Seini Hârlău Mioveni Zlatna Făget Boldești-Scăeni Pătârlagele Dragomirești Jimbolia Piatra-Olt Plopeni Mizil Pantelimon Băile Tușnad Broșteni Cugir Bălan Ulmeni Năvodari Baia de Aramă Borșa Videle Murgeni Târgu Bujor Zimnicea Tăuții-Măgherăuș Gura Humorului Ovidiu Slănic-Moldova Moldova Nouă Băneasa Dumbrăveni Cajvana Șomcuta Mare Țăndărei Iernut Nehoiu Cehu Silvaniei Liteni Cisnădie Rupea Cavnic Luduș Teiuș Călan Săcueni Jibou Târgu Cărbunești Deta Livada Recaș Valea lui Mihai Mihăilești Topoloveni Eforie Lehliu Gară Huedin Uricani Ghimbav Pogoanele Murfatlar Sovata Panciu Balș Anina Breaza Ocna Sibiului Potcoava Oțelu Roșu Azuga Drăgănești-Olt Corabia Borsec Covasna Simeria Ocna Mureș Hârșova Odobești Cernavodă Dăbuleni Milișăuți Pecica Miercurea Sibiului Tismana Bechet Free Hanseatic City of Bremen Buftea Negrești Răcari Zărnești Predeal Băile Govora Mărășești Bolintin-Vale Vlăhița Bocșa Agnita Vânju Mare Ianca Podu Iloaiei Năsăud Nucet Frasin Râșnov Turceni Buhuși Măcin Însurăței Călimănești Bălcești Techirghiol Băile Olănești Amara Negru Vodă Dărmănești Sângeorgiu de Pădure Negrești-Oaș Geoagiu Miercurea Nirajului Popești-Leordeni Săveni Pucioasa Brezoi Ungheni Ardud Aninoasa Sântana Fieni Tășnad Bumbești-Jiu Siret Oravița Târgu Neamț Comănești Filiași Vașcău Sărmașu Bucharest Solca Darabani Ștefănești Ștei Horezu Ștefănești Băile Herculane Rovinari Avrig Târgu Frumos Petrila Pâncota Vălenii de Munte Otopeni Dolhasca Baraolt Aleșd Bicaz Țicleni Vișeu de Sus Buziaș Novaci Târgu Lăpuș Flămânzi Băbeni Chișineu-Criș Găești Făurei Tălmaciu Vicovu de Sus Bucecea Sinaia Săliștea de Sus Costești
218
action count
action approx
action find_reverse_tuple_counts
relation capital of
type city
type human settlement
action count
action filter_type
action find
entity Voluntari
relation capital of
type city
[{'concept': 'human settlement'}, 'capital of', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?m ) WHERE { ?x rdf:type ontology:city . ?t rdf:type ontology:human_settlement . ?t property:capital_of ?x } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Voluntari property:capital_of ?g . ?g rdf:type ontology:city } } . FILTER ( ?m = ?i ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34006
P937
Q502895
USER
Who have Hollywood as their work location ?
(c(Q502895),P937,Q34006)
action filter_type
action find_reverse
entity Q34006
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q34006']
SELECT DISTINCT ?m WHERE { ?m property:P937 resource:Q34006 . ?m rdf:type ontology:Q502895 }
Hollywood
action filter_type
action find_reverse
entity Hollywood
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Hollywood']
SELECT DISTINCT ?m WHERE { ?m property:work_location resource:Hollywood . ?m rdf:type ontology:common_name }
[]
common name
Q8877 Q317033 Q2001
SYSTEM
Steven Spielberg, Dimitri Tiomkin, Stanley Kubrick
Q4961917 Q86560 Q520751 Q1233134 Q2001 Q88559 Q78639 Q27055270 Q215478 Q55424 Q1650107 Q285928 Q271324 Q317033 Q8877 Q60858 Q84920 Q51123 Q452737 Q2546756 Q5443 Q1067206 Q656020
(c(Q502895),P937,Q34006)
action filter_type
action find_reverse
entity Q34006
relation P937
type Q502895
[ANSWERS] have Hollywood as their work location
[{'concept': 'Q502895'}, 'P937', 'Q34006']
SELECT DISTINCT ?m WHERE { ?m property:P937 resource:Q34006 . ?m rdf:type ontology:Q502895 }
Monica Lewis Paul Kohner Gus Kahn John Kafka Stanley Kubrick Valerie von Martens Max Reinhardt Mary Klimek Terrence Malick Peter Weir Lotte Goslar Lewis Milestone Hedda Hopper Dimitri Tiomkin Steven Spielberg Douglas Sirk Herbert Rappaport D. W. Griffith William Nicholas Selig Walter Wicclair Greta Garbo Charlotte Hagenbruch Del Andrews
Steven Spielberg, Dimitri Tiomkin and Stanley Kubrick have Hollywood as their work location
Steven Spielberg Dimitri Tiomkin Stanley Kubrick
action filter_type
action find_reverse
entity Hollywood
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Hollywood']
SELECT DISTINCT ?m WHERE { ?m property:work_location resource:Hollywood . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q8877 Q317033 Q2001
P1411
Q4220917
USER
Which film awards did those people receive ?
(Q8877,P1411,c(Q4220917)) (Q317033,P1411,c(Q4220917)) (Q2001,P1411,c(Q4220917))
action filter_type
action find
entity prev_answer
relation P1411
type Q4220917
['Q8877', 'P1411', {'concept': 'Q4220917'}] ['Q317033', 'P1411', {'concept': 'Q4220917'}] ['Q2001', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?o WHERE { ?f property:P1411 ?o . ?o rdf:type ontology:Q4220917 . VALUES ( ?f ) { ( resource:Q4961917 ) ( resource:Q86560 ) ( resource:Q520751 ) } }
Steven Spielberg Dimitri Tiomkin Stanley Kubrick
action filter_type
action find
entity prev_answer
relation nominated for
type film award
['Steven Spielberg', 'nominated for', {'concept': 'film award'}] ['Dimitri Tiomkin', 'nominated for', {'concept': 'film award'}] ['Stanley Kubrick', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?o WHERE { ?f property:nominated_for ?o . ?o rdf:type ontology:film_award . VALUES ( ?f ) { ( resource:Monica_Lewis ) ( resource:Paul_Kohner ) ( resource:Gus_Kahn ) } }
[]
film award
Q22752811 Q102427 Q22752868
SYSTEM
Academy Award for Best Score, Adaptation or Treatment, Academy Award for Best Picture, Academy Award for Best Original Dramatic or Comedy Score
Q102427 Q103360 Q22752811 Q488651 Q22752868 Q22344608 Q107258 Q41417 Q393686 Q103360 Q102427
(Q8877,P1411,c(Q4220917)) (Q317033,P1411,c(Q4220917)) (Q2001,P1411,c(Q4220917))
action filter_type
action find
entity prev_answer
relation P1411
type Q4220917
Those people received the [ANSWERS]
['Q8877', 'P1411', {'concept': 'Q4220917'}] ['Q317033', 'P1411', {'concept': 'Q4220917'}] ['Q2001', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?o WHERE { ?f property:P1411 ?o . ?o rdf:type ontology:Q4220917 . VALUES ( ?f ) { ( resource:Q4961917 ) ( resource:Q86560 ) ( resource:Q520751 ) } }
Academy Award for Best Picture Academy Award for Best Director Academy Award for Best Score, Adaptation or Treatment Academy Award for Best Original Score Academy Award for Best Original Dramatic or Comedy Score Academy Award for Best Original Song Score Academy Award for Best Writing, Adapted Screenplay Academy Award for Best Writing, Original Screenplay Academy Award for Best Visual Effects Academy Award for Best Director Academy Award for Best Picture
Those people received the Academy Award for Best Score, Adaptation or Treatment, Academy Award for Best Picture and Academy Award for Best Original Dramatic or Comedy Score
Academy Award for Best Score, Adaptation or Treatment Academy Award for Best Picture Academy Award for Best Original Dramatic or Comedy Score
action filter_type
action find
entity prev_answer
relation nominated for
type film award
['Steven Spielberg', 'nominated for', {'concept': 'film award'}] ['Dimitri Tiomkin', 'nominated for', {'concept': 'film award'}] ['Stanley Kubrick', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?o WHERE { ?f property:nominated_for ?o . ?o rdf:type ontology:film_award . VALUES ( ?f ) { ( resource:Monica_Lewis ) ( resource:Paul_Kohner ) ( resource:Gus_Kahn ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2001
P344
Q838948
USER
Which works of art are Stanley Kubrick assigned to as the cinematographer ?
(c(Q838948),P344,Q2001)
action filter_type
action find_reverse
entity Q2001
relation P344
type Q838948
[{'concept': 'Q838948'}, 'P344', 'Q2001']
SELECT DISTINCT ?a WHERE { ?a property:P344 resource:Q2001 . ?a rdf:type ontology:Q838948 }
Stanley Kubrick
action filter_type
action find_reverse
entity Stanley Kubrick
relation director of photography
type work of art
[{'concept': 'work of art'}, 'director of photography', 'Stanley Kubrick']
SELECT DISTINCT ?a WHERE { ?a property:director_of_photography resource:Stanley_Kubrick . ?a rdf:type ontology:work_of_art }
[]
work of art
Q243439 Q936477 Q929157
SYSTEM
Full Metal Jacket, Killer's Kiss, Fear and Desire
Q243439 Q929157 Q936477 Q2164458
(c(Q838948),P344,Q2001)
action filter_type
action find_reverse
entity Q2001
relation P344
type Q838948
Stanley Kubrick are assigned to the [ANSWERS] as the cinematographer
[{'concept': 'Q838948'}, 'P344', 'Q2001']
SELECT DISTINCT ?a WHERE { ?a property:P344 resource:Q2001 . ?a rdf:type ontology:Q838948 }
Full Metal Jacket Fear and Desire Killer's Kiss The Seafarers
Stanley Kubrick are assigned to the Full Metal Jacket, Killer's Kiss and Fear and Desire as the cinematographer
Full Metal Jacket Killer's Kiss Fear and Desire
action filter_type
action find_reverse
entity Stanley Kubrick
relation director of photography
type work of art
[{'concept': 'work of art'}, 'director of photography', 'Stanley Kubrick']
SELECT DISTINCT ?a WHERE { ?a property:director_of_photography resource:Stanley_Kubrick . ?a rdf:type ontology:work_of_art }
[]