Simple Question (Direct)
Simple Question
Q53946
P47
Q15617994
USER
Which administrative territories are adjacent to Rende ?
(Q53946,P47,c(Q15617994))
action filter_type
action find
entity Q53946
relation P47
type Q15617994
['Q53946', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q53946 property:P47 ?x . ?x rdf:type ontology:Q15617994 }
Rende
action filter_type
action find
entity Rende
relation shares border with
type designation for an administrative territorial entity
['Rende', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Rende property:shares_border_with ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q13619 Q53917 Q53950
SYSTEM
Cosenza, Montalto Uffugo, Rose, Calabria
Q54039 Q13619 Q53950 Q53912 Q53910 Q53917 Q53984 Q53980 Q53854 Q53963 Q53973 Q53855
(Q53946,P47,c(Q15617994))
action filter_type
action find
entity Q53946
relation P47
type Q15617994
[ANSWERS]
['Q53946', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q53946 property:P47 ?x . ?x rdf:type ontology:Q15617994 }
Zumpano, Calabria Cosenza Rose, Calabria Marano Principato Marano Marchesato Montalto Uffugo San Vincenzo La Costa San Pietro in Guarano Castiglione Cosentino San Fili San Lucido Castrolibero
Cosenza, Montalto Uffugo and Rose, Calabria are adjacent to Rende
Cosenza Montalto Uffugo Rose, Calabria
action filter_type
action find
entity Rende
relation shares border with
type designation for an administrative territorial entity
['Rende', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Rende property:shares_border_with ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q13619 Q53917 Q53950
P47
Q15617994
USER
Which administrative territories share border with those ones ?
(Q13619,P47,c(Q15617994)) (Q53917,P47,c(Q15617994)) (Q53950,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
['Q13619', 'P47', {'concept': 'Q15617994'}] ['Q53917', 'P47', {'concept': 'Q15617994'}] ['Q53950', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . ?g property:P47 ?k . VALUES ( ?g ) { ( resource:Q54039 ) ( resource:Q13619 ) ( resource:Q53950 ) } }
Cosenza Montalto Uffugo Rose, Calabria
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['Cosenza', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Montalto Uffugo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Rose, Calabria', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:shares_border_with ?k . VALUES ( ?g ) { ( resource:Zumpano,_Calabria ) ( resource:Cosenza ) ( resource:Rose,_Calabria ) } }
[]
designation for an administrative territorial entity
Q53946 Q53946 Q53946
SYSTEM
Rende
Q53931 Q53874 Q53932 Q53934 Q54033 Q54039 Q53830 Q53954 Q53852 Q53851 Q53946 Q53855 Q53956 Q53950 Q53884 Q53928 Q53900 Q53893 Q53984 Q53963 Q53946 Q53900 Q53917 Q53858 Q53980 Q53854 Q53946 Q53819
(Q13619,P47,c(Q15617994)) (Q53917,P47,c(Q15617994)) (Q53950,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] share border with those ones
['Q13619', 'P47', {'concept': 'Q15617994'}] ['Q53917', 'P47', {'concept': 'Q15617994'}] ['Q53950', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . ?g property:P47 ?k . VALUES ( ?g ) { ( resource:Q54039 ) ( resource:Q13619 ) ( resource:Q53950 ) } }
Paterno Calabro Dipignano Pedace Piane Crati Trenta, Calabria Zumpano, Calabria Aprigliano Rovito Casole Bruzio Carolei Rende Castrolibero San Benedetto Ullano Rose, Calabria Fuscaldo Paola Luzzi Lattarico San Vincenzo La Costa San Fili Rende Luzzi Montalto Uffugo Celico San Pietro in Guarano Castiglione Cosentino Rende Acri
Rende, Rende and Rende share border with those ones
Rende Rende Rende
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['Cosenza', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Montalto Uffugo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Rose, Calabria', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:shares_border_with ?k . VALUES ( ?g ) { ( resource:Zumpano,_Calabria ) ( resource:Cosenza ) ( resource:Rose,_Calabria ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13619
P1376
Q15089
USER
Which province of Italy has Cosenza has its first city ?
(Q13619,P1376,c(Q15089))
action filter_type
action find
entity Q13619
relation P1376
type Q15089
['Q13619', 'P1376', {'concept': 'Q15089'}]
SELECT DISTINCT ?f WHERE { resource:Q13619 property:P1376 ?f . ?f rdf:type ontology:Q15089 }
Cosenza
action filter_type
action find
entity Cosenza
relation capital of
type province of Italy
['Cosenza', 'capital of', {'concept': 'province of Italy'}]
SELECT DISTINCT ?f WHERE { resource:Cosenza property:capital_of ?f . ?f rdf:type ontology:province_of_Italy }
[]
province of Italy
Q16162
SYSTEM
Province of Cosenza
Q16162
(Q13619,P1376,c(Q15089))
action filter_type
action find
entity Q13619
relation P1376
type Q15089
[ANSWER] has Cosenza has its first city
['Q13619', 'P1376', {'concept': 'Q15089'}]
SELECT DISTINCT ?f WHERE { resource:Q13619 property:P1376 ?f . ?f rdf:type ontology:Q15089 }
Province of Cosenza
Province of Cosenza has Cosenza has its first city
Province of Cosenza
action filter_type
action find
entity Cosenza
relation capital of
type province of Italy
['Cosenza', 'capital of', {'concept': 'province of Italy'}]
SELECT DISTINCT ?f WHERE { resource:Cosenza property:capital_of ?f . ?f rdf:type ontology:province_of_Italy }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q13657
Q15089
USER
And also tell me about Lanusei?
(Q13657,P1376,c(Q15089))
action filter_type
action find
entity Q13657
relation P1376
type Q15089
['Q13657', 'P1376', {'concept': 'Q15089'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15089 . resource:Q13657 property:P1376 ?u }
Lanusei
action filter_type
action find
entity Lanusei
relation capital of
type province of Italy
['Lanusei', 'capital of', {'concept': 'province of Italy'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:province_of_Italy . resource:Lanusei property:capital_of ?u }
[]
province of Italy
Q16223
SYSTEM
Province of Ogliastra
Q16223
(Q13657,P1376,c(Q15089))
action filter_type
action find
entity Q13657
relation P1376
type Q15089
[ANSWER]
['Q13657', 'P1376', {'concept': 'Q15089'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15089 . resource:Q13657 property:P1376 ?u }
Province of Ogliastra
Province of Ogliastra
action filter_type
action find
entity Lanusei
relation capital of
type province of Italy
['Lanusei', 'capital of', {'concept': 'province of Italy'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:province_of_Italy . resource:Lanusei property:capital_of ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16162
P6
Q502895
USER
Which person does Province of Cosenza serve as the head of government for ?
(Q16162,P6,c(Q502895))
action filter_type
action find
entity Q16162
relation P6
type Q502895
['Q16162', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q16162 property:P6 ?d . ?d rdf:type ontology:Q502895 }
Province of Cosenza
action filter_type
action find
entity Province of Cosenza
relation head of government
type common name
['Province of Cosenza', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Province_of_Cosenza property:head_of_government ?d . ?d rdf:type ontology:common_name }
[]
common name
Q3848876
SYSTEM
Mario Oliverio
Q3848876
(Q16162,P6,c(Q502895))
action filter_type
action find
entity Q16162
relation P6
type Q502895
Province of Cosenza serves as the head of government and [ANSWER]
['Q16162', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q16162 property:P6 ?d . ?d rdf:type ontology:Q502895 }
Mario Oliverio
Province of Cosenza serves as the head of government and Mario Oliverio
Mario Oliverio
action filter_type
action find
entity Province of Cosenza
relation head of government
type common name
['Province of Cosenza', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Province_of_Cosenza property:head_of_government ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q731329
Q502895
USER
And how about Lanzuela?
(Q731329,P6,c(Q502895))
action filter_type
action find
entity Q731329
relation P6
type Q502895
['Q731329', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q731329 property:P6 ?q }
Lanzuela
action filter_type
action find
entity Lanzuela
relation head of government
type common name
['Lanzuela', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Lanzuela property:head_of_government ?q }
[]
common name
Q14089398
SYSTEM
Jose Antonio Gomez Sanchez
Q14089398
(Q731329,P6,c(Q502895))
action filter_type
action find
entity Q731329
relation P6
type Q502895
[ANSWER]
['Q731329', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q731329 property:P6 ?q }
Jose Antonio Gomez Sanchez
Jose Antonio Gomez Sanchez
action filter_type
action find
entity Lanzuela
relation head of government
type common name
['Lanzuela', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Lanzuela property:head_of_government ?q }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q29 Q14089398
P6 P17
Q1048835
USER
Which political territories have a government lead by Jose Antonio Gomez Sanchez and are located in Spain ?
AND((c(Q1048835),P6,Q14089398), (c(Q1048835),P17,Q29))
action filter_type
action intersection
action find_reverse
entity Q14089398
relation P6
action find_reverse
entity Q29
relation P17
type Q1048835
{'AND': [[{'concept': 'Q1048835'}, 'P6', 'Q14089398'], [{'concept': 'Q1048835'}, 'P17', 'Q29']]}
SELECT DISTINCT ?y WHERE { ?y property:P6 resource:Q14089398 . ?y property:P17 resource:Q29 . ?y rdf:type ontology:Q1048835 }
Spain Jose Antonio Gomez Sanchez
action filter_type
action intersection
action find_reverse
entity Jose Antonio Gomez Sanchez
relation head of government
action find_reverse
entity Spain
relation country
type political territorial entity
{'AND': [[{'concept': 'political territorial entity'}, 'head of government', 'Jose Antonio Gomez Sanchez'], [{'concept': 'political territorial entity'}, 'country', 'Spain']]}
SELECT DISTINCT ?y WHERE { ?y property:head_of_government resource:Jose_Antonio_Gomez_Sanchez . ?y property:country resource:Spain . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q731329 Q944160
SYSTEM
Lanzuela, Ojén
Q731329 Q944160
AND((c(Q1048835),P6,Q14089398), (c(Q1048835),P17,Q29))
action filter_type
action intersection
action find_reverse
entity Q14089398
relation P6
action find_reverse
entity Q29
relation P17
type Q1048835
[ANSWERS] have a government lead by Jose Antonio Gomez Sanchez and are located in Spain
{'AND': [[{'concept': 'Q1048835'}, 'P6', 'Q14089398'], [{'concept': 'Q1048835'}, 'P17', 'Q29']]}
SELECT DISTINCT ?y WHERE { ?y property:P6 resource:Q14089398 . ?y property:P17 resource:Q29 . ?y rdf:type ontology:Q1048835 }
Lanzuela Ojén
Lanzuela and Ojén have a government lead by Jose Antonio Gomez Sanchez and are located in Spain
Lanzuela Ojén
action filter_type
action intersection
action find_reverse
entity Jose Antonio Gomez Sanchez
relation head of government
action find_reverse
entity Spain
relation country
type political territorial entity
{'AND': [[{'concept': 'political territorial entity'}, 'head of government', 'Jose Antonio Gomez Sanchez'], [{'concept': 'political territorial entity'}, 'country', 'Spain']]}
SELECT DISTINCT ?y WHERE { ?y property:head_of_government resource:Jose_Antonio_Gomez_Sanchez . ?y property:country resource:Spain . ?y rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q828955 Q53950
P19
Q502895
USER
Which people have birthplace at Rose, Calabria or Laredo ?
OR((c(Q502895),P19,Q53950), (c(Q502895),P19,Q828955))
action filter_type
action union
action find_reverse
entity Q53950
relation P19
action find_reverse
entity Q828955
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q53950'], [{'concept': 'Q502895'}, 'P19', 'Q828955']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . { VALUES ( ?w ) { ( resource:Q53950 ) ( resource:Q828955 ) } . ?m property:P19 ?w } }
Laredo Rose, Calabria
action filter_type
action union
action find_reverse
entity Rose, Calabria
relation place of birth
action find_reverse
entity Laredo
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Rose, Calabria'], [{'concept': 'common name'}, 'place of birth', 'Laredo']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . { VALUES ( ?w ) { ( resource:Rose,_Calabria ) ( resource:Laredo ) } . ?m property:place_of_birth ?w } }
[]
common name
Q8961393 Q17442760 Q8960749 Q4945553 Q2624405 Q3324593 Q16402846 Q20004887 Q929644 Q2849333
SYSTEM
Some of them are Fernando Tocornal Linares, José Gragera y Herboso, Facundo de los Ríos Portilla, Borja García Santamaría, Rodrigo de Vivero y Velasco, Orlando Gutiérrez, Juan Ramón Docal, Juan Serrano Aparicio, Ignacio Rodríguez Ortiz, Angel Alonso
Q16402846 Q892719 Q456326 Q8961393 Q2624405 Q3186452 Q729167 Q9015295 Q22953834 Q20004887 Q2849333 Q9010284 Q4945553 Q5684641 Q5937867 Q4712126 Q929644 Q16749738 Q8960749 Q16766223 Q3324593 Q17442760 Q3734313
OR((c(Q502895),P19,Q53950), (c(Q502895),P19,Q828955))
action filter_type
action union
action find_reverse
entity Q53950
relation P19
action find_reverse
entity Q828955
relation P19
type Q502895
[ANSWERS] have birthplace at Rose, Calabria or Laredo
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q53950'], [{'concept': 'Q502895'}, 'P19', 'Q828955']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . { VALUES ( ?w ) { ( resource:Q53950 ) ( resource:Q828955 ) } . ?m property:P19 ?w } }
Juan Ramón Docal Joaquín Rucoba José Emilio Amavisca Fernando Tocornal Linares Rodrigo de Vivero y Velasco José María Orense Neru Juan Camus Eduardo Bruno Juan Serrano Aparicio Angel Alonso Iñaki Bollaín Borja García Santamaría Gonzalo Bringas Vega José Antonio Giménez-Arnau Alberto Miguel Ignacio Rodríguez Ortiz Santi Gutiérrez Facundo de los Ríos Portilla Francisco Docal Orlando Gutiérrez José Gragera y Herboso Eugenio Cenisio
Fernando Tocornal Linares, José Gragera y Herboso, Facundo de los Ríos Portilla, Borja García Santamaría, Rodrigo de Vivero y Velasco, Orlando Gutiérrez, Juan Ramón Docal, Juan Serrano Aparicio, Ignacio Rodríguez Ortiz and Angel Alonso have birthplace at Rose, Calabria or Laredo
Fernando Tocornal Linares José Gragera y Herboso Facundo de los Ríos Portilla Borja García Santamaría Rodrigo de Vivero y Velasco Orlando Gutiérrez Juan Ramón Docal Juan Serrano Aparicio Ignacio Rodríguez Ortiz Angel Alonso
action filter_type
action union
action find_reverse
entity Rose, Calabria
relation place of birth
action find_reverse
entity Laredo
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Rose, Calabria'], [{'concept': 'common name'}, 'place of birth', 'Laredo']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . { VALUES ( ?w ) { ( resource:Rose,_Calabria ) ( resource:Laredo ) } . ?m property:place_of_birth ?w } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q53950
P19 P21
Q502895
USER
Which people have location of birth at Rose, Calabria and have male as the sex ?
AND((c(Q502895),P19,Q53950), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q53950
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q53950'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?w WHERE { ?w property:P19 resource:Q53950 . ?w property:P21 resource:Q6581097 . ?w rdf:type ontology:Q502895 }
male Rose, Calabria
action filter_type
action intersection
action find_reverse
entity Rose, Calabria
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Rose, Calabria'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?w WHERE { ?w property:place_of_birth resource:Rose,_Calabria . ?w property:gender resource:male . ?w rdf:type ontology:common_name }
[]
common name
Q3734313 Q22953834
SYSTEM
Eugenio Cenisio, Eduardo Bruno
Q3734313 Q22953834
AND((c(Q502895),P19,Q53950), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q53950
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have location of birth at Rose, Calabria and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q53950'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?w WHERE { ?w property:P19 resource:Q53950 . ?w property:P21 resource:Q6581097 . ?w rdf:type ontology:Q502895 }
Eugenio Cenisio Eduardo Bruno
Eugenio Cenisio and Eduardo Bruno have location of birth at Rose, Calabria and have male as the sex
Eugenio Cenisio Eduardo Bruno
action filter_type
action intersection
action find_reverse
entity Rose, Calabria
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Rose, Calabria'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?w WHERE { ?w property:place_of_birth resource:Rose,_Calabria . ?w property:gender resource:male . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q731329
P1001
Q12737077
USER
Which occupation applies to jurisdiction over Lanzuela ?
(c(Q12737077),P1001,Q731329)
action filter_type
action find_reverse
entity Q731329
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q731329']
SELECT DISTINCT ?x WHERE { ?x property:P1001 resource:Q731329 . ?x rdf:type ontology:Q12737077 }
Lanzuela
action filter_type
action find_reverse
entity Lanzuela
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Lanzuela']
SELECT DISTINCT ?x WHERE { ?x property:applies_to_jurisdiction resource:Lanzuela . ?x rdf:type ontology:occupation }
[]
occupation
Q26699739
SYSTEM
mayor of Lanzuela
Q26699739
(c(Q12737077),P1001,Q731329)
action filter_type
action find_reverse
entity Q731329
relation P1001
type Q12737077
The [ANSWER] applies to jurisdiction over Lanzuela
[{'concept': 'Q12737077'}, 'P1001', 'Q731329']
SELECT DISTINCT ?x WHERE { ?x property:P1001 resource:Q731329 . ?x rdf:type ontology:Q12737077 }
mayor of Lanzuela
The mayor of Lanzuela applies to jurisdiction over Lanzuela
mayor of Lanzuela
action filter_type
action find_reverse
entity Lanzuela
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Lanzuela']
SELECT DISTINCT ?x WHERE { ?x property:applies_to_jurisdiction resource:Lanzuela . ?x rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q731329
P1313
Q12737077
USER
Which occupation is fulfilled by Lanzuela ?
(Q731329,P1313,c(Q12737077))
action filter_type
action find
entity Q731329
relation P1313
type Q12737077
['Q731329', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q731329 property:P1313 ?a . ?a rdf:type ontology:Q12737077 }
Lanzuela
action filter_type
action find
entity Lanzuela
relation office held by head of government
type occupation
['Lanzuela', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Lanzuela property:office_held_by_head_of_government ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q26699739
SYSTEM
mayor of Lanzuela
Q26699739
(Q731329,P1313,c(Q12737077))
action filter_type
action find
entity Q731329
relation P1313
type Q12737077
Are [ANSWER] is fulfilled by Lanzuela
['Q731329', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q731329 property:P1313 ?a . ?a rdf:type ontology:Q12737077 }
mayor of Lanzuela
Are mayor of Lanzuela is fulfilled by Lanzuela
mayor of Lanzuela
action filter_type
action find
entity Lanzuela
relation office held by head of government
type occupation
['Lanzuela', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Lanzuela property:office_held_by_head_of_government ?a . ?a rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q26699739 Q29
P17
Q15617994
USER
Is mayor of Lanzuela a part of Spain ?
(Q26699739,P17,Q29)
action is_in
entity Q29
action find
entity Q26699739
relation P17
['Q26699739', 'P17', 'Q29']
ASK WHERE { resource:Q26699739 property:P17 resource:Q29 }
mayor of Lanzuela Spain
action is_in
entity Spain
action find
entity mayor of Lanzuela
relation country
['mayor of Lanzuela', 'country', 'Spain']
ASK WHERE { resource:mayor_of_Lanzuela property:country resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q26699739,P17,Q29)
action is_in
entity Q29
action find
entity Q26699739
relation P17
[ANSWER]
['Q26699739', 'P17', 'Q29']
ASK WHERE { resource:Q26699739 property:P17 resource:Q29 }
Yes
action is_in
entity Spain
action find
entity mayor of Lanzuela
relation country
['mayor of Lanzuela', 'country', 'Spain']
ASK WHERE { resource:mayor_of_Lanzuela property:country resource:Spain }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16402846 Q29
P27
Q15617994
USER
Is Juan Ramón Docal an inhabitant of Spain ?
(Q16402846,P27,Q29)
action is_in
entity Q29
action find
entity Q16402846
relation P27
['Q16402846', 'P27', 'Q29']
ASK WHERE { resource:Q16402846 property:P27 resource:Q29 }
Juan Ramón Docal Spain
action is_in
entity Spain
action find
entity Juan Ramón Docal
relation country of citizenship
['Juan Ramón Docal', 'country of citizenship', 'Spain']
ASK WHERE { resource:Juan_Ramón_Docal property:country_of_citizenship resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q16402846,P27,Q29)
action is_in
entity Q29
action find
entity Q16402846
relation P27
[ANSWER]
['Q16402846', 'P27', 'Q29']
ASK WHERE { resource:Q16402846 property:P27 resource:Q29 }
Yes
action is_in
entity Spain
action find
entity Juan Ramón Docal
relation country of citizenship
['Juan Ramón Docal', 'country of citizenship', 'Spain']
ASK WHERE { resource:Juan_Ramón_Docal property:country_of_citizenship resource:Spain }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11372122 Q16402846
P27
Q15617994
USER
Which administrative territories are Juan Ramón Docal or Aiko Igarashi an inhabitant of ?
OR((Q16402846,P27,c(Q15617994)), (Q11372122,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16402846
relation P27
action find
entity Q11372122
relation P27
type Q15617994
{'OR': [['Q16402846', 'P27', {'concept': 'Q15617994'}], ['Q11372122', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q16402846 property:P27 ?t } UNION { resource:Q11372122 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
Aiko Igarashi Juan Ramón Docal
action filter_type
action union
action find
entity Juan Ramón Docal
relation country of citizenship
action find
entity Aiko Igarashi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Juan Ramón Docal', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Aiko Igarashi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Juan_Ramón_Docal property:country_of_citizenship ?t } UNION { resource:Aiko_Igarashi property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q17
SYSTEM
Spain, Japan
Q29 Q17
OR((Q16402846,P27,c(Q15617994)), (Q11372122,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16402846
relation P27
action find
entity Q11372122
relation P27
type Q15617994
[ANSWERS] are Juan Ramón Docal or Aiko Igarashi an inhabitant of
{'OR': [['Q16402846', 'P27', {'concept': 'Q15617994'}], ['Q11372122', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q16402846 property:P27 ?t } UNION { resource:Q11372122 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
Spain Japan
Spain and Japan are Juan Ramón Docal or Aiko Igarashi an inhabitant of
Spain Japan
action filter_type
action union
action find
entity Juan Ramón Docal
relation country of citizenship
action find
entity Aiko Igarashi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Juan Ramón Docal', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Aiko Igarashi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Juan_Ramón_Docal property:country_of_citizenship ?t } UNION { resource:Aiko_Igarashi property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]