Simple Question (Direct)
Simple Question
Q3616953
P106
Q12737077
USER
What is the profession of Angelo De Magistris ?
(Q3616953,P106,c(Q12737077))
action filter_type
action find
entity Q3616953
relation P106
type Q12737077
['Q3616953', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q3616953 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Angelo De Magistris
action filter_type
action find
entity Angelo De Magistris
relation occupation
type occupation
['Angelo De Magistris', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Angelo_De_Magistris property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3616953,P106,c(Q12737077))
action filter_type
action find
entity Q3616953
relation P106
type Q12737077
The profession of Angelo De Magistris is an [ANSWER]
['Q3616953', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q3616953 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
association football player
The profession of Angelo De Magistris is an association football player
association football player
action filter_type
action find
entity Angelo De Magistris
relation occupation
type occupation
['Angelo De Magistris', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Angelo_De_Magistris property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3616953
P21
Q290
USER
Which sex does Angelo De Magistris have ?
(Q3616953,P21,c(Q290))
action filter_type
action find
entity Q3616953
relation P21
type Q290
['Q3616953', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q3616953 property:P21 ?b }
Angelo De Magistris
action filter_type
action find
entity Angelo De Magistris
relation gender
type sex
['Angelo De Magistris', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:Angelo_De_Magistris property:gender ?b }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3616953,P21,c(Q290))
action filter_type
action find
entity Q3616953
relation P21
type Q290
Angelo De Magistris has 1 [ANSWER]
['Q3616953', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q3616953 property:P21 ?b }
male
Angelo De Magistris has 1 male
male
action filter_type
action find
entity Angelo De Magistris
relation gender
type sex
['Angelo De Magistris', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:Angelo_De_Magistris property:gender ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3616953
P27
Q15617994
USER
Which administrative territory does Angelo De Magistris belong to ?
(Q3616953,P27,c(Q15617994))
action filter_type
action find
entity Q3616953
relation P27
type Q15617994
['Q3616953', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q3616953 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Angelo De Magistris
action filter_type
action find
entity Angelo De Magistris
relation country of citizenship
type designation for an administrative territorial entity
['Angelo De Magistris', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Angelo_De_Magistris property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3616953,P27,c(Q15617994))
action filter_type
action find
entity Q3616953
relation P27
type Q15617994
Angelo De Magistris belongs to [ANSWER]
['Q3616953', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q3616953 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Italy
Angelo De Magistris belongs to Italy
Italy
action filter_type
action find
entity Angelo De Magistris
relation country of citizenship
type designation for an administrative territorial entity
['Angelo De Magistris', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Angelo_De_Magistris property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P35
Q502895
USER
Who are the heads of state of that administrative territory ?
(Q38,P35,c(Q502895))
action filter_type
action find
entity Q38
relation P35
type Q502895
['Q38', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q38 property:P35 ?b }
Italy
action filter_type
action find
entity Italy
relation head of state
type common name
['Italy', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Italy property:head_of_state ?b }
[]
common name
Q1224 Q3956186 Q1242
SYSTEM
Carlo Azeglio Ciampi, Sergio Mattarella, Luigi Einaudi
Q1224 Q1245 Q3956186 Q1241 Q1240 Q1242 Q1238 Q153832 Q1228 Q1230 Q1233 Q1235 Q1220
(Q38,P35,c(Q502895))
action filter_type
action find
entity Q38
relation P35
type Q502895
The heads of state of that administrative territory are [ANSWERS]
['Q38', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q38 property:P35 ?b }
Carlo Azeglio Ciampi Enrico De Nicola Sergio Mattarella Giovanni Gronchi Antonio Segni Luigi Einaudi Giuseppe Saragat Alcide De Gasperi Oscar Luigi Scalfaro Francesco Cossiga Sandro Pertini Giovanni Leone Giorgio Napolitano
The heads of state of that administrative territory are Carlo Azeglio Ciampi, Sergio Mattarella and Luigi Einaudi
Carlo Azeglio Ciampi Sergio Mattarella Luigi Einaudi
action filter_type
action find
entity Italy
relation head of state
type common name
['Italy', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Italy property:head_of_state ?b }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6655 Q1242
P35 P421
Q15617994
USER
Which administrative territories are Luigi Einaudi the head of state of and have UTC+01:00 as their time zone ?
AND((c(Q15617994),P35,Q1242), (c(Q15617994),P421,Q6655))
action filter_type
action intersection
action find_reverse
entity Q1242
relation P35
action find_reverse
entity Q6655
relation P421
type Q15617994
{'AND': [[{'concept': 'Q15617994'}, 'P35', 'Q1242'], [{'concept': 'Q15617994'}, 'P421', 'Q6655']]}
SELECT DISTINCT ?i WHERE { ?i property:P35 resource:Q1242 . ?i property:P421 resource:Q6655 . ?i rdf:type ontology:Q15617994 }
UTC+01:00 Luigi Einaudi
action filter_type
action intersection
action find_reverse
entity Luigi Einaudi
relation head of state
action find_reverse
entity UTC+01:00
relation located in time zone
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Luigi Einaudi'], [{'concept': 'designation for an administrative territorial entity'}, 'located in time zone', 'UTC+01:00']]}
SELECT DISTINCT ?i WHERE { ?i property:head_of_state resource:Luigi_Einaudi . ?i property:located_in_time_zone resource:UTC+01:00 . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
AND((c(Q15617994),P35,Q1242), (c(Q15617994),P421,Q6655))
action filter_type
action intersection
action find_reverse
entity Q1242
relation P35
action find_reverse
entity Q6655
relation P421
type Q15617994
[ANSWER] is Luigi Einaudi the head of state of and have UTC+01:00 as their time zone
{'AND': [[{'concept': 'Q15617994'}, 'P35', 'Q1242'], [{'concept': 'Q15617994'}, 'P421', 'Q6655']]}
SELECT DISTINCT ?i WHERE { ?i property:P35 resource:Q1242 . ?i property:P421 resource:Q6655 . ?i rdf:type ontology:Q15617994 }
Italy
Italy is Luigi Einaudi the head of state of and have UTC+01:00 as their time zone
Italy
action filter_type
action intersection
action find_reverse
entity Luigi Einaudi
relation head of state
action find_reverse
entity UTC+01:00
relation located in time zone
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Luigi Einaudi'], [{'concept': 'designation for an administrative territorial entity'}, 'located in time zone', 'UTC+01:00']]}
SELECT DISTINCT ?i WHERE { ?i property:head_of_state resource:Luigi_Einaudi . ?i property:located_in_time_zone resource:UTC+01:00 . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q7725634 Q2031291
USER
How many administrative territories are the origins of greater number of literary works or releases than that administrative territory ?
(c(Q7725634)|c(Q2031291),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q38
relation P495
type Q7725634
type Q2031291
[[{'concept': 'Q7725634'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?g WHERE { VALUES ( ?r ) { ( ontology:Q7725634 ) ( ontology:Q2031291 ) } . ?y rdf:type ?r } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:P495 resource:Q38 . { { ?e rdf:type ontology:Q7725634 } UNION { ?e rdf:type ontology:Q2031291 } } } } . FILTER ( ?m > ?h ) }
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Italy
relation country of origin
type literary work
type release
[[{'concept': 'literary work'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?g WHERE { VALUES ( ?r ) { ( ontology:literary_work ) ( ontology:release ) } . ?y rdf:type ?r } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:country_of_origin resource:Italy . { { ?e rdf:type ontology:literary_work } UNION { ?e rdf:type ontology:release } } } } . FILTER ( ?m > ?h ) }
[]
designation for an administrative territorial entity literary work release
SYSTEM
3
Q142 Q30 Q34
(c(Q7725634)|c(Q2031291),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q38
relation P495
type Q7725634
type Q2031291
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?g WHERE { VALUES ( ?r ) { ( ontology:Q7725634 ) ( ontology:Q2031291 ) } . ?y rdf:type ?r } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:P495 resource:Q38 . { { ?e rdf:type ontology:Q7725634 } UNION { ?e rdf:type ontology:Q2031291 } } } } . FILTER ( ?m > ?h ) }
France United States of America Sweden
3
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Italy
relation country of origin
type literary work
type release
[[{'concept': 'literary work'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?g WHERE { VALUES ( ?r ) { ( ontology:literary_work ) ( ontology:release ) } . ?y rdf:type ?r } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:country_of_origin resource:Italy . { { ?e rdf:type ontology:literary_work } UNION { ?e rdf:type ontology:release } } } } . FILTER ( ?m > ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q35
P530
Q1048835 Q15617994
USER
Which political territories holds diplomatic relationship with greater number of administrative territories than Denmark ?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?g ) WHERE { ?u rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 . ?u property:P530 ?j } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Q35 property:P530 ?r . ?r rdf:type ontology:Q1048835 } } . FILTER ( ?g > ?t ) }
Denmark
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?g ) WHERE { ?u rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:diplomatic_relation ?j } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Denmark property:diplomatic_relation ?r . ?r rdf:type ontology:political_territorial_entity } } . FILTER ( ?g > ?t ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q16
SYSTEM
Germany, Australia, Canada
Q40 Q183 Q408 Q16
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[ANSWERS] hold diplomatic relationship with greater number of administrative territories than Denmark
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?g ) WHERE { ?u rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 . ?u property:P530 ?j } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Q35 property:P530 ?r . ?r rdf:type ontology:Q1048835 } } . FILTER ( ?g > ?t ) }
Austria Germany Australia Canada
Germany, Australia and Canada hold diplomatic relationship with greater number of administrative territories than Denmark
Germany Australia Canada
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?g ) WHERE { ?u rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:diplomatic_relation ?j } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { resource:Denmark property:diplomatic_relation ?r . ?r rdf:type ontology:political_territorial_entity } } . FILTER ( ?g > ?t ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7313556
P530
Q15617994
USER
Do Renton School District have diplomatic associations with those political territories ?
(Q7313556,P530,Q183) (Q7313556,P530,Q408) (Q7313556,P530,Q16)
action is_in
entity prev_answer
action find
entity Q7313556
relation P530
['Q7313556', 'P530', 'Q183'] ['Q7313556', 'P530', 'Q408'] ['Q7313556', 'P530', 'Q16']
ASK WHERE { resource:Q7313556 property:P530 ?k . VALUES ( ?k ) { ( resource:Q40 ) ( resource:Q183 ) ( resource:Q408 ) } }
Renton School District
action is_in
entity prev_answer
action find
entity Renton School District
relation diplomatic relation
['Renton School District', 'diplomatic relation', 'Germany'] ['Renton School District', 'diplomatic relation', 'Australia'] ['Renton School District', 'diplomatic relation', 'Canada']
ASK WHERE { resource:Renton_School_District property:diplomatic_relation ?k . VALUES ( ?k ) { ( resource:Austria ) ( resource:Germany ) ( resource:Australia ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q7313556,P530,Q183) (Q7313556,P530,Q408) (Q7313556,P530,Q16)
action is_in
entity prev_answer
action find
entity Q7313556
relation P530
[ANSWER]
['Q7313556', 'P530', 'Q183'] ['Q7313556', 'P530', 'Q408'] ['Q7313556', 'P530', 'Q16']
ASK WHERE { resource:Q7313556 property:P530 ?k . VALUES ( ?k ) { ( resource:Q40 ) ( resource:Q183 ) ( resource:Q408 ) } }
No
action is_in
entity prev_answer
action find
entity Renton School District
relation diplomatic relation
['Renton School District', 'diplomatic relation', 'Germany'] ['Renton School District', 'diplomatic relation', 'Australia'] ['Renton School District', 'diplomatic relation', 'Canada']
ASK WHERE { resource:Renton_School_District property:diplomatic_relation ?k . VALUES ( ?k ) { ( resource:Austria ) ( resource:Germany ) ( resource:Australia ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P88
Q41176
USER
What was commisioned by Germany ?
(c(Q41176),P88,Q183)
action filter_type
action find_reverse
entity Q183
relation P88
type Q41176
[{'concept': 'Q41176'}, 'P88', 'Q183']
SELECT DISTINCT ?i WHERE { ?i property:P88 resource:Q183 . ?i rdf:type ontology:Q41176 }
Germany
action filter_type
action find_reverse
entity Germany
relation commissioned by
type building
[{'concept': 'building'}, 'commissioned by', 'Germany']
SELECT DISTINCT ?i WHERE { ?i property:commissioned_by resource:Germany . ?i rdf:type ontology:building }
[]
building
Q17416722
SYSTEM
Presse- und Informationsamt der Bundesregierung (Bonn)
Q17416722
(c(Q41176),P88,Q183)
action filter_type
action find_reverse
entity Q183
relation P88
type Q41176
[ANSWER] was commisioned by Germany
[{'concept': 'Q41176'}, 'P88', 'Q183']
SELECT DISTINCT ?i WHERE { ?i property:P88 resource:Q183 . ?i rdf:type ontology:Q41176 }
Presse- und Informationsamt der Bundesregierung (Bonn)
Presse- und Informationsamt der Bundesregierung (Bonn) was commisioned by Germany
Presse- und Informationsamt der Bundesregierung (Bonn)
action filter_type
action find_reverse
entity Germany
relation commissioned by
type building
[{'concept': 'building'}, 'commissioned by', 'Germany']
SELECT DISTINCT ?i WHERE { ?i property:commissioned_by resource:Germany . ?i rdf:type ontology:building }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17416722
P669
Q34442
USER
Where is that building located ?
(Q17416722,P669,c(Q34442))
action filter_type
action find
entity Q17416722
relation P669
type Q34442
['Q17416722', 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?b WHERE { resource:Q17416722 property:P669 ?b . ?b rdf:type ontology:Q34442 }
Presse- und Informationsamt der Bundesregierung (Bonn)
action filter_type
action find
entity Presse- und Informationsamt der Bundesregierung (Bonn)
relation located on street
type road
['Presse- und Informationsamt der Bundesregierung (Bonn)', 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?b WHERE { resource:Presse-_und_Informationsamt_der_Bundesregierung_(Bonn) property:located_on_street ?b . ?b rdf:type ontology:road }
[]
road
Q15649828
SYSTEM
Welckerstraße
Q15649828
(Q17416722,P669,c(Q34442))
action filter_type
action find
entity Q17416722
relation P669
type Q34442
That building is located in [ANSWER]
['Q17416722', 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?b WHERE { resource:Q17416722 property:P669 ?b . ?b rdf:type ontology:Q34442 }
Welckerstraße
That building is located in Welckerstraße
Welckerstraße
action filter_type
action find
entity Presse- und Informationsamt der Bundesregierung (Bonn)
relation located on street
type road
['Presse- und Informationsamt der Bundesregierung (Bonn)', 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?b WHERE { resource:Presse-_und_Informationsamt_der_Bundesregierung_(Bonn) property:located_on_street ?b . ?b rdf:type ontology:road }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P1376
Q56061
USER
Which administrative territories are the county seat for Germany ?
(c(Q56061),P1376,Q183)
action filter_type
action find_reverse
entity Q183
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q183']
SELECT DISTINCT ?y WHERE { ?y property:P1376 resource:Q183 . ?y rdf:type ontology:Q56061 }
Germany
action filter_type
action find_reverse
entity Germany
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Germany']
SELECT DISTINCT ?y WHERE { ?y property:capital_of resource:Germany . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64 Q586
SYSTEM
Berlin, Bonn
Q64 Q586
(c(Q56061),P1376,Q183)
action filter_type
action find_reverse
entity Q183
relation P1376
type Q56061
[ANSWERS] are the county seat for Germany
[{'concept': 'Q56061'}, 'P1376', 'Q183']
SELECT DISTINCT ?y WHERE { ?y property:P1376 resource:Q183 . ?y rdf:type ontology:Q56061 }
Berlin Bonn
Berlin and Bonn are the county seat for Germany
Berlin Bonn
action filter_type
action find_reverse
entity Germany
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Germany']
SELECT DISTINCT ?y WHERE { ?y property:capital_of resource:Germany . ?y rdf:type ontology:administrative_territorial_entity }
[]