Simple Question (Direct)
Simple Question
Q2842607
P641
Q349
USER
Which sport did Fernando Cabero participate in ?
(Q2842607,P641,c(Q349))
action filter_type
action find
entity Q2842607
relation P641
type Q349
['Q2842607', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q2842607 property:P641 ?n . ?n rdf:type ontology:Q349 }
Fernando Cabero
action filter_type
action find
entity Fernando Cabero
relation sport
type sport
['Fernando Cabero', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Fernando_Cabero property:sport ?n . ?n rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2842607,P641,c(Q349))
action filter_type
action find
entity Q2842607
relation P641
type Q349
Fernando Cabero participated in [ANSWER]
['Q2842607', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q2842607 property:P641 ?n . ?n rdf:type ontology:Q349 }
association football
Fernando Cabero participated in association football
association football
action filter_type
action find
entity Fernando Cabero
relation sport
type sport
['Fernando Cabero', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Fernando_Cabero property:sport ?n . ?n rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2842607
P1412
Q34770
USER
Which language can Fernando Cabero understand ?
(Q2842607,P1412,c(Q34770))
action filter_type
action find
entity Q2842607
relation P1412
type Q34770
['Q2842607', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q2842607 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
Fernando Cabero
action filter_type
action find
entity Fernando Cabero
relation languages spoken, written or signed
type language
['Fernando Cabero', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Fernando_Cabero property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q2842607,P1412,c(Q34770))
action filter_type
action find
entity Q2842607
relation P1412
type Q34770
Fernando Cabero can understand the [ANSWER]
['Q2842607', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q2842607 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
Spanish
Fernando Cabero can understand the Spanish
Spanish
action filter_type
action find
entity Fernando Cabero
relation languages spoken, written or signed
type language
['Fernando Cabero', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Fernando_Cabero property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1471822
P282
Q8192 Q34770
USER
How many writing systems are the writing systems used for more number of languages than Old Persian cuneiform ?
(c(Q34770),P282,c(Q8192))
action count
action greater
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q1471822
relation P282
type Q8192
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:P282 ?t . ?t rdf:type ontology:Q8192 . ?g rdf:type ontology:Q34770 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Q1471822 property:P282 ?a . ?a rdf:type ontology:Q8192 } } . FILTER ( ?l > ?u ) }
Old Persian cuneiform
action count
action greater
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Old Persian cuneiform
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:writing_system ?t . ?t rdf:type ontology:writing_system . ?g rdf:type ontology:language } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Old_Persian_cuneiform property:writing_system ?a . ?a rdf:type ontology:writing_system } } . FILTER ( ?l > ?u ) }
[]
writing system language
SYSTEM
3
Q82946 Q30972 Q48332
(c(Q34770),P282,c(Q8192))
action count
action greater
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q1471822
relation P282
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:P282 ?t . ?t rdf:type ontology:Q8192 . ?g rdf:type ontology:Q34770 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Q1471822 property:P282 ?a . ?a rdf:type ontology:Q8192 } } . FILTER ( ?l > ?u ) }
katakana Linear A hiragana
3
action count
action greater
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Old Persian cuneiform
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:writing_system ?t . ?t rdf:type ontology:writing_system . ?g rdf:type ontology:language } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Old_Persian_cuneiform property:writing_system ?a . ?a rdf:type ontology:writing_system } } . FILTER ( ?l > ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1574992
P282
Q8192 Q34770
USER
And how about Sinhala script?
(c(Q34770),P282,c(Q8192))
action count
action greater
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q1574992
relation P282
type Q8192
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Q1574992 property:P282 ?c . ?c rdf:type ontology:Q8192 } } . FILTER ( ?b > ?g ) . { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?b ) WHERE { ?o rdf:type ontology:Q8192 . ?x rdf:type ontology:Q34770 . ?x property:P282 ?o } GROUP BY ?o } }
Sinhala script
action count
action greater
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Sinhala script
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Sinhala_script property:writing_system ?c . ?c rdf:type ontology:writing_system } } . FILTER ( ?b > ?g ) . { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?b ) WHERE { ?o rdf:type ontology:writing_system . ?x rdf:type ontology:language . ?x property:writing_system ?o } GROUP BY ?o } }
[]
writing system language
SYSTEM
3
Q82946 Q30972 Q48332
(c(Q34770),P282,c(Q8192))
action count
action greater
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q1574992
relation P282
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Q1574992 property:P282 ?c . ?c rdf:type ontology:Q8192 } } . FILTER ( ?b > ?g ) . { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?b ) WHERE { ?o rdf:type ontology:Q8192 . ?x rdf:type ontology:Q34770 . ?x property:P282 ?o } GROUP BY ?o } }
katakana Linear A hiragana
3
action count
action greater
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Sinhala script
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Sinhala_script property:writing_system ?c . ?c rdf:type ontology:writing_system } } . FILTER ( ?b > ?g ) . { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?b ) WHERE { ?o rdf:type ontology:writing_system . ?x rdf:type ontology:language . ?x property:writing_system ?o } GROUP BY ?o } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2842607
P27
Q15617994
USER
Which administrative territory is Fernando Cabero a civilian of ?
(Q2842607,P27,c(Q15617994))
action filter_type
action find
entity Q2842607
relation P27
type Q15617994
['Q2842607', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q2842607 property:P27 ?p }
Fernando Cabero
action filter_type
action find
entity Fernando Cabero
relation country of citizenship
type designation for an administrative territorial entity
['Fernando Cabero', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Fernando_Cabero property:country_of_citizenship ?p }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q2842607,P27,c(Q15617994))
action filter_type
action find
entity Q2842607
relation P27
type Q15617994
Which administrative territory is Fernando Cabero a civilian of
['Q2842607', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q2842607 property:P27 ?p }
Spain
Which administrative territory is Fernando Cabero a civilian of
Spain
action filter_type
action find
entity Fernando Cabero
relation country of citizenship
type designation for an administrative territorial entity
['Fernando Cabero', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Fernando_Cabero property:country_of_citizenship ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2842607
P19
Q56061
USER
Which administrative territory was Fernando Cabero born in ?
(Q2842607,P19,c(Q56061))
action filter_type
action find
entity Q2842607
relation P19
type Q56061
['Q2842607', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q2842607 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Fernando Cabero
action filter_type
action find
entity Fernando Cabero
relation place of birth
type administrative territorial entity
['Fernando Cabero', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Fernando_Cabero property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q10282
SYSTEM
Pamplona
Q10282
(Q2842607,P19,c(Q56061))
action filter_type
action find
entity Q2842607
relation P19
type Q56061
Fernando Cabero was born in [ANSWER]
['Q2842607', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q2842607 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Pamplona
Fernando Cabero was born in Pamplona
Pamplona
action filter_type
action find
entity Fernando Cabero
relation place of birth
type administrative territorial entity
['Fernando Cabero', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Fernando_Cabero property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2842607
P106
Q12737077
USER
What does Fernando Cabero do for a living ?
(Q2842607,P106,c(Q12737077))
action filter_type
action find
entity Q2842607
relation P106
type Q12737077
['Q2842607', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q2842607 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Fernando Cabero
action filter_type
action find
entity Fernando Cabero
relation occupation
type occupation
['Fernando Cabero', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Fernando_Cabero property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2842607,P106,c(Q12737077))
action filter_type
action find
entity Q2842607
relation P106
type Q12737077
[ANSWER] Fernando Cabero does for a living
['Q2842607', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q2842607 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
association football player
Association football player Fernando Cabero does for a living
association football player
action filter_type
action find
entity Fernando Cabero
relation occupation
type occupation
['Fernando Cabero', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Fernando_Cabero property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10282
P276
Q1190554
USER
What is situated at Pamplona ?
(c(Q1190554),P276,Q10282)
action filter_type
action find_reverse
entity Q10282
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q10282']
SELECT DISTINCT ?r WHERE { ?r property:P276 resource:Q10282 . ?r rdf:type ontology:Q1190554 }
Pamplona
action filter_type
action find_reverse
entity Pamplona
relation location
type event
[{'concept': 'event'}, 'location', 'Pamplona']
SELECT DISTINCT ?r WHERE { ?r property:location resource:Pamplona . ?r rdf:type ontology:event }
[]
event
Q2889540
SYSTEM
Battle of Noáin
Q2889540
(c(Q1190554),P276,Q10282)
action filter_type
action find_reverse
entity Q10282
relation P276
type Q1190554
[ANSWER] is situated at Pamplona
[{'concept': 'Q1190554'}, 'P276', 'Q10282']
SELECT DISTINCT ?r WHERE { ?r property:P276 resource:Q10282 . ?r rdf:type ontology:Q1190554 }
Battle of Noáin
Battle of Noáin is situated at Pamplona
Battle of Noáin
action filter_type
action find_reverse
entity Pamplona
relation location
type event
[{'concept': 'event'}, 'location', 'Pamplona']
SELECT DISTINCT ?r WHERE { ?r property:location resource:Pamplona . ?r rdf:type ontology:event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10282
P20
Q502895
USER
Which people expired at that administrative territory ?
(c(Q502895),P20,Q2889540)
action filter_type
action find_reverse
entity Q10282
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q2889540']
SELECT DISTINCT ?c WHERE { ?c property:P20 resource:Q10282 . ?c rdf:type ontology:Q502895 }
Pamplona
action filter_type
action find_reverse
entity Pamplona
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Battle of Noáin']
SELECT DISTINCT ?c WHERE { ?c property:place_of_death resource:Pamplona . ?c rdf:type ontology:common_name }
[]
common name
Q314562 Q43082 Q313857
SYSTEM
Theobald I of Navarre, Charles II of Navarre, Infante Juan, Count of Barcelona
Q12257391 Q5955776 Q11941046 Q43082 Q1220499 Q3086138 Q12255372 Q8961414 Q960063 Q5475188 Q686601 Q12260344 Q9014891 Q2918069 Q5868040 Q9013897 Q9025501 Q3882681 Q121516 Q6117658 Q3753197 Q122808 Q3620128 Q2575404 Q2840851 Q9015328 Q12268361 Q3753695 Q9015724 Q384487 Q1406702 Q12263560 Q2837780 Q2745873 Q8578973 Q3456336 Q3751133 Q3186458 Q5941185 Q926528 Q6158897 Q6158892 Q2941026 Q3559733 Q5653422 Q12268836 Q3753632 Q5930752 Q314562 Q12255175 Q3751227 Q4328026 Q12265706 Q939696 Q2583815 Q5994413 Q8762814 Q8962601 Q3755007 Q3565771 Q5878396 Q3322254 Q438525 Q4269736 Q12265428 Q3955766 Q978510 Q16866272 Q3573295 Q2603163 Q19162877 Q9076109 Q366919 Q4543756 Q12268852 Q3183976 Q5667055 Q24817317 Q535028 Q3472997 Q23709314 Q3754046 Q9095271 Q313857 Q9011200 Q10960935 Q4408786 Q26678576 Q2976645 Q3261058 Q5872294 Q6526064 Q5931730 Q549617 Q544678 Q12265610 Q805551 Q318258 Q12263553 Q20741959 Q5697802 Q508176 Q216472 Q12255506 Q11951599 Q2043537 Q3708483 Q20898202 Q609736 Q3856231
(c(Q502895),P20,Q2889540)
action filter_type
action find_reverse
entity Q10282
relation P20
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P20', 'Q2889540']
SELECT DISTINCT ?c WHERE { ?c property:P20 resource:Q10282 . ?c rdf:type ontology:Q502895 }
Eugenio Arraiza Julio Senador Gómez Pere Roig Noguera Charles II of Navarre Diego López Pacheco, 7th Duke of Escalona Francisco de Asís, Duke of Bourbon Blas Fagoaga Fernando de Moncada y Gaetano Alfredo Landa José Rodríguez-Medel Alexander von Bournonville Jesus Doxandabaratz José Yanguas y Miranda Íñigo de Velandia Francisco de Paula Bucarelli José Goñi Gaztambide Luka Brajnović Oneca of Pamplona Wolfgang Strobl Salvador Cervera Manuel Aranzadi Irujo Giacomo Palearo Antonio Royo Marin Jean Thierry du Mont, comte de Gages Katia Acín Monrás Juan Carlos Díaz Quincoces Txiki Idoate Luis Arellano Dihinx Juan Luis de la Vallina Velarde Joaquín Roa Fernando Inciarte Miguel Astrain Juan de Ancheta Jesús Monzón José María Iribarren Miguel Javier Urmeneta Ajarnaute Manuel Turrillas José María Satrustegi José Luis Castejón Garrués Lola Rodríguez Aragón Valentín Redín Flamarique Valentín Niño Aragón Casiano Floristán Vincent Martel Deconchy Joxemiel Bidador Veremunda Olasagarre Raimundo García García Jesús Valdés Oroz Theobald I of Navarre Bienvenido Zilbeti Urkia Fernando Remacha Miguel Núñez de Prado Pedro Ziga Maio Sancha of Castile, Queen of Navarre Saint Honestus Manuel Sánchez de Ocaña y Suárez del Villar Ignacio Orbaizeta Zabaltza Francisco de Asís Sancho Rebullida Severiano Goiburu Lopetegui Walter Gore Gerardo Sacristán Torralba Manuel de Irujo Ollo Ascensión Nicol y Goñi Aquiles Cuadra de Miguel Pablo Fermin Irigarai Serafín Areta José Bueno y Monreal Antonio Pérez Goyena Pablo Antoñana José Manuel de Ezpeleta, 1st Count of Ezpeleta de Beire Gonzalo Redondo Gálvez Serapio Esparza Henry I of Navarre Pello Irujo Ollo Vicente Mortes Alfonso Jose Agerre Alfonso Nieto Tamargo José Javier Uranga Magdalena of Valois Santos Ladron de Cegama Francisca del Santísimo Sacramento Jaime del Burgo Torres Víctor Eusa Infante Juan, Count of Barcelona Javier Ciga Echandi Armingot Pedro Sarsfield y Waters Paco Sancho Claude-Anne de Rouvroy de Saint Simon Louis Annibal de Saint-Michel d'Agoult Félix Huarte Goñi Leonardo Polo Joaquín Arrarás Rafael Frühbeck de Burgos Rafael Calvo Serer Patxi Larrainzar Baltasar Albéniz Sancho VI of Navarre Migel Olasagarre Jesús Rodero Antonio Ballesteros Beretta Patxi Ondarra Johann Kaspar Thürriegel Bruno Etxenike Teresa Salvador i Salvador Mutarrif ibn Musa Diomede V Carafa José Iruretagoyena Solchaga Luis Francisco de la Cerda Michael Navarrus
Theobald I of Navarre, Charles II of Navarre and Infante Juan, Count of Barcelona expired at that administrative territory
Theobald I of Navarre Charles II of Navarre Infante Juan, Count of Barcelona
action filter_type
action find_reverse
entity Pamplona
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Battle of Noáin']
SELECT DISTINCT ?c WHERE { ?c property:place_of_death resource:Pamplona . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10282
P237
Q17335294
USER
Which coat of arms serves as the heraldic design for Pamplona ?
(Q10282,P237,c(Q17335294))
action filter_type
action find
entity Q10282
relation P237
type Q17335294
['Q10282', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?n WHERE { resource:Q10282 property:P237 ?n . ?n rdf:type ontology:Q17335294 }
Pamplona
action filter_type
action find
entity Pamplona
relation coat of arms
type flag or coat of arms
['Pamplona', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?n WHERE { resource:Pamplona property:coat_of_arms ?n . ?n rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q3456408
SYSTEM
Coat of arms of Pamplona
Q3456408
(Q10282,P237,c(Q17335294))
action filter_type
action find
entity Q10282
relation P237
type Q17335294
The [ANSWER] serves as the heraldic design for Pamplona
['Q10282', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?n WHERE { resource:Q10282 property:P237 ?n . ?n rdf:type ontology:Q17335294 }
Coat of arms of Pamplona
The Coat of arms of Pamplona serves as the heraldic design for Pamplona
Coat of arms of Pamplona
action filter_type
action find
entity Pamplona
relation coat of arms
type flag or coat of arms
['Pamplona', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?n WHERE { resource:Pamplona property:coat_of_arms ?n . ?n rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q43082
P22
Q502895
USER
Which male person was the parent of Charles II of Navarre ?
(Q43082,P22,c(Q502895))
action filter_type
action find
entity Q43082
relation P22
type Q502895
['Q43082', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q43082 property:P22 ?b . ?b rdf:type ontology:Q502895 }
Charles II of Navarre
action filter_type
action find
entity Charles II of Navarre
relation father
type common name
['Charles II of Navarre', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Charles_II_of_Navarre property:father ?b . ?b rdf:type ontology:common_name }
[]
common name
Q505112
SYSTEM
Philip III of Navarre
Q505112
(Q43082,P22,c(Q502895))
action filter_type
action find
entity Q43082
relation P22
type Q502895
[ANSWER] was the parent of Charles II of Navarre
['Q43082', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q43082 property:P22 ?b . ?b rdf:type ontology:Q502895 }
Philip III of Navarre
Philip III of Navarre was the parent of Charles II of Navarre
Philip III of Navarre
action filter_type
action find
entity Charles II of Navarre
relation father
type common name
['Charles II of Navarre', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Charles_II_of_Navarre property:father ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q43082
P39
Q7275
USER
What was the position for which Charles II of Navarre was appointed ?
(Q43082,P39,c(Q7275))
action filter_type
action find
entity Q43082
relation P39
type Q7275
['Q43082', 'P39', {'concept': 'Q7275'}]
SELECT DISTINCT ?d WHERE { resource:Q43082 property:P39 ?d . ?d rdf:type ontology:Q7275 }
Charles II of Navarre
action filter_type
action find
entity Charles II of Navarre
relation position held
type state
['Charles II of Navarre', 'position held', {'concept': 'state'}]
SELECT DISTINCT ?d WHERE { resource:Charles_II_of_Navarre property:position_held ?d . ?d rdf:type ontology:state }
[]
state
Q200262
SYSTEM
Kingdom of Navarre
Q200262
(Q43082,P39,c(Q7275))
action filter_type
action find
entity Q43082
relation P39
type Q7275
Of [ANSWER]
['Q43082', 'P39', {'concept': 'Q7275'}]
SELECT DISTINCT ?d WHERE { resource:Q43082 property:P39 ?d . ?d rdf:type ontology:Q7275 }
Kingdom of Navarre
Of Kingdom of Navarre
Kingdom of Navarre
action filter_type
action find
entity Charles II of Navarre
relation position held
type state
['Charles II of Navarre', 'position held', {'concept': 'state'}]
SELECT DISTINCT ?d WHERE { resource:Charles_II_of_Navarre property:position_held ?d . ?d rdf:type ontology:state }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q307458
Q7275
USER
And how about Abd ar-Rahman V?
(Q307458,P39,c(Q7275))
action filter_type
action find
entity Q307458
relation P39
type Q7275
['Q307458', 'P39', {'concept': 'Q7275'}]
SELECT DISTINCT ?s WHERE { resource:Q307458 property:P39 ?s . ?s rdf:type ontology:Q7275 }
Abd ar-Rahman V
action filter_type
action find
entity Abd ar-Rahman V
relation position held
type state
['Abd ar-Rahman V', 'position held', {'concept': 'state'}]
SELECT DISTINCT ?s WHERE { resource:Abd_ar-Rahman_V property:position_held ?s . ?s rdf:type ontology:state }
[]
state
Q171740
SYSTEM
Caliphate of Córdoba
Q171740
(Q307458,P39,c(Q7275))
action filter_type
action find
entity Q307458
relation P39
type Q7275
[ANSWER]
['Q307458', 'P39', {'concept': 'Q7275'}]
SELECT DISTINCT ?s WHERE { resource:Q307458 property:P39 ?s . ?s rdf:type ontology:Q7275 }
Caliphate of Córdoba
Caliphate of Córdoba
action filter_type
action find
entity Abd ar-Rahman V
relation position held
type state
['Abd ar-Rahman V', 'position held', {'concept': 'state'}]
SELECT DISTINCT ?s WHERE { resource:Abd_ar-Rahman_V property:position_held ?s . ?s rdf:type ontology:state }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P27
Q502895
USER
How many people are a citizen of that state ?
(c(Q502895),P27,Q171740)
action count
action filter_type
action find_reverse
entity Q171740
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q171740']
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { ?y property:P27 resource:Q171740 . ?y rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Caliphate of Córdoba
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Caliphate of Córdoba']
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { ?y property:country_of_citizenship resource:Caliphate_of_Córdoba . ?y rdf:type ontology:common_name }
[]
common name
SYSTEM
5
Q311495 Q305975 Q783253 Q3777031 Q337126
(c(Q502895),P27,Q171740)
action count
action filter_type
action find_reverse
entity Q171740
relation P27
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q171740']
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { ?y property:P27 resource:Q171740 . ?y rdf:type ontology:Q502895 }
Abu al-Qasim al-Zahrawi Abbas Ibn Firnas Maslama al-Majriti Ibn al-Qūṭiyya Al-Bakri
5
action count
action filter_type
action find_reverse
entity Caliphate of Córdoba
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Caliphate of Córdoba']
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { ?y property:country_of_citizenship resource:Caliphate_of_Córdoba . ?y rdf:type ontology:common_name }
[]