Simple Question (Direct)
Simple Question
Q16183505
P102
Q7278
USER
Which political party is Manuel Cámara Fernández a member of ?
(Q16183505,P102,c(Q7278))
action filter_type
action find
entity Q16183505
relation P102
type Q7278
['Q16183505', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?i WHERE { resource:Q16183505 property:P102 ?i . ?i rdf:type ontology:Q7278 }
Manuel Cámara Fernández
action filter_type
action find
entity Manuel Cámara Fernández
relation member of political party
type political party
['Manuel Cámara Fernández', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?i WHERE { resource:Manuel_Cámara_Fernández property:member_of_political_party ?i . ?i rdf:type ontology:political_party }
[]
political party
Q478811
SYSTEM
Communist Party of Spain
Q478811
(Q16183505,P102,c(Q7278))
action filter_type
action find
entity Q16183505
relation P102
type Q7278
The [ANSWER] is Manuel Cámara Fernández a member of
['Q16183505', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?i WHERE { resource:Q16183505 property:P102 ?i . ?i rdf:type ontology:Q7278 }
Communist Party of Spain
The Communist Party of Spain is Manuel Cámara Fernández a member of
Communist Party of Spain
action filter_type
action find
entity Manuel Cámara Fernández
relation member of political party
type political party
['Manuel Cámara Fernández', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?i WHERE { resource:Manuel_Cámara_Fernández property:member_of_political_party ?i . ?i rdf:type ontology:political_party }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q478811
P39
Q502895
USER
Who was responsible for occupying the position of that political party ?
(c(Q502895),P39,Q478811)
action filter_type
action find_reverse
entity Q478811
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q478811']
SELECT DISTINCT ?n WHERE { ?n property:P39 resource:Q478811 . ?n rdf:type ontology:Q502895 }
Communist Party of Spain
action filter_type
action find_reverse
entity Communist Party of Spain
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Communist Party of Spain']
SELECT DISTINCT ?n WHERE { ?n property:position_held resource:Communist_Party_of_Spain . ?n rdf:type ontology:common_name }
[]
common name
Q2989401
SYSTEM
José Díaz
Q2989401
(c(Q502895),P39,Q478811)
action filter_type
action find_reverse
entity Q478811
relation P39
type Q502895
[ANSWER] was responsible for occupying the position of that political party
[{'concept': 'Q502895'}, 'P39', 'Q478811']
SELECT DISTINCT ?n WHERE { ?n property:P39 resource:Q478811 . ?n rdf:type ontology:Q502895 }
José Díaz
José Díaz was responsible for occupying the position of that political party
José Díaz
action filter_type
action find_reverse
entity Communist Party of Spain
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Communist Party of Spain']
SELECT DISTINCT ?n WHERE { ?n property:position_held resource:Communist_Party_of_Spain . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2989401
P1196
Q1914636
USER
Which activity best describes with type of death of that person ?
(Q2989401,P1196,c(Q1914636))
action filter_type
action find
entity Q2989401
relation P1196
type Q1914636
['Q2989401', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?e WHERE { resource:Q2989401 property:P1196 ?e . ?e rdf:type ontology:Q1914636 }
José Díaz
action filter_type
action find
entity José Díaz
relation manner of death
type activity
['José Díaz', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?e WHERE { resource:José_Díaz property:manner_of_death ?e . ?e rdf:type ontology:activity }
[]
activity
Q10737
SYSTEM
suicide
Q10737
(Q2989401,P1196,c(Q1914636))
action filter_type
action find
entity Q2989401
relation P1196
type Q1914636
[ANSWER] best describes with type of death of that person
['Q2989401', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?e WHERE { resource:Q2989401 property:P1196 ?e . ?e rdf:type ontology:Q1914636 }
suicide
Suicide best describes with type of death of that person
suicide
action filter_type
action find
entity José Díaz
relation manner of death
type activity
['José Díaz', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?e WHERE { resource:José_Díaz property:manner_of_death ?e . ?e rdf:type ontology:activity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q10737 Q1353816
P1196
Q502895
USER
Did Maksym Berezovsky die with that activity as its reason ?
(Q1353816,P1196,Q10737)
action is_in
entity Q10737
action find
entity Q1353816
relation P1196
['Q1353816', 'P1196', 'Q10737']
ASK WHERE { resource:Q1353816 property:P1196 resource:Q10737 }
suicide Maksym Berezovsky
action is_in
entity suicide
action find
entity Maksym Berezovsky
relation manner of death
['Maksym Berezovsky', 'manner of death', 'suicide']
ASK WHERE { resource:Maksym_Berezovsky property:manner_of_death resource:suicide }
[]
common name
SYSTEM
YES
(Q1353816,P1196,Q10737)
action is_in
entity Q10737
action find
entity Q1353816
relation P1196
[ANSWER]
['Q1353816', 'P1196', 'Q10737']
ASK WHERE { resource:Q1353816 property:P1196 resource:Q10737 }
Yes
action is_in
entity suicide
action find
entity Maksym Berezovsky
relation manner of death
['Maksym Berezovsky', 'manner of death', 'suicide']
ASK WHERE { resource:Maksym_Berezovsky property:manner_of_death resource:suicide }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q10737 Q6984763
P1995
Q1047113
USER
How many special fields do suicide or Nebraska Orthopaedic Hospital specializes in ?
(Q10737,P1995,c(Q1047113)) (Q6984763,P1995,c(Q1047113))
action count
action union
action filter_type
action find
entity Q10737
relation P1995
type Q1047113
action filter_type
action find
entity Q6984763
relation P1995
type Q1047113
['Q10737', 'P1995', {'concept': 'Q1047113'}] ['Q6984763', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { ?l rdf:type ontology:Q1047113 . resource:Q10737 property:P1995 ?l } UNION { resource:Q6984763 property:P1995 ?l . ?l rdf:type ontology:Q1047113 } }
suicide Nebraska Orthopaedic Hospital
action count
action union
action filter_type
action find
entity suicide
relation medical specialty
type special field
action filter_type
action find
entity Nebraska Orthopaedic Hospital
relation medical specialty
type special field
['suicide', 'medical specialty', {'concept': 'special field'}] ['Nebraska Orthopaedic Hospital', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { ?l rdf:type ontology:special_field . resource:suicide property:medical_specialty ?l } UNION { resource:Nebraska_Orthopaedic_Hospital property:medical_specialty ?l . ?l rdf:type ontology:special_field } }
[]
special field
SYSTEM
2
Q216685 Q7867
(Q10737,P1995,c(Q1047113)) (Q6984763,P1995,c(Q1047113))
action count
action union
action filter_type
action find
entity Q10737
relation P1995
type Q1047113
action filter_type
action find
entity Q6984763
relation P1995
type Q1047113
[ANSWER]
['Q10737', 'P1995', {'concept': 'Q1047113'}] ['Q6984763', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { ?l rdf:type ontology:Q1047113 . resource:Q10737 property:P1995 ?l } UNION { resource:Q6984763 property:P1995 ?l . ?l rdf:type ontology:Q1047113 } }
orthopedics psychiatry
2
action count
action union
action filter_type
action find
entity suicide
relation medical specialty
type special field
action filter_type
action find
entity Nebraska Orthopaedic Hospital
relation medical specialty
type special field
['suicide', 'medical specialty', {'concept': 'special field'}] ['Nebraska Orthopaedic Hospital', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { ?l rdf:type ontology:special_field . resource:suicide property:medical_specialty ?l } UNION { resource:Nebraska_Orthopaedic_Hospital property:medical_specialty ?l . ?l rdf:type ontology:special_field } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4853519 Q1353816
P27 P17
Q15617994
USER
Which administrative territories do Maksym Berezovsky belong to or are Bamoundo located in ?
OR((Q1353816,P27,c(Q15617994)), (Q4853519,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1353816
relation P27
action find
entity Q4853519
relation P17
type Q15617994
{'OR': [['Q1353816', 'P27', {'concept': 'Q15617994'}], ['Q4853519', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q1353816 property:P27 ?o } UNION { resource:Q4853519 property:P17 ?o } } . ?o rdf:type ontology:Q15617994 }
Bamoundo Maksym Berezovsky
action filter_type
action union
action find
entity Maksym Berezovsky
relation country of citizenship
action find
entity Bamoundo
relation country
type designation for an administrative territorial entity
{'OR': [['Maksym Berezovsky', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bamoundo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Maksym_Berezovsky property:country_of_citizenship ?o } UNION { resource:Bamoundo property:country ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212 Q945
SYSTEM
Ukraine, Togo
Q212 Q945
OR((Q1353816,P27,c(Q15617994)), (Q4853519,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1353816
relation P27
action find
entity Q4853519
relation P17
type Q15617994
Maksym Berezovsky belong to [ANSWERS]
{'OR': [['Q1353816', 'P27', {'concept': 'Q15617994'}], ['Q4853519', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q1353816 property:P27 ?o } UNION { resource:Q4853519 property:P17 ?o } } . ?o rdf:type ontology:Q15617994 }
Ukraine Togo
Maksym Berezovsky belong to Ukraine and Togo
Ukraine Togo
action filter_type
action union
action find
entity Maksym Berezovsky
relation country of citizenship
action find
entity Bamoundo
relation country
type designation for an administrative territorial entity
{'OR': [['Maksym Berezovsky', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bamoundo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Maksym_Berezovsky property:country_of_citizenship ?o } UNION { resource:Bamoundo property:country ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P530
Q1048835
USER
Are Germany known to have diplomatic connections with those administrative territories ?
(Q183,P530,Q212) (Q183,P530,Q945)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q212'] ['Q183', 'P530', 'Q945']
ASK WHERE { VALUES ( ?r ) { ( resource:Q212 ) ( resource:Q945 ) } . resource:Q183 property:P530 ?r }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Ukraine'] ['Germany', 'diplomatic relation', 'Togo']
ASK WHERE { VALUES ( ?r ) { ( resource:Ukraine ) ( resource:Togo ) } . resource:Germany property:diplomatic_relation ?r }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q212) (Q183,P530,Q945)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q212'] ['Q183', 'P530', 'Q945']
ASK WHERE { VALUES ( ?r ) { ( resource:Q212 ) ( resource:Q945 ) } . resource:Q183 property:P530 ?r }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Ukraine'] ['Germany', 'diplomatic relation', 'Togo']
ASK WHERE { VALUES ( ?r ) { ( resource:Ukraine ) ( resource:Togo ) } . resource:Germany property:diplomatic_relation ?r }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relationships with approximately 103 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 103
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?u ) WHERE { ?g property:P530 ?e . ?g rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?u = 103 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 103
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?u ) WHERE { ?g property:diplomatic_relation ?e . ?g rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?u = 103 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 103
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?u ) WHERE { ?g property:P530 ?e . ?g rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?u = 103 ) }
Germany Australia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 103
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?u ) WHERE { ?g property:diplomatic_relation ?e . ?g rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?u = 103 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q212
P85
Q484692
USER
Which hymn is the anthem for Ukraine ?
(Q212,P85,c(Q484692))
action filter_type
action find
entity Q212
relation P85
type Q484692
['Q212', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?p WHERE { resource:Q212 property:P85 ?p . ?p rdf:type ontology:Q484692 }
Ukraine
action filter_type
action find
entity Ukraine
relation anthem
type hymn
['Ukraine', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?p WHERE { resource:Ukraine property:anthem ?p . ?p rdf:type ontology:hymn }
[]
hymn
Q161744
SYSTEM
Shche ne vmerla Ukraina
Q161744
(Q212,P85,c(Q484692))
action filter_type
action find
entity Q212
relation P85
type Q484692
Ukraine [ANSWER] is the anthem for Ukraine
['Q212', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?p WHERE { resource:Q212 property:P85 ?p . ?p rdf:type ontology:Q484692 }
Shche ne vmerla Ukraina
Ukraine Shche ne vmerla Ukraina is the anthem for Ukraine
Shche ne vmerla Ukraina
action filter_type
action find
entity Ukraine
relation anthem
type hymn
['Ukraine', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?p WHERE { resource:Ukraine property:anthem ?p . ?p rdf:type ontology:hymn }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q423
P122
Q12737077 Q22676587 Q15617994
USER
Which administrative territories have approximately the same number of occupations and monarchic systems as government as North Korea ?
(c(Q15617994),P122,c(Q12737077)|c(Q22676587))
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action count
action filter_multi_types
action find
entity Q423
relation P122
type Q12737077
type Q22676587
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?b ) WHERE { { ?w property:P122 ?f . ?f rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q15617994 } UNION { ?w property:P122 ?f . ?f rdf:type ontology:Q22676587 . ?w rdf:type ontology:Q15617994 } } GROUP BY ?w } . FILTER ( ?b = ?e ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { { ?n rdf:type ontology:Q12737077 } UNION { ?n rdf:type ontology:Q22676587 } } . resource:Q423 property:P122 ?n } } }
North Korea
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action count
action filter_multi_types
action find
entity North Korea
relation basic form of government
type occupation
type monarchic system
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?b ) WHERE { { ?w property:basic_form_of_government ?f . ?f rdf:type ontology:occupation . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?w property:basic_form_of_government ?f . ?f rdf:type ontology:monarchic_system . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?w } . FILTER ( ?b = ?e ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { { ?n rdf:type ontology:occupation } UNION { ?n rdf:type ontology:monarchic_system } } . resource:North_Korea property:basic_form_of_government ?n } } }
[]
occupation monarchic system designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q702 Q804 Q154547 Q801 Q805 Q419 Q668 Q414 Q142 Q165116 Q145 Q265 Q1130767 Q711 Q717 Q837 Q208500 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q794 Q889 Q884 Q958 Q689837 Q315667 Q158290 Q153136 Q33 Q32 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q423 Q953 Q29999 Q153091 Q280312 Q1130957 Q236 Q230 Q232 Q238 Q20 Q1045 Q27 Q28 Q29 Q313175 Q189 Q843 Q184 Q876826 Q347 Q3462133 Q227 Q225 Q224 Q815731 Q96 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q1483510 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q696651 Q77 Q199688 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q12737077)|c(Q22676587))
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action count
action filter_multi_types
action find
entity Q423
relation P122
type Q12737077
type Q22676587
[ANSWERS] have approximately the same number of occupations and monarchic systems as government as North Korea
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?b ) WHERE { { ?w property:P122 ?f . ?f rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q15617994 } UNION { ?w property:P122 ?f . ?f rdf:type ontology:Q22676587 . ?w rdf:type ontology:Q15617994 } } GROUP BY ?w } . FILTER ( ?b = ?e ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { { ?n rdf:type ontology:Q12737077 } UNION { ?n rdf:type ontology:Q22676587 } } . resource:Q423 property:P122 ?n } } }
Federated States of Micronesia Panama duchy Israel Yemen Peru India Argentina France grand duchy United Kingdom Uzbekistan Bear Creek Village Mongolia Venezuela Nepal principality Armenia South Africa Portugal Russia Turkey Brazil Iraq Iran Afghanistan South Korea South Sudan Spanish Sahara Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Luxembourg Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy North Korea Zambia Kingdom of the Netherlands Duchy of Prussia Principality of Lüneburg Courtdale Montenegro Georgia Kazakhstan San Marino Norway Somalia Ireland Hungary Spain Saxe-Lauenburg Iceland Pakistan Belarus Ellwangen Abbey Liechtenstein Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Principality of Bulgaria Mexico Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Principality of Wales Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Saxe-Eisenach Uruguay Almohad Tunisia Nicaragua Cape Verde Lesotho Sudan
Italy, Brazil and United States of America have approximately the same number of occupations and monarchic systems as government as North Korea
Italy Brazil United States of America
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action count
action filter_multi_types
action find
entity North Korea
relation basic form of government
type occupation
type monarchic system
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?b ) WHERE { { ?w property:basic_form_of_government ?f . ?f rdf:type ontology:occupation . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?w property:basic_form_of_government ?f . ?f rdf:type ontology:monarchic_system . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?w } . FILTER ( ?b = ?e ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { { ?n rdf:type ontology:occupation } UNION { ?n rdf:type ontology:monarchic_system } } . resource:North_Korea property:basic_form_of_government ?n } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1045
P122
Q12737077 Q22676587 Q15617994
USER
And how about Somalia?
(c(Q15617994),P122,c(Q12737077)|c(Q22676587))
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action count
action filter_multi_types
action find
entity Q1045
relation P122
type Q12737077
type Q22676587
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) ?p WHERE { { ?p property:P122 ?x . ?p rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q12737077 } UNION { ?p property:P122 ?x . ?p rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q22676587 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Q1045 property:P122 ?o . { ?o rdf:type ?r . VALUES ( ?r ) { ( ontology:Q12737077 ) ( ontology:Q22676587 ) } } } } . FILTER ( ?d = ?c ) }
Somalia
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action count
action filter_multi_types
action find
entity Somalia
relation basic form of government
type occupation
type monarchic system
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) ?p WHERE { { ?p property:basic_form_of_government ?x . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:occupation } UNION { ?p property:basic_form_of_government ?x . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:monarchic_system } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Somalia property:basic_form_of_government ?o . { ?o rdf:type ?r . VALUES ( ?r ) { ( ontology:occupation ) ( ontology:monarchic_system ) } } } } . FILTER ( ?d = ?c ) }
[]
occupation monarchic system designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q702 Q804 Q154547 Q801 Q805 Q419 Q668 Q414 Q142 Q165116 Q145 Q265 Q1130767 Q711 Q717 Q837 Q208500 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q794 Q889 Q884 Q958 Q689837 Q315667 Q158290 Q153136 Q33 Q32 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q423 Q953 Q29999 Q153091 Q280312 Q1130957 Q236 Q230 Q232 Q238 Q20 Q1045 Q27 Q28 Q29 Q313175 Q189 Q843 Q184 Q876826 Q347 Q3462133 Q227 Q225 Q224 Q815731 Q96 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q1483510 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q696651 Q77 Q199688 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q12737077)|c(Q22676587))
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action count
action filter_multi_types
action find
entity Q1045
relation P122
type Q12737077
type Q22676587
[ANSWERS]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q22676587'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) ?p WHERE { { ?p property:P122 ?x . ?p rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q12737077 } UNION { ?p property:P122 ?x . ?p rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q22676587 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Q1045 property:P122 ?o . { ?o rdf:type ?r . VALUES ( ?r ) { ( ontology:Q12737077 ) ( ontology:Q22676587 ) } } } } . FILTER ( ?d = ?c ) }
Federated States of Micronesia Panama duchy Israel Yemen Peru India Argentina France grand duchy United Kingdom Uzbekistan Bear Creek Village Mongolia Venezuela Nepal principality Armenia South Africa Portugal Russia Turkey Brazil Iraq Iran Afghanistan South Korea South Sudan Spanish Sahara Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Luxembourg Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy North Korea Zambia Kingdom of the Netherlands Duchy of Prussia Principality of Lüneburg Courtdale Montenegro Georgia Kazakhstan San Marino Norway Somalia Ireland Hungary Spain Saxe-Lauenburg Iceland Pakistan Belarus Ellwangen Abbey Liechtenstein Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Principality of Bulgaria Mexico Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Principality of Wales Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Saxe-Eisenach Uruguay Almohad Tunisia Nicaragua Cape Verde Lesotho Sudan
Italy Brazil United States of America
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action count
action filter_multi_types
action find
entity Somalia
relation basic form of government
type occupation
type monarchic system
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'monarchic system'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) ?p WHERE { { ?p property:basic_form_of_government ?x . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:occupation } UNION { ?p property:basic_form_of_government ?x . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:monarchic_system } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Somalia property:basic_form_of_government ?o . { ?o rdf:type ?r . VALUES ( ?r ) { ( ontology:occupation ) ( ontology:monarchic_system ) } } } } . FILTER ( ?d = ?c ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P530
Q15617994 Q1048835
USER
How many administrative territories and political territories are known to have diplomatic connections with United States of America ?
(c(Q15617994),P530,Q30) (c(Q1048835),P530,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q30
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', 'Q30'] [{'concept': 'Q1048835'}, 'P530', 'Q30']
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { ?b property:P530 resource:Q30 . ?b rdf:type ontology:Q15617994 } UNION { ?b rdf:type ontology:Q1048835 . ?b property:P530 resource:Q30 } }
United States of America
action count
action union
action filter_type
action find_reverse
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity United States of America
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United States of America'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'United States of America']
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { ?b property:diplomatic_relation resource:United_States_of_America . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?b rdf:type ontology:political_territorial_entity . ?b property:diplomatic_relation resource:United_States_of_America } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
27 administrative territories and 3 political territories
Q858 Q212 Q805 Q953 Q801 Q184 Q948 Q1011 Q183 Q408 Q252 Q668 Q403 Q230 Q414 Q142 Q884 Q159 Q222 Q155 Q148 Q796 Q347 Q17 Q16 Q37 Q889 Q929 Q38 Q902
(c(Q15617994),P530,Q30) (c(Q1048835),P530,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q30
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q30'] [{'concept': 'Q1048835'}, 'P530', 'Q30']
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { ?b property:P530 resource:Q30 . ?b rdf:type ontology:Q15617994 } UNION { ?b rdf:type ontology:Q1048835 . ?b property:P530 resource:Q30 } }
Syria Ukraine Yemen Zambia Israel Belarus Tunisia Cape Verde Germany Australia Indonesia India Serbia Georgia Argentina France South Korea Russia Albania Brazil People's Republic of China Iraq Liechtenstein Japan Canada Lithuania Afghanistan Central African Republic Italy Bangladesh
27 administrative territories and 3 political territories
action count
action union
action filter_type
action find_reverse
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity United States of America
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United States of America'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'United States of America']
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { ?b property:diplomatic_relation resource:United_States_of_America . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?b rdf:type ontology:political_territorial_entity . ?b property:diplomatic_relation resource:United_States_of_America } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1438
P180
Q15617994 Q11060274 Q838948
USER
How many administrative territories are demonstrated in greater number of prints and works of art than Campania ?
(c(Q11060274)|c(Q838948),P180,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1438
relation P180
type Q11060274
type Q838948
[[{'concept': 'Q11060274'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?b ) WHERE { { ?f property:P180 ?k . ?k rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q11060274 } UNION { ?k rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q838948 . ?f property:P180 ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i property:P180 resource:Q1438 . { { ?i rdf:type ontology:Q11060274 } UNION { ?i rdf:type ontology:Q838948 } } } } . FILTER ( ?b > ?x ) }
Campania
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Campania
relation depicts
type print
type work of art
[[{'concept': 'print'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?b ) WHERE { { ?f property:depicts ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:print } UNION { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:work_of_art . ?f property:depicts ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i property:depicts resource:Campania . { { ?i rdf:type ontology:print } UNION { ?i rdf:type ontology:work_of_art } } } } . FILTER ( ?b > ?x ) }
[]
designation for an administrative territorial entity print work of art
SYSTEM
8
Q47505 Q131596 Q17 Q13320 Q82025 Q376896 Q34876 Q80591
(c(Q11060274)|c(Q838948),P180,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1438
relation P180
type Q11060274
type Q838948
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?b ) WHERE { { ?f property:P180 ?k . ?k rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q11060274 } UNION { ?k rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q838948 . ?f property:P180 ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i property:P180 resource:Q1438 . { { ?i rdf:type ontology:Q11060274 } UNION { ?i rdf:type ontology:Q838948 } } } } . FILTER ( ?b > ?x ) }
Dolo farm Japan Savona horn Grenelle province Atrani
8
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Campania
relation depicts
type print
type work of art
[[{'concept': 'print'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?b ) WHERE { { ?f property:depicts ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:print } UNION { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:work_of_art . ?f property:depicts ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i property:depicts resource:Campania . { { ?i rdf:type ontology:print } UNION { ?i rdf:type ontology:work_of_art } } } } . FILTER ( ?b > ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q47505
P180
Q15617994 Q11060274 Q838948
USER
And how about Dolo?
(c(Q11060274)|c(Q838948),P180,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q47505
relation P180
type Q11060274
type Q838948
[[{'concept': 'Q11060274'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { ?u property:P180 resource:Q47505 . { VALUES ( ?v ) { ( ontology:Q11060274 ) ( ontology:Q838948 ) } . ?u rdf:type ?v } } } . FILTER ( ?f > ?s ) . { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?f ) WHERE { { ?j property:P180 ?h . ?h rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q11060274 } UNION { ?h rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q838948 . ?j property:P180 ?h } } GROUP BY ?h } }
Dolo
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Dolo
relation depicts
type print
type work of art
[[{'concept': 'print'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { ?u property:depicts resource:Dolo . { VALUES ( ?v ) { ( ontology:print ) ( ontology:work_of_art ) } . ?u rdf:type ?v } } } . FILTER ( ?f > ?s ) . { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?f ) WHERE { { ?j property:depicts ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:print } UNION { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:work_of_art . ?j property:depicts ?h } } GROUP BY ?h } }
[]
designation for an administrative territorial entity print work of art
SYSTEM
2
Q82025 Q80591
(c(Q11060274)|c(Q838948),P180,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q47505
relation P180
type Q11060274
type Q838948
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { ?u property:P180 resource:Q47505 . { VALUES ( ?v ) { ( ontology:Q11060274 ) ( ontology:Q838948 ) } . ?u rdf:type ?v } } } . FILTER ( ?f > ?s ) . { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?f ) WHERE { { ?j property:P180 ?h . ?h rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q11060274 } UNION { ?h rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q838948 . ?j property:P180 ?h } } GROUP BY ?h } }
horn Atrani
2
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Dolo
relation depicts
type print
type work of art
[[{'concept': 'print'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { ?u property:depicts resource:Dolo . { VALUES ( ?v ) { ( ontology:print ) ( ontology:work_of_art ) } . ?u rdf:type ?v } } } . FILTER ( ?f > ?s ) . { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?f ) WHERE { { ?j property:depicts ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:print } UNION { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:work_of_art . ?j property:depicts ?h } } GROUP BY ?h } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q183 Q16183505
P530 P27
Q15617994
USER
Which administrative territories do Manuel Cámara Fernández belong to and have diplomatic relationships with Germany ?
AND((Q16183505,P27,c(Q15617994)), (Q183,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16183505
relation P27
action find
entity Q183
relation P530
type Q15617994
{'AND': [['Q16183505', 'P27', {'concept': 'Q15617994'}], ['Q183', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { resource:Q16183505 property:P27 ?p . resource:Q183 property:P530 ?p . ?p rdf:type ontology:Q15617994 }
Germany Manuel Cámara Fernández
action filter_type
action intersection
action find
entity Manuel Cámara Fernández
relation country of citizenship
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['Manuel Cámara Fernández', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:Manuel_Cámara_Fernández property:country_of_citizenship ?p . resource:Germany property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
AND((Q16183505,P27,c(Q15617994)), (Q183,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16183505
relation P27
action find
entity Q183
relation P530
type Q15617994
Manuel Cámara Fernández belong to the [ANSWER]
{'AND': [['Q16183505', 'P27', {'concept': 'Q15617994'}], ['Q183', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { resource:Q16183505 property:P27 ?p . resource:Q183 property:P530 ?p . ?p rdf:type ontology:Q15617994 }
Spain
Manuel Cámara Fernández belong to the Spain
Spain
action filter_type
action intersection
action find
entity Manuel Cámara Fernández
relation country of citizenship
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['Manuel Cámara Fernández', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:Manuel_Cámara_Fernández property:country_of_citizenship ?p . resource:Germany property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]