Simple Question (Direct)
Simple Question
Q368644
P21
Q290
USER
Which sex does Gonçalo Ribeiro Telles belong to ?
(Q368644,P21,c(Q290))
action filter_type
action find
entity Q368644
relation P21
type Q290
['Q368644', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . resource:Q368644 property:P21 ?p }
Gonçalo Ribeiro Telles
action filter_type
action find
entity Gonçalo Ribeiro Telles
relation gender
type sex
['Gonçalo Ribeiro Telles', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . resource:Gonçalo_Ribeiro_Telles property:gender ?p }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q368644,P21,c(Q290))
action filter_type
action find
entity Q368644
relation P21
type Q290
Gonçalo Ribeiro Telles belongs a [ANSWER]
['Q368644', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . resource:Q368644 property:P21 ?p }
male
Gonçalo Ribeiro Telles belongs a male
male
action filter_type
action find
entity Gonçalo Ribeiro Telles
relation gender
type sex
['Gonçalo Ribeiro Telles', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . resource:Gonçalo_Ribeiro_Telles property:gender ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q368644
P106
Q12737077
USER
What are the job of Gonçalo Ribeiro Telles ?
(Q368644,P106,c(Q12737077))
action filter_type
action find
entity Q368644
relation P106
type Q12737077
['Q368644', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q368644 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Gonçalo Ribeiro Telles
action filter_type
action find
entity Gonçalo Ribeiro Telles
relation occupation
type occupation
['Gonçalo Ribeiro Telles', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Gonçalo_Ribeiro_Telles property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q42973 Q82955 Q1622272
SYSTEM
architect, politician, university teacher
Q42973 Q82955 Q1622272
(Q368644,P106,c(Q12737077))
action filter_type
action find
entity Q368644
relation P106
type Q12737077
The job of Gonçalo Ribeiro Telles are an [ANSWERS]
['Q368644', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q368644 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
architect politician university teacher
The job of Gonçalo Ribeiro Telles are an architect, politician and university teacher
architect politician university teacher
action filter_type
action find
entity Gonçalo Ribeiro Telles
relation occupation
type occupation
['Gonçalo Ribeiro Telles', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Gonçalo_Ribeiro_Telles property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q368644
P19
Q1048835
USER
Which political territory was Gonçalo Ribeiro Telles born at ?
(Q368644,P19,c(Q1048835))
action filter_type
action find
entity Q368644
relation P19
type Q1048835
['Q368644', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1048835 . resource:Q368644 property:P19 ?j }
Gonçalo Ribeiro Telles
action filter_type
action find
entity Gonçalo Ribeiro Telles
relation place of birth
type political territorial entity
['Gonçalo Ribeiro Telles', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_territorial_entity . resource:Gonçalo_Ribeiro_Telles property:place_of_birth ?j }
[]
political territorial entity
Q1786370
SYSTEM
São José
Q1786370
(Q368644,P19,c(Q1048835))
action filter_type
action find
entity Q368644
relation P19
type Q1048835
Gonçalo Ribeiro Telles was born em [ANSWER]
['Q368644', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1048835 . resource:Q368644 property:P19 ?j }
São José
Gonçalo Ribeiro Telles was born em São José
São José
action filter_type
action find
entity Gonçalo Ribeiro Telles
relation place of birth
type political territorial entity
['Gonçalo Ribeiro Telles', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_territorial_entity . resource:Gonçalo_Ribeiro_Telles property:place_of_birth ?j }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q230253
Q1048835
USER
And what about María José Martínez Sánchez?
(Q230253,P19,c(Q1048835))
action filter_type
action find
entity Q230253
relation P19
type Q1048835
['Q230253', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q230253 property:P19 ?j . ?j rdf:type ontology:Q1048835 }
María José Martínez Sánchez
action filter_type
action find
entity María José Martínez Sánchez
relation place of birth
type political territorial entity
['María José Martínez Sánchez', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:María_José_Martínez_Sánchez property:place_of_birth ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q931116
SYSTEM
Yecla
Q931116
(Q230253,P19,c(Q1048835))
action filter_type
action find
entity Q230253
relation P19
type Q1048835
[ANSWER]
['Q230253', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q230253 property:P19 ?j . ?j rdf:type ontology:Q1048835 }
Yecla
Yecla
action filter_type
action find
entity María José Martínez Sánchez
relation place of birth
type political territorial entity
['María José Martínez Sánchez', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:María_José_Martínez_Sánchez property:place_of_birth ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P47
Q56061 Q1048835
USER
How many administrative territories and political territories have an adjacent border with that political territory ?
(c(Q56061),P47,Q931116) (c(Q1048835),P47,Q931116) (c(Q56061),P47,Q931116) (c(Q1048835),P47,Q931116)
action count
action union
action filter_type
action find_reverse
entity Q931116
relation P47
type Q56061
action filter_type
action find_reverse
entity Q931116
relation P47
type Q1048835
[{'concept': 'Q56061'}, 'P47', 'Q931116'] [{'concept': 'Q1048835'}, 'P47', 'Q931116'] [{'concept': 'Q56061'}, 'P47', 'Q931116'] [{'concept': 'Q1048835'}, 'P47', 'Q931116']
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { VALUES ( ?z ) { ( ontology:Q1048835 ) ( ontology:Q56061 ) } . ?x rdf:type ?z }
action count
action union
action filter_type
action find_reverse
entity Yecla
relation shares border with
type administrative territorial entity
action filter_type
action find_reverse
entity Yecla
relation shares border with
type political territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Yecla'] [{'concept': 'political territorial entity'}, 'shares border with', 'Yecla'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Yecla'] [{'concept': 'political territorial entity'}, 'shares border with', 'Yecla']
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { VALUES ( ?z ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?x rdf:type ?z }
[]
administrative territorial entity political territorial entity
SYSTEM
1 administrative territories and 1 political territories
Q917173 Q593904
(c(Q56061),P47,Q931116) (c(Q1048835),P47,Q931116) (c(Q56061),P47,Q931116) (c(Q1048835),P47,Q931116)
action count
action union
action filter_type
action find_reverse
entity Q931116
relation P47
type Q56061
action filter_type
action find_reverse
entity Q931116
relation P47
type Q1048835
[ANSWER]
[{'concept': 'Q56061'}, 'P47', 'Q931116'] [{'concept': 'Q1048835'}, 'P47', 'Q931116'] [{'concept': 'Q56061'}, 'P47', 'Q931116'] [{'concept': 'Q1048835'}, 'P47', 'Q931116']
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { VALUES ( ?z ) { ( ontology:Q1048835 ) ( ontology:Q56061 ) } . ?x rdf:type ?z }
Jumilla Montealegre del Castillo
1 administrative territories and 1 political territories
action count
action union
action filter_type
action find_reverse
entity Yecla
relation shares border with
type administrative territorial entity
action filter_type
action find_reverse
entity Yecla
relation shares border with
type political territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Yecla'] [{'concept': 'political territorial entity'}, 'shares border with', 'Yecla'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Yecla'] [{'concept': 'political territorial entity'}, 'shares border with', 'Yecla']
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { VALUES ( ?z ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?x rdf:type ?z }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
How many political territories have diplomatic relations with exactly 11 political territories ?
(c(Q1048835),P530,c(Q1048835))
action count
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 11
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?s ) WHERE { ?y property:P530 ?a . ?y rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q1048835 } GROUP BY ?y } . FILTER ( ?s = 11 ) }
action count
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 11
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?s ) WHERE { ?y property:diplomatic_relation ?a . ?y rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?y } . FILTER ( ?s = 11 ) }
[]
political territorial entity political territorial entity
SYSTEM
1
Q408
(c(Q1048835),P530,c(Q1048835))
action count
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 11
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?s ) WHERE { ?y property:P530 ?a . ?y rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q1048835 } GROUP BY ?y } . FILTER ( ?s = 11 ) }
Australia
1
action count
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 11
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?s ) WHERE { ?y property:diplomatic_relation ?a . ?y rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?y } . FILTER ( ?s = 11 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q931116
P276
Q132241
USER
What is situated at Yecla ?
(c(Q132241),P276,Q931116)
action filter_type
action find_reverse
entity Q931116
relation P276
type Q132241
[{'concept': 'Q132241'}, 'P276', 'Q931116']
SELECT DISTINCT ?g WHERE { ?g property:P276 resource:Q931116 . ?g rdf:type ontology:Q132241 }
Yecla
action filter_type
action find_reverse
entity Yecla
relation location
type festival
[{'concept': 'festival'}, 'location', 'Yecla']
SELECT DISTINCT ?g WHERE { ?g property:location resource:Yecla . ?g rdf:type ontology:festival }
[]
festival
Q23660865
SYSTEM
Holy Week in Yecla
Q23660865
(c(Q132241),P276,Q931116)
action filter_type
action find_reverse
entity Q931116
relation P276
type Q132241
[ANSWER] is situated at Yecla
[{'concept': 'Q132241'}, 'P276', 'Q931116']
SELECT DISTINCT ?g WHERE { ?g property:P276 resource:Q931116 . ?g rdf:type ontology:Q132241 }
Holy Week in Yecla
Holy Week in Yecla is situated at Yecla
Holy Week in Yecla
action filter_type
action find_reverse
entity Yecla
relation location
type festival
[{'concept': 'festival'}, 'location', 'Yecla']
SELECT DISTINCT ?g WHERE { ?g property:location resource:Yecla . ?g rdf:type ontology:festival }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q931116
P1001
Q12737077
USER
Which occupation presides the jurisdiction over Yecla ?
(c(Q12737077),P1001,Q931116)
action filter_type
action find_reverse
entity Q931116
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q931116']
SELECT DISTINCT ?v WHERE { ?v property:P1001 resource:Q931116 . ?v rdf:type ontology:Q12737077 }
Yecla
action filter_type
action find_reverse
entity Yecla
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Yecla']
SELECT DISTINCT ?v WHERE { ?v property:applies_to_jurisdiction resource:Yecla . ?v rdf:type ontology:occupation }
[]
occupation
Q26701076
SYSTEM
mayor of Yecla
Q26701076
(c(Q12737077),P1001,Q931116)
action filter_type
action find_reverse
entity Q931116
relation P1001
type Q12737077
The [ANSWER] presides the jurisdiction over Yecla
[{'concept': 'Q12737077'}, 'P1001', 'Q931116']
SELECT DISTINCT ?v WHERE { ?v property:P1001 resource:Q931116 . ?v rdf:type ontology:Q12737077 }
mayor of Yecla
The mayor of Yecla presides the jurisdiction over Yecla
mayor of Yecla
action filter_type
action find_reverse
entity Yecla
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Yecla']
SELECT DISTINCT ?v WHERE { ?v property:applies_to_jurisdiction resource:Yecla . ?v rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42973
P425
Q1190554
USER
Who is associated with the field of occupation architect ?
(Q42973,P425,c(Q1190554))
action filter_type
action find
entity Q42973
relation P425
type Q1190554
['Q42973', 'P425', {'concept': 'Q1190554'}]
SELECT DISTINCT ?o WHERE { resource:Q42973 property:P425 ?o . ?o rdf:type ontology:Q1190554 }
architect
action filter_type
action find
entity architect
relation field of this occupation
type event
['architect', 'field of this occupation', {'concept': 'event'}]
SELECT DISTINCT ?o WHERE { resource:architect property:field_of_this_occupation ?o . ?o rdf:type ontology:event }
[]
event
Q385378
SYSTEM
construction
Q385378
(Q42973,P425,c(Q1190554))
action filter_type
action find
entity Q42973
relation P425
type Q1190554
[ANSWER] is associated with the field of occupation architect
['Q42973', 'P425', {'concept': 'Q1190554'}]
SELECT DISTINCT ?o WHERE { resource:Q42973 property:P425 ?o . ?o rdf:type ontology:Q1190554 }
construction
Construction is associated with the field of occupation architect
construction
action filter_type
action find
entity architect
relation field of this occupation
type event
['architect', 'field of this occupation', {'concept': 'event'}]
SELECT DISTINCT ?o WHERE { resource:architect property:field_of_this_occupation ?o . ?o rdf:type ontology:event }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P748
Q178706 Q1752346 Q12737077
USER
How many occupations are appointed by exactly 1 institutions and assemblies ?
(c(Q12737077),P748,c(Q178706)|c(Q1752346))
action count
action equal
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
value 1
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?c ) WHERE { { ?n property:P748 ?f . ?n rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q178706 } UNION { ?n rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q1752346 . ?n property:P748 ?f } } GROUP BY ?n } . FILTER ( ?c = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type assembly
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?c ) WHERE { { ?n property:appointed_by ?f . ?n rdf:type ontology:occupation . ?f rdf:type ontology:institution } UNION { ?n rdf:type ontology:occupation . ?f rdf:type ontology:assembly . ?n property:appointed_by ?f } } GROUP BY ?n } . FILTER ( ?c = 1 ) }
[]
institution assembly occupation
SYSTEM
16
Q740126 Q15305714 Q842386 Q19056310 Q890030 Q1161813 Q796593 Q7574264 Q8882 Q3409203 Q327948 Q1370482 Q634291 Q735587 Q81066 Q628102
(c(Q12737077),P748,c(Q178706)|c(Q1752346))
action count
action equal
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
value 1
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?c ) WHERE { { ?n property:P748 ?f . ?n rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q178706 } UNION { ?n rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q1752346 . ?n property:P748 ?f } } GROUP BY ?n } . FILTER ( ?c = 1 ) }
President of the European Parliament Prime Minister of Libya Prime Minister of Russia President of Botswana State President of South Africa President of the United Nations General Assembly President of Malta Speaker of the Hellenic Parliament President of the European Commission President of Greece President of Israel President of Cuba High Representative of the Union for Foreign Affairs and Security Policy President of the European Council United Nations Secretary-General President of Nauru
16
action count
action equal
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type assembly
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?c ) WHERE { { ?n property:appointed_by ?f . ?n rdf:type ontology:occupation . ?f rdf:type ontology:institution } UNION { ?n rdf:type ontology:occupation . ?f rdf:type ontology:assembly . ?n property:appointed_by ?f } } GROUP BY ?n } . FILTER ( ?c = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23660865
P17
Q15617994
USER
Which administrative territory is Holy Week in Yecla present in ?
(Q23660865,P17,c(Q15617994))
action filter_type
action find
entity Q23660865
relation P17
type Q15617994
['Q23660865', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q23660865 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Holy Week in Yecla
action filter_type
action find
entity Holy Week in Yecla
relation country
type designation for an administrative territorial entity
['Holy Week in Yecla', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Holy_Week_in_Yecla property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q23660865,P17,c(Q15617994))
action filter_type
action find
entity Q23660865
relation P17
type Q15617994
Which administrative territory is Holy Week in Yecla present in
['Q23660865', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q23660865 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Spain
Which administrative territory is Holy Week in Yecla present in
Spain
action filter_type
action find
entity Holy Week in Yecla
relation country
type designation for an administrative territorial entity
['Holy Week in Yecla', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Holy_Week_in_Yecla property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P85
Q484692
USER
Which is the national anthem of that administrative territory ?
(Q29,P85,c(Q484692))
action filter_type
action find
entity Q29
relation P85
type Q484692
['Q29', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?r WHERE { resource:Q29 property:P85 ?r . ?r rdf:type ontology:Q484692 }
Spain
action filter_type
action find
entity Spain
relation anthem
type hymn
['Spain', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?r WHERE { resource:Spain property:anthem ?r . ?r rdf:type ontology:hymn }
[]
hymn
Q130940
SYSTEM
Marcha Real
Q130940
(Q29,P85,c(Q484692))
action filter_type
action find
entity Q29
relation P85
type Q484692
The national anthem of that administrative territory is the [ANSWER]
['Q29', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?r WHERE { resource:Q29 property:P85 ?r . ?r rdf:type ontology:Q484692 }
Marcha Real
The national anthem of that administrative territory is the Marcha Real
Marcha Real
action filter_type
action find
entity Spain
relation anthem
type hymn
['Spain', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?r WHERE { resource:Spain property:anthem ?r . ?r rdf:type ontology:hymn }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P36
Q56061
USER
Which administrative territory is called the capital of Spain ?
(Q29,P36,c(Q56061))
action filter_type
action find
entity Q29
relation P36
type Q56061
['Q29', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q29 property:P36 ?t . ?t rdf:type ontology:Q56061 }
Spain
action filter_type
action find
entity Spain
relation capital
type administrative territorial entity
['Spain', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Spain property:capital ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2807
SYSTEM
Madrid
Q2807
(Q29,P36,c(Q56061))
action filter_type
action find
entity Q29
relation P36
type Q56061
[ANSWER] is called the capital of Spain
['Q29', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q29 property:P36 ?t . ?t rdf:type ontology:Q56061 }
Madrid
Madrid is called the capital of Spain
Madrid
action filter_type
action find
entity Spain
relation capital
type administrative territorial entity
['Spain', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Spain property:capital ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P376
Q16889133
USER
Which class is known to be the location of Spain ?
(Q29,P376,c(Q16889133))
action filter_type
action find
entity Q29
relation P376
type Q16889133
['Q29', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q16889133 . resource:Q29 property:P376 ?p }
Spain
action filter_type
action find
entity Spain
relation located on astronomical body
type class
['Spain', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:class . resource:Spain property:located_on_astronomical_body ?p }
[]
class
Q2
SYSTEM
Earth
Q2
(Q29,P376,c(Q16889133))
action filter_type
action find
entity Q29
relation P376
type Q16889133
Spain [ANSWER] is known to be the location of Spain
['Q29', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q16889133 . resource:Q29 property:P376 ?p }
Earth
Spain Earth is known to be the location of Spain
Earth
action filter_type
action find
entity Spain
relation located on astronomical body
type class
['Spain', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:class . resource:Spain property:located_on_astronomical_body ?p }
[]