Simple Question (Direct)
Simple Question
Q2305958
P734
Q82799
USER
Who is associated with Christiane Martel ?
(Q2305958,P734,c(Q82799))
action filter_type
action find
entity Q2305958
relation P734
type Q82799
['Q2305958', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q2305958 property:P734 ?k . ?k rdf:type ontology:Q82799 }
Christiane Martel
action filter_type
action find
entity Christiane Martel
relation family name
type name
['Christiane Martel', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:Christiane_Martel property:family_name ?k . ?k rdf:type ontology:name }
[]
name
Q21492116
SYSTEM
Martel
Q21492116
(Q2305958,P734,c(Q82799))
action filter_type
action find
entity Q2305958
relation P734
type Q82799
Marie [ANSWER] is associated with Christiane [ANSWER]
['Q2305958', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q2305958 property:P734 ?k . ?k rdf:type ontology:Q82799 }
Martel
Marie Martel is associated with Christiane Martel
Martel
action filter_type
action find
entity Christiane Martel
relation family name
type name
['Christiane Martel', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:Christiane_Martel property:family_name ?k . ?k rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2305958
P26
Q502895
USER
Which person is married to Christiane Martel ?
(c(Q502895),P26,Q2305958)
action filter_type
action find
entity Q2305958
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q2305958']
SELECT DISTINCT ?a WHERE { resource:Q2305958 property:P26 ?a . ?a rdf:type ontology:Q502895 }
Christiane Martel
action filter_type
action find
entity Christiane Martel
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Christiane Martel']
SELECT DISTINCT ?a WHERE { resource:Christiane_Martel property:spouse ?a . ?a rdf:type ontology:common_name }
[]
common name
Q4473550
SYSTEM
Miguel Alemán Velasco
Q4473550
(c(Q502895),P26,Q2305958)
action filter_type
action find
entity Q2305958
relation P26
type Q502895
In [ANSWER] is married to Christiane Martel
[{'concept': 'Q502895'}, 'P26', 'Q2305958']
SELECT DISTINCT ?a WHERE { resource:Q2305958 property:P26 ?a . ?a rdf:type ontology:Q502895 }
Miguel Alemán Velasco
In Miguel Alemán Velasco is married to Christiane Martel
Miguel Alemán Velasco
action filter_type
action find
entity Christiane Martel
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Christiane Martel']
SELECT DISTINCT ?a WHERE { resource:Christiane_Martel property:spouse ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2305958
P1346
Q2658935
USER
Which beauty contest was won by Christiane Martel ?
(c(Q2658935),P1346,Q2305958)
action filter_type
action find_reverse
entity Q2305958
relation P1346
type Q2658935
[{'concept': 'Q2658935'}, 'P1346', 'Q2305958']
SELECT DISTINCT ?r WHERE { ?r property:P1346 resource:Q2305958 . ?r rdf:type ontology:Q2658935 }
Christiane Martel
action filter_type
action find_reverse
entity Christiane Martel
relation winner
type beauty contest
[{'concept': 'beauty contest'}, 'winner', 'Christiane Martel']
SELECT DISTINCT ?r WHERE { ?r property:winner resource:Christiane_Martel . ?r rdf:type ontology:beauty_contest }
[]
beauty contest
Q2412731
SYSTEM
Miss Universe 1953
Q2412731
(c(Q2658935),P1346,Q2305958)
action filter_type
action find_reverse
entity Q2305958
relation P1346
type Q2658935
[ANSWER] was won by Christiane Martel
[{'concept': 'Q2658935'}, 'P1346', 'Q2305958']
SELECT DISTINCT ?r WHERE { ?r property:P1346 resource:Q2305958 . ?r rdf:type ontology:Q2658935 }
Miss Universe 1953
Miss Universe 1953 was won by Christiane Martel
Miss Universe 1953
action filter_type
action find_reverse
entity Christiane Martel
relation winner
type beauty contest
[{'concept': 'beauty contest'}, 'winner', 'Christiane Martel']
SELECT DISTINCT ?r WHERE { ?r property:winner resource:Christiane_Martel . ?r rdf:type ontology:beauty_contest }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2412731
P371
Q502895
USER
Who was the anchor of that beauty contest ?
(Q2412731,P371,c(Q502895))
action filter_type
action find
entity Q2412731
relation P371
type Q502895
['Q2412731', 'P371', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q2412731 property:P371 ?s . ?s rdf:type ontology:Q502895 }
Miss Universe 1953
action filter_type
action find
entity Miss Universe 1953
relation presenter
type common name
['Miss Universe 1953', 'presenter', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Miss_Universe_1953 property:presenter ?s . ?s rdf:type ontology:common_name }
[]
common name
Q3641338
SYSTEM
Bob Russell
Q3641338
(Q2412731,P371,c(Q502895))
action filter_type
action find
entity Q2412731
relation P371
type Q502895
The anchor of that beauty contest was Miss [ANSWER]
['Q2412731', 'P371', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q2412731 property:P371 ?s . ?s rdf:type ontology:Q502895 }
Bob Russell
The anchor of that beauty contest was Miss Bob Russell
Bob Russell
action filter_type
action find
entity Miss Universe 1953
relation presenter
type common name
['Miss Universe 1953', 'presenter', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Miss_Universe_1953 property:presenter ?s . ?s rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1219890 Q2412731
P161 P371
Q502895
USER
Which people were the hosts of Miss Universe 1953 or starred in The Roaring Fifties ?
OR((Q2412731,P371,c(Q502895)), (Q1219890,P161,c(Q502895)))
action filter_type
action union
action find
entity Q2412731
relation P371
action find
entity Q1219890
relation P161
type Q502895
{'OR': [['Q2412731', 'P371', {'concept': 'Q502895'}], ['Q1219890', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q2412731 property:P371 ?j } UNION { resource:Q1219890 property:P161 ?j } } . ?j rdf:type ontology:Q502895 }
The Roaring Fifties Miss Universe 1953
action filter_type
action union
action find
entity Miss Universe 1953
relation presenter
action find
entity The Roaring Fifties
relation cast member
type common name
{'OR': [['Miss Universe 1953', 'presenter', {'concept': 'common name'}], ['The Roaring Fifties', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Miss_Universe_1953 property:presenter ?j } UNION { resource:The_Roaring_Fifties property:cast_member ?j } } . ?j rdf:type ontology:common_name }
[]
common name
Q70309 Q87911 Q1340427 Q87597 Q102611 Q71083 Q1788511 Q118556 Q110710 Q66408
SYSTEM
Some of them are Charles Régnier, Rudolf Lenz, Bob Lockwood, Sona MacDonald, Karl-Heinz Vosgerau, Paul Esser, Peter Böhlke, Uwe Friedrichsen, Sunnyi Melles, Christine Kaufmann
Q2097141 Q66479 Q995766 Q110710 Q1307717 Q3641338 Q79075 Q102611 Q114268 Q813263 Q77035 Q515973 Q87597 Q1286026 Q1078028 Q167897 Q829776 Q110080 Q105664 Q1457784 Q78211 Q86453 Q118556 Q111262 Q84722 Q70309 Q104196 Q466120 Q152101 Q103362 Q2591117 Q348410 Q67117 Q337235 Q66380 Q69648 Q1553491 Q1359024 Q71083 Q70294 Q87911 Q1788511 Q66408 Q1611949 Q2283386 Q1340427
OR((Q2412731,P371,c(Q502895)), (Q1219890,P161,c(Q502895)))
action filter_type
action union
action find
entity Q2412731
relation P371
action find
entity Q1219890
relation P161
type Q502895
[ANSWERS] were the hosts of Miss Universe 1953 or starred in The Roaring Fifties
{'OR': [['Q2412731', 'P371', {'concept': 'Q502895'}], ['Q1219890', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q2412731 property:P371 ?j } UNION { resource:Q1219890 property:P161 ?j } } . ?j rdf:type ontology:Q502895 }
Pit Krüger Curt Bois Dietrich Mattausch Sunnyi Melles Nathias Neutert Bob Russell Eva Mattes Karl-Heinz Vosgerau Ulrich Wildgruber Beatrice Richter Udo Kier András Fricsay Sona MacDonald Edi Bierling Christa Berndl Solange Dymenzstein Lou van Burg Karl Lieffen Burkhard Driest Friedrich-Karl Praetorius Bea Fiedler Boy Gobert Uwe Friedrichsen Diether Krebs Peter Kern Charles Régnier Ilja Richter Freddy Quinn Willy Millowitsch Klaus Höhne Wolfgang Sauer Juraj Kukura Margit Carstensen Dominique Horwitz Ivan Desny Brigitte Mira Guido Baumann Ernst Konarek Paul Esser Ingrid Caven Rudolf Lenz Peter Böhlke Christine Kaufmann Hermann Lause Siegfried Grönig Bob Lockwood
Charles Régnier, Rudolf Lenz, Bob Lockwood, Sona MacDonald, Karl-Heinz Vosgerau, Paul Esser, Peter Böhlke, Uwe Friedrichsen, Sunnyi Melles and Christine Kaufmann were the hosts of Miss Universe 1953 or starred in The Roaring Fifties
Charles Régnier Rudolf Lenz Bob Lockwood Sona MacDonald Karl-Heinz Vosgerau Paul Esser Peter Böhlke Uwe Friedrichsen Sunnyi Melles Christine Kaufmann
action filter_type
action union
action find
entity Miss Universe 1953
relation presenter
action find
entity The Roaring Fifties
relation cast member
type common name
{'OR': [['Miss Universe 1953', 'presenter', {'concept': 'common name'}], ['The Roaring Fifties', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Miss_Universe_1953 property:presenter ?j } UNION { resource:The_Roaring_Fifties property:cast_member ?j } } . ?j rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q102611
P106
Q12737077
USER
What does that person do for a living ?
(Q102611,P106,c(Q12737077))
action filter_type
action find
entity Q102611
relation P106
type Q12737077
['Q102611', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q102611 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Karl-Heinz Vosgerau
action filter_type
action find
entity Karl-Heinz Vosgerau
relation occupation
type occupation
['Karl-Heinz Vosgerau', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Karl-Heinz_Vosgerau property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q87911
SYSTEM
Did you mean Rudolf Lenz ?
Q70309 Q87911 Q1340427 Q87597 Q102611 Q71083 Q1788511 Q118556 Q110710 Q66408
(Q70309,P106,c(Q12737077)) (Q87911,P106,c(Q12737077)) (Q1340427,P106,c(Q12737077)) (Q87597,P106,c(Q12737077)) (Q102611,P106,c(Q12737077)) (Q71083,P106,c(Q12737077)) (Q1788511,P106,c(Q12737077)) (Q118556,P106,c(Q12737077)) (Q110710,P106,c(Q12737077)) (Q66408,P106,c(Q12737077))
[ANSWER]
['Q70309', 'P106', {'concept': 'Q12737077'}] ['Q87911', 'P106', {'concept': 'Q12737077'}] ['Q1340427', 'P106', {'concept': 'Q12737077'}] ['Q87597', 'P106', {'concept': 'Q12737077'}] ['Q102611', 'P106', {'concept': 'Q12737077'}] ['Q71083', 'P106', {'concept': 'Q12737077'}] ['Q1788511', 'P106', {'concept': 'Q12737077'}] ['Q118556', 'P106', {'concept': 'Q12737077'}] ['Q110710', 'P106', {'concept': 'Q12737077'}] ['Q66408', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q102611 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Charles Régnier Rudolf Lenz Bob Lockwood Sona MacDonald Karl-Heinz Vosgerau Paul Esser Peter Böhlke Uwe Friedrichsen Sunnyi Melles Christine Kaufmann
Did you mean Rudolf Lenz ?
Rudolf Lenz
['Charles Régnier', 'occupation', {'concept': 'occupation'}] ['Rudolf Lenz', 'occupation', {'concept': 'occupation'}] ['Bob Lockwood', 'occupation', {'concept': 'occupation'}] ['Sona MacDonald', 'occupation', {'concept': 'occupation'}] ['Karl-Heinz Vosgerau', 'occupation', {'concept': 'occupation'}] ['Paul Esser', 'occupation', {'concept': 'occupation'}] ['Peter Böhlke', 'occupation', {'concept': 'occupation'}] ['Uwe Friedrichsen', 'occupation', {'concept': 'occupation'}] ['Sunnyi Melles', 'occupation', {'concept': 'occupation'}] ['Christine Kaufmann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Karl-Heinz_Vosgerau property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
No, I meant Karl-Heinz Vosgerau. Could you tell me the answer for that?
(Q102611,P106,c(Q12737077))
Q102611
['Q102611', 'P106', {'concept': 'Q12737077'}]
['Karl-Heinz Vosgerau', 'occupation', {'concept': 'occupation'}]
[]
Q33999
SYSTEM
actor
Q33999
(Q102611,P106,c(Q12737077))
action filter_type
action find
entity Q102611
relation P106
type Q12737077
That person does an [ANSWER] for a living
['Q102611', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q102611 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
actor
That person does an actor for a living
actor
action filter_type
action find
entity Karl-Heinz Vosgerau
relation occupation
type occupation
['Karl-Heinz Vosgerau', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Karl-Heinz_Vosgerau property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5748 Q87911
P47 P27
Q1048835
USER
Which political territories are the countries of citizenship of Rudolf Lenz or share the border with Castile-La Mancha ?
OR((Q87911,P27,c(Q1048835)), (Q5748,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q87911
relation P27
action find
entity Q5748
relation P47
type Q1048835
{'OR': [['Q87911', 'P27', {'concept': 'Q1048835'}], ['Q5748', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q87911 property:P27 ?r } UNION { resource:Q5748 property:P47 ?r } } . ?r rdf:type ontology:Q1048835 }
Castile-La Mancha Rudolf Lenz
action filter_type
action union
action find
entity Rudolf Lenz
relation country of citizenship
action find
entity Castile-La Mancha
relation shares border with
type political territorial entity
{'OR': [['Rudolf Lenz', 'country of citizenship', {'concept': 'political territorial entity'}], ['Castile-La Mancha', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Rudolf_Lenz property:country_of_citizenship ?r } UNION { resource:Castile-La_Mancha property:shares_border_with ?r } } . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q5720 Q4040 Q40 Q5739 Q5783 Q5777 Q5756
SYSTEM
Valencian Country, Aragon, Austria, Castile and León, Andalusia, Extremadura, Community of Madrid
Q5720 Q4040 Q40 Q5739 Q5783 Q5777 Q5756
OR((Q87911,P27,c(Q1048835)), (Q5748,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q87911
relation P27
action find
entity Q5748
relation P47
type Q1048835
[ANSWERS] are the countries of citizenship of Rudolf Lenz or share the border with Castile-La Mancha
{'OR': [['Q87911', 'P27', {'concept': 'Q1048835'}], ['Q5748', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q87911 property:P27 ?r } UNION { resource:Q5748 property:P47 ?r } } . ?r rdf:type ontology:Q1048835 }
Valencian Country Aragon Austria Castile and León Andalusia Extremadura Community of Madrid
Valencian Country, Aragon, Austria, Castile and León, Andalusia, Extremadura and Community of Madrid are the countries of citizenship of Rudolf Lenz or share the border with Castile-La Mancha
Valencian Country Aragon Austria Castile and León Andalusia Extremadura Community of Madrid
action filter_type
action union
action find
entity Rudolf Lenz
relation country of citizenship
action find
entity Castile-La Mancha
relation shares border with
type political territorial entity
{'OR': [['Rudolf Lenz', 'country of citizenship', {'concept': 'political territorial entity'}], ['Castile-La Mancha', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Rudolf_Lenz property:country_of_citizenship ?r } UNION { resource:Castile-La_Mancha property:shares_border_with ?r } } . ?r rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5720 Q4040 Q40 Q5739 Q5783 Q5777 Q5756
P47
Q1048835
USER
Which political territories are bordered by those ones ?
(Q5720,P47,c(Q1048835)) (Q4040,P47,c(Q1048835)) (Q40,P47,c(Q1048835)) (Q5739,P47,c(Q1048835)) (Q5783,P47,c(Q1048835)) (Q5777,P47,c(Q1048835)) (Q5756,P47,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P47
type Q1048835
['Q5720', 'P47', {'concept': 'Q1048835'}] ['Q4040', 'P47', {'concept': 'Q1048835'}] ['Q40', 'P47', {'concept': 'Q1048835'}] ['Q5739', 'P47', {'concept': 'Q1048835'}] ['Q5783', 'P47', {'concept': 'Q1048835'}] ['Q5777', 'P47', {'concept': 'Q1048835'}] ['Q5756', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1048835 . VALUES ( ?q ) { ( resource:Q5720 ) ( resource:Q4040 ) ( resource:Q40 ) } . ?q property:P47 ?k }
Valencian Country Aragon Austria Castile and León Andalusia Extremadura Community of Madrid
action filter_type
action find
entity prev_answer
relation shares border with
type political territorial entity
['Valencian Country', 'shares border with', {'concept': 'political territorial entity'}] ['Aragon', 'shares border with', {'concept': 'political territorial entity'}] ['Austria', 'shares border with', {'concept': 'political territorial entity'}] ['Castile and León', 'shares border with', {'concept': 'political territorial entity'}] ['Andalusia', 'shares border with', {'concept': 'political territorial entity'}] ['Extremadura', 'shares border with', {'concept': 'political territorial entity'}] ['Community of Madrid', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:political_territorial_entity . VALUES ( ?q ) { ( resource:Valencian_Country ) ( resource:Aragon ) ( resource:Austria ) } . ?q property:shares_border_with ?k }
[]
political territorial entity
Q183 Q5705 Q5705
SYSTEM
Germany for 1st, Catalonia for 2nd, 3rd
Q5748 Q4040 Q5705 Q5720 Q5739 Q5748 Q5705 Q183 Q4040 Q3995 Q5748 Q3908 Q5777 Q5756 Q5748 Q5777 Q5739 Q5748 Q5783 Q5739 Q5748
(Q5720,P47,c(Q1048835)) (Q4040,P47,c(Q1048835)) (Q40,P47,c(Q1048835)) (Q5739,P47,c(Q1048835)) (Q5783,P47,c(Q1048835)) (Q5777,P47,c(Q1048835)) (Q5756,P47,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P47
type Q1048835
[ANSWERS]
['Q5720', 'P47', {'concept': 'Q1048835'}] ['Q4040', 'P47', {'concept': 'Q1048835'}] ['Q40', 'P47', {'concept': 'Q1048835'}] ['Q5739', 'P47', {'concept': 'Q1048835'}] ['Q5783', 'P47', {'concept': 'Q1048835'}] ['Q5777', 'P47', {'concept': 'Q1048835'}] ['Q5756', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1048835 . VALUES ( ?q ) { ( resource:Q5720 ) ( resource:Q4040 ) ( resource:Q40 ) } . ?q property:P47 ?k }
Castile-La Mancha Aragon Catalonia Valencian Country Castile and León Castile-La Mancha Catalonia Germany Aragon Basque Country Castile-La Mancha Galicia Extremadura Community of Madrid Castile-La Mancha Extremadura Castile and León Castile-La Mancha Andalusia Castile and León Castile-La Mancha
Germany, Catalonia and Catalonia are bordered by those ones
Germany Catalonia Catalonia
action filter_type
action find
entity prev_answer
relation shares border with
type political territorial entity
['Valencian Country', 'shares border with', {'concept': 'political territorial entity'}] ['Aragon', 'shares border with', {'concept': 'political territorial entity'}] ['Austria', 'shares border with', {'concept': 'political territorial entity'}] ['Castile and León', 'shares border with', {'concept': 'political territorial entity'}] ['Andalusia', 'shares border with', {'concept': 'political territorial entity'}] ['Extremadura', 'shares border with', {'concept': 'political territorial entity'}] ['Community of Madrid', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:political_territorial_entity . VALUES ( ?q ) { ( resource:Valencian_Country ) ( resource:Aragon ) ( resource:Austria ) } . ?q property:shares_border_with ?k }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5705
P17
Q1048835
USER
Which political territory is present in that one ?
(c(Q1048835),P17,Q5705)
action filter_type
action find_reverse
entity Q5705
relation P17
type Q1048835
[{'concept': 'Q1048835'}, 'P17', 'Q5705']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1048835 . ?y property:P17 resource:Q5705 }
Catalonia
action filter_type
action find_reverse
entity Catalonia
relation country
type political territorial entity
[{'concept': 'political territorial entity'}, 'country', 'Catalonia']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_territorial_entity . ?y property:country resource:Catalonia }
[]
political territorial entity
Clarification for simple ques.
Q5705
SYSTEM
Did you mean Catalonia ?
Q183 Q5705 Q5705
(c(Q1048835),P17,Q183) (c(Q1048835),P17,Q5705) (c(Q1048835),P17,Q5705)
[ANSWER]
[{'concept': 'Q1048835'}, 'P17', 'Q183'] [{'concept': 'Q1048835'}, 'P17', 'Q5705'] [{'concept': 'Q1048835'}, 'P17', 'Q5705']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1048835 . ?y property:P17 resource:Q5705 }
Germany Catalonia Catalonia
Did you mean Catalonia ?
Catalonia
[{'concept': 'political territorial entity'}, 'country', 'Germany'] [{'concept': 'political territorial entity'}, 'country', 'Catalonia'] [{'concept': 'political territorial entity'}, 'country', 'Catalonia']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_territorial_entity . ?y property:country resource:Catalonia }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q1048835),P17,Q5705)
[{'concept': 'Q1048835'}, 'P17', 'Q5705']
[{'concept': 'political territorial entity'}, 'country', 'Catalonia']
[]
Q13853
SYSTEM
Tona
Q13853
(c(Q1048835),P17,Q5705)
action filter_type
action find_reverse
entity Q5705
relation P17
type Q1048835
[ANSWER] is present in that one
[{'concept': 'Q1048835'}, 'P17', 'Q5705']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1048835 . ?y property:P17 resource:Q5705 }
Tona
Tona is present in that one
Tona
action filter_type
action find_reverse
entity Catalonia
relation country
type political territorial entity
[{'concept': 'political territorial entity'}, 'country', 'Catalonia']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_territorial_entity . ?y property:country resource:Catalonia }
[]