Simple Question (Direct)
Simple Question
Q1904796
P39
Q12737077
USER
Which occupations were the positions for which Martin Reichmann were appointed ?
(Q1904796,P39,c(Q12737077))
action filter_type
action find
entity Q1904796
relation P39
type Q12737077
['Q1904796', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q1904796 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Martin Reichmann
action filter_type
action find
entity Martin Reichmann
relation position held
type occupation
['Martin Reichmann', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Martin_Reichmann property:position_held ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q30185 Q1939555
SYSTEM
mayor, member of the German Bundestag
Q30185 Q1939555
(Q1904796,P39,c(Q12737077))
action filter_type
action find
entity Q1904796
relation P39
type Q12737077
The [ANSWERS] were the positions for which Martin Reichmann were appointed
['Q1904796', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q1904796 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
mayor member of the German Bundestag
The mayor and member of the German Bundestag were the positions for which Martin Reichmann were appointed
mayor member of the German Bundestag
action filter_type
action find
entity Martin Reichmann
relation position held
type occupation
['Martin Reichmann', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Martin_Reichmann property:position_held ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1904796
P20
Q56061
USER
Where did the expiration of Martin Reichmann occur ?
(Q1904796,P20,c(Q56061))
action filter_type
action find
entity Q1904796
relation P20
type Q56061
['Q1904796', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q1904796 property:P20 ?e . ?e rdf:type ontology:Q56061 }
Martin Reichmann
action filter_type
action find
entity Martin Reichmann
relation place of death
type administrative territorial entity
['Martin Reichmann', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Martin_Reichmann property:place_of_death ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q83062
SYSTEM
Donaueschingen
Q83062
(Q1904796,P20,c(Q56061))
action filter_type
action find
entity Q1904796
relation P20
type Q56061
The expiration of Martin Reichmann occurred in [ANSWER]
['Q1904796', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q1904796 property:P20 ?e . ?e rdf:type ontology:Q56061 }
Donaueschingen
The expiration of Martin Reichmann occurred in Donaueschingen
Donaueschingen
action filter_type
action find
entity Martin Reichmann
relation place of death
type administrative territorial entity
['Martin Reichmann', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Martin_Reichmann property:place_of_death ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1840073
Q56061
USER
And what about Lars-Erik Sjöberg?
(Q1840073,P20,c(Q56061))
action filter_type
action find
entity Q1840073
relation P20
type Q56061
['Q1840073', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q1840073 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Lars-Erik Sjöberg
action filter_type
action find
entity Lars-Erik Sjöberg
relation place of death
type administrative territorial entity
['Lars-Erik Sjöberg', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Lars-Erik_Sjöberg property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q25286
SYSTEM
Uppsala
Q25286
(Q1840073,P20,c(Q56061))
action filter_type
action find
entity Q1840073
relation P20
type Q56061
[ANSWER]
['Q1840073', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q1840073 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Uppsala
Uppsala
action filter_type
action find
entity Lars-Erik Sjöberg
relation place of death
type administrative territorial entity
['Lars-Erik Sjöberg', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Lars-Erik_Sjöberg property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q27268593 Q1904796
P27
Q1048835
USER
Which political territories are Martin Reichmann or Jannik Jonsson a civilian of ?
OR((Q1904796,P27,c(Q1048835)), (Q27268593,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1904796
relation P27
action find
entity Q27268593
relation P27
type Q1048835
{'OR': [['Q1904796', 'P27', {'concept': 'Q1048835'}], ['Q27268593', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1048835 . { { resource:Q1904796 property:P27 ?r } UNION { resource:Q27268593 property:P27 ?r } } }
Jannik Jonsson Martin Reichmann
action filter_type
action union
action find
entity Martin Reichmann
relation country of citizenship
action find
entity Jannik Jonsson
relation country of citizenship
type political territorial entity
{'OR': [['Martin Reichmann', 'country of citizenship', {'concept': 'political territorial entity'}], ['Jannik Jonsson', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:political_territorial_entity . { { resource:Martin_Reichmann property:country_of_citizenship ?r } UNION { resource:Jannik_Jonsson property:country_of_citizenship ?r } } }
[]
political territorial entity
Q183 Q9676
SYSTEM
Germany, Isle of Man
Q183 Q9676
OR((Q1904796,P27,c(Q1048835)), (Q27268593,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1904796
relation P27
action find
entity Q27268593
relation P27
type Q1048835
[ANSWERS] are Martin Reichmann or Jannik Jonsson a civilian of
{'OR': [['Q1904796', 'P27', {'concept': 'Q1048835'}], ['Q27268593', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1048835 . { { resource:Q1904796 property:P27 ?r } UNION { resource:Q27268593 property:P27 ?r } } }
Germany Isle of Man
Germany and Isle of Man are Martin Reichmann or Jannik Jonsson a civilian of
Germany Isle of Man
action filter_type
action union
action find
entity Martin Reichmann
relation country of citizenship
action find
entity Jannik Jonsson
relation country of citizenship
type political territorial entity
{'OR': [['Martin Reichmann', 'country of citizenship', {'concept': 'political territorial entity'}], ['Jannik Jonsson', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:political_territorial_entity . { { resource:Martin_Reichmann property:country_of_citizenship ?r } UNION { resource:Jannik_Jonsson property:country_of_citizenship ?r } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q9676
P37
Q34770
USER
What is considered to be the official language of that political territory ?
(Q9676,P37,c(Q34770))
action filter_type
action find
entity Q9676
relation P37
type Q34770
['Q9676', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q9676 property:P37 ?z . ?z rdf:type ontology:Q34770 }
Isle of Man
action filter_type
action find
entity Isle of Man
relation official language
type language
['Isle of Man', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:Isle_of_Man property:official_language ?z . ?z rdf:type ontology:language }
[]
language
Clarification for simple ques.
Q9676
SYSTEM
Did you mean Isle of Man ?
Q183 Q9676
(Q183,P37,c(Q34770)) (Q9676,P37,c(Q34770))
[ANSWER]
['Q183', 'P37', {'concept': 'Q34770'}] ['Q9676', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q9676 property:P37 ?z . ?z rdf:type ontology:Q34770 }
Germany Isle of Man
Did you mean Isle of Man ?
Isle of Man
['Germany', 'official language', {'concept': 'language'}] ['Isle of Man', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:Isle_of_Man property:official_language ?z . ?z rdf:type ontology:language }
[]
Simple Question (Coreferenced)
USER
Yes
(Q9676,P37,c(Q34770))
['Q9676', 'P37', {'concept': 'Q34770'}]
['Isle of Man', 'official language', {'concept': 'language'}]
[]
Q1860
SYSTEM
English
Q1860
(Q9676,P37,c(Q34770))
action filter_type
action find
entity Q9676
relation P37
type Q34770
[ANSWER] is considered to be the official language of that political territory
['Q9676', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q9676 property:P37 ?z . ?z rdf:type ontology:Q34770 }
English
English is considered to be the official language of that political territory
English
action filter_type
action find
entity Isle of Man
relation official language
type language
['Isle of Man', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:Isle_of_Man property:official_language ?z . ?z rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1860 Q1346342 Q15809175
P361
Q5962346
USER
Is that language a part of Anglic languages and Fabronic languages ?
(Q1860,P361,Q1346342) (Q1860,P361,Q15809175)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q1346342
relation P361
action find_reverse
entity Q15809175
relation P361
['Q1860', 'P361', 'Q1346342'] ['Q1860', 'P361', 'Q15809175']
ASK WHERE { resource:Q1860 property:P361 resource:Q1346342 . resource:Q1860 property:P361 resource:Q15809175 }
English Anglic languages Fabronic languages
action is_in
entity English
action intersection
action find_reverse
entity Anglic languages
relation part of
action find_reverse
entity Fabronic languages
relation part of
['English', 'part of', 'Anglic languages'] ['English', 'part of', 'Fabronic languages']
ASK WHERE { resource:English property:part_of resource:Anglic_languages . resource:English property:part_of resource:Fabronic_languages }
[]
classification scheme
SYSTEM
YES and NO respectively
(Q1860,P361,Q1346342) (Q1860,P361,Q15809175)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q1346342
relation P361
action find_reverse
entity Q15809175
relation P361
[ANSWER]
['Q1860', 'P361', 'Q1346342'] ['Q1860', 'P361', 'Q15809175']
ASK WHERE { resource:Q1860 property:P361 resource:Q1346342 . resource:Q1860 property:P361 resource:Q15809175 }
YES and NO respectively
action is_in
entity English
action intersection
action find_reverse
entity Anglic languages
relation part of
action find_reverse
entity Fabronic languages
relation part of
['English', 'part of', 'Anglic languages'] ['English', 'part of', 'Fabronic languages']
ASK WHERE { resource:English property:part_of resource:Anglic_languages . resource:English property:part_of resource:Fabronic_languages }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q9676 Q669536
P17
Q15617994
USER
Is Isle of Man a part of Mühl Rosin ?
(Q9676,P17,Q669536)
action is_in
entity Q669536
action find
entity Q9676
relation P17
['Q9676', 'P17', 'Q669536']
ASK WHERE { resource:Q9676 property:P17 resource:Q669536 }
Isle of Man Mühl Rosin
action is_in
entity Mühl Rosin
action find
entity Isle of Man
relation country
['Isle of Man', 'country', 'Mühl Rosin']
ASK WHERE { resource:Isle_of_Man property:country resource:Mühl_Rosin }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q9676,P17,Q669536)
action is_in
entity Q669536
action find
entity Q9676
relation P17
[ANSWER]
['Q9676', 'P17', 'Q669536']
ASK WHERE { resource:Q9676 property:P17 resource:Q669536 }
No
action is_in
entity Mühl Rosin
action find
entity Isle of Man
relation country
['Isle of Man', 'country', 'Mühl Rosin']
ASK WHERE { resource:Isle_of_Man property:country resource:Mühl_Rosin }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6313483 Q1939555
P27 P1001
Q1048835
USER
Which political territories come under the jurisdiction of member of the German Bundestag or are Junior Tomasi Cama a civilian of ?
OR((Q1939555,P1001,c(Q1048835)), (Q6313483,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1939555
relation P1001
action find
entity Q6313483
relation P27
type Q1048835
{'OR': [['Q1939555', 'P1001', {'concept': 'Q1048835'}], ['Q6313483', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q1939555 property:P1001 ?y } UNION { resource:Q6313483 property:P27 ?y } } . ?y rdf:type ontology:Q1048835 }
Junior Tomasi Cama member of the German Bundestag
action filter_type
action union
action find
entity member of the German Bundestag
relation applies to jurisdiction
action find
entity Junior Tomasi Cama
relation country of citizenship
type political territorial entity
{'OR': [['member of the German Bundestag', 'applies to jurisdiction', {'concept': 'political territorial entity'}], ['Junior Tomasi Cama', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:member_of_the_German_Bundestag property:applies_to_jurisdiction ?y } UNION { resource:Junior_Tomasi_Cama property:country_of_citizenship ?y } } . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664 Q183
SYSTEM
New Zealand, Germany
Q664 Q183
OR((Q1939555,P1001,c(Q1048835)), (Q6313483,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1939555
relation P1001
action find
entity Q6313483
relation P27
type Q1048835
[ANSWERS] come under the jurisdiction of member of the German Bundestag or are Junior Tomasi Cama a civilian of
{'OR': [['Q1939555', 'P1001', {'concept': 'Q1048835'}], ['Q6313483', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q1939555 property:P1001 ?y } UNION { resource:Q6313483 property:P27 ?y } } . ?y rdf:type ontology:Q1048835 }
New Zealand Germany
New Zealand and Germany come under the jurisdiction of member of the German Bundestag or are Junior Tomasi Cama a civilian of
New Zealand Germany
action filter_type
action union
action find
entity member of the German Bundestag
relation applies to jurisdiction
action find
entity Junior Tomasi Cama
relation country of citizenship
type political territorial entity
{'OR': [['member of the German Bundestag', 'applies to jurisdiction', {'concept': 'political territorial entity'}], ['Junior Tomasi Cama', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:member_of_the_German_Bundestag property:applies_to_jurisdiction ?y } UNION { resource:Junior_Tomasi_Cama property:country_of_citizenship ?y } } . ?y rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q817
P530
Q15617994 Q1048835
USER
Which administrative territories have a diplomatic relationship with lesser number of political territories than Kuwait ?
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q817
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:P530 ?q . ?q rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q1048835 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { resource:Q817 property:P530 ?b . ?b rdf:type ontology:Q1048835 } } . FILTER ( ?x < ?u ) }
Kuwait
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Kuwait
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { resource:Kuwait property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity } } . FILTER ( ?x < ?u ) }
[]
designation for an administrative territorial entity political territorial entity
Q805 Q858 Q842
SYSTEM
Yemen, Syria, Oman
Q805 Q784 Q710 Q399 Q398 Q790 Q1013 Q236 Q842 Q970 Q874 Q858
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q817
relation P530
type Q1048835
[ANSWERS] have a diplomatic relationship with lesser number of political territories than Kuwait
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:P530 ?q . ?q rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q1048835 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { resource:Q817 property:P530 ?b . ?b rdf:type ontology:Q1048835 } } . FILTER ( ?x < ?u ) }
Yemen Dominica Kiribati Armenia Bahrain Haiti Lesotho Montenegro Oman Comoros Turkmenistan Syria
Yemen, Syria and Oman have a diplomatic relationship with lesser number of political territories than Kuwait
Yemen Syria Oman
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Kuwait
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { resource:Kuwait property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity } } . FILTER ( ?x < ?u ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q805
P47
Q15617994
USER
Who share the border with that one ?
(Q805,P47,c(Q15617994))
action filter_type
action find
entity Q805
relation P47
type Q15617994
['Q805', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q805 property:P47 ?l . ?l rdf:type ontology:Q15617994 }
Yemen
action filter_type
action find
entity Yemen
relation shares border with
type designation for an administrative territorial entity
['Yemen', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Yemen property:shares_border_with ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q858
SYSTEM
Did you mean Syria ?
Q805 Q858 Q842
(Q805,P47,c(Q15617994)) (Q858,P47,c(Q15617994)) (Q842,P47,c(Q15617994))
[ANSWER]
['Q805', 'P47', {'concept': 'Q15617994'}] ['Q858', 'P47', {'concept': 'Q15617994'}] ['Q842', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q805 property:P47 ?l . ?l rdf:type ontology:Q15617994 }
Yemen Syria Oman
Did you mean Syria ?
Syria
['Yemen', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Syria', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Oman', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Yemen property:shares_border_with ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Yemen. Could you tell me the answer for that?
(Q805,P47,c(Q15617994))
Q805
['Q805', 'P47', {'concept': 'Q15617994'}]
['Yemen', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
[]
Q851 Q842
SYSTEM
Saudi Arabia, Oman
Q851 Q842
(Q805,P47,c(Q15617994))
action filter_type
action find
entity Q805
relation P47
type Q15617994
[ANSWERS] share the border with that one
['Q805', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q805 property:P47 ?l . ?l rdf:type ontology:Q15617994 }
Saudi Arabia Oman
Saudi Arabia and Oman share the border with that one
Saudi Arabia Oman
action filter_type
action find
entity Yemen
relation shares border with
type designation for an administrative territorial entity
['Yemen', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Yemen property:shares_border_with ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q851 Q842
P610
Q14524493
USER
Which are the highest point of Saudi Arabia and Oman ?
(Q851,P610,c(Q14524493)) (Q842,P610,c(Q14524493))
action union
action filter_type
action find
entity Q851
relation P610
type Q14524493
action filter_type
action find
entity Q842
relation P610
type Q14524493
['Q851', 'P610', {'concept': 'Q14524493'}] ['Q842', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?y WHERE { { resource:Q851 property:P610 ?y . ?y rdf:type ontology:Q14524493 } UNION { resource:Q842 property:P610 ?y . ?y rdf:type ontology:Q14524493 } }
Saudi Arabia Oman
action union
action filter_type
action find
entity Saudi Arabia
relation highest point
type terrain
action filter_type
action find
entity Oman
relation highest point
type terrain
['Saudi Arabia', 'highest point', {'concept': 'terrain'}] ['Oman', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?y WHERE { { resource:Saudi_Arabia property:highest_point ?y . ?y rdf:type ontology:terrain } UNION { resource:Oman property:highest_point ?y . ?y rdf:type ontology:terrain } }
[]
terrain
Q1261892 Q1261915
SYSTEM
Jabal Sawda, Jebel Shams
Q1261892 Q1261915
(Q851,P610,c(Q14524493)) (Q842,P610,c(Q14524493))
action union
action filter_type
action find
entity Q851
relation P610
type Q14524493
action filter_type
action find
entity Q842
relation P610
type Q14524493
The highest point of Saudi Arabia and Oman are the [ANSWERS]
['Q851', 'P610', {'concept': 'Q14524493'}] ['Q842', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?y WHERE { { resource:Q851 property:P610 ?y . ?y rdf:type ontology:Q14524493 } UNION { resource:Q842 property:P610 ?y . ?y rdf:type ontology:Q14524493 } }
Jabal Sawda Jebel Shams
The highest point of Saudi Arabia and Oman are the Jabal Sawda and Jebel Shams
Jabal Sawda Jebel Shams
action union
action filter_type
action find
entity Saudi Arabia
relation highest point
type terrain
action filter_type
action find
entity Oman
relation highest point
type terrain
['Saudi Arabia', 'highest point', {'concept': 'terrain'}] ['Oman', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?y WHERE { { resource:Saudi_Arabia property:highest_point ?y . ?y rdf:type ontology:terrain } UNION { resource:Oman property:highest_point ?y . ?y rdf:type ontology:terrain } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1261915
P30
Q2221906
USER
Which geographic location is that terrain located in ?
(Q1261915,P30,c(Q2221906))
action filter_type
action find
entity Q1261915
relation P30
type Q2221906
['Q1261915', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q1261915 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Jebel Shams
action filter_type
action find
entity Jebel Shams
relation continent
type geographic location
['Jebel Shams', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Jebel_Shams property:continent ?y . ?y rdf:type ontology:geographic_location }
[]
geographic location
Clarification for simple ques.
Q1261915
SYSTEM
Did you mean Jebel Shams ?
Q1261892 Q1261915
(Q1261892,P30,c(Q2221906)) (Q1261915,P30,c(Q2221906))
[ANSWER]
['Q1261892', 'P30', {'concept': 'Q2221906'}] ['Q1261915', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q1261915 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Jabal Sawda Jebel Shams
Did you mean Jebel Shams ?
Jebel Shams
['Jabal Sawda', 'continent', {'concept': 'geographic location'}] ['Jebel Shams', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Jebel_Shams property:continent ?y . ?y rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1261915,P30,c(Q2221906))
['Q1261915', 'P30', {'concept': 'Q2221906'}]
['Jebel Shams', 'continent', {'concept': 'geographic location'}]
[]
Q48
SYSTEM
Asia
Q48
(Q1261915,P30,c(Q2221906))
action filter_type
action find
entity Q1261915
relation P30
type Q2221906
That terrain is located in [ANSWER]
['Q1261915', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q1261915 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Asia
That terrain is located in Asia
Asia
action filter_type
action find
entity Jebel Shams
relation continent
type geographic location
['Jebel Shams', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Jebel_Shams property:continent ?y . ?y rdf:type ontology:geographic_location }
[]