Simple Question (Direct)
Simple Question
Q369785
P166
Q618779
USER
What was awarded to André Marty ?
(Q369785,P166,c(Q618779))
action filter_type
action find
entity Q369785
relation P166
type Q618779
['Q369785', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { resource:Q369785 property:P166 ?l . ?l rdf:type ontology:Q618779 }
André Marty
action filter_type
action find
entity André Marty
relation award received
type award
['André Marty', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { resource:André_Marty property:award_received ?l . ?l rdf:type ontology:award }
[]
award
Q337463
SYSTEM
Order of the Red Banner
Q337463
(Q369785,P166,c(Q618779))
action filter_type
action find
entity Q369785
relation P166
type Q618779
France [ANSWER] was awarded to André Marty
['Q369785', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { resource:Q369785 property:P166 ?l . ?l rdf:type ontology:Q618779 }
Order of the Red Banner
France Order of the Red Banner was awarded to André Marty
Order of the Red Banner
action filter_type
action find
entity André Marty
relation award received
type award
['André Marty', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { resource:André_Marty property:award_received ?l . ?l rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q369785
P39
Q12737077
USER
What was the position for which that person was appointed ?
(Q337463,P39,c(Q12737077))
action filter_type
action find
entity Q369785
relation P39
type Q12737077
['Q337463', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q369785 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
André Marty
action filter_type
action find
entity André Marty
relation position held
type occupation
['Order of the Red Banner', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:André_Marty property:position_held ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q337463,P39,c(Q12737077))
action filter_type
action find
entity Q369785
relation P39
type Q12737077
Member of the French National Assembly
['Q337463', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q369785 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
member of the French National Assembly
Member of the French National Assembly
member of the French National Assembly
action filter_type
action find
entity André Marty
relation position held
type occupation
['Order of the Red Banner', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:André_Marty property:position_held ?b . ?b rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2158326 Q369785
P20
Q56061
USER
Which administrative territories did the demise of André Marty or Robert Müser occur ?
OR((Q369785,P20,c(Q56061)), (Q2158326,P20,c(Q56061)))
action filter_type
action union
action find
entity Q369785
relation P20
action find
entity Q2158326
relation P20
type Q56061
{'OR': [['Q369785', 'P20', {'concept': 'Q56061'}], ['Q2158326', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?n ) { ( resource:Q369785 ) ( resource:Q2158326 ) } . ?n property:P20 ?o } . ?o rdf:type ontology:Q56061 }
Robert Müser André Marty
action filter_type
action union
action find
entity André Marty
relation place of death
action find
entity Robert Müser
relation place of death
type administrative territorial entity
{'OR': [['André Marty', 'place of death', {'concept': 'administrative territorial entity'}], ['Robert Müser', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?n ) { ( resource:André_Marty ) ( resource:Robert_Müser ) } . ?n property:place_of_death ?o } . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q7880 Q1295
SYSTEM
Toulouse, Dortmund
Q7880 Q1295
OR((Q369785,P20,c(Q56061)), (Q2158326,P20,c(Q56061)))
action filter_type
action union
action find
entity Q369785
relation P20
action find
entity Q2158326
relation P20
type Q56061
The demise of André Marty or Robert Müser occurred in [ANSWERS]
{'OR': [['Q369785', 'P20', {'concept': 'Q56061'}], ['Q2158326', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?n ) { ( resource:Q369785 ) ( resource:Q2158326 ) } . ?n property:P20 ?o } . ?o rdf:type ontology:Q56061 }
Toulouse Dortmund
The demise of André Marty or Robert Müser occurred in Toulouse and Dortmund
Toulouse Dortmund
action filter_type
action union
action find
entity André Marty
relation place of death
action find
entity Robert Müser
relation place of death
type administrative territorial entity
{'OR': [['André Marty', 'place of death', {'concept': 'administrative territorial entity'}], ['Robert Müser', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?n ) { ( resource:André_Marty ) ( resource:Robert_Müser ) } . ?n property:place_of_death ?o } . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7880 Q1295
P1376
Q15617994
USER
Which administrative territories have those administrative territories as their capital ?
(Q7880,P1376,c(Q15617994)) (Q1295,P1376,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1376
type Q15617994
['Q7880', 'P1376', {'concept': 'Q15617994'}] ['Q1295', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?e property:P1376 ?z . ?z rdf:type ontology:Q15617994 . VALUES ( ?e ) { ( resource:Q7880 ) ( resource:Q1295 ) } }
Toulouse Dortmund
action filter_type
action find
entity prev_answer
relation capital of
type designation for an administrative territorial entity
['Toulouse', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Dortmund', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?e property:capital_of ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?e ) { ( resource:Toulouse ) ( resource:Dortmund ) } }
[]
designation for an administrative territorial entity
Q12538 Q1270636
SYSTEM
Haute-Garonne, Ruhr
Q12538 Q1270636
(Q7880,P1376,c(Q15617994)) (Q1295,P1376,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1376
type Q15617994
[ANSWERS] have those administrative territories as their capital
['Q7880', 'P1376', {'concept': 'Q15617994'}] ['Q1295', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?e property:P1376 ?z . ?z rdf:type ontology:Q15617994 . VALUES ( ?e ) { ( resource:Q7880 ) ( resource:Q1295 ) } }
Haute-Garonne Ruhr
Haute-Garonne and Ruhr have those administrative territories as their capital
Haute-Garonne Ruhr
action filter_type
action find
entity prev_answer
relation capital of
type designation for an administrative territorial entity
['Toulouse', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Dortmund', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?e property:capital_of ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?e ) { ( resource:Toulouse ) ( resource:Dortmund ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q12538 Q1270636
P1376
Q56061
USER
Which administrative territories are the capital of those administrative territories ?
(c(Q56061),P1376,Q12538) (c(Q56061),P1376,Q1270636)
action filter_type
action find_reverse
entity prev_answer
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q12538'] [{'concept': 'Q56061'}, 'P1376', 'Q1270636']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . ?j property:P1376 ?e . VALUES ( ?e ) { ( resource:Q12538 ) ( resource:Q1270636 ) } }
Haute-Garonne Ruhr
action filter_type
action find_reverse
entity prev_answer
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Haute-Garonne'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Ruhr']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . ?j property:capital_of ?e . VALUES ( ?e ) { ( resource:Haute-Garonne ) ( resource:Ruhr ) } }
[]
administrative territorial entity
Q7880 Q1295
SYSTEM
Toulouse, Dortmund
Q7880 Q1295
(c(Q56061),P1376,Q12538) (c(Q56061),P1376,Q1270636)
action filter_type
action find_reverse
entity prev_answer
relation P1376
type Q56061
[ANSWERS] are the capital of those administrative territories
[{'concept': 'Q56061'}, 'P1376', 'Q12538'] [{'concept': 'Q56061'}, 'P1376', 'Q1270636']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . ?j property:P1376 ?e . VALUES ( ?e ) { ( resource:Q12538 ) ( resource:Q1270636 ) } }
Toulouse Dortmund
Toulouse and Dortmund are the capital of those administrative territories
Toulouse Dortmund
action filter_type
action find_reverse
entity prev_answer
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Haute-Garonne'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Ruhr']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . ?j property:capital_of ?e . VALUES ( ?e ) { ( resource:Haute-Garonne ) ( resource:Ruhr ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q7880 Q1295
P190
Q56061
USER
Which administrative territories are twin cities of Toulouse and Dortmund ?
(Q7880,P190,c(Q56061)) (Q1295,P190,c(Q56061))
action union
action filter_type
action find
entity Q7880
relation P190
type Q56061
action filter_type
action find
entity Q1295
relation P190
type Q56061
['Q7880', 'P190', {'concept': 'Q56061'}] ['Q1295', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { ?t property:P190 ?a . VALUES ( ?t ) { ( resource:Q1295 ) ( resource:Q7880 ) } }
Toulouse Dortmund
action union
action filter_type
action find
entity Toulouse
relation sister city
type administrative territorial entity
action filter_type
action find
entity Dortmund
relation sister city
type administrative territorial entity
['Toulouse', 'sister city', {'concept': 'administrative territorial entity'}] ['Dortmund', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?t property:sister_city ?a . VALUES ( ?t ) { ( resource:Dortmund ) ( resource:Toulouse ) } }
[]
administrative territorial entity
Q1718 Q33935 Q41604
SYSTEM
Düsseldorf, Tel Aviv, Amiens
Q10509 Q8673 Q25416 Q33935 Q23154 Q3659 Q1718 Q23556 Q39121 Q41604 Q3778 Q45301 Q908 Q55630 Q192225
(Q7880,P190,c(Q56061)) (Q1295,P190,c(Q56061))
action union
action filter_type
action find
entity Q7880
relation P190
type Q56061
action filter_type
action find
entity Q1295
relation P190
type Q56061
[ANSWERS] are twin cities of Toulouse and Dortmund
['Q7880', 'P190', {'concept': 'Q56061'}] ['Q1295', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { ?t property:P190 ?a . VALUES ( ?t ) { ( resource:Q1295 ) ( resource:Q7880 ) } }
Elche Lagos Stavanger Tel Aviv Bristol N'Djamena Düsseldorf Atlanta Leeds Amiens Zwickau Trabzon Rostov-on-Don Novi Sad Netanya
Düsseldorf, Tel Aviv and Amiens are twin cities of Toulouse and Dortmund
Düsseldorf Tel Aviv Amiens
action union
action filter_type
action find
entity Toulouse
relation sister city
type administrative territorial entity
action filter_type
action find
entity Dortmund
relation sister city
type administrative territorial entity
['Toulouse', 'sister city', {'concept': 'administrative territorial entity'}] ['Dortmund', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?t property:sister_city ?a . VALUES ( ?t ) { ( resource:Dortmund ) ( resource:Toulouse ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1718 Q33935 Q41604
P159
Q43229
USER
Which organizations have their HQ location at Düsseldorf, Tel Aviv and Amiens ?
(c(Q43229),P159,Q1718) (c(Q43229),P159,Q33935) (c(Q43229),P159,Q41604)
action union
action filter_type
action find_reverse
entity Q1718
relation P159
type Q43229
action filter_type
action find_reverse
entity Q33935
relation P159
type Q43229
action filter_type
action find_reverse
entity Q41604
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q1718'] [{'concept': 'Q43229'}, 'P159', 'Q33935'] [{'concept': 'Q43229'}, 'P159', 'Q41604']
SELECT DISTINCT ?q WHERE { ?q property:P159 ?i . VALUES ( ?i ) { ( resource:Q1718 ) ( resource:Q33935 ) } }
Düsseldorf Tel Aviv Amiens
action union
action filter_type
action find_reverse
entity Düsseldorf
relation headquarters location
type organization
action filter_type
action find_reverse
entity Tel Aviv
relation headquarters location
type organization
action filter_type
action find_reverse
entity Amiens
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Düsseldorf'] [{'concept': 'organization'}, 'headquarters location', 'Tel Aviv'] [{'concept': 'organization'}, 'headquarters location', 'Amiens']
SELECT DISTINCT ?q WHERE { ?q property:headquarters_location ?i . VALUES ( ?i ) { ( resource:Düsseldorf ) ( resource:Tel_Aviv ) } }
[]
organization
Q169167 Q270223 Q1674598
SYSTEM
Metro AG, E.ON SE, Israel Corporation
Q1826247 Q15782485 Q2114066 Q1287959 Q1326008 Q16932992 Q1924014 Q318128 Q884003 Q708240 Q2649481 Q316477 Q551068 Q189589 Q692157 Q882231 Q1739857 Q286421 Q270223 Q1533296 Q455467 Q422111 Q7606827 Q7942066 Q498120 Q15805005 Q1384809 Q937966 Q19839259 Q1454505 Q7939293 Q541909 Q2289843 Q285799 Q507842 Q498666 Q265286 Q1623036 Q1547311 Q169167 Q880831 Q832533 Q1510971 Q16828693 Q2066959 Q446895 Q161544 Q152957 Q1030710 Q21995648 Q704606 Q7939285 Q1268844 Q1273399 Q567411 Q153301 Q674911 Q422494 Q16934021 Q315502 Q296380 Q698473 Q1030253 Q17001217 Q6712571 Q6807467 Q2573130 Q19895549 Q5610463 Q1674598 Q7998077 Q5043252 Q7496069 Q2898819 Q2666775 Q7387532 Q5353752 Q2894259 Q12406489 Q7928916 Q7322037 Q2909852 Q7280047 Q642372 Q2898555 Q6088363 Q5333360 Q5454414 Q5410132 Q683006 Q7253897 Q19894366 Q6296982 Q17380844 Q7100322 Q7936380 Q2742556 Q17194268 Q5063615 Q8053566 Q19904019 Q17067617 Q19903183 Q2077490 Q1565278 Q5586687 Q2893317 Q21303007 Q5157220 Q2912754 Q5005955 Q903943 Q17050559 Q17051591 Q903957 Q8072203 Q6889446 Q5580126 Q2777497 Q4852641 Q4830414 Q8047916 Q5353857 Q5184779 Q13576574 Q176587 Q176587 Q7578905 Q6778227 Q4746827 Q7220966 Q7338217 Q3119239
(c(Q43229),P159,Q1718) (c(Q43229),P159,Q33935) (c(Q43229),P159,Q41604)
action union
action filter_type
action find_reverse
entity Q1718
relation P159
type Q43229
action filter_type
action find_reverse
entity Q33935
relation P159
type Q43229
action filter_type
action find_reverse
entity Q41604
relation P159
type Q43229
[ANSWERS] have their HQ location at Düsseldorf, Tel Aviv and Amiens
[{'concept': 'Q43229'}, 'P159', 'Q1718'] [{'concept': 'Q43229'}, 'P159', 'Q33935'] [{'concept': 'Q43229'}, 'P159', 'Q41604']
SELECT DISTINCT ?q WHERE { ?q property:P159 ?i . VALUES ( ?i ) { ( resource:Q1718 ) ( resource:Q33935 ) } }
Lindner Hotels & Resorts Alloheim Senioren-Residenzen SE Provinzial Rheinland Surplex ElectronicPartner Handel SE Pleon Messe Düsseldorf AbeBooks HSBC Trinkaus Tata Steel Europe Alltours Grohe ThyssenKrupp Marine Systems ZenithOptimedia Experian Prussian Trust Ketchum Inc. Gigaset Communications E.ON SE Prosegur Constructa Hohenzollern Locomotive Works Steinberg Vossloh Kiepe StepStone Deloitte Deutschland Köln-Düsseldorfer Pritt Uniper Lieken Vodafone Test and Innovation Center ERGO Insurance Group sipgate bet-at-home.com Vereinigte Stahlwerke Alpro Trivago Hoffmann Grondmet Metro AG Horten AG Gerresheimer Gerda Henkel Stiftung Cyscon Peek & Cloppenburg GEA Group Rheinmetall IKB Deutsche Industriebank Novero European Pallet Association Makro Vodafone Innovation Park O.tel.o Uniper Kraftwerke Loctite WestLB Mannesmann Aktion West-Ost Loesche GmbH VEBA ARAG SE Real Taylor Wessing Adika M. Firon & Co. MeeMix Walla! JPEGmini Gross, Kleinhendler, Hodak, Halevy, Greenberg & Co. Israel Corporation Wibiya Carmel Agrexco Shibolet & Co. Ampal-American Israel Corporation Bank Hapoalim S. Horowitz & Co. Elbit Imaging Golan Telecom Honigman Vigilant Technology RiT Technologies Israel Land Development Company Radcom Ltd Cimatron RADWIN Issta Economic Cooperation Foundation Fischer, Behar, Chen, Well, Orion & Co. Fiverr SodaStream Psagot Investment House CALLUP net JoyTunes Zeek Orckit-Corrigent Visonic Gazit-Globe SiSense Ceragon Yigal Arnon & Co. Galia Lahav KCPS Clarity Black Cube RAD Data Communications Ynetnews Gornitzky & Co. Mikud Baligam Compugen Delta Galil C-nario ADAMA Agricultural Solutions IronSource Optimove Israel Chemicals Zimperium Modiin Energy Goldfarb Seligman & Co. First International Bank of Israel Balter, Guth, Aloni & Co. Axerra Networks Yamar Electronics Ltd Elco Holdings Crew972 Ituran Check Point Check Point Spoken Web Marvell Software Solutions Israel Amit, Pollak, Matalon & Co. Azrieli Group Riverhead Networks Gueudet
Metro AG, E.ON SE and Israel Corporation have their HQ location at Düsseldorf, Tel Aviv and Amiens
Metro AG E.ON SE Israel Corporation
action union
action filter_type
action find_reverse
entity Düsseldorf
relation headquarters location
type organization
action filter_type
action find_reverse
entity Tel Aviv
relation headquarters location
type organization
action filter_type
action find_reverse
entity Amiens
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Düsseldorf'] [{'concept': 'organization'}, 'headquarters location', 'Tel Aviv'] [{'concept': 'organization'}, 'headquarters location', 'Amiens']
SELECT DISTINCT ?q WHERE { ?q property:headquarters_location ?i . VALUES ( ?i ) { ( resource:Düsseldorf ) ( resource:Tel_Aviv ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q270223
P138
Q15619164
USER
Which abstract being is namesake of that organization ?
(Q270223,P138,c(Q15619164))
action filter_type
action find
entity Q270223
relation P138
type Q15619164
['Q270223', 'P138', {'concept': 'Q15619164'}]
SELECT DISTINCT ?f WHERE { resource:Q270223 property:P138 ?f . ?f rdf:type ontology:Q15619164 }
E.ON SE
action filter_type
action find
entity E.ON SE
relation named after
type abstract being
['E.ON SE', 'named after', {'concept': 'abstract being'}]
SELECT DISTINCT ?f WHERE { resource:E.ON_SE property:named_after ?f . ?f rdf:type ontology:abstract_being }
[]
abstract being
Clarification for simple ques.
Q1674598
SYSTEM
Did you mean Israel Corporation ?
Q169167 Q270223 Q1674598
(Q169167,P138,c(Q15619164)) (Q270223,P138,c(Q15619164)) (Q1674598,P138,c(Q15619164))
[ANSWER]
['Q169167', 'P138', {'concept': 'Q15619164'}] ['Q270223', 'P138', {'concept': 'Q15619164'}] ['Q1674598', 'P138', {'concept': 'Q15619164'}]
SELECT DISTINCT ?f WHERE { resource:Q270223 property:P138 ?f . ?f rdf:type ontology:Q15619164 }
Metro AG E.ON SE Israel Corporation
Did you mean Israel Corporation ?
Israel Corporation
['Metro AG', 'named after', {'concept': 'abstract being'}] ['E.ON SE', 'named after', {'concept': 'abstract being'}] ['Israel Corporation', 'named after', {'concept': 'abstract being'}]
SELECT DISTINCT ?f WHERE { resource:E.ON_SE property:named_after ?f . ?f rdf:type ontology:abstract_being }
[]
Simple Question (Coreferenced)
USER
No, I meant E.ON SE. Could you tell me the answer for that?
(Q270223,P138,c(Q15619164))
Q270223
['Q270223', 'P138', {'concept': 'Q15619164'}]
['E.ON SE', 'named after', {'concept': 'abstract being'}]
[]
Q164846
SYSTEM
Aion
Q164846
(Q270223,P138,c(Q15619164))
action filter_type
action find
entity Q270223
relation P138
type Q15619164
Ai [ANSWER] is namesake of that organization
['Q270223', 'P138', {'concept': 'Q15619164'}]
SELECT DISTINCT ?f WHERE { resource:Q270223 property:P138 ?f . ?f rdf:type ontology:Q15619164 }
Aion
Ai Aion is namesake of that organization
Aion
action filter_type
action find
entity E.ON SE
relation named after
type abstract being
['E.ON SE', 'named after', {'concept': 'abstract being'}]
SELECT DISTINCT ?f WHERE { resource:E.ON_SE property:named_after ?f . ?f rdf:type ontology:abstract_being }
[]