Simple Question (Direct)
Simple Question
Q1070701
P20
Q56061
USER
Where did the expiration of Chester D. Hubbard occur ?
(Q1070701,P20,c(Q56061))
action filter_type
action find
entity Q1070701
relation P20
type Q56061
['Q1070701', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q1070701 property:P20 ?m . ?m rdf:type ontology:Q56061 }
Chester D. Hubbard
action filter_type
action find
entity Chester D. Hubbard
relation place of death
type administrative territorial entity
['Chester D. Hubbard', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Chester_D._Hubbard property:place_of_death ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q838112
SYSTEM
Wheeling
Q838112
(Q1070701,P20,c(Q56061))
action filter_type
action find
entity Q1070701
relation P20
type Q56061
The expiration of Chester D. did [ANSWER]
['Q1070701', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q1070701 property:P20 ?m . ?m rdf:type ontology:Q56061 }
Wheeling
The expiration of Chester D. did Wheeling
Wheeling
action filter_type
action find
entity Chester D. Hubbard
relation place of death
type administrative territorial entity
['Chester D. Hubbard', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Chester_D._Hubbard property:place_of_death ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1070701
P119
Q43229
USER
Where was Chester D. Hubbard buried ?
(Q1070701,P119,c(Q43229))
action filter_type
action find
entity Q1070701
relation P119
type Q43229
['Q1070701', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q43229 . resource:Q1070701 property:P119 ?f }
Chester D. Hubbard
action filter_type
action find
entity Chester D. Hubbard
relation place of burial
type organization
['Chester D. Hubbard', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:organization . resource:Chester_D._Hubbard property:place_of_burial ?f }
[]
organization
Q5605003
SYSTEM
Greenwood Cemetery
Q5605003
(Q1070701,P119,c(Q43229))
action filter_type
action find
entity Q1070701
relation P119
type Q43229
Chester D. Hubbard was buried in [ANSWER]
['Q1070701', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q43229 . resource:Q1070701 property:P119 ?f }
Greenwood Cemetery
Chester D. Hubbard was buried in Greenwood Cemetery
Greenwood Cemetery
action filter_type
action find
entity Chester D. Hubbard
relation place of burial
type organization
['Chester D. Hubbard', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:organization . resource:Chester_D._Hubbard property:place_of_burial ?f }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1681328
Q43229
USER
And how about Sir James Wylie?
(Q1681328,P119,c(Q43229))
action filter_type
action find
entity Q1681328
relation P119
type Q43229
['Q1681328', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?k WHERE { resource:Q1681328 property:P119 ?k . ?k rdf:type ontology:Q43229 }
Sir James Wylie
action filter_type
action find
entity Sir James Wylie
relation place of burial
type organization
['Sir James Wylie', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?k WHERE { resource:Sir_James_Wylie property:place_of_burial ?k . ?k rdf:type ontology:organization }
[]
organization
Q1848616
SYSTEM
Volkovo Cemetery
Q1848616
(Q1681328,P119,c(Q43229))
action filter_type
action find
entity Q1681328
relation P119
type Q43229
[ANSWER]
['Q1681328', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?k WHERE { resource:Q1681328 property:P119 ?k . ?k rdf:type ontology:Q43229 }
Volkovo Cemetery
Volkovo Cemetery
action filter_type
action find
entity Sir James Wylie
relation place of burial
type organization
['Sir James Wylie', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?k WHERE { resource:Sir_James_Wylie property:place_of_burial ?k . ?k rdf:type ontology:organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1848616 Q159
P17
Q15617994
USER
Is that organization a part of Russia ?
(Q1848616,P17,Q159)
action is_in
entity Q159
action find
entity Q1848616
relation P17
['Q1848616', 'P17', 'Q159']
ASK WHERE { resource:Q1848616 property:P17 resource:Q159 }
Volkovo Cemetery Russia
action is_in
entity Russia
action find
entity Volkovo Cemetery
relation country
['Volkovo Cemetery', 'country', 'Russia']
ASK WHERE { resource:Volkovo_Cemetery property:country resource:Russia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1848616,P17,Q159)
action is_in
entity Q159
action find
entity Q1848616
relation P17
[ANSWER]
['Q1848616', 'P17', 'Q159']
ASK WHERE { resource:Q1848616 property:P17 resource:Q159 }
Yes
action is_in
entity Russia
action find
entity Volkovo Cemetery
relation country
['Volkovo Cemetery', 'country', 'Russia']
ASK WHERE { resource:Volkovo_Cemetery property:country resource:Russia }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P466
Q43229 Q1076486 Q811430
USER
How many organizations are a tenants of atleast 1 sports venues or constructions ?
(c(Q1076486)|c(Q811430),P466,c(Q43229))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P466
type Q43229
type Q1076486
action find_reverse_tuple_counts
relation P466
type Q43229
type Q811430
value 1
[[{'concept': 'Q1076486'}, {'concept': 'Q811430'}], 'P466', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?v ) WHERE { ?d rdf:type ?u . VALUES ( ?u ) { ( ontology:Q1076486 ) ( ontology:Q811430 ) } } GROUP BY ?e } . FILTER ( ?v >= 1 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation occupant
type organization
type sports venue
action find_reverse_tuple_counts
relation occupant
type organization
type construction
value 1
[[{'concept': 'sports venue'}, {'concept': 'construction'}], 'occupant', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?v ) WHERE { ?d rdf:type ?u . VALUES ( ?u ) { ( ontology:sports_venue ) ( ontology:construction ) } } GROUP BY ?e } . FILTER ( ?v >= 1 ) }
[]
organization sports venue construction
SYSTEM
17
Q7843791 Q94849 Q18656 Q494795 Q491990 Q730587 Q5880423 Q678745 Q2927468 Q282903 Q569417 Q971195 Q1624735 Q7848198 Q920562 Q7631308 Q1759468
(c(Q1076486)|c(Q811430),P466,c(Q43229))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P466
type Q43229
type Q1076486
action find_reverse_tuple_counts
relation P466
type Q43229
type Q811430
value 1
[ANSWER]
[[{'concept': 'Q1076486'}, {'concept': 'Q811430'}], 'P466', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?v ) WHERE { ?d rdf:type ?u . VALUES ( ?u ) { ( ontology:Q1076486 ) ( ontology:Q811430 ) } } GROUP BY ?e } . FILTER ( ?v >= 1 ) }
consulate Odebrecht Manchester United F.C. Korea Baseball Organization Hanwha Life Insurance Cunard Line Holiday Inn Express Navy Midshipmen Ohio State Buckeyes Seabourn Cruise Line Anschutz Entertainment Group Alabama Crimson Tide Holland America Line Trustee Savings Bank Gator Bowl Subiaco Football Club P&O Cruises
17
action count
action atleast
action union
action find_reverse_tuple_counts
relation occupant
type organization
type sports venue
action find_reverse_tuple_counts
relation occupant
type organization
type construction
value 1
[[{'concept': 'sports venue'}, {'concept': 'construction'}], 'occupant', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?v ) WHERE { ?d rdf:type ?u . VALUES ( ?u ) { ( ontology:sports_venue ) ( ontology:construction ) } } GROUP BY ?e } . FILTER ( ?v >= 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1262076 Q159
P6 P86
Q502895
USER
Which people have Russia as their heads of government or were Ministry of Fear composed by ?
OR((Q159,P6,c(Q502895)), (Q1262076,P86,c(Q502895)))
action filter_type
action union
action find
entity Q159
relation P6
action find
entity Q1262076
relation P86
type Q502895
{'OR': [['Q159', 'P6', {'concept': 'Q502895'}], ['Q1262076', 'P86', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q1262076 property:P86 ?h } UNION { resource:Q159 property:P6 ?h } } . ?h rdf:type ontology:Q502895 }
Ministry of Fear Russia
action filter_type
action union
action find
entity Russia
relation head of government
action find
entity Ministry of Fear
relation composer
type common name
{'OR': [['Russia', 'head of government', {'concept': 'common name'}], ['Ministry of Fear', 'composer', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Ministry_of_Fear property:composer ?h } UNION { resource:Russia property:head_of_government ?h } } . ?h rdf:type ontology:common_name }
[]
common name
Q190884 Q365199 Q7747 Q62551 Q313989 Q317667 Q150080 Q23530 Q34453 Q82695
SYSTEM
Some of them are Viktor Chernomyrdin, Victor Young, Vladimir Putin, Mikhail Kasyanov, Sergei Stepashin, Viktor Khristenko, Mikhail Fradkov, Dmitry Medvedev, Boris Yeltsin, Yegor Gaidar
Q7747 Q23530 Q313989 Q190884 Q62551 Q82695 Q365199 Q34453 Q147425 Q317667 Q313915 Q270529 Q150080
OR((Q159,P6,c(Q502895)), (Q1262076,P86,c(Q502895)))
action filter_type
action union
action find
entity Q159
relation P6
action find
entity Q1262076
relation P86
type Q502895
[ANSWERS] have Russia as their heads of government or were Ministry of Fear composed by
{'OR': [['Q159', 'P6', {'concept': 'Q502895'}], ['Q1262076', 'P86', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q1262076 property:P86 ?h } UNION { resource:Q159 property:P6 ?h } } . ?h rdf:type ontology:Q502895 }
Vladimir Putin Dmitry Medvedev Sergei Stepashin Viktor Chernomyrdin Mikhail Kasyanov Yegor Gaidar Victor Young Boris Yeltsin Viktor Zubkov Viktor Khristenko Sergey Kiriyenko Yevgeny Primakov Mikhail Fradkov
Viktor Chernomyrdin, Victor Young, Vladimir Putin, Mikhail Kasyanov, Sergei Stepashin, Viktor Khristenko, Mikhail Fradkov, Dmitry Medvedev, Boris Yeltsin and Yegor Gaidar have Russia as their heads of government or were Ministry of Fear composed by
Viktor Chernomyrdin Victor Young Vladimir Putin Mikhail Kasyanov Sergei Stepashin Viktor Khristenko Mikhail Fradkov Dmitry Medvedev Boris Yeltsin Yegor Gaidar
action filter_type
action union
action find
entity Russia
relation head of government
action find
entity Ministry of Fear
relation composer
type common name
{'OR': [['Russia', 'head of government', {'concept': 'common name'}], ['Ministry of Fear', 'composer', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Ministry_of_Fear property:composer ?h } UNION { resource:Russia property:head_of_government ?h } } . ?h rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1848616
P119 P21
Q502895
USER
Which people have Volkovo Cemetery as place of burial and are a male ?
AND((c(Q502895),P119,Q1848616), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1848616
relation P119
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P119', 'Q1848616'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?y WHERE { ?y property:P21 resource:Q6581097 . ?y property:P119 resource:Q1848616 . ?y rdf:type ontology:Q502895 }
male Volkovo Cemetery
action filter_type
action intersection
action find_reverse
entity Volkovo Cemetery
relation place of burial
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of burial', 'Volkovo Cemetery'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?y WHERE { ?y property:gender resource:male . ?y property:place_of_burial resource:Volkovo_Cemetery . ?y rdf:type ontology:common_name }
[]
common name
Q4316392 Q351242 Q4096260 Q1960532 Q18044662 Q4086045 Q61313 Q4164661 Q18342978 Q4242391
SYSTEM
Some of them are Pavel Ivanovič Neydgardt, Viktor Novozhilov, Friedrich Breitfuss, Viktor Kyrpychov, Anatoly Bozhbov, Sergey Bekhterev, Friedrich Konrad Beilstein, Vladimir Dolgopolov, Nicolaus Theodor Zdekauer, Alexander B. Krutik
Q537519 Q4360849 Q4164661 Q4241732 Q2034070 Q507651 Q4088766 Q4244964 Q4148372 Q17679582 Q4256390 Q3163722 Q17494855 Q4125144 Q749883 Q4316392 Q18397804 Q4492854 Q3608227 Q4402834 Q7698131 Q16727276 Q4184356 Q4469528 Q3085794 Q2627344 Q4097183 Q16718055 Q893684 Q324938 Q18342978 Q4096260 Q18044663 Q18044662 Q4151323 Q18848993 Q76368 Q64437 Q351242 Q2833216 Q4440830 Q15720255 Q1153223 Q4444263 Q61313 Q15071584 Q4086045 Q4248774 Q4224719 Q3656157 Q1960532 Q2857041 Q4143352 Q4531777 Q729707 Q51233 Q4093478 Q4527000 Q4164037 Q4520196 Q4255774 Q4290975 Q3558490 Q4520596 Q1114597 Q3610865 Q4403617 Q3457188 Q171242 Q4407532 Q3102660 Q4194122 Q4259247 Q1229486 Q901833 Q4401849 Q4400331 Q4107019 Q217470 Q557124 Q435766 Q4214392 Q4077112 Q62887 Q3755460 Q4363510 Q3388966 Q3372958 Q764984 Q4455639 Q4242391 Q703307 Q546666 Q3563724 Q1962014 Q4393560 Q2717812 Q4225792 Q4077109 Q4126981 Q2642346 Q1681328 Q3350281 Q333222 Q4463672
AND((c(Q502895),P119,Q1848616), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1848616
relation P119
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Volkovo Cemetery as place of burial and are a male
{'AND': [[{'concept': 'Q502895'}, 'P119', 'Q1848616'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?y WHERE { ?y property:P21 resource:Q6581097 . ?y property:P119 resource:Q1848616 . ?y rdf:type ontology:Q502895 }
Friedrich Martens Pyotr Petrov Vladimir Dolgopolov Gustav Kross Leonid Ivanov Nikolay Gretsch Semyon Bobrov Vsevolod Kuznetsov Ivan Greaves Friedrich Hermann Karl Fjodorovič Levenštern Jean-Antoine Petipa Vladimir Chetverikov Vladimir Vorobyov Alexander Vostokov Pavel Ivanovič Neydgardt Peter Johann von Koskull Eduard Wassiljewitsch Frisch Alberto Cavos Rønne Caesar Albertovich Cavos Andreas Jappa Alexander Zaicev Ivan Fjodorovič Udom François Sainte de Wollant Mike Naumenko Yuli Fedorovich Bruni Georgy Chernyshyov Boris Tishchenko Albert Leman Nicolaus Theodor Zdekauer Friedrich Breitfuss Georgy Lokhmatikov Anatoly Bozhbov Eduard Huber Ali Osmanov Konstantin Thon Friedrich von Adelung Viktor Novozhilov Alexander Strauch Albert Starchevsky Yakov Galinkovsky Pierre de Poletica Amand Struve Friedrich Konrad Beilstein Wjatscheslaw Jewgenjewitsch Tischtschenko Sergey Bekhterev Nikolai Kurochkin Fjodor Jevstafjevič Kniper Artur Niepokojczycki Viktor Kyrpychov Anton Vassilievitch Moller Hermann Hoppe Valerian Engelhardt Aleksey Shakhmatov Johann Waldemar Strom Ivan Borgman Anton Shtukenberg Fjodor Filipovič Dovre Aleksandr Shapiro Nicolai Lebedev Karl Eugen von Mercklin Ivan Vitali Louis Charlemagne Friedrich von Anhalt Alexei Stepanov Peter Alexandrovich Saburov Nikolay Tsinger Gleb Uspensky Grigori Sandler Georges Duperron Vladimir Zotov Mikhail Lermontov Józef Sękowski Alexey Favorsky Boris Ryzhukhin Mikhail Mikhaylovich Rusinov Nikolai Velyaminov Alexander Radishchev Sergey Glinka Fyodor Litke Vasily Andreevich Karaulov Friedrich Julius von Baltz Franz Josef Ruprecht Fedor Solntsev Iouri Pirioutko Piotr Meller-Zakomelsky Pavel Nikolaïevitch Nazimov August von Denffer Mikhail Afrikanovich Terentyev Alexander B. Krutik Hans Karl von Diebitsch Leonid Artamonov Vsevolod Kostomarov Vasily Kurochkin Hermann Friedrich Röhrberg Nikolai Zaremba Nikolaï Kovmir Alexander Nikolai Julius von Baltz Georg Gustav Ludwig von Wrangel Alexander Sauerweid Sir James Wylie Oleg Grigoriev Vsevolod Garshin Nikolay A. Troynitsky
Pavel Ivanovič Neydgardt, Viktor Novozhilov, Friedrich Breitfuss, Viktor Kyrpychov, Anatoly Bozhbov, Sergey Bekhterev, Friedrich Konrad Beilstein, Vladimir Dolgopolov, Nicolaus Theodor Zdekauer and Alexander B. Krutik have Volkovo Cemetery as place of burial and are a male
Pavel Ivanovič Neydgardt Viktor Novozhilov Friedrich Breitfuss Viktor Kyrpychov Anatoly Bozhbov Sergey Bekhterev Friedrich Konrad Beilstein Vladimir Dolgopolov Nicolaus Theodor Zdekauer Alexander B. Krutik
action filter_type
action intersection
action find_reverse
entity Volkovo Cemetery
relation place of burial
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of burial', 'Volkovo Cemetery'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?y WHERE { ?y property:gender resource:male . ?y property:place_of_burial resource:Volkovo_Cemetery . ?y rdf:type ontology:common_name }
[]