Simple Question (Direct)
Simple Question
Q367598
P2348
Q3024240
USER
When did Nepotianus take place ?
(Q367598,P2348,c(Q3024240))
action filter_type
action find
entity Q367598
relation P2348
type Q3024240
['Q367598', 'P2348', {'concept': 'Q3024240'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q3024240 . resource:Q367598 property:P2348 ?z }
Nepotianus
action filter_type
action find
entity Nepotianus
relation period
type former country
['Nepotianus', 'period', {'concept': 'former country'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:former_country . resource:Nepotianus property:period ?z }
[]
former country
Q2277
SYSTEM
Roman Empire
Q2277
(Q367598,P2348,c(Q3024240))
action filter_type
action find
entity Q367598
relation P2348
type Q3024240
Nepotianus took place in [ANSWER]
['Q367598', 'P2348', {'concept': 'Q3024240'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q3024240 . resource:Q367598 property:P2348 ?z }
Roman Empire
Nepotianus took place in Roman Empire
Roman Empire
action filter_type
action find
entity Nepotianus
relation period
type former country
['Nepotianus', 'period', {'concept': 'former country'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:former_country . resource:Nepotianus property:period ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q367598
P25
Q502895
USER
Which person was the mother of Nepotianus ?
(Q367598,P25,c(Q502895))
action filter_type
action find
entity Q367598
relation P25
type Q502895
['Q367598', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q367598 property:P25 ?r . ?r rdf:type ontology:Q502895 }
Nepotianus
action filter_type
action find
entity Nepotianus
relation mother
type common name
['Nepotianus', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Nepotianus property:mother ?r . ?r rdf:type ontology:common_name }
[]
common name
Q291738
SYSTEM
Eutropia
Q291738
(Q367598,P25,c(Q502895))
action filter_type
action find
entity Q367598
relation P25
type Q502895
[ANSWER] was the mother of Nepotianus
['Q367598', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q367598 property:P25 ?r . ?r rdf:type ontology:Q502895 }
Eutropia
Eutropia was the mother of Nepotianus
Eutropia
action filter_type
action find
entity Nepotianus
relation mother
type common name
['Nepotianus', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Nepotianus property:mother ?r . ?r rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1214972 Q367598
P25 P161
Q502895
USER
Which people were the mother of Nepotianus or were casted in In the Mouth of Madness ?
OR((Q367598,P25,c(Q502895)), (Q1214972,P161,c(Q502895)))
action filter_type
action union
action find
entity Q367598
relation P25
action find
entity Q1214972
relation P161
type Q502895
{'OR': [['Q367598', 'P25', {'concept': 'Q502895'}], ['Q1214972', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q367598 property:P25 ?p } UNION { resource:Q1214972 property:P161 ?p } } . ?p rdf:type ontology:Q502895 }
In the Mouth of Madness Nepotianus
action filter_type
action union
action find
entity Nepotianus
relation mother
action find
entity In the Mouth of Madness
relation cast member
type common name
{'OR': [['Nepotianus', 'mother', {'concept': 'common name'}], ['In the Mouth of Madness', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Nepotianus property:mother ?p } UNION { resource:In_the_Mouth_of_Madness property:cast_member ?p } } . ?p rdf:type ontology:common_name }
[]
common name
Q291738 Q311517 Q192812 Q80739 Q363271 Q281621 Q292446 Q61356 Q71412 Q508681
SYSTEM
Some of them are Eutropia, Kevin Zegers, Hayden Christensen, Charlton Heston, David Warner, John Glover, Frances Bay, Jürgen Prochnow, Norbert Grupe, Julie Carmen
Q508681 Q281621 Q311517 Q363271 Q80739 Q372497 Q292446 Q214309 Q291738 Q61356 Q71412 Q192812
OR((Q367598,P25,c(Q502895)), (Q1214972,P161,c(Q502895)))
action filter_type
action union
action find
entity Q367598
relation P25
action find
entity Q1214972
relation P161
type Q502895
[ANSWERS] were the mother of Nepotianus or were casted in In the Mouth of Madness
{'OR': [['Q367598', 'P25', {'concept': 'Q502895'}], ['Q1214972', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q367598 property:P25 ?p } UNION { resource:Q1214972 property:P161 ?p } } . ?p rdf:type ontology:Q502895 }
Julie Carmen John Glover Kevin Zegers David Warner Charlton Heston Bernie Casey Frances Bay Sam Neill Eutropia Jürgen Prochnow Norbert Grupe Hayden Christensen
Eutropia, Kevin Zegers, Hayden Christensen, Charlton Heston, David Warner, John Glover, Frances Bay, Jürgen Prochnow, Norbert Grupe and Julie Carmen were the mother of Nepotianus or were casted in In the Mouth of Madness
Eutropia Kevin Zegers Hayden Christensen Charlton Heston David Warner John Glover Frances Bay Jürgen Prochnow Norbert Grupe Julie Carmen
action filter_type
action union
action find
entity Nepotianus
relation mother
action find
entity In the Mouth of Madness
relation cast member
type common name
{'OR': [['Nepotianus', 'mother', {'concept': 'common name'}], ['In the Mouth of Madness', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Nepotianus property:mother ?p } UNION { resource:In_the_Mouth_of_Madness property:cast_member ?p } } . ?p rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q16196749 Q292446
P27
Q1048835
USER
Which political territories do Frances Bay and Dave Vankoughnett belong to ?
AND((Q292446,P27,c(Q1048835)), (Q16196749,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q292446
relation P27
action find
entity Q16196749
relation P27
type Q1048835
{'AND': [['Q292446', 'P27', {'concept': 'Q1048835'}], ['Q16196749', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { resource:Q292446 property:P27 ?r . resource:Q16196749 property:P27 ?r . ?r rdf:type ontology:Q1048835 }
Dave Vankoughnett Frances Bay
action filter_type
action intersection
action find
entity Frances Bay
relation country of citizenship
action find
entity Dave Vankoughnett
relation country of citizenship
type political territorial entity
{'AND': [['Frances Bay', 'country of citizenship', {'concept': 'political territorial entity'}], ['Dave Vankoughnett', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { resource:Frances_Bay property:country_of_citizenship ?r . resource:Dave_Vankoughnett property:country_of_citizenship ?r . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
AND((Q292446,P27,c(Q1048835)), (Q16196749,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q292446
relation P27
action find
entity Q16196749
relation P27
type Q1048835
Frances Bay and Dave Vankoughnett belong to Bay [ANSWER]
{'AND': [['Q292446', 'P27', {'concept': 'Q1048835'}], ['Q16196749', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { resource:Q292446 property:P27 ?r . resource:Q16196749 property:P27 ?r . ?r rdf:type ontology:Q1048835 }
Canada
Frances Bay and Dave Vankoughnett belong to Bay Canada
Canada
action filter_type
action intersection
action find
entity Frances Bay
relation country of citizenship
action find
entity Dave Vankoughnett
relation country of citizenship
type political territorial entity
{'AND': [['Frances Bay', 'country of citizenship', {'concept': 'political territorial entity'}], ['Dave Vankoughnett', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { resource:Frances_Bay property:country_of_citizenship ?r . resource:Dave_Vankoughnett property:country_of_citizenship ?r . ?r rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q16 Q155
P530
Q15617994
USER
Does Brazil have a diplomatic relationship with that political territory ?
(Q16,P530,Q155)
action is_in
entity Q155
action find
entity Q16
relation P530
['Q16', 'P530', 'Q155']
ASK WHERE { resource:Q16 property:P530 resource:Q155 }
Canada Brazil
action is_in
entity Brazil
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'Brazil']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Brazil }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q16,P530,Q155)
action is_in
entity Q155
action find
entity Q16
relation P530
[ANSWER]
['Q16', 'P530', 'Q155']
ASK WHERE { resource:Q16 property:P530 resource:Q155 }
Yes
action is_in
entity Brazil
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'Brazil']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Brazil }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12164 Q192812
P47 P27
Q1048835
USER
Which political territories do Hayden Christensen belong to or are adjacent to Ponferrada ?
OR((Q192812,P27,c(Q1048835)), (Q12164,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q192812
relation P27
action find
entity Q12164
relation P47
type Q1048835
{'OR': [['Q192812', 'P27', {'concept': 'Q1048835'}], ['Q12164', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1048835 . { { resource:Q12164 property:P47 ?t } UNION { resource:Q192812 property:P27 ?t } } }
Ponferrada Hayden Christensen
action filter_type
action union
action find
entity Hayden Christensen
relation country of citizenship
action find
entity Ponferrada
relation shares border with
type political territorial entity
{'OR': [['Hayden Christensen', 'country of citizenship', {'concept': 'political territorial entity'}], ['Ponferrada', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:political_territorial_entity . { { resource:Ponferrada property:shares_border_with ?t } UNION { resource:Hayden_Christensen property:country_of_citizenship ?t } } }
[]
political territorial entity
Q44786 Q256740 Q44901 Q1442707 Q1774781 Q1605911 Q604909 Q972909 Q16 Q26436
SYSTEM
Some of them are Cubillos del Sil, Camponaraya, Congosto, Carracedelo, Truchas, Borrenes, Priaranza del Bierzo, Benuza, Canada, Cabañas Raras
Q604909 Q26436 Q44873 Q256740 Q972909 Q1442707 Q44901 Q137116 Q1605911 Q141080 Q16 Q141252 Q1774781 Q44786
OR((Q192812,P27,c(Q1048835)), (Q12164,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q192812
relation P27
action find
entity Q12164
relation P47
type Q1048835
[ANSWERS] Hayden Christensen belong to or are adjacent to Ponferrada
{'OR': [['Q192812', 'P27', {'concept': 'Q1048835'}], ['Q12164', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1048835 . { { resource:Q12164 property:P47 ?t } UNION { resource:Q192812 property:P27 ?t } } }
Priaranza del Bierzo Cabañas Raras Molinaseca Camponaraya Benuza Carracedelo Congosto Lucillo Borrenes Santa Colomba de Somoza Canada Castrillo de Cabrera Truchas Cubillos del Sil
Cubillos del Sil, Camponaraya, Congosto, Carracedelo, Truchas, Borrenes, Priaranza del Bierzo, Benuza, Canada and Cabañas Raras Hayden Christensen belong to or are adjacent to Ponferrada
Cubillos del Sil Camponaraya Congosto Carracedelo Truchas Borrenes Priaranza del Bierzo Benuza Canada Cabañas Raras
action filter_type
action union
action find
entity Hayden Christensen
relation country of citizenship
action find
entity Ponferrada
relation shares border with
type political territorial entity
{'OR': [['Hayden Christensen', 'country of citizenship', {'concept': 'political territorial entity'}], ['Ponferrada', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:political_territorial_entity . { { resource:Ponferrada property:shares_border_with ?t } UNION { resource:Hayden_Christensen property:country_of_citizenship ?t } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q44786 Q256740 Q44901 Q1442707 Q1774781 Q1605911 Q604909 Q972909 Q16 Q26436
P6
Q502895
USER
What people are those political territories the head of goverment of ?
(Q44786,P6,c(Q502895)) (Q256740,P6,c(Q502895)) (Q44901,P6,c(Q502895)) (Q1442707,P6,c(Q502895)) (Q1774781,P6,c(Q502895)) (Q1605911,P6,c(Q502895)) (Q604909,P6,c(Q502895)) (Q972909,P6,c(Q502895)) (Q16,P6,c(Q502895)) (Q26436,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
['Q44786', 'P6', {'concept': 'Q502895'}] ['Q256740', 'P6', {'concept': 'Q502895'}] ['Q44901', 'P6', {'concept': 'Q502895'}] ['Q1442707', 'P6', {'concept': 'Q502895'}] ['Q1774781', 'P6', {'concept': 'Q502895'}] ['Q1605911', 'P6', {'concept': 'Q502895'}] ['Q604909', 'P6', {'concept': 'Q502895'}] ['Q972909', 'P6', {'concept': 'Q502895'}] ['Q16', 'P6', {'concept': 'Q502895'}] ['Q26436', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?p property:P6 ?h . ?h rdf:type ontology:Q502895 . VALUES ( ?p ) { ( resource:Q604909 ) ( resource:Q26436 ) ( resource:Q44873 ) } }
Cubillos del Sil Camponaraya Congosto Carracedelo Truchas Borrenes Priaranza del Bierzo Benuza Canada Cabañas Raras
action filter_type
action find
entity prev_answer
relation head of government
type common name
['Cubillos del Sil', 'head of government', {'concept': 'common name'}] ['Camponaraya', 'head of government', {'concept': 'common name'}] ['Congosto', 'head of government', {'concept': 'common name'}] ['Carracedelo', 'head of government', {'concept': 'common name'}] ['Truchas', 'head of government', {'concept': 'common name'}] ['Borrenes', 'head of government', {'concept': 'common name'}] ['Priaranza del Bierzo', 'head of government', {'concept': 'common name'}] ['Benuza', 'head of government', {'concept': 'common name'}] ['Canada', 'head of government', {'concept': 'common name'}] ['Cabañas Raras', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?p property:head_of_government ?h . ?h rdf:type ontology:common_name . VALUES ( ?p ) { ( resource:Priaranza_del_Bierzo ) ( resource:Cabañas_Raras ) ( resource:Molinaseca ) } }
[]
common name
Q3099714 Q128702 Q206
SYSTEM
Justin Trudeau, John A. Macdonald, Stephen Harper
Q14086906 Q14086780 Q14086845 Q14086789 Q14087220 Q14086744 Q14087073 Q14086724 Q3099714 Q206 Q128708 Q128702 Q14086759
(Q44786,P6,c(Q502895)) (Q256740,P6,c(Q502895)) (Q44901,P6,c(Q502895)) (Q1442707,P6,c(Q502895)) (Q1774781,P6,c(Q502895)) (Q1605911,P6,c(Q502895)) (Q604909,P6,c(Q502895)) (Q972909,P6,c(Q502895)) (Q16,P6,c(Q502895)) (Q26436,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
Those political territories the head of goverment of are [ANSWERS]
['Q44786', 'P6', {'concept': 'Q502895'}] ['Q256740', 'P6', {'concept': 'Q502895'}] ['Q44901', 'P6', {'concept': 'Q502895'}] ['Q1442707', 'P6', {'concept': 'Q502895'}] ['Q1774781', 'P6', {'concept': 'Q502895'}] ['Q1605911', 'P6', {'concept': 'Q502895'}] ['Q604909', 'P6', {'concept': 'Q502895'}] ['Q972909', 'P6', {'concept': 'Q502895'}] ['Q16', 'P6', {'concept': 'Q502895'}] ['Q26436', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?p property:P6 ?h . ?h rdf:type ontology:Q502895 . VALUES ( ?p ) { ( resource:Q604909 ) ( resource:Q26436 ) ( resource:Q44873 ) } }
Jose Luis Ramon Corral Fernando Lopez Rellan Jose Antonio Velasco Fernandez Raúl Valcarce Diez Francisco Simon Callejo Eduardo Prada Blanco Jose Manuel Blanco Gomez Rafael Blanco Blanco Justin Trudeau Stephen Harper Alexander Mackenzie John A. Macdonald Juan Marcos Lopez Gutierrez
Those political territories the head of goverment of are Justin Trudeau, John A. Macdonald and Stephen Harper
Justin Trudeau John A. Macdonald Stephen Harper
action filter_type
action find
entity prev_answer
relation head of government
type common name
['Cubillos del Sil', 'head of government', {'concept': 'common name'}] ['Camponaraya', 'head of government', {'concept': 'common name'}] ['Congosto', 'head of government', {'concept': 'common name'}] ['Carracedelo', 'head of government', {'concept': 'common name'}] ['Truchas', 'head of government', {'concept': 'common name'}] ['Borrenes', 'head of government', {'concept': 'common name'}] ['Priaranza del Bierzo', 'head of government', {'concept': 'common name'}] ['Benuza', 'head of government', {'concept': 'common name'}] ['Canada', 'head of government', {'concept': 'common name'}] ['Cabañas Raras', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?p property:head_of_government ?h . ?h rdf:type ontology:common_name . VALUES ( ?p ) { ( resource:Priaranza_del_Bierzo ) ( resource:Cabañas_Raras ) ( resource:Molinaseca ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q44786
P1001
Q12737077
USER
Which occupation applies to jurisdiction over that political territory ?
(c(Q12737077),P1001,Q44786)
action filter_type
action find_reverse
entity Q44786
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q44786']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . ?h property:P1001 resource:Q44786 }
Cubillos del Sil
action filter_type
action find_reverse
entity Cubillos del Sil
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Cubillos del Sil']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . ?h property:applies_to_jurisdiction resource:Cubillos_del_Sil }
[]
occupation
Clarification for simple ques.
Q44786
SYSTEM
Did you mean Cubillos del Sil ?
Q3099714 Q128702 Q206
(c(Q12737077),P1001,Q3099714) (c(Q12737077),P1001,Q128702) (c(Q12737077),P1001,Q206)
[ANSWER]
[{'concept': 'Q12737077'}, 'P1001', 'Q3099714'] [{'concept': 'Q12737077'}, 'P1001', 'Q128702'] [{'concept': 'Q12737077'}, 'P1001', 'Q206']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . ?h property:P1001 resource:Q44786 }
Justin Trudeau John A. Macdonald Stephen Harper
Did you mean Cubillos del Sil ?
Cubillos del Sil
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Justin Trudeau'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'John A. Macdonald'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Stephen Harper']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . ?h property:applies_to_jurisdiction resource:Cubillos_del_Sil }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q12737077),P1001,Q44786)
[{'concept': 'Q12737077'}, 'P1001', 'Q44786']
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Cubillos del Sil']
[]
Q26698247
SYSTEM
mayor of Cubillos del Sil
Q26698247
(c(Q12737077),P1001,Q44786)
action filter_type
action find_reverse
entity Q44786
relation P1001
type Q12737077
The [ANSWER] applies to jurisdiction over that political territory
[{'concept': 'Q12737077'}, 'P1001', 'Q44786']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . ?h property:P1001 resource:Q44786 }
mayor of Cubillos del Sil
The mayor of Cubillos del Sil applies to jurisdiction over that political territory
mayor of Cubillos del Sil
action filter_type
action find_reverse
entity Cubillos del Sil
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Cubillos del Sil']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . ?h property:applies_to_jurisdiction resource:Cubillos_del_Sil }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26698247
P1001
Q1048835
USER
Which political territory comes under the supervision of that occupation ?
(Q26698247,P1001,c(Q1048835))
action filter_type
action find
entity Q26698247
relation P1001
type Q1048835
['Q26698247', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . resource:Q26698247 property:P1001 ?f }
mayor of Cubillos del Sil
action filter_type
action find
entity mayor of Cubillos del Sil
relation applies to jurisdiction
type political territorial entity
['mayor of Cubillos del Sil', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . resource:mayor_of_Cubillos_del_Sil property:applies_to_jurisdiction ?f }
[]
political territorial entity
Q44786
SYSTEM
Cubillos del Sil
Q44786
(Q26698247,P1001,c(Q1048835))
action filter_type
action find
entity Q26698247
relation P1001
type Q1048835
[ANSWER] comes under the supervision of that occupation
['Q26698247', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . resource:Q26698247 property:P1001 ?f }
Cubillos del Sil
Cubillos del Sil comes under the supervision of that occupation
Cubillos del Sil
action filter_type
action find
entity mayor of Cubillos del Sil
relation applies to jurisdiction
type political territorial entity
['mayor of Cubillos del Sil', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . resource:mayor_of_Cubillos_del_Sil property:applies_to_jurisdiction ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q44786
P1313
Q12737077
USER
Which occupation is fulfilled by that political territory ?
(Q44786,P1313,c(Q12737077))
action filter_type
action find
entity Q44786
relation P1313
type Q12737077
['Q44786', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q44786 property:P1313 ?c . ?c rdf:type ontology:Q12737077 }
Cubillos del Sil
action filter_type
action find
entity Cubillos del Sil
relation office held by head of government
type occupation
['Cubillos del Sil', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Cubillos_del_Sil property:office_held_by_head_of_government ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q26698247
SYSTEM
mayor of Cubillos del Sil
Q26698247
(Q44786,P1313,c(Q12737077))
action filter_type
action find
entity Q44786
relation P1313
type Q12737077
The [ANSWER] is fulfilled by that political territory
['Q44786', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q44786 property:P1313 ?c . ?c rdf:type ontology:Q12737077 }
mayor of Cubillos del Sil
The mayor of Cubillos del Sil is fulfilled by that political territory
mayor of Cubillos del Sil
action filter_type
action find
entity Cubillos del Sil
relation office held by head of government
type occupation
['Cubillos del Sil', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Cubillos_del_Sil property:office_held_by_head_of_government ?c . ?c rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q26698247 Q29
P17
Q15617994
USER
Does mayor of Cubillos del Sil belong to Spain ?
(Q26698247,P17,Q29)
action is_in
entity Q29
action find
entity Q26698247
relation P17
['Q26698247', 'P17', 'Q29']
ASK WHERE { resource:Q26698247 property:P17 resource:Q29 }
mayor of Cubillos del Sil Spain
action is_in
entity Spain
action find
entity mayor of Cubillos del Sil
relation country
['mayor of Cubillos del Sil', 'country', 'Spain']
ASK WHERE { resource:mayor_of_Cubillos_del_Sil property:country resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q26698247,P17,Q29)
action is_in
entity Q29
action find
entity Q26698247
relation P17
[ANSWER]
['Q26698247', 'P17', 'Q29']
ASK WHERE { resource:Q26698247 property:P17 resource:Q29 }
Yes
action is_in
entity Spain
action find
entity mayor of Cubillos del Sil
relation country
['mayor of Cubillos del Sil', 'country', 'Spain']
ASK WHERE { resource:mayor_of_Cubillos_del_Sil property:country resource:Spain }
[]