Simple Question (Direct)
Simple Question
Q10544683
P106
Q12737077
USER
Which occupations have Ľubomír Javorský as his/her 's career ?
(Q10544683,P106,c(Q12737077))
action filter_type
action find
entity Q10544683
relation P106
type Q12737077
['Q10544683', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q10544683 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Ľubomír Javorský
action filter_type
action find
entity Ľubomír Javorský
relation occupation
type occupation
['Ľubomír Javorský', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Ľubomír_Javorský property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q39631 Q1231865 Q82955
SYSTEM
physician, educationist, politician
Q39631 Q1231865 Q82955
(Q10544683,P106,c(Q12737077))
action filter_type
action find
entity Q10544683
relation P106
type Q12737077
[ANSWERS] have Ľubomír Javorský as his/her 's career
['Q10544683', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q10544683 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
physician educationist politician
Physician, educationist and politician have Ľubomír Javorský as his/her 's career
physician educationist politician
action filter_type
action find
entity Ľubomír Javorský
relation occupation
type occupation
['Ľubomír Javorský', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Ľubomír_Javorský property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1231865
P425
Q1047113
USER
What has that one as thier associated field of occupation ?
(Q1231865,P425,c(Q1047113))
action filter_type
action find
entity Q1231865
relation P425
type Q1047113
['Q1231865', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?n WHERE { resource:Q1231865 property:P425 ?n . ?n rdf:type ontology:Q1047113 }
educationist
action filter_type
action find
entity educationist
relation field of this occupation
type special field
['educationist', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?n WHERE { resource:educationist property:field_of_this_occupation ?n . ?n rdf:type ontology:special_field }
[]
special field
Clarification for simple ques.
Q1231865
SYSTEM
Did you mean educationist ?
Q39631 Q1231865 Q82955
(Q39631,P425,c(Q1047113)) (Q1231865,P425,c(Q1047113)) (Q82955,P425,c(Q1047113))
[ANSWER]
['Q39631', 'P425', {'concept': 'Q1047113'}] ['Q1231865', 'P425', {'concept': 'Q1047113'}] ['Q82955', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?n WHERE { resource:Q1231865 property:P425 ?n . ?n rdf:type ontology:Q1047113 }
physician educationist politician
Did you mean educationist ?
educationist
['physician', 'field of this occupation', {'concept': 'special field'}] ['educationist', 'field of this occupation', {'concept': 'special field'}] ['politician', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?n WHERE { resource:educationist property:field_of_this_occupation ?n . ?n rdf:type ontology:special_field }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1231865,P425,c(Q1047113))
['Q1231865', 'P425', {'concept': 'Q1047113'}]
['educationist', 'field of this occupation', {'concept': 'special field'}]
[]
Q7922
SYSTEM
pedagogy
Q7922
(Q1231865,P425,c(Q1047113))
action filter_type
action find
entity Q1231865
relation P425
type Q1047113
The [ANSWER] has that one as thier associated field of occupation
['Q1231865', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?n WHERE { resource:Q1231865 property:P425 ?n . ?n rdf:type ontology:Q1047113 }
pedagogy
The pedagogy has that one as thier associated field of occupation
pedagogy
action filter_type
action find
entity educationist
relation field of this occupation
type special field
['educationist', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?n WHERE { resource:educationist property:field_of_this_occupation ?n . ?n rdf:type ontology:special_field }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7922
P361
Q9332
USER
Which behavior is that special field a component of ?
(Q7922,P361,c(Q9332))
action filter_type
action find
entity Q7922
relation P361
type Q9332
['Q7922', 'P361', {'concept': 'Q9332'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q9332 . resource:Q7922 property:P361 ?s }
pedagogy
action filter_type
action find
entity pedagogy
relation part of
type behavior
['pedagogy', 'part of', {'concept': 'behavior'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:behavior . resource:pedagogy property:part_of ?s }
[]
behavior
Q8434
SYSTEM
education
Q8434
(Q7922,P361,c(Q9332))
action filter_type
action find
entity Q7922
relation P361
type Q9332
Which behavior is that special field a component of
['Q7922', 'P361', {'concept': 'Q9332'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q9332 . resource:Q7922 property:P361 ?s }
education
Which behavior is that special field a component of
education
action filter_type
action find
entity pedagogy
relation part of
type behavior
['pedagogy', 'part of', {'concept': 'behavior'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:behavior . resource:pedagogy property:part_of ?s }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q9332 Q21114848 Q502895
USER
How many behaviors do approximately the same number of magazine genres or people belong to as that behavior ?
(c(Q21114848)|c(Q502895),P101,c(Q9332))
action count
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q9332
type Q21114848
action find_reverse_tuple_counts
relation P101
type Q9332
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q8434
relation P101
type Q21114848
type Q502895
[[{'concept': 'Q21114848'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) ?l WHERE { { ?w property:P101 ?l . ?l rdf:type ontology:Q9332 . ?w rdf:type ontology:Q21114848 } UNION { ?w property:P101 ?l . ?l rdf:type ontology:Q9332 . ?w rdf:type ontology:Q502895 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:P101 resource:Q8434 . { ?s rdf:type ?f . VALUES ( ?f ) { ( ontology:Q21114848 ) ( ontology:Q502895 ) } } } } . FILTER ( ?i = ?b ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation field of work
type behavior
type magazine genre
action find_reverse_tuple_counts
relation field of work
type behavior
type common name
action count
action filter_multi_types
action find_reverse
entity education
relation field of work
type magazine genre
type common name
[[{'concept': 'magazine genre'}, {'concept': 'common name'}], 'field of work', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) ?l WHERE { { ?w property:field_of_work ?l . ?l rdf:type ontology:behavior . ?w rdf:type ontology:magazine_genre } UNION { ?w property:field_of_work ?l . ?l rdf:type ontology:behavior . ?w rdf:type ontology:common_name } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:field_of_work resource:education . { ?s rdf:type ?f . VALUES ( ?f ) { ( ontology:magazine_genre ) ( ontology:common_name ) } } } } . FILTER ( ?i = ?b ) }
[]
behavior magazine genre common name
SYSTEM
3
Q8434 Q735 Q11030
(c(Q21114848)|c(Q502895),P101,c(Q9332))
action count
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q9332
type Q21114848
action find_reverse_tuple_counts
relation P101
type Q9332
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q8434
relation P101
type Q21114848
type Q502895
[ANSWER]
[[{'concept': 'Q21114848'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) ?l WHERE { { ?w property:P101 ?l . ?l rdf:type ontology:Q9332 . ?w rdf:type ontology:Q21114848 } UNION { ?w property:P101 ?l . ?l rdf:type ontology:Q9332 . ?w rdf:type ontology:Q502895 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:P101 resource:Q8434 . { ?s rdf:type ?f . VALUES ( ?f ) { ( ontology:Q21114848 ) ( ontology:Q502895 ) } } } } . FILTER ( ?i = ?b ) }
education art journalism
3
action count
action approx
action union
action find_reverse_tuple_counts
relation field of work
type behavior
type magazine genre
action find_reverse_tuple_counts
relation field of work
type behavior
type common name
action count
action filter_multi_types
action find_reverse
entity education
relation field of work
type magazine genre
type common name
[[{'concept': 'magazine genre'}, {'concept': 'common name'}], 'field of work', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) ?l WHERE { { ?w property:field_of_work ?l . ?l rdf:type ontology:behavior . ?w rdf:type ontology:magazine_genre } UNION { ?w property:field_of_work ?l . ?l rdf:type ontology:behavior . ?w rdf:type ontology:common_name } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:field_of_work resource:education . { ?s rdf:type ?f . VALUES ( ?f ) { ( ontology:magazine_genre ) ( ontology:common_name ) } } } } . FILTER ( ?i = ?b ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39631
P39
Q502895
USER
Who were responsible for occupying the position of physician ?
(c(Q502895),P39,Q39631)
action filter_type
action find_reverse
entity Q39631
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q39631']
SELECT DISTINCT ?z WHERE { ?z property:P39 resource:Q39631 . ?z rdf:type ontology:Q502895 }
physician
action filter_type
action find_reverse
entity physician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'physician']
SELECT DISTINCT ?z WHERE { ?z property:position_held resource:physician . ?z rdf:type ontology:common_name }
[]
common name
Q138517 Q16026552 Q3090186
SYSTEM
Henri Ey, Albert Thiery, Frédéric Sancet
Q138517 Q16026552 Q3090186
(c(Q502895),P39,Q39631)
action filter_type
action find_reverse
entity Q39631
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of physician
[{'concept': 'Q502895'}, 'P39', 'Q39631']
SELECT DISTINCT ?z WHERE { ?z property:P39 resource:Q39631 . ?z rdf:type ontology:Q502895 }
Henri Ey Albert Thiery Frédéric Sancet
Henri Ey, Albert Thiery and Frédéric Sancet were responsible for occupying the position of physician
Henri Ey Albert Thiery Frédéric Sancet
action filter_type
action find_reverse
entity physician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'physician']
SELECT DISTINCT ?z WHERE { ?z property:position_held resource:physician . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q138517 Q16026552 Q3090186
P106
Q12737077
USER
Which occupations are the professions of Henri Ey, Albert Thiery and Frédéric Sancet ?
(Q138517,P106,c(Q12737077)) (Q16026552,P106,c(Q12737077)) (Q3090186,P106,c(Q12737077))
action union
action filter_type
action find
entity Q138517
relation P106
type Q12737077
action filter_type
action find
entity Q16026552
relation P106
type Q12737077
action filter_type
action find
entity Q3090186
relation P106
type Q12737077
['Q138517', 'P106', {'concept': 'Q12737077'}] ['Q16026552', 'P106', {'concept': 'Q12737077'}] ['Q3090186', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?a ) { ( resource:Q138517 ) ( resource:Q16026552 ) } . ?a property:P106 ?b }
Henri Ey Albert Thiery Frédéric Sancet
action union
action filter_type
action find
entity Henri Ey
relation occupation
type occupation
action filter_type
action find
entity Albert Thiery
relation occupation
type occupation
action filter_type
action find
entity Frédéric Sancet
relation occupation
type occupation
['Henri Ey', 'occupation', {'concept': 'occupation'}] ['Albert Thiery', 'occupation', {'concept': 'occupation'}] ['Frédéric Sancet', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?a ) { ( resource:Henri_Ey ) ( resource:Albert_Thiery ) } . ?a property:occupation ?b }
[]
occupation
Q39631 Q212980 Q211346
SYSTEM
physician, psychologist, psychiatrist
Q39631 Q212980 Q211346 Q82955 Q82955
(Q138517,P106,c(Q12737077)) (Q16026552,P106,c(Q12737077)) (Q3090186,P106,c(Q12737077))
action union
action filter_type
action find
entity Q138517
relation P106
type Q12737077
action filter_type
action find
entity Q16026552
relation P106
type Q12737077
action filter_type
action find
entity Q3090186
relation P106
type Q12737077
The [ANSWERS] are the professions of Henri Ey, Albert Thiery and Frédéric Sancet
['Q138517', 'P106', {'concept': 'Q12737077'}] ['Q16026552', 'P106', {'concept': 'Q12737077'}] ['Q3090186', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?a ) { ( resource:Q138517 ) ( resource:Q16026552 ) } . ?a property:P106 ?b }
physician psychologist psychiatrist politician politician
The physician, psychologist and psychiatrist are the professions of Henri Ey, Albert Thiery and Frédéric Sancet
physician psychologist psychiatrist
action union
action filter_type
action find
entity Henri Ey
relation occupation
type occupation
action filter_type
action find
entity Albert Thiery
relation occupation
type occupation
action filter_type
action find
entity Frédéric Sancet
relation occupation
type occupation
['Henri Ey', 'occupation', {'concept': 'occupation'}] ['Albert Thiery', 'occupation', {'concept': 'occupation'}] ['Frédéric Sancet', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?a ) { ( resource:Henri_Ey ) ( resource:Albert_Thiery ) } . ?a property:occupation ?b }
[]
Clarification
Simple Question|Single Entity|Indirect
Q138517
P19
Q20667921
USER
Which french administrative division is the birthplace of that person ?
(Q138517,P19,c(Q20667921))
action filter_type
action find
entity Q138517
relation P19
type Q20667921
['Q138517', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { resource:Q138517 property:P19 ?v . ?v rdf:type ontology:Q20667921 }
Henri Ey
action filter_type
action find
entity Henri Ey
relation place of birth
type type of french administrative division
['Henri Ey', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { resource:Henri_Ey property:place_of_birth ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q138517
SYSTEM
Did you mean Henri Ey ?
Q39631 Q212980 Q211346
(Q39631,P19,c(Q20667921)) (Q212980,P19,c(Q20667921)) (Q211346,P19,c(Q20667921))
[ANSWER]
['Q39631', 'P19', {'concept': 'Q20667921'}] ['Q212980', 'P19', {'concept': 'Q20667921'}] ['Q211346', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { resource:Q138517 property:P19 ?v . ?v rdf:type ontology:Q20667921 }
physician psychologist psychiatrist
Did you mean Henri Ey ?
Henri Ey
['physician', 'place of birth', {'concept': 'type of french administrative division'}] ['psychologist', 'place of birth', {'concept': 'type of french administrative division'}] ['psychiatrist', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { resource:Henri_Ey property:place_of_birth ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
Yes
(Q138517,P19,c(Q20667921))
['Q138517', 'P19', {'concept': 'Q20667921'}]
['Henri Ey', 'place of birth', {'concept': 'type of french administrative division'}]
[]
Q1072010
SYSTEM
Banyuls-dels-Aspres
Q1072010
(Q138517,P19,c(Q20667921))
action filter_type
action find
entity Q138517
relation P19
type Q20667921
[ANSWER] is the birthplace of that person
['Q138517', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { resource:Q138517 property:P19 ?v . ?v rdf:type ontology:Q20667921 }
Banyuls-dels-Aspres
Banyuls-dels-Aspres is the birthplace of that person
Banyuls-dels-Aspres
action filter_type
action find
entity Henri Ey
relation place of birth
type type of french administrative division
['Henri Ey', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { resource:Henri_Ey property:place_of_birth ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1072010
P47
Q20667921
USER
Who share the border with that one ?
(Q1072010,P47,c(Q20667921))
action filter_type
action find
entity Q1072010
relation P47
type Q20667921
['Q1072010', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q1072010 property:P47 ?a . ?a rdf:type ontology:Q20667921 }
Banyuls-dels-Aspres
action filter_type
action find
entity Banyuls-dels-Aspres
relation shares border with
type type of french administrative division
['Banyuls-dels-Aspres', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:Banyuls-dels-Aspres property:shares_border_with ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q782514 Q199840 Q8997
SYSTEM
Villemolaque, Brouilla, Montesquieu-des-Albères
Q8997 Q197369 Q199840 Q190225 Q782514 Q190895
(Q1072010,P47,c(Q20667921))
action filter_type
action find
entity Q1072010
relation P47
type Q20667921
[ANSWERS] share the border with that one
['Q1072010', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q1072010 property:P47 ?a . ?a rdf:type ontology:Q20667921 }
Montesquieu-des-Albères Tresserre Brouilla Saint-Jean-Lasseille Villemolaque Villelongue-dels-Monts
Villemolaque, Brouilla and Montesquieu-des-Albères share the border with that one
Villemolaque Brouilla Montesquieu-des-Albères
action filter_type
action find
entity Banyuls-dels-Aspres
relation shares border with
type type of french administrative division
['Banyuls-dels-Aspres', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:Banyuls-dels-Aspres property:shares_border_with ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1072010
P47
Q20667921
USER
Does Banyuls-dels-Aspres share border with those ones ?
(Q1072010,P47,Q782514) (Q1072010,P47,Q199840) (Q1072010,P47,Q8997)
action is_in
entity prev_answer
action find
entity Q1072010
relation P47
['Q1072010', 'P47', 'Q782514'] ['Q1072010', 'P47', 'Q199840'] ['Q1072010', 'P47', 'Q8997']
ASK WHERE { resource:Q1072010 property:P47 ?f . VALUES ( ?f ) { ( resource:Q8997 ) ( resource:Q197369 ) ( resource:Q199840 ) } }
Banyuls-dels-Aspres
action is_in
entity prev_answer
action find
entity Banyuls-dels-Aspres
relation shares border with
['Banyuls-dels-Aspres', 'shares border with', 'Villemolaque'] ['Banyuls-dels-Aspres', 'shares border with', 'Brouilla'] ['Banyuls-dels-Aspres', 'shares border with', 'Montesquieu-des-Albères']
ASK WHERE { resource:Banyuls-dels-Aspres property:shares_border_with ?f . VALUES ( ?f ) { ( resource:Montesquieu-des-Albères ) ( resource:Tresserre ) ( resource:Brouilla ) } }
[]
type of french administrative division
SYSTEM
YES
(Q1072010,P47,Q782514) (Q1072010,P47,Q199840) (Q1072010,P47,Q8997)
action is_in
entity prev_answer
action find
entity Q1072010
relation P47
[ANSWER]
['Q1072010', 'P47', 'Q782514'] ['Q1072010', 'P47', 'Q199840'] ['Q1072010', 'P47', 'Q8997']
ASK WHERE { resource:Q1072010 property:P47 ?f . VALUES ( ?f ) { ( resource:Q8997 ) ( resource:Q197369 ) ( resource:Q199840 ) } }
Yes
action is_in
entity prev_answer
action find
entity Banyuls-dels-Aspres
relation shares border with
['Banyuls-dels-Aspres', 'shares border with', 'Villemolaque'] ['Banyuls-dels-Aspres', 'shares border with', 'Brouilla'] ['Banyuls-dels-Aspres', 'shares border with', 'Montesquieu-des-Albères']
ASK WHERE { resource:Banyuls-dels-Aspres property:shares_border_with ?f . VALUES ( ?f ) { ( resource:Montesquieu-des-Albères ) ( resource:Tresserre ) ( resource:Brouilla ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8997
P17
Q15617994
USER
Which administrative territory is Montesquieu-des-Albères a part of ?
(Q8997,P17,c(Q15617994))
action filter_type
action find
entity Q8997
relation P17
type Q15617994
['Q8997', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q8997 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Montesquieu-des-Albères
action filter_type
action find
entity Montesquieu-des-Albères
relation country
type designation for an administrative territorial entity
['Montesquieu-des-Albères', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Montesquieu-des-Albères property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q8997,P17,c(Q15617994))
action filter_type
action find
entity Q8997
relation P17
type Q15617994
[ANSWER] is Montesquieu-des-Albères a part of
['Q8997', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q8997 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
France
France is Montesquieu-des-Albères a part of
France
action filter_type
action find
entity Montesquieu-des-Albères
relation country
type designation for an administrative territorial entity
['Montesquieu-des-Albères', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Montesquieu-des-Albères property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]