Simple Question (Direct)
Simple Question
Q62851
P106
Q12737077
USER
What is the profession of Friedrich Arnold Brockhaus ?
(Q62851,P106,c(Q12737077))
action filter_type
action find
entity Q62851
relation P106
type Q12737077
['Q62851', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q62851 property:P106 ?u }
Friedrich Arnold Brockhaus
action filter_type
action find
entity Friedrich Arnold Brockhaus
relation occupation
type occupation
['Friedrich Arnold Brockhaus', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Friedrich_Arnold_Brockhaus property:occupation ?u }
[]
occupation
Q2516866
SYSTEM
publisher
Q2516866
(Q62851,P106,c(Q12737077))
action filter_type
action find
entity Q62851
relation P106
type Q12737077
The profession of Friedrich Arnold Brockhaus is the [ANSWER]
['Q62851', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q62851 property:P106 ?u }
publisher
The profession of Friedrich Arnold Brockhaus is the publisher
publisher
action filter_type
action find
entity Friedrich Arnold Brockhaus
relation occupation
type occupation
['Friedrich Arnold Brockhaus', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Friedrich_Arnold_Brockhaus property:occupation ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q62851
P20
Q515
USER
Which city is the place of death of that person ?
(Q2516866,P20,c(Q515))
action filter_type
action find
entity Q62851
relation P20
type Q515
['Q2516866', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?o WHERE { resource:Q62851 property:P20 ?o . ?o rdf:type ontology:Q515 }
Friedrich Arnold Brockhaus
action filter_type
action find
entity Friedrich Arnold Brockhaus
relation place of death
type city
['publisher', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?o WHERE { resource:Friedrich_Arnold_Brockhaus property:place_of_death ?o . ?o rdf:type ontology:city }
[]
city
Q2079
SYSTEM
Leipzig
Q2079
(Q2516866,P20,c(Q515))
action filter_type
action find
entity Q62851
relation P20
type Q515
[ANSWER] is the place of death of that person
['Q2516866', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?o WHERE { resource:Q62851 property:P20 ?o . ?o rdf:type ontology:Q515 }
Leipzig
Leipzig is the place of death of that person
Leipzig
action filter_type
action find
entity Friedrich Arnold Brockhaus
relation place of death
type city
['publisher', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?o WHERE { resource:Friedrich_Arnold_Brockhaus property:place_of_death ?o . ?o rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2079
P1071
Q1420
USER
Which automobile has that city as its terminal assembly location ?
(c(Q1420),P1071,Q2079)
action filter_type
action find_reverse
entity Q2079
relation P1071
type Q1420
[{'concept': 'Q1420'}, 'P1071', 'Q2079']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1420 . ?e property:P1071 resource:Q2079 }
Leipzig
action filter_type
action find_reverse
entity Leipzig
relation location of final assembly
type automobile
[{'concept': 'automobile'}, 'location of final assembly', 'Leipzig']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:automobile . ?e property:location_of_final_assembly resource:Leipzig }
[]
automobile
Q796785
SYSTEM
BMW i3
Q796785
(c(Q1420),P1071,Q2079)
action filter_type
action find_reverse
entity Q2079
relation P1071
type Q1420
[ANSWER] has that city as its terminal assembly location
[{'concept': 'Q1420'}, 'P1071', 'Q2079']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1420 . ?e property:P1071 resource:Q2079 }
BMW i3
BMW i3 has that city as its terminal assembly location
BMW i3
action filter_type
action find_reverse
entity Leipzig
relation location of final assembly
type automobile
[{'concept': 'automobile'}, 'location of final assembly', 'Leipzig']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:automobile . ?e property:location_of_final_assembly resource:Leipzig }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q813935 Q62851
P138
Q17444909
USER
Which astronomical object types have Friedrich Arnold Brockhaus or Nihon Shoki as their namesake ?
OR((c(Q17444909),P138,Q62851), (c(Q17444909),P138,Q813935))
action filter_type
action union
action find_reverse
entity Q62851
relation P138
action find_reverse
entity Q813935
relation P138
type Q17444909
{'OR': [[{'concept': 'Q17444909'}, 'P138', 'Q62851'], [{'concept': 'Q17444909'}, 'P138', 'Q813935']]}
SELECT DISTINCT ?i WHERE { { { ?i property:P138 resource:Q62851 } UNION { ?i property:P138 resource:Q813935 } } . ?i rdf:type ontology:Q17444909 }
Nihon Shoki Friedrich Arnold Brockhaus
action filter_type
action union
action find_reverse
entity Friedrich Arnold Brockhaus
relation named after
action find_reverse
entity Nihon Shoki
relation named after
type astronomical object type
{'OR': [[{'concept': 'astronomical object type'}, 'named after', 'Friedrich Arnold Brockhaus'], [{'concept': 'astronomical object type'}, 'named after', 'Nihon Shoki']]}
SELECT DISTINCT ?i WHERE { { { ?i property:named_after resource:Friedrich_Arnold_Brockhaus } UNION { ?i property:named_after resource:Nihon_Shoki } } . ?i rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q656746 Q2611550
SYSTEM
5082 Nihonsyoki, 27765 Brockhaus
Q656746 Q2611550
OR((c(Q17444909),P138,Q62851), (c(Q17444909),P138,Q813935))
action filter_type
action union
action find_reverse
entity Q62851
relation P138
action find_reverse
entity Q813935
relation P138
type Q17444909
[ANSWERS] have Friedrich Arnold Brockhaus or Nihon Shoki as their namesake
{'OR': [[{'concept': 'Q17444909'}, 'P138', 'Q62851'], [{'concept': 'Q17444909'}, 'P138', 'Q813935']]}
SELECT DISTINCT ?i WHERE { { { ?i property:P138 resource:Q62851 } UNION { ?i property:P138 resource:Q813935 } } . ?i rdf:type ontology:Q17444909 }
5082 Nihonsyoki 27765 Brockhaus
5082 Nihonsyoki and 27765 Brockhaus have Friedrich Arnold Brockhaus or Nihon Shoki as their namesake
5082 Nihonsyoki 27765 Brockhaus
action filter_type
action union
action find_reverse
entity Friedrich Arnold Brockhaus
relation named after
action find_reverse
entity Nihon Shoki
relation named after
type astronomical object type
{'OR': [[{'concept': 'astronomical object type'}, 'named after', 'Friedrich Arnold Brockhaus'], [{'concept': 'astronomical object type'}, 'named after', 'Nihon Shoki']]}
SELECT DISTINCT ?i WHERE { { { ?i property:named_after resource:Friedrich_Arnold_Brockhaus } UNION { ?i property:named_after resource:Nihon_Shoki } } . ?i rdf:type ontology:astronomical_object_type }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12328871 Q2079
P47 P27
Q1048835
USER
Which political territories are adjacent to Leipzig or are Niels Pape a civilian of ?
OR((Q2079,P47,c(Q1048835)), (Q12328871,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q2079
relation P47
action find
entity Q12328871
relation P27
type Q1048835
{'OR': [['Q2079', 'P47', {'concept': 'Q1048835'}], ['Q12328871', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1048835 . { { resource:Q2079 property:P47 ?b } UNION { resource:Q12328871 property:P27 ?b } } }
Niels Pape Leipzig
action filter_type
action union
action find
entity Leipzig
relation shares border with
action find
entity Niels Pape
relation country of citizenship
type political territorial entity
{'OR': [['Leipzig', 'shares border with', {'concept': 'political territorial entity'}], ['Niels Pape', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_territorial_entity . { { resource:Leipzig property:shares_border_with ?b } UNION { resource:Niels_Pape property:country_of_citizenship ?b } } }
[]
political territorial entity
Q6301 Q6308 Q35
SYSTEM
Nordsachsen, Leipzig, Denmark
Q6301 Q6308 Q35
OR((Q2079,P47,c(Q1048835)), (Q12328871,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q2079
relation P47
action find
entity Q12328871
relation P27
type Q1048835
[ANSWERS] are adjacent to Leipzig or are Niels Pape a civilian of
{'OR': [['Q2079', 'P47', {'concept': 'Q1048835'}], ['Q12328871', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1048835 . { { resource:Q2079 property:P47 ?b } UNION { resource:Q12328871 property:P27 ?b } } }
Nordsachsen Leipzig Denmark
Nordsachsen, Leipzig and Denmark are adjacent to Leipzig or are Niels Pape a civilian of
Nordsachsen Leipzig Denmark
action filter_type
action union
action find
entity Leipzig
relation shares border with
action find
entity Niels Pape
relation country of citizenship
type political territorial entity
{'OR': [['Leipzig', 'shares border with', {'concept': 'political territorial entity'}], ['Niels Pape', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_territorial_entity . { { resource:Leipzig property:shares_border_with ?b } UNION { resource:Niels_Pape property:country_of_citizenship ?b } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q6301 Q6308 Q35
P47
Q1048835
USER
Which political territories are bordered by those ones ?
(Q6301,P47,c(Q1048835)) (Q6308,P47,c(Q1048835)) (Q35,P47,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P47
type Q1048835
['Q6301', 'P47', {'concept': 'Q1048835'}] ['Q6308', 'P47', {'concept': 'Q1048835'}] ['Q35', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1048835 . ?r property:P47 ?n . VALUES ( ?r ) { ( resource:Q6301 ) ( resource:Q6308 ) ( resource:Q35 ) } }
Nordsachsen Leipzig Denmark
action filter_type
action find
entity prev_answer
relation shares border with
type political territorial entity
['Nordsachsen', 'shares border with', {'concept': 'political territorial entity'}] ['Leipzig', 'shares border with', {'concept': 'political territorial entity'}] ['Denmark', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_territorial_entity . ?r property:shares_border_with ?n . VALUES ( ?r ) { ( resource:Nordsachsen ) ( resource:Leipzig ) ( resource:Denmark ) } }
[]
political territorial entity
Q183 Q6328 Q6328
SYSTEM
Germany for 1st, Mittelsachsen for 2nd, 3rd
Q6328 Q6308 Q6313 Q6301 Q6328 Q183
(Q6301,P47,c(Q1048835)) (Q6308,P47,c(Q1048835)) (Q35,P47,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P47
type Q1048835
[ANSWERS]
['Q6301', 'P47', {'concept': 'Q1048835'}] ['Q6308', 'P47', {'concept': 'Q1048835'}] ['Q35', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1048835 . ?r property:P47 ?n . VALUES ( ?r ) { ( resource:Q6301 ) ( resource:Q6308 ) ( resource:Q35 ) } }
Mittelsachsen Leipzig Meissen Nordsachsen Mittelsachsen Germany
Germany, Mittelsachsen and Mittelsachsen are bordered by those ones
Germany Mittelsachsen Mittelsachsen
action filter_type
action find
entity prev_answer
relation shares border with
type political territorial entity
['Nordsachsen', 'shares border with', {'concept': 'political territorial entity'}] ['Leipzig', 'shares border with', {'concept': 'political territorial entity'}] ['Denmark', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_territorial_entity . ?r property:shares_border_with ?n . VALUES ( ?r ) { ( resource:Nordsachsen ) ( resource:Leipzig ) ( resource:Denmark ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35
P530
Q1048835
USER
Which political territories have diplomatic associations with Denmark ?
(c(Q1048835),P530,Q35)
action filter_type
action find
entity Q35
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q35']
SELECT DISTINCT ?x WHERE { resource:Q35 property:P530 ?x . ?x rdf:type ontology:Q1048835 }
Denmark
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Denmark']
SELECT DISTINCT ?x WHERE { resource:Denmark property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q408 Q183
SYSTEM
Canada, Australia, Germany
Q16 Q408 Q183
(c(Q1048835),P530,Q35)
action filter_type
action find
entity Q35
relation P530
type Q1048835
And [ANSWERS] have diplomatic associations with Denmark
[{'concept': 'Q1048835'}, 'P530', 'Q35']
SELECT DISTINCT ?x WHERE { resource:Q35 property:P530 ?x . ?x rdf:type ontology:Q1048835 }
Canada Australia Germany
And Canada, Australia and Germany have diplomatic associations with Denmark
Canada Australia Germany
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Denmark']
SELECT DISTINCT ?x WHERE { resource:Denmark property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q16 Q408 Q183
P463
Q43229
USER
Which organizations were Canada, Australia and Germany a member of ?
(Q16,P463,c(Q43229)) (Q408,P463,c(Q43229)) (Q183,P463,c(Q43229))
action union
action filter_type
action find
entity Q16
relation P463
type Q43229
action filter_type
action find
entity Q408
relation P463
type Q43229
action filter_type
action find
entity Q183
relation P463
type Q43229
['Q16', 'P463', {'concept': 'Q43229'}] ['Q408', 'P463', {'concept': 'Q43229'}] ['Q183', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?r WHERE { ?w property:P463 ?r . VALUES ( ?w ) { ( resource:Q16 ) ( resource:Q408 ) } }
Canada Australia Germany
action union
action filter_type
action find
entity Canada
relation member of
type organization
action filter_type
action find
entity Australia
relation member of
type organization
action filter_type
action find
entity Germany
relation member of
type organization
['Canada', 'member of', {'concept': 'organization'}] ['Australia', 'member of', {'concept': 'organization'}] ['Germany', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?r WHERE { ?w property:member_of ?r . VALUES ( ?w ) { ( resource:Canada ) ( resource:Australia ) } }
[]
organization
Q7809 Q151991 Q7825
SYSTEM
United Nations Educational, Scientific and Cultural Organization, European Southern Observatory, World Trade Organization
Q340195 Q191384 Q3772571 Q899770 Q7825 Q170481 Q41550 Q656801 Q123759 Q827525 Q191384 Q899770 Q309195 Q41550 Q488981 Q82151 Q656801 Q7825 Q170481 Q827525 Q125761 Q191384 Q41550 Q61923 Q82151 Q340195 Q899770 Q689859 Q189946 Q7809 Q7825 Q161549 Q177773 Q3772571 Q656801 Q151991 Q699466 Q386120 Q827525
(Q16,P463,c(Q43229)) (Q408,P463,c(Q43229)) (Q183,P463,c(Q43229))
action union
action filter_type
action find
entity Q16
relation P463
type Q43229
action filter_type
action find
entity Q408
relation P463
type Q43229
action filter_type
action find
entity Q183
relation P463
type Q43229
The [ANSWERS] were Canada, Australia and Germany a member of
['Q16', 'P463', {'concept': 'Q43229'}] ['Q408', 'P463', {'concept': 'Q43229'}] ['Q183', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?r WHERE { ?w property:P463 ?r . VALUES ( ?w ) { ( resource:Q16 ) ( resource:Q408 ) } }
African Development Bank International Bank for Reconstruction and Development Caribbean Development Bank International Centre for Settlement of Investment Disputes World Trade Organization Asia-Pacific Economic Cooperation Organisation for Economic Co-operation and Development International Finance Corporation Organization of American States International Development Association International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Bank for International Settlements Organisation for Economic Co-operation and Development European Bank for Reconstruction and Development Food and Agriculture Organization of the United Nations International Finance Corporation World Trade Organization Asia-Pacific Economic Cooperation International Development Association International Civil Aviation Organization International Bank for Reconstruction and Development Organisation for Economic Co-operation and Development World Tourism Organization Food and Agriculture Organization of the United Nations African Development Bank International Centre for Settlement of Investment Disputes International Fund for Agricultural Development Western European Union United Nations Educational, Scientific and Cultural Organization World Trade Organization European Coal and Steel Community World Intellectual Property Organization Caribbean Development Bank International Finance Corporation European Southern Observatory International Commission for the Protection of the Danube River United Nations Industrial Development Organization International Development Association
The United Nations Educational, Scientific and Cultural Organization, European Southern Observatory and World Trade Organization were Canada, Australia and Germany a member of
United Nations Educational, Scientific and Cultural Organization European Southern Observatory World Trade Organization
action union
action filter_type
action find
entity Canada
relation member of
type organization
action filter_type
action find
entity Australia
relation member of
type organization
action filter_type
action find
entity Germany
relation member of
type organization
['Canada', 'member of', {'concept': 'organization'}] ['Australia', 'member of', {'concept': 'organization'}] ['Germany', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?r WHERE { ?w property:member_of ?r . VALUES ( ?w ) { ( resource:Canada ) ( resource:Australia ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q151991
P1037
Q502895
USER
Who manage that organization ?
(Q151991,P1037,c(Q502895))
action filter_type
action find
entity Q151991
relation P1037
type Q502895
['Q151991', 'P1037', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q151991 property:P1037 ?w }
European Southern Observatory
action filter_type
action find
entity European Southern Observatory
relation manager/director
type common name
['European Southern Observatory', 'manager/director', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:European_Southern_Observatory property:manager/director ?w }
[]
common name
Clarification for simple ques.
Q7825
SYSTEM
Did you mean World Trade Organization ?
Q7809 Q151991 Q7825
(Q7809,P1037,c(Q502895)) (Q151991,P1037,c(Q502895)) (Q7825,P1037,c(Q502895))
[ANSWER]
['Q7809', 'P1037', {'concept': 'Q502895'}] ['Q151991', 'P1037', {'concept': 'Q502895'}] ['Q7825', 'P1037', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q151991 property:P1037 ?w }
United Nations Educational, Scientific and Cultural Organization European Southern Observatory World Trade Organization
Did you mean World Trade Organization ?
World Trade Organization
['United Nations Educational, Scientific and Cultural Organization', 'manager/director', {'concept': 'common name'}] ['European Southern Observatory', 'manager/director', {'concept': 'common name'}] ['World Trade Organization', 'manager/director', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:European_Southern_Observatory property:manager/director ?w }
[]
Simple Question (Coreferenced)
USER
No, I meant European Southern Observatory. Could you tell me the answer for that?
(Q151991,P1037,c(Q502895))
Q151991
['Q151991', 'P1037', {'concept': 'Q502895'}]
['European Southern Observatory', 'manager/director', {'concept': 'common name'}]
[]
Q329211 Q2941858 Q186481
SYSTEM
Lodewijk Woltjer, Catherine Cesarsky, Riccardo Giacconi
Q62016 Q186481 Q329211 Q2659451 Q1748704 Q2941858 Q360028
(Q151991,P1037,c(Q502895))
action filter_type
action find
entity Q151991
relation P1037
type Q502895
[ANSWERS] manage that organization
['Q151991', 'P1037', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q151991 property:P1037 ?w }
Otto Heckmann Riccardo Giacconi Lodewijk Woltjer Tim de Zeeuw Harry van der Laan Catherine Cesarsky Adriaan Blaauw
Lodewijk Woltjer, Catherine Cesarsky and Riccardo Giacconi manage that organization
Lodewijk Woltjer Catherine Cesarsky Riccardo Giacconi
action filter_type
action find
entity European Southern Observatory
relation manager/director
type common name
['European Southern Observatory', 'manager/director', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:European_Southern_Observatory property:manager/director ?w }
[]