Simple Question (Direct)
Simple Question
Q360517
P40
Q502895
USER
Which person is an offspring of John D. Hertz ?
(Q360517,P40,c(Q502895))
action filter_type
action find
entity Q360517
relation P40
type Q502895
['Q360517', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q360517 property:P40 ?m . ?m rdf:type ontology:Q502895 }
John D. Hertz
action filter_type
action find
entity John D. Hertz
relation child
type common name
['John D. Hertz', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:John_D._Hertz property:child ?m . ?m rdf:type ontology:common_name }
[]
common name
Q15125792
SYSTEM
John Hertz, Jr.
Q15125792
(Q360517,P40,c(Q502895))
action filter_type
action find
entity Q360517
relation P40
type Q502895
[ANSWER] is an offspring of John D. Hertz
['Q360517', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q360517 property:P40 ?m . ?m rdf:type ontology:Q502895 }
John Hertz, Jr.
John Hertz, Jr. is an offspring of John D. Hertz
John Hertz, Jr.
action filter_type
action find
entity John D. Hertz
relation child
type common name
['John D. Hertz', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:John_D._Hertz property:child ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15125792
P22
Q502895
USER
Which person was the father of that one ?
(Q15125792,P22,c(Q502895))
action filter_type
action find
entity Q15125792
relation P22
type Q502895
['Q15125792', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q15125792 property:P22 ?h . ?h rdf:type ontology:Q502895 }
John Hertz, Jr.
action filter_type
action find
entity John Hertz, Jr.
relation father
type common name
['John Hertz, Jr.', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:John_Hertz,_Jr. property:father ?h . ?h rdf:type ontology:common_name }
[]
common name
Q360517
SYSTEM
John D. Hertz
Q360517
(Q15125792,P22,c(Q502895))
action filter_type
action find
entity Q15125792
relation P22
type Q502895
[ANSWER] was the father of that one
['Q15125792', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q15125792 property:P22 ?h . ?h rdf:type ontology:Q502895 }
John D. Hertz
John D. Hertz was the father of that one
John D. Hertz
action filter_type
action find
entity John Hertz, Jr.
relation father
type common name
['John Hertz, Jr.', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:John_Hertz,_Jr. property:father ?h . ?h rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atmost 6008 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 6008
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?t <= 6008 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 6008
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?t <= 6008 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 6008
[ANSWERS] can atmost 6008 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?t <= 6008 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano can atmost 6008 people perform with
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 6008
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?t <= 6008 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q360517
P19
Q56061
USER
Where was John D. Hertz born ?
(Q360517,P19,c(Q56061))
action filter_type
action find
entity Q360517
relation P19
type Q56061
['Q360517', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q360517 property:P19 ?q . ?q rdf:type ontology:Q56061 }
John D. Hertz
action filter_type
action find
entity John D. Hertz
relation place of birth
type administrative territorial entity
['John D. Hertz', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:John_D._Hertz property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q837456
SYSTEM
Vrútky
Q837456
(Q360517,P19,c(Q56061))
action filter_type
action find
entity Q360517
relation P19
type Q56061
John D. Hertz was born in [ANSWER]
['Q360517', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q360517 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Vrútky
John D. Hertz was born in Vrútky
Vrútky
action filter_type
action find
entity John D. Hertz
relation place of birth
type administrative territorial entity
['John D. Hertz', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:John_D._Hertz property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q837456 Q214
P17
Q15617994
USER
Is Vrútky situated in Slovakia ?
(Q837456,P17,Q214)
action is_in
entity Q214
action find
entity Q837456
relation P17
['Q837456', 'P17', 'Q214']
ASK WHERE { resource:Q837456 property:P17 resource:Q214 }
Vrútky Slovakia
action is_in
entity Slovakia
action find
entity Vrútky
relation country
['Vrútky', 'country', 'Slovakia']
ASK WHERE { resource:Vrútky property:country resource:Slovakia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q837456,P17,Q214)
action is_in
entity Q214
action find
entity Q837456
relation P17
[ANSWER]
['Q837456', 'P17', 'Q214']
ASK WHERE { resource:Q837456 property:P17 resource:Q214 }
Yes
action is_in
entity Slovakia
action find
entity Vrútky
relation country
['Vrútky', 'country', 'Slovakia']
ASK WHERE { resource:Vrútky property:country resource:Slovakia }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1178361 Q563191 Q71888
P495
Q15617994
USER
Is Weitersbach and Calvizzano a country of origin of davul ?
(Q1178361,P495,Q563191) (Q1178361,P495,Q71888)
action is_in
entity Q1178361
action intersection
action find_reverse
entity Q563191
relation P495
action find_reverse
entity Q71888
relation P495
['Q1178361', 'P495', 'Q563191'] ['Q1178361', 'P495', 'Q71888']
ASK WHERE { resource:Q1178361 property:P495 resource:Q563191 . resource:Q1178361 property:P495 resource:Q71888 }
davul Weitersbach Calvizzano
action is_in
entity davul
action intersection
action find_reverse
entity Weitersbach
relation country of origin
action find_reverse
entity Calvizzano
relation country of origin
['davul', 'country of origin', 'Weitersbach'] ['davul', 'country of origin', 'Calvizzano']
ASK WHERE { resource:davul property:country_of_origin resource:Weitersbach . resource:davul property:country_of_origin resource:Calvizzano }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1178361,P495,Q563191) (Q1178361,P495,Q71888)
action is_in
entity Q1178361
action intersection
action find_reverse
entity Q563191
relation P495
action find_reverse
entity Q71888
relation P495
[ANSWER]
['Q1178361', 'P495', 'Q563191'] ['Q1178361', 'P495', 'Q71888']
ASK WHERE { resource:Q1178361 property:P495 resource:Q563191 . resource:Q1178361 property:P495 resource:Q71888 }
No
action is_in
entity davul
action intersection
action find_reverse
entity Weitersbach
relation country of origin
action find_reverse
entity Calvizzano
relation country of origin
['davul', 'country of origin', 'Weitersbach'] ['davul', 'country of origin', 'Calvizzano']
ASK WHERE { resource:davul property:country_of_origin resource:Weitersbach . resource:davul property:country_of_origin resource:Calvizzano }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1627583 Q563191
P47 P17
Q1048835
USER
Which political territories do Weitersbach belong to or are adjacent to Rodeiro ?
OR((Q563191,P17,c(Q1048835)), (Q1627583,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q563191
relation P17
action find
entity Q1627583
relation P47
type Q1048835
{'OR': [['Q563191', 'P17', {'concept': 'Q1048835'}], ['Q1627583', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q563191 property:P17 ?e } UNION { resource:Q1627583 property:P47 ?e } } . ?e rdf:type ontology:Q1048835 }
Rodeiro Weitersbach
action filter_type
action union
action find
entity Weitersbach
relation country
action find
entity Rodeiro
relation shares border with
type political territorial entity
{'OR': [['Weitersbach', 'country', {'concept': 'political territorial entity'}], ['Rodeiro', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Weitersbach property:country ?e } UNION { resource:Rodeiro property:shares_border_with ?e } } . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1374736 Q1614585 Q1603760 Q395225 Q183 Q1444347 Q1368972 Q1447512 Q578118 Q934212
SYSTEM
Lalín, Dozón, San Cristovo de Cea, Agolada, Germany, Carballedo, Antas de Ulla, Chantada, Taboada, Piñor
Q1374736 Q1614585 Q1603760 Q395225 Q183 Q1444347 Q1368972 Q1447512 Q578118 Q934212
OR((Q563191,P17,c(Q1048835)), (Q1627583,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q563191
relation P17
action find
entity Q1627583
relation P47
type Q1048835
[ANSWERS] Weitersbach belong to or are adjacent to Rodeiro
{'OR': [['Q563191', 'P17', {'concept': 'Q1048835'}], ['Q1627583', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q563191 property:P17 ?e } UNION { resource:Q1627583 property:P47 ?e } } . ?e rdf:type ontology:Q1048835 }
Lalín Dozón San Cristovo de Cea Agolada Germany Carballedo Antas de Ulla Chantada Taboada Piñor
Lalín, Dozón, San Cristovo de Cea, Agolada, Germany, Carballedo, Antas de Ulla, Chantada, Taboada and Piñor Weitersbach belong to or are adjacent to Rodeiro
Lalín Dozón San Cristovo de Cea Agolada Germany Carballedo Antas de Ulla Chantada Taboada Piñor
action filter_type
action union
action find
entity Weitersbach
relation country
action find
entity Rodeiro
relation shares border with
type political territorial entity
{'OR': [['Weitersbach', 'country', {'concept': 'political territorial entity'}], ['Rodeiro', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Weitersbach property:country ?e } UNION { resource:Rodeiro property:shares_border_with ?e } } . ?e rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1374736 Q1614585 Q1603760 Q395225 Q183 Q1444347 Q1368972 Q1447512 Q578118 Q934212
P6
Q502895
USER
Which people are the head of government of those political territories ?
(Q1374736,P6,c(Q502895)) (Q1614585,P6,c(Q502895)) (Q1603760,P6,c(Q502895)) (Q395225,P6,c(Q502895)) (Q183,P6,c(Q502895)) (Q1444347,P6,c(Q502895)) (Q1368972,P6,c(Q502895)) (Q1447512,P6,c(Q502895)) (Q578118,P6,c(Q502895)) (Q934212,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
['Q1374736', 'P6', {'concept': 'Q502895'}] ['Q1614585', 'P6', {'concept': 'Q502895'}] ['Q1603760', 'P6', {'concept': 'Q502895'}] ['Q395225', 'P6', {'concept': 'Q502895'}] ['Q183', 'P6', {'concept': 'Q502895'}] ['Q1444347', 'P6', {'concept': 'Q502895'}] ['Q1368972', 'P6', {'concept': 'Q502895'}] ['Q1447512', 'P6', {'concept': 'Q502895'}] ['Q578118', 'P6', {'concept': 'Q502895'}] ['Q934212', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?u property:P6 ?k . VALUES ( ?u ) { ( resource:Q1374736 ) ( resource:Q1614585 ) ( resource:Q1603760 ) } . ?k rdf:type ontology:Q502895 }
Lalín Dozón San Cristovo de Cea Agolada Germany Carballedo Antas de Ulla Chantada Taboada Piñor
action filter_type
action find
entity prev_answer
relation head of government
type common name
['Lalín', 'head of government', {'concept': 'common name'}] ['Dozón', 'head of government', {'concept': 'common name'}] ['San Cristovo de Cea', 'head of government', {'concept': 'common name'}] ['Agolada', 'head of government', {'concept': 'common name'}] ['Germany', 'head of government', {'concept': 'common name'}] ['Carballedo', 'head of government', {'concept': 'common name'}] ['Antas de Ulla', 'head of government', {'concept': 'common name'}] ['Chantada', 'head of government', {'concept': 'common name'}] ['Taboada', 'head of government', {'concept': 'common name'}] ['Piñor', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?u property:head_of_government ?k . VALUES ( ?u ) { ( resource:Lalín ) ( resource:Dozón ) ( resource:San_Cristovo_de_Cea ) } . ?k rdf:type ontology:common_name }
[]
common name
Q2492 Q2514 Q567
SYSTEM
Konrad Adenauer, Willy Brandt, Angela Merkel
Q9013780 Q12382487 Q12391075 Q13218606 Q2492 Q2518 Q2530 Q2496 Q2514 Q2516 Q2571 Q2512 Q567 Q12391315 Q12390838 Q12392758 Q12398569 Q14087223
(Q1374736,P6,c(Q502895)) (Q1614585,P6,c(Q502895)) (Q1603760,P6,c(Q502895)) (Q395225,P6,c(Q502895)) (Q183,P6,c(Q502895)) (Q1444347,P6,c(Q502895)) (Q1368972,P6,c(Q502895)) (Q1447512,P6,c(Q502895)) (Q578118,P6,c(Q502895)) (Q934212,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
[ANSWERS] are the head of government of those political territories
['Q1374736', 'P6', {'concept': 'Q502895'}] ['Q1614585', 'P6', {'concept': 'Q502895'}] ['Q1603760', 'P6', {'concept': 'Q502895'}] ['Q395225', 'P6', {'concept': 'Q502895'}] ['Q183', 'P6', {'concept': 'Q502895'}] ['Q1444347', 'P6', {'concept': 'Q502895'}] ['Q1368972', 'P6', {'concept': 'Q502895'}] ['Q1447512', 'P6', {'concept': 'Q502895'}] ['Q578118', 'P6', {'concept': 'Q502895'}] ['Q934212', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?u property:P6 ?k . VALUES ( ?u ) { ( resource:Q1374736 ) ( resource:Q1614585 ) ( resource:Q1603760 ) } . ?k rdf:type ontology:Q502895 }
José Crespo Iglesias Adolfo Campos Panadeiros Jose Luis Valladares Fernández Ramiro Varela Peón Konrad Adenauer Helmut Kohl Gerhard Schröder Ludwig Erhard Willy Brandt Helmut Schmidt Walter Scheel Kurt Georg Kiesinger Angela Merkel Julio Manuel Yebra-Pimentel Blanco Javier Varela Pérez Manuel Lorenzo Varela Rodríguez Ramiro Moure Ansoar Jose Luis Gonzalez Gutierrez
Konrad Adenauer, Willy Brandt and Angela Merkel are the head of government of those political territories
Konrad Adenauer Willy Brandt Angela Merkel
action filter_type
action find
entity prev_answer
relation head of government
type common name
['Lalín', 'head of government', {'concept': 'common name'}] ['Dozón', 'head of government', {'concept': 'common name'}] ['San Cristovo de Cea', 'head of government', {'concept': 'common name'}] ['Agolada', 'head of government', {'concept': 'common name'}] ['Germany', 'head of government', {'concept': 'common name'}] ['Carballedo', 'head of government', {'concept': 'common name'}] ['Antas de Ulla', 'head of government', {'concept': 'common name'}] ['Chantada', 'head of government', {'concept': 'common name'}] ['Taboada', 'head of government', {'concept': 'common name'}] ['Piñor', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?u property:head_of_government ?k . VALUES ( ?u ) { ( resource:Lalín ) ( resource:Dozón ) ( resource:San_Cristovo_de_Cea ) } . ?k rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1374736
P1313
Q12737077
USER
Which occupation is fulfilled by that political territory ?
(Q1374736,P1313,c(Q12737077))
action filter_type
action find
entity Q1374736
relation P1313
type Q12737077
['Q1374736', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q1374736 property:P1313 ?q . ?q rdf:type ontology:Q12737077 }
Lalín
action filter_type
action find
entity Lalín
relation office held by head of government
type occupation
['Lalín', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Lalín property:office_held_by_head_of_government ?q . ?q rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q1374736
SYSTEM
Did you mean Lalín ?
Q2492 Q2514 Q567
(Q2492,P1313,c(Q12737077)) (Q2514,P1313,c(Q12737077)) (Q567,P1313,c(Q12737077))
[ANSWER]
['Q2492', 'P1313', {'concept': 'Q12737077'}] ['Q2514', 'P1313', {'concept': 'Q12737077'}] ['Q567', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q1374736 property:P1313 ?q . ?q rdf:type ontology:Q12737077 }
Konrad Adenauer Willy Brandt Angela Merkel
Did you mean Lalín ?
Lalín
['Konrad Adenauer', 'office held by head of government', {'concept': 'occupation'}] ['Willy Brandt', 'office held by head of government', {'concept': 'occupation'}] ['Angela Merkel', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Lalín property:office_held_by_head_of_government ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1374736,P1313,c(Q12737077))
['Q1374736', 'P1313', {'concept': 'Q12737077'}]
['Lalín', 'office held by head of government', {'concept': 'occupation'}]
[]
Q26691036
SYSTEM
mayor of Lalín
Q26691036
(Q1374736,P1313,c(Q12737077))
action filter_type
action find
entity Q1374736
relation P1313
type Q12737077
The [ANSWER] is fulfilled by that political territory
['Q1374736', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q1374736 property:P1313 ?q . ?q rdf:type ontology:Q12737077 }
mayor of Lalín
The mayor of Lalín is fulfilled by that political territory
mayor of Lalín
action filter_type
action find
entity Lalín
relation office held by head of government
type occupation
['Lalín', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Lalín property:office_held_by_head_of_government ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1374736
P1001
Q12737077
USER
Which occupation has jurisdiction over Lalín ?
(c(Q12737077),P1001,Q1374736)
action filter_type
action find_reverse
entity Q1374736
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q1374736']
SELECT DISTINCT ?j WHERE { ?j property:P1001 resource:Q1374736 . ?j rdf:type ontology:Q12737077 }
Lalín
action filter_type
action find_reverse
entity Lalín
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Lalín']
SELECT DISTINCT ?j WHERE { ?j property:applies_to_jurisdiction resource:Lalín . ?j rdf:type ontology:occupation }
[]
occupation
Q26691036
SYSTEM
mayor of Lalín
Q26691036
(c(Q12737077),P1001,Q1374736)
action filter_type
action find_reverse
entity Q1374736
relation P1001
type Q12737077
The [ANSWER] has jurisdiction over Lalín
[{'concept': 'Q12737077'}, 'P1001', 'Q1374736']
SELECT DISTINCT ?j WHERE { ?j property:P1001 resource:Q1374736 . ?j rdf:type ontology:Q12737077 }
mayor of Lalín
The mayor of Lalín has jurisdiction over Lalín
mayor of Lalín
action filter_type
action find_reverse
entity Lalín
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Lalín']
SELECT DISTINCT ?j WHERE { ?j property:applies_to_jurisdiction resource:Lalín . ?j rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26691036
P1313
Q1048835
USER
Which political territory has that occupation as position of head of government ?
(c(Q1048835),P1313,Q26691036)
action filter_type
action find_reverse
entity Q26691036
relation P1313
type Q1048835
[{'concept': 'Q1048835'}, 'P1313', 'Q26691036']
SELECT DISTINCT ?y WHERE { ?y property:P1313 resource:Q26691036 . ?y rdf:type ontology:Q1048835 }
mayor of Lalín
action filter_type
action find_reverse
entity mayor of Lalín
relation office held by head of government
type political territorial entity
[{'concept': 'political territorial entity'}, 'office held by head of government', 'mayor of Lalín']
SELECT DISTINCT ?y WHERE { ?y property:office_held_by_head_of_government resource:mayor_of_Lalín . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1374736
SYSTEM
Lalín
Q1374736
(c(Q1048835),P1313,Q26691036)
action filter_type
action find_reverse
entity Q26691036
relation P1313
type Q1048835
[ANSWER] has that occupation as position of head of government
[{'concept': 'Q1048835'}, 'P1313', 'Q26691036']
SELECT DISTINCT ?y WHERE { ?y property:P1313 resource:Q26691036 . ?y rdf:type ontology:Q1048835 }
Lalín
Lalín has that occupation as position of head of government
Lalín
action filter_type
action find_reverse
entity mayor of Lalín
relation office held by head of government
type political territorial entity
[{'concept': 'political territorial entity'}, 'office held by head of government', 'mayor of Lalín']
SELECT DISTINCT ?y WHERE { ?y property:office_held_by_head_of_government resource:mayor_of_Lalín . ?y rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1374736 Q4420858
P47
Q1048835
USER
Does Siriaky have an adjacent border with that one ?
(Q4420858,P47,Q1374736)
action is_in
entity Q4420858
action find
entity Q1374736
relation P47
['Q4420858', 'P47', 'Q1374736']
ASK WHERE { resource:Q1374736 property:P47 resource:Q4420858 }
Lalín Siriaky
action is_in
entity Siriaky
action find
entity Lalín
relation shares border with
['Siriaky', 'shares border with', 'Lalín']
ASK WHERE { resource:Lalín property:shares_border_with resource:Siriaky }
[]
political territorial entity
SYSTEM
NO
(Q4420858,P47,Q1374736)
action is_in
entity Q4420858
action find
entity Q1374736
relation P47
[ANSWER]
['Q4420858', 'P47', 'Q1374736']
ASK WHERE { resource:Q1374736 property:P47 resource:Q4420858 }
No
action is_in
entity Siriaky
action find
entity Lalín
relation shares border with
['Siriaky', 'shares border with', 'Lalín']
ASK WHERE { resource:Lalín property:shares_border_with resource:Siriaky }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2514 Q6602
P937
Q515
USER
Is Strasbourg the work location of Willy Brandt ?
(Q2514,P937,Q6602)
action is_in
entity Q6602
action find
entity Q2514
relation P937
['Q2514', 'P937', 'Q6602']
ASK WHERE { resource:Q2514 property:P937 resource:Q6602 }
Willy Brandt Strasbourg
action is_in
entity Strasbourg
action find
entity Willy Brandt
relation work location
['Willy Brandt', 'work location', 'Strasbourg']
ASK WHERE { resource:Willy_Brandt property:work_location resource:Strasbourg }
[]
city
SYSTEM
YES
(Q2514,P937,Q6602)
action is_in
entity Q6602
action find
entity Q2514
relation P937
[ANSWER]
['Q2514', 'P937', 'Q6602']
ASK WHERE { resource:Q2514 property:P937 resource:Q6602 }
Yes
action is_in
entity Strasbourg
action find
entity Willy Brandt
relation work location
['Willy Brandt', 'work location', 'Strasbourg']
ASK WHERE { resource:Willy_Brandt property:work_location resource:Strasbourg }
[]