Simple Question (Direct)
Simple Question
Q1000964
P21
Q290
USER
Which sex does Ian Christie have ?
(Q1000964,P21,c(Q290))
action filter_type
action find
entity Q1000964
relation P21
type Q290
['Q1000964', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q1000964 property:P21 ?d . ?d rdf:type ontology:Q290 }
Ian Christie
action filter_type
action find
entity Ian Christie
relation gender
type sex
['Ian Christie', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Ian_Christie property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1000964,P21,c(Q290))
action filter_type
action find
entity Q1000964
relation P21
type Q290
Ian Christie has a [ANSWER]
['Q1000964', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q1000964 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
Ian Christie has a male
male
action filter_type
action find
entity Ian Christie
relation gender
type sex
['Ian Christie', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Ian_Christie property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1000964
P27
Q15617994
USER
Which administrative territory does Ian Christie belong to ?
(Q1000964,P27,c(Q15617994))
action filter_type
action find
entity Q1000964
relation P27
type Q15617994
['Q1000964', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q1000964 property:P27 ?w }
Ian Christie
action filter_type
action find
entity Ian Christie
relation country of citizenship
type designation for an administrative territorial entity
['Ian Christie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ian_Christie property:country_of_citizenship ?w }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q1000964,P27,c(Q15617994))
action filter_type
action find
entity Q1000964
relation P27
type Q15617994
Ian Christie belongs to [ANSWER]
['Q1000964', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q1000964 property:P27 ?w }
United Kingdom
Ian Christie belongs to United Kingdom
United Kingdom
action filter_type
action find
entity Ian Christie
relation country of citizenship
type designation for an administrative territorial entity
['Ian Christie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ian_Christie property:country_of_citizenship ?w }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1387776
Q15617994
USER
And how about Nati Mistral?
(Q1387776,P27,c(Q15617994))
action filter_type
action find
entity Q1387776
relation P27
type Q15617994
['Q1387776', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q1387776 property:P27 ?f }
Nati Mistral
action filter_type
action find
entity Nati Mistral
relation country of citizenship
type designation for an administrative territorial entity
['Nati Mistral', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Nati_Mistral property:country_of_citizenship ?f }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q1387776,P27,c(Q15617994))
action filter_type
action find
entity Q1387776
relation P27
type Q15617994
[ANSWER]
['Q1387776', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q1387776 property:P27 ?f }
Spain
Spain
action filter_type
action find
entity Nati Mistral
relation country of citizenship
type designation for an administrative territorial entity
['Nati Mistral', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Nati_Mistral property:country_of_citizenship ?f }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q29 Q42620
P530
Q1048835
USER
How many political territories have diplomatic relationships with Spain or Palestinian National Authority ?
(Q29,P530,c(Q1048835)) (Q42620,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q29
relation P530
type Q1048835
action filter_type
action find
entity Q42620
relation P530
type Q1048835
['Q29', 'P530', {'concept': 'Q1048835'}] ['Q42620', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { resource:Q29 property:P530 ?h . ?h rdf:type ontology:Q1048835 } UNION { resource:Q42620 property:P530 ?h . ?h rdf:type ontology:Q1048835 } }
Spain Palestinian National Authority
action count
action union
action filter_type
action find
entity Spain
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Palestinian National Authority
relation diplomatic relation
type political territorial entity
['Spain', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Palestinian National Authority', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { resource:Spain property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity } UNION { resource:Palestinian_National_Authority property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(Q29,P530,c(Q1048835)) (Q42620,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q29
relation P530
type Q1048835
action filter_type
action find
entity Q42620
relation P530
type Q1048835
[ANSWER]
['Q29', 'P530', {'concept': 'Q1048835'}] ['Q42620', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { resource:Q29 property:P530 ?h . ?h rdf:type ontology:Q1048835 } UNION { resource:Q42620 property:P530 ?h . ?h rdf:type ontology:Q1048835 } }
Australia Germany
2
action count
action union
action filter_type
action find
entity Spain
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Palestinian National Authority
relation diplomatic relation
type political territorial entity
['Spain', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Palestinian National Authority', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { resource:Spain property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity } UNION { resource:Palestinian_National_Authority property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P463
Q56061
USER
Which administrative territory was Spain a member of ?
(Q29,P463,c(Q56061))
action filter_type
action find
entity Q29
relation P463
type Q56061
['Q29', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q29 property:P463 ?a . ?a rdf:type ontology:Q56061 }
Spain
action filter_type
action find
entity Spain
relation member of
type administrative territorial entity
['Spain', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Spain property:member_of ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q458
SYSTEM
European Union
Q458
(Q29,P463,c(Q56061))
action filter_type
action find
entity Q29
relation P463
type Q56061
Which administrative territory was Spain a member of
['Q29', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q29 property:P463 ?a . ?a rdf:type ontology:Q56061 }
European Union
Which administrative territory was Spain a member of
European Union
action filter_type
action find
entity Spain
relation member of
type administrative territorial entity
['Spain', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Spain property:member_of ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q458
P47
Q15617994
USER
Which administrative territories are adjacent to that administrative territory ?
(Q458,P47,c(Q15617994))
action filter_type
action find
entity Q458
relation P47
type Q15617994
['Q458', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q458 property:P47 ?o . ?o rdf:type ontology:Q15617994 }
European Union
action filter_type
action find
entity European Union
relation shares border with
type designation for an administrative territorial entity
['European Union', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:European_Union property:shares_border_with ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q159 Q36
SYSTEM
Brazil, Russia, Poland
Q184 Q1028 Q228 Q225 Q224 Q222 Q221 Q347 Q36 Q39 Q730 Q403 Q43 Q212 Q213 Q236 Q159 Q217 Q215 Q155 Q218 Q219 Q238 Q20 Q28 Q29
(Q458,P47,c(Q15617994))
action filter_type
action find
entity Q458
relation P47
type Q15617994
[ANSWERS] are adjacent to that administrative territory
['Q458', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q458 property:P47 ?o . ?o rdf:type ontology:Q15617994 }
Belarus Morocco Andorra Bosnia and Herzegovina Croatia Albania Republic of Macedonia Liechtenstein Poland Switzerland Suriname Serbia Turkey Ukraine Czech Republic Montenegro Russia Republic of Moldova Slovenia Brazil Romania Bulgaria San Marino Norway Hungary Spain
Brazil, Russia and Poland are adjacent to that administrative territory
Brazil Russia Poland
action filter_type
action find
entity European Union
relation shares border with
type designation for an administrative territorial entity
['European Union', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:European_Union property:shares_border_with ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q142 Q36
P530
Q15617994
USER
Which administrative territories holds diplomatic relationship with Poland or France ?
OR((Q36,P530,c(Q15617994)), (Q142,P530,c(Q15617994)))
action filter_type
action union
action find
entity Q36
relation P530
action find
entity Q142
relation P530
type Q15617994
{'OR': [['Q36', 'P530', {'concept': 'Q15617994'}], ['Q142', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . { ?x property:P530 ?e . VALUES ( ?x ) { ( resource:Q142 ) ( resource:Q36 ) } } }
France Poland
action filter_type
action union
action find
entity Poland
relation diplomatic relation
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
{'OR': [['Poland', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?x property:diplomatic_relation ?e . VALUES ( ?x ) { ( resource:France ) ( resource:Poland ) } } }
[]
designation for an administrative territorial entity
Q27 Q17 Q711 Q30 Q155 Q222 Q38 Q1011 Q399 Q403
SYSTEM
Some of them are Ireland, Japan, Mongolia, United States of America, Brazil, Albania, Italy, Cape Verde, Armenia, Serbia
Q711 Q159 Q222 Q801 Q145 Q155 Q1011 Q228 Q32 Q17 Q30 Q399 Q27 Q403 Q38
OR((Q36,P530,c(Q15617994)), (Q142,P530,c(Q15617994)))
action filter_type
action union
action find
entity Q36
relation P530
action find
entity Q142
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with Poland or France
{'OR': [['Q36', 'P530', {'concept': 'Q15617994'}], ['Q142', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . { ?x property:P530 ?e . VALUES ( ?x ) { ( resource:Q142 ) ( resource:Q36 ) } } }
Mongolia Russia Albania Israel United Kingdom Brazil Cape Verde Andorra Luxembourg Japan United States of America Armenia Ireland Serbia Italy
Ireland, Japan, Mongolia, United States of America, Brazil, Albania, Italy, Cape Verde, Armenia and Serbia hold diplomatic relationship with Poland or France
Ireland Japan Mongolia United States of America Brazil Albania Italy Cape Verde Armenia Serbia
action filter_type
action union
action find
entity Poland
relation diplomatic relation
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
{'OR': [['Poland', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?x property:diplomatic_relation ?e . VALUES ( ?x ) { ( resource:France ) ( resource:Poland ) } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P122
Q4164871 Q12737077 Q15617994
USER
Which administrative territories have max number of positions or occupations as the type of government ?
(c(Q15617994),P122,c(Q4164871)|c(Q12737077))
action argmax
action union
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?r WHERE { ?n rdf:type ?y . VALUES ( ?y ) { ( ontology:Q4164871 ) ( ontology:Q12737077 ) } } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?u WHERE { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:Q4164871 ) ( ontology:Q12737077 ) } } GROUP BY ?u } . FILTER ( ?e = ?v ) }
action argmax
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?r WHERE { ?n rdf:type ?y . VALUES ( ?y ) { ( ontology:position ) ( ontology:occupation ) } } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?u WHERE { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:position ) ( ontology:occupation ) } } GROUP BY ?u } . FILTER ( ?e = ?v ) }
[]
position occupation designation for an administrative territorial entity
Q228 Q541991 Q313175
SYSTEM
Andorra, Hummelfeld, Saxe-Lauenburg
Q541991 Q313175 Q228 Q696651
(c(Q15617994),P122,c(Q4164871)|c(Q12737077))
action argmax
action union
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
[ANSWERS] have max number of positions or occupations as the type of government
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?r WHERE { ?n rdf:type ?y . VALUES ( ?y ) { ( ontology:Q4164871 ) ( ontology:Q12737077 ) } } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?u WHERE { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:Q4164871 ) ( ontology:Q12737077 ) } } GROUP BY ?u } . FILTER ( ?e = ?v ) }
Hummelfeld Saxe-Lauenburg Andorra Saxe-Eisenach
Andorra, Hummelfeld and Saxe-Lauenburg have max number of positions or occupations as the type of government
Andorra Hummelfeld Saxe-Lauenburg
action argmax
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?r WHERE { ?n rdf:type ?y . VALUES ( ?y ) { ( ontology:position ) ( ontology:occupation ) } } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?u WHERE { ?x rdf:type ?t . VALUES ( ?t ) { ( ontology:position ) ( ontology:occupation ) } } GROUP BY ?u } . FILTER ( ?e = ?v ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q284085 Q142
P47 P17
Q15617994
USER
Which administrative territories have a shared border with France or are Jaketići present in ?
OR((Q142,P47,c(Q15617994)), (Q284085,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q142
relation P47
action find
entity Q284085
relation P17
type Q15617994
{'OR': [['Q142', 'P47', {'concept': 'Q15617994'}], ['Q284085', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . { { resource:Q142 property:P47 ?w } UNION { resource:Q284085 property:P17 ?w } } }
Jaketići France
action filter_type
action union
action find
entity France
relation shares border with
action find
entity Jaketići
relation country
type designation for an administrative territorial entity
{'OR': [['France', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Jaketići', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:France property:shares_border_with ?w } UNION { resource:Jaketići property:country ?w } } }
[]
designation for an administrative territorial entity
Q29999 Q38 Q225 Q31 Q717 Q39 Q32 Q730 Q29 Q228
SYSTEM
Some of them are Kingdom of the Netherlands, Italy, Bosnia and Herzegovina, Belgium, Venezuela, Switzerland, Luxembourg, Suriname, Spain, Andorra
Q225 Q717 Q145 Q155 Q730 Q29999 Q228 Q32 Q31 Q29 Q39 Q38
OR((Q142,P47,c(Q15617994)), (Q284085,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q142
relation P47
action find
entity Q284085
relation P17
type Q15617994
[ANSWERS] have a shared border with France or are Jaketići present in
{'OR': [['Q142', 'P47', {'concept': 'Q15617994'}], ['Q284085', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . { { resource:Q142 property:P47 ?w } UNION { resource:Q284085 property:P17 ?w } } }
Bosnia and Herzegovina Venezuela United Kingdom Brazil Suriname Kingdom of the Netherlands Andorra Luxembourg Belgium Spain Switzerland Italy
Kingdom of the Netherlands, Italy, Bosnia and Herzegovina, Belgium, Venezuela, Switzerland, Luxembourg, Suriname, Spain and Andorra have a shared border with France or are Jaketići present in
Kingdom of the Netherlands Italy Bosnia and Herzegovina Belgium Venezuela Switzerland Luxembourg Suriname Spain Andorra
action filter_type
action union
action find
entity France
relation shares border with
action find
entity Jaketići
relation country
type designation for an administrative territorial entity
{'OR': [['France', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Jaketići', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:France property:shares_border_with ?w } UNION { resource:Jaketići property:country ?w } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q16264285 Q38
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with Italy and do Ryota Inoue belong to ?
AND((Q38,P530,c(Q15617994)), (Q16264285,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q16264285
relation P27
type Q15617994
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q16264285', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { resource:Q38 property:P530 ?p . resource:Q16264285 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Ryota Inoue Italy
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity Ryota Inoue
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Ryota Inoue', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:Italy property:diplomatic_relation ?p . resource:Ryota_Inoue property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
AND((Q38,P530,c(Q15617994)), (Q16264285,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q16264285
relation P27
type Q15617994
[ANSWER] have diplomatic relationships with Italy and do Ryota Inoue belong to
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q16264285', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { resource:Q38 property:P530 ?p . resource:Q16264285 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Japan
Japan have diplomatic relationships with Italy and do Ryota Inoue belong to
Japan
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity Ryota Inoue
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Ryota Inoue', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:Italy property:diplomatic_relation ?p . resource:Ryota_Inoue property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]