Simple Question (Direct)
Simple Question
Q3310953
P102
Q7210356
USER
Which political organization is Michel Temporal a member of ?
(Q3310953,P102,c(Q7210356))
action filter_type
action find
entity Q3310953
relation P102
type Q7210356
['Q3310953', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q3310953 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Michel Temporal
action filter_type
action find
entity Michel Temporal
relation member of political party
type political organization
['Michel Temporal', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:Michel_Temporal property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
political organization
Q11502881
SYSTEM
Republican, Radical and Radical-Socialist Party
Q11502881
(Q3310953,P102,c(Q7210356))
action filter_type
action find
entity Q3310953
relation P102
type Q7210356
The [ANSWER] is Michel Temporal a member of
['Q3310953', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q3310953 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Republican, Radical and Radical-Socialist Party
The Republican, Radical and Radical-Socialist Party is Michel Temporal a member of
Republican, Radical and Radical-Socialist Party
action filter_type
action find
entity Michel Temporal
relation member of political party
type political organization
['Michel Temporal', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:Michel_Temporal property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3310953
P21
Q290
USER
What is the sex of Michel Temporal ?
(Q3310953,P21,c(Q290))
action filter_type
action find
entity Q3310953
relation P21
type Q290
['Q3310953', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q3310953 property:P21 ?m . ?m rdf:type ontology:Q290 }
Michel Temporal
action filter_type
action find
entity Michel Temporal
relation gender
type sex
['Michel Temporal', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Michel_Temporal property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3310953,P21,c(Q290))
action filter_type
action find
entity Q3310953
relation P21
type Q290
The sex of Michel Temporal is the [ANSWER]
['Q3310953', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q3310953 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
The sex of Michel Temporal is the male
male
action filter_type
action find
entity Michel Temporal
relation gender
type sex
['Michel Temporal', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Michel_Temporal property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4408557
Q290
USER
And how about Kərim Sərdarov?
(Q4408557,P21,c(Q290))
action filter_type
action find
entity Q4408557
relation P21
type Q290
['Q4408557', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q290 . resource:Q4408557 property:P21 ?a }
Kərim Sərdarov
action filter_type
action find
entity Kərim Sərdarov
relation gender
type sex
['Kərim Sərdarov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sex . resource:Kərim_Sərdarov property:gender ?a }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4408557,P21,c(Q290))
action filter_type
action find
entity Q4408557
relation P21
type Q290
[ANSWER]
['Q4408557', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q290 . resource:Q4408557 property:P21 ?a }
male
male
action filter_type
action find
entity Kərim Sərdarov
relation gender
type sex
['Kərim Sərdarov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sex . resource:Kərim_Sərdarov property:gender ?a }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q502895 Q838948 Q15850590
USER
How many people are exactly 1 works of art or theatrical genres a fork of ?
(c(Q838948)|c(Q15850590),P144,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15850590
value 1
[[{'concept': 'Q838948'}, {'concept': 'Q15850590'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { FILTER ( ?z = 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?z ) WHERE { { ?k property:P144 ?u . ?k rdf:type ontology:Q838948 . ?u rdf:type ontology:Q502895 } UNION { ?k property:P144 ?u . ?u rdf:type ontology:Q502895 . ?k rdf:type ontology:Q15850590 } } GROUP BY ?u } }
action count
action equal
action union
action find_reverse_tuple_counts
relation based on
type common name
type work of art
action find_reverse_tuple_counts
relation based on
type common name
type theatrical genre
value 1
[[{'concept': 'work of art'}, {'concept': 'theatrical genre'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { FILTER ( ?z = 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?z ) WHERE { { ?k property:based_on ?u . ?k rdf:type ontology:work_of_art . ?u rdf:type ontology:common_name } UNION { ?k property:based_on ?u . ?u rdf:type ontology:common_name . ?k rdf:type ontology:theatrical_genre } } GROUP BY ?u } }
[]
common name work of art theatrical genre
SYSTEM
342
Q5213748 Q4761074 Q6956765 Q6270274 Q11975 Q7346914 Q5523435 Q6170802 Q7329545 Q6105915 Q4910639 Q6219253 Q5677173 Q3416089 Q3034976 Q3607759 Q3051562 Q8068814 Q6253512 Q51513 Q6523571 Q4739623 Q81000 Q5346446 Q40939 Q3141517 Q7613152 Q5941619 Q852306 Q7364949 Q333265 Q897973 Q5488892 Q6244057 Q134958 Q6881211 Q6261706 Q7368981 Q4796744 Q4759664 Q5685 Q5686 Q4128234 Q5673 Q5679 Q130631 Q7381376 Q6272923 Q3568976 Q5363776 Q6776113 Q3218695 Q6388687 Q5478599 Q937459 Q7372970 Q6241721 Q70326 Q7855008 Q7287789 Q6106879 Q348001 Q167752 Q310800 Q93349 Q5927524 Q6375547 Q7000426 Q160333 Q3471259 Q1303974 Q5262123 Q6773628 Q8015110 Q5386986 Q2669574 Q5431144 Q7226 Q2479548 Q3159808 Q6147389 Q5361154 Q5107501 Q7200 Q5233328 Q6965802 Q3179129 Q13427328 Q958256 Q1658606 Q6141832 Q6469613 Q7437284 Q191103 Q7458228 Q3183180 Q3530721 Q3020878 Q4763725 Q5322119 Q5052809 Q6451338 Q7363505 Q5314594 Q11238103 Q5314597 Q8029867 Q6250890 Q7332345 Q12309539 Q5538431 Q3228926 Q6681382 Q932961 Q6702448 Q266789 Q13115017 Q6529581 Q378053 Q219780 Q4411247 Q6988258 Q154438 Q3453643 Q555195 Q6209183 Q7143507 Q57242 Q11618411 Q7287962 Q6744190 Q4773434 Q6134013 Q844318 Q7812697 Q298877 Q75746 Q2146982 Q692 Q3431063 Q168962 Q5701833 Q5181529 Q1357554 Q5213609 Q7273310 Q5660079 Q734955 Q3619249 Q5298523 Q7922094 Q5193069 Q1445614 Q7436898 Q11447916 Q202749 Q7025282 Q6773747 Q7093943 Q7447135 Q608806 Q4065275 Q177854 Q503068 Q5545478 Q311070 Q6257365 Q4817706 Q185696 Q6409985 Q8963 Q1398 Q5849494 Q3331614 Q14338667 Q5560909 Q2502372 Q7911349 Q186486 Q5363538 Q5344093 Q3047194 Q6297405 Q154010 Q154014 Q1361147 Q7613410 Q6796103 Q3347897 Q6134127 Q3595313 Q46926 Q2085146 Q5089814 Q5549017 Q202650 Q7704287 Q4730754 Q7437294 Q4898960 Q5363054 Q506878 Q548960 Q6760327 Q7456663 Q5077339 Q4187362 Q148714 Q5272307 Q3105052 Q5640722 Q4899508 Q3301790 Q4696245 Q3376515 Q5610225 Q350552 Q6962760 Q5363300 Q7181755 Q3430915 Q2493515 Q6793420 Q840990 Q139739 Q154340 Q6074798 Q5361214 Q81445 Q5444237 Q3157127 Q7150519 Q7369542 Q7668588 Q6762778 Q6304164 Q41223 Q5145551 Q1956342 Q7347337 Q6143676 Q13564502 Q4647806 Q649790 Q5026262 Q699619 Q22670 Q11270727 Q3262364 Q7364277 Q7436164 Q2396324 Q7307753 Q7670494 Q3334185 Q7357712 Q7397840 Q43718 Q768296 Q1391877 Q2845322 Q6446710 Q1494674 Q3182354 Q22714 Q3568651 Q5106606 Q337185 Q6101 Q7175413 Q5006730 Q5516058 Q6914955 Q7706913 Q5344127 Q4864658 Q6774650 Q213549 Q3564902 Q4446505 Q1755191 Q191305 Q493 Q5294036 Q6938000 Q370392 Q1527473 Q1237718 Q4518059 Q170846 Q1485988 Q7177457 Q4808343 Q6282963 Q3909034 Q319261 Q7346262 Q6531163 Q1383201 Q132695 Q3595177 Q154732 Q3081707 Q3088826 Q155855 Q4772439 Q5071329 Q6833091 Q4897616 Q5529938 Q12768607 Q5423761 Q5354389 Q7456549 Q13559801 Q6152339 Q4900700 Q5216759 Q191999 Q6963187 Q6680423 Q5586024 Q5620219 Q3849499 Q237196 Q634100 Q7668479 Q5136879 Q3327572 Q13115080 Q9096027 Q14302511 Q6409284 Q2723574 Q7688102 Q245802 Q318462 Q6135694 Q1912368 Q3469340 Q5339868 Q11685189
(c(Q838948)|c(Q15850590),P144,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15850590
value 1
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q15850590'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { FILTER ( ?z = 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?z ) WHERE { { ?k property:P144 ?u . ?k rdf:type ontology:Q838948 . ?u rdf:type ontology:Q502895 } UNION { ?k property:P144 ?u . ?u rdf:type ontology:Q502895 . ?k rdf:type ontology:Q15850590 } } GROUP BY ?u } }
Dan Jenkins Andy Mulligan Nabarun Bhattacharya Jon Abbate Britney Spears Robert Lindsey Garland Roark Jean Hanff Korelitz Richard Tregaskis J. H. Wallis Bill Richmond John Appleby Harvey Fergusson Rachel Crothers Dominique Barbéris Alan Le May Elmer Blaney Harris Zelma Roberts John Pudney Hugo von Hofmannsthal Leo Brady Amanda Foreman Richard II of England Edwin Gilbert Aeschylus Pêr-Jakez Helias Steve Lieber Humphrey Slater Fred Mustard Stewart Ronald Hugh Morrieson Léon Theremin Pavol Dobšinský Frank Parkin John Larkin Taras Shevchenko Mitchell F. Jayne John Vaillant Rosita Forbes Art Cohn Andrzej Mularczyk Anton Chekhov Charles Dickens William P. Wood Hans Christian Andersen Lord Byron Jacques Derrida Russell Braddon Jonathan Dawson William Still Elizabeth Young Martin Maher Laura Kasischke Ken Wheat Frances Doel Niranjan Pal Roy Horniman John Jay Osborn, Jr. Pierre Beaumarchais Turk Pipkin Ralph Leighton J. R. Salamanca Rainis Zequinha de Abreu John Reed Bessie Smith Hubert Osborne Kate Howarde Netta Syrett Prosper Mérimée Samuel W. Taylor Eileen Joyce Derek Lambert Marshall Houts William Marchant Eric Lomax Barry Gifford Faith Baldwin Joan of Arc Bas Jan Ader Jacques Prevel Jamie Reidy Elinor Lipman Chris Morgan Alexander Pushkin David Elfick Narendranath Mitra Jimmy Starr Joseph Moncure March Fujio Akatsuka Ilja Prachař James Ramsey Ullman Ladislas Farago Scott Sommer Lucrezia Borgia Sewell Stokes Jon Cleary Tom Eyen Deborah Moggach Angna Enters E. Ray Goetz Catherine Marshall Kyle Onstott Ron Barrett Duncan Rouleau T. R. Sundaram Duncan Sarkies Wolf Mankowitz John O'Grady Rida Johnson Young Eik Skaløe George Dawes Green Lee Robinson Lorna Moon Mary Jane Ward Luke Whisnant Rebecca Schaeffer Santhosh Echikkanam Les Haylen Rob Roy MacGregor Hunter S. Thompson Glendon Swarthout Neil B. Shulman Franz Grillparzer Ruth Snyder Héctor Lavoe Joe Connelly Pat Hanna August von Kotzebue Hiroshi Aramata Ralph Peterson Mallika Yunis Anthony Scott Veitch James Fogle Hase Seishū Todd Walton Giuliano de' Medici G. A. Kulkarni Gabrielle Lord William Shakespeare Richard N. Goodwin Torquato Tasso Helen Ashton Craig Titley Svetozár Hurban-Vajanský Dan Greenburg R.B. Russell Harold Bell Wright Robinson Jeffers Antonio Beltramelli Dorothy M. Johnson Vernon Coleman Cully Hamner František Kubka Scott Moore Kan Shimozawa Edmond Rostand Nicholas Dante Marshall Pugh Oniroku Dan Sekar Ayu Asmara Yumiko Kawahara Alex Anderson Lorenzo de' Medici Andrej Sládkovič George Vecsey David Crockett John Seybold Atrpet Louisa May Alcott Kimberly Willis Holt Johannes Kepler Virgil Richard Hough Myron Coureval Fagan Zainab Singh Gilbert Frankau Alan White Valerie Tripp Hachikō Elizabeth Spencer Edward Lee Ed Naha Joyce Brabner Christoph Martin Wieland Georg Büchner Boris Lavrenyov Steve Moore Mary Gleed Tuttiett Ashapoorna Devi James Fox S. K. Pottekkatt Chetan Bhagat Philip Van Doren Stern Chelangatt Gopalakrishnan Gerald Clarke Abd el-Krim Terry Davis Allan Knee Scott Spencer Betty Roland Elizabeth Kata Emmett Till David Graham Phillips Marghanita Laski Sethu Charles Einstein Ahmad Tohari Jaime Escalante Dibyendu Palit Giacomo Francesco Bussani Hal Carleton Beverly Donofrio Maury Dexter Ahn Jung-hyo Peter Corris Yoshikazu Takeuchi Kálmán Mikszáth Nancy Jo Sales Elizabeth Packard Phil Campbell Richard Jessup Else Holmelund Minarik Maurice Procter Yang Sok-il Walker Hamilton Francis Bacon Irving Shulman Eliot Asinof Salawat Yulayev Ferguson Findley Jack Bernstein Paul Ernst Ross Napier T. Padmanabhan Marie Brenner Philippe Mora Boris Pasternak Colin Scrimgeour Taku Mayumura Robert Marasco James Still T. P. Rajeevan A. G. Street Harry Grey Cameron Hawley Vladislav Vančura Friedrich Schiller James Bridie Louis Joseph Vance Ron Powers Scott Corbett David Giler Reg Cribb TJ Dawe Susan Isaacs Rogelio Barriga Rivas Sadguru Sivananda Murty Nikolai Gogol Margaret Ayer Barnes František Hrubín Anandi Gopal Joshi Kurt Eichenwald James Hunter John Requa Karl May William Gay Chris Fuhrman Audie Murphy Marco Polo Peter Lefcourt C. N. Sreekantan Nair Gabrielle Carey Morton Thompson Tetsuo Takashima Edward Levy Barry Reed Marthe Cnockaert Friedrich Maximilian Klinger Zikmund Winter Katariina Souri Sutan Takdir Alisjahbana Gérard de Nerval Arthur Rimbaud Donald Bevan Nicholas Markowitz Borisav Stanković Gisela Werler Franz-Olivier Giesbert Hank Searls Erzsébet Báthory Mikheil Javakhishvili Peter Van Greenaway Assaf Bernstein Joseph F. Dinneen Porter Emerson Browne Eugène Scribe Robert Kaplow Leslie Stokes Ján Hollý Harry Martinson Jessica Lal Agrippina the Younger Ib Melchior Grace Zaring Stone Karel Čapek Anthony E. Pratt Chandradhar Sharma Guleri Michael Noonan Beth Raymer Geeta Anand Ján Poničan F.J. Thwaites Eleanor Smith Seth Margolis Harris Goldberg Jane Hamilton Bhagwati Charan Verma Daniel Carney Robert McNamara Nandanar Loren Singer Gordon Young Gurney Slade Mark Jacobson H. Rider Haggard Josef Kajetán Tyl T. Lewis Clyde Brion Davis Mukul S. Anand C. V. Balakrishnan William Craig Boota Singh Kim Ryeo-ryeong Narsinh Mehta Tatiana Niculescu Bran Alexandre Stavisky Edward Bulwer-Lytton James Haskins Max Catto Sakae Tsuboi Edmund Trzcinski John Farris
342
action count
action equal
action union
action find_reverse_tuple_counts
relation based on
type common name
type work of art
action find_reverse_tuple_counts
relation based on
type common name
type theatrical genre
value 1
[[{'concept': 'work of art'}, {'concept': 'theatrical genre'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { FILTER ( ?z = 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?z ) WHERE { { ?k property:based_on ?u . ?k rdf:type ontology:work_of_art . ?u rdf:type ontology:common_name } UNION { ?k property:based_on ?u . ?u rdf:type ontology:common_name . ?k rdf:type ontology:theatrical_genre } } GROUP BY ?u } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q623686 Q3310953
P19
Q515
USER
Which cities are the birthplace of Michel Temporal or Baek In-chun ?
OR((Q3310953,P19,c(Q515)), (Q623686,P19,c(Q515)))
action filter_type
action union
action find
entity Q3310953
relation P19
action find
entity Q623686
relation P19
type Q515
{'OR': [['Q3310953', 'P19', {'concept': 'Q515'}], ['Q623686', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q515 . { VALUES ( ?y ) { ( resource:Q3310953 ) ( resource:Q623686 ) } . ?y property:P19 ?j } }
Baek In-chun Michel Temporal
action filter_type
action union
action find
entity Michel Temporal
relation place of birth
action find
entity Baek In-chun
relation place of birth
type city
{'OR': [['Michel Temporal', 'place of birth', {'concept': 'city'}], ['Baek In-chun', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:city . { VALUES ( ?y ) { ( resource:Michel_Temporal ) ( resource:Baek_In-chun ) } . ?y property:place_of_birth ?j } }
[]
city
Q456 Q42651
SYSTEM
Lyon, Wuxi
Q456 Q42651
OR((Q3310953,P19,c(Q515)), (Q623686,P19,c(Q515)))
action filter_type
action union
action find
entity Q3310953
relation P19
action find
entity Q623686
relation P19
type Q515
[ANSWERS] are the birthplace of Michel Temporal or Baek In-chun
{'OR': [['Q3310953', 'P19', {'concept': 'Q515'}], ['Q623686', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q515 . { VALUES ( ?y ) { ( resource:Q3310953 ) ( resource:Q623686 ) } . ?y property:P19 ?j } }
Lyon Wuxi
Lyon and Wuxi are the birthplace of Michel Temporal or Baek In-chun
Lyon Wuxi
action filter_type
action union
action find
entity Michel Temporal
relation place of birth
action find
entity Baek In-chun
relation place of birth
type city
{'OR': [['Michel Temporal', 'place of birth', {'concept': 'city'}], ['Baek In-chun', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:city . { VALUES ( ?y ) { ( resource:Michel_Temporal ) ( resource:Baek_In-chun ) } . ?y property:place_of_birth ?j } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q456 Q42651
P190
Q56061
USER
Which administrative territories are twin cities of Lyon and Wuxi ?
(Q456,P190,c(Q56061)) (Q42651,P190,c(Q56061))
action union
action filter_type
action find
entity Q456
relation P190
type Q56061
action filter_type
action find
entity Q42651
relation P190
type Q56061
['Q456', 'P190', {'concept': 'Q56061'}] ['Q42651', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?z property:P190 ?k . VALUES ( ?z ) { ( resource:Q456 ) ( resource:Q42651 ) } }
Lyon Wuxi
action union
action filter_type
action find
entity Lyon
relation sister city
type administrative territorial entity
action filter_type
action find
entity Wuxi
relation sister city
type administrative territorial entity
['Lyon', 'sister city', {'concept': 'administrative territorial entity'}] ['Wuxi', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?z property:sister_city ?k . VALUES ( ?z ) { ( resource:Lyon ) ( resource:Wuxi ) } }
[]
administrative territorial entity
Q490 Q2280 Q580
SYSTEM
Milan, Minsk, Łódź
Q41572 Q45779 Q41843 Q4361 Q580 Q5687 Q38022 Q172415 Q490 Q2280 Q6506 Q41183 Q3820 Q668546 Q151920 Q200028 Q273059 Q975
(Q456,P190,c(Q56061)) (Q42651,P190,c(Q56061))
action union
action filter_type
action find
entity Q456
relation P190
type Q56061
action filter_type
action find
entity Q42651
relation P190
type Q56061
[ANSWERS] are twin cities of Lyon and Wuxi
['Q456', 'P190', {'concept': 'Q56061'}] ['Q42651', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?z property:P190 ?k . VALUES ( ?z ) { ( resource:Q456 ) ( resource:Q42651 ) } }
Mykolaiv Pécs Beersheba Curitiba Łódź Jericho St. Louis Kutaisi Milan Minsk Varna Aleppo Beirut Davis Tiberias Hamilton Cascais San Antonio
Milan, Minsk and Łódź are twin cities of Lyon and Wuxi
Milan Minsk Łódź
action union
action filter_type
action find
entity Lyon
relation sister city
type administrative territorial entity
action filter_type
action find
entity Wuxi
relation sister city
type administrative territorial entity
['Lyon', 'sister city', {'concept': 'administrative territorial entity'}] ['Wuxi', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?z property:sister_city ?k . VALUES ( ?z ) { ( resource:Lyon ) ( resource:Wuxi ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2280
P1444
Q2912397
USER
Which single-day race finally halts at Minsk ?
(c(Q2912397),P1444,Q2280)
action filter_type
action find_reverse
entity Q2280
relation P1444
type Q2912397
[{'concept': 'Q2912397'}, 'P1444', 'Q2280']
SELECT DISTINCT ?z WHERE { ?z property:P1444 resource:Q2280 . ?z rdf:type ontology:Q2912397 }
Minsk
action filter_type
action find_reverse
entity Minsk
relation destination point
type single-day race
[{'concept': 'single-day race'}, 'destination point', 'Minsk']
SELECT DISTINCT ?z WHERE { ?z property:destination_point resource:Minsk . ?z rdf:type ontology:single-day_race }
[]
single-day race
Q21418944
SYSTEM
Minsk Cup 2015
Q21418944
(c(Q2912397),P1444,Q2280)
action filter_type
action find_reverse
entity Q2280
relation P1444
type Q2912397
Which single-day race finally halts at Minsk
[{'concept': 'Q2912397'}, 'P1444', 'Q2280']
SELECT DISTINCT ?z WHERE { ?z property:P1444 resource:Q2280 . ?z rdf:type ontology:Q2912397 }
Minsk Cup 2015
Which single-day race finally halts at Minsk
Minsk Cup 2015
action filter_type
action find_reverse
entity Minsk
relation destination point
type single-day race
[{'concept': 'single-day race'}, 'destination point', 'Minsk']
SELECT DISTINCT ?z WHERE { ?z property:destination_point resource:Minsk . ?z rdf:type ontology:single-day_race }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21418944
P1427
Q56061
USER
Where does that single-day race originate from ?
(Q21418944,P1427,c(Q56061))
action filter_type
action find
entity Q21418944
relation P1427
type Q56061
['Q21418944', 'P1427', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q21418944 property:P1427 ?d }
Minsk Cup 2015
action filter_type
action find
entity Minsk Cup 2015
relation start point
type administrative territorial entity
['Minsk Cup 2015', 'start point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Minsk_Cup_2015 property:start_point ?d }
[]
administrative territorial entity
Q2280
SYSTEM
Minsk
Q2280
(Q21418944,P1427,c(Q56061))
action filter_type
action find
entity Q21418944
relation P1427
type Q56061
[ANSWER] that single-day race originates from
['Q21418944', 'P1427', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q21418944 property:P1427 ?d }
Minsk
Minsk that single-day race originates from
Minsk
action filter_type
action find
entity Minsk Cup 2015
relation start point
type administrative territorial entity
['Minsk Cup 2015', 'start point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Minsk_Cup_2015 property:start_point ?d }
[]