Simple Question (Direct)
Simple Question
Q1897551
P21
Q290
USER
What is the sex of Marie von Malachowski-Nauen ?
(Q1897551,P21,c(Q290))
action filter_type
action find
entity Q1897551
relation P21
type Q290
['Q1897551', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q1897551 property:P21 ?o }
Marie von Malachowski-Nauen
action filter_type
action find
entity Marie von Malachowski-Nauen
relation gender
type sex
['Marie von Malachowski-Nauen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Marie_von_Malachowski-Nauen property:gender ?o }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q1897551,P21,c(Q290))
action filter_type
action find
entity Q1897551
relation P21
type Q290
The sex of Marie von Malachowski- Nauen is the [ANSWER]
['Q1897551', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q1897551 property:P21 ?o }
female
The sex of Marie von Malachowski- Nauen is the female
female
action filter_type
action find
entity Marie von Malachowski-Nauen
relation gender
type sex
['Marie von Malachowski-Nauen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Marie_von_Malachowski-Nauen property:gender ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1897551
P26
Q502895
USER
Which person has Marie von Malachowski-Nauen as spouse ?
(c(Q502895),P26,Q1897551)
action filter_type
action find
entity Q1897551
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q1897551']
SELECT DISTINCT ?c WHERE { resource:Q1897551 property:P26 ?c . ?c rdf:type ontology:Q502895 }
Marie von Malachowski-Nauen
action filter_type
action find
entity Marie von Malachowski-Nauen
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Marie von Malachowski-Nauen']
SELECT DISTINCT ?c WHERE { resource:Marie_von_Malachowski-Nauen property:spouse ?c . ?c rdf:type ontology:common_name }
[]
common name
Q461828
SYSTEM
Heinrich Nauen
Q461828
(c(Q502895),P26,Q1897551)
action filter_type
action find
entity Q1897551
relation P26
type Q502895
[ANSWER] has Marie von Malachowski-Nauen as spouse
[{'concept': 'Q502895'}, 'P26', 'Q1897551']
SELECT DISTINCT ?c WHERE { resource:Q1897551 property:P26 ?c . ?c rdf:type ontology:Q502895 }
Heinrich Nauen
Heinrich Nauen has Marie von Malachowski-Nauen as spouse
Heinrich Nauen
action filter_type
action find
entity Marie von Malachowski-Nauen
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Marie von Malachowski-Nauen']
SELECT DISTINCT ?c WHERE { resource:Marie_von_Malachowski-Nauen property:spouse ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q461828
P69
Q3914
USER
Which school was that person educated at ?
(Q461828,P69,c(Q3914))
action filter_type
action find
entity Q461828
relation P69
type Q3914
['Q461828', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?w WHERE { resource:Q461828 property:P69 ?w . ?w rdf:type ontology:Q3914 }
Heinrich Nauen
action filter_type
action find
entity Heinrich Nauen
relation educated at
type school
['Heinrich Nauen', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?w WHERE { resource:Heinrich_Nauen property:educated_at ?w . ?w rdf:type ontology:school }
[]
school
Q337480
SYSTEM
Académie Julian
Q337480
(Q461828,P69,c(Q3914))
action filter_type
action find
entity Q461828
relation P69
type Q3914
That person was educated at [ANSWER]
['Q461828', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?w WHERE { resource:Q461828 property:P69 ?w . ?w rdf:type ontology:Q3914 }
Académie Julian
That person was educated at Académie Julian
Académie Julian
action filter_type
action find
entity Heinrich Nauen
relation educated at
type school
['Heinrich Nauen', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?w WHERE { resource:Heinrich_Nauen property:educated_at ?w . ?w rdf:type ontology:school }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1897551
P27
Q1048835
USER
Which political territory is the native country of Marie von Malachowski-Nauen ?
(Q1897551,P27,c(Q1048835))
action filter_type
action find
entity Q1897551
relation P27
type Q1048835
['Q1897551', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q1897551 property:P27 ?l . ?l rdf:type ontology:Q1048835 }
Marie von Malachowski-Nauen
action filter_type
action find
entity Marie von Malachowski-Nauen
relation country of citizenship
type political territorial entity
['Marie von Malachowski-Nauen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Marie_von_Malachowski-Nauen property:country_of_citizenship ?l . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1897551,P27,c(Q1048835))
action filter_type
action find
entity Q1897551
relation P27
type Q1048835
The [ANSWER] is the native country of Marie von Malachowski-Nauen
['Q1897551', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q1897551 property:P27 ?l . ?l rdf:type ontology:Q1048835 }
Germany
The Germany is the native country of Marie von Malachowski-Nauen
Germany
action filter_type
action find
entity Marie von Malachowski-Nauen
relation country of citizenship
type political territorial entity
['Marie von Malachowski-Nauen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Marie_von_Malachowski-Nauen property:country_of_citizenship ?l . ?l rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1793268
Q1048835
USER
And what about Petr Herbert?
(Q1793268,P27,c(Q1048835))
action filter_type
action find
entity Q1793268
relation P27
type Q1048835
['Q1793268', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q1793268 property:P27 ?d . ?d rdf:type ontology:Q1048835 }
Petr Herbert
action filter_type
action find
entity Petr Herbert
relation country of citizenship
type political territorial entity
['Petr Herbert', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Petr_Herbert property:country_of_citizenship ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1793268,P27,c(Q1048835))
action filter_type
action find
entity Q1793268
relation P27
type Q1048835
[ANSWER]
['Q1793268', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q1793268 property:P27 ?d . ?d rdf:type ontology:Q1048835 }
Germany
Germany
action filter_type
action find
entity Petr Herbert
relation country of citizenship
type political territorial entity
['Petr Herbert', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Petr_Herbert property:country_of_citizenship ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q183 Q668 Q55
P530
Q15617994
USER
Does Germany have diplomatic relations with India and Netherlands ?
(Q183,P530,Q668) (Q183,P530,Q55)
action is_in
entity Q183
action intersection
action find_reverse
entity Q668
relation P530
action find_reverse
entity Q55
relation P530
['Q183', 'P530', 'Q668'] ['Q183', 'P530', 'Q55']
ASK WHERE { resource:Q183 property:P530 resource:Q668 . resource:Q183 property:P530 resource:Q55 }
Germany India Netherlands
action is_in
entity Germany
action intersection
action find_reverse
entity India
relation diplomatic relation
action find_reverse
entity Netherlands
relation diplomatic relation
['Germany', 'diplomatic relation', 'India'] ['Germany', 'diplomatic relation', 'Netherlands']
ASK WHERE { resource:Germany property:diplomatic_relation resource:India . resource:Germany property:diplomatic_relation resource:Netherlands }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q183,P530,Q668) (Q183,P530,Q55)
action is_in
entity Q183
action intersection
action find_reverse
entity Q668
relation P530
action find_reverse
entity Q55
relation P530
[ANSWER]
['Q183', 'P530', 'Q668'] ['Q183', 'P530', 'Q55']
ASK WHERE { resource:Q183 property:P530 resource:Q668 . resource:Q183 property:P530 resource:Q55 }
Yes
action is_in
entity Germany
action intersection
action find_reverse
entity India
relation diplomatic relation
action find_reverse
entity Netherlands
relation diplomatic relation
['Germany', 'diplomatic relation', 'India'] ['Germany', 'diplomatic relation', 'Netherlands']
ASK WHERE { resource:Germany property:diplomatic_relation resource:India . resource:Germany property:diplomatic_relation resource:Netherlands }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7289590 Q183
P184 P6
Q502895
USER
Which people are the heads of the government of Germany or were the doctoral advisors of Ramin Takloo-Bighash ?
OR((Q183,P6,c(Q502895)), (Q7289590,P184,c(Q502895)))
action filter_type
action union
action find
entity Q183
relation P6
action find
entity Q7289590
relation P184
type Q502895
{'OR': [['Q183', 'P6', {'concept': 'Q502895'}], ['Q7289590', 'P184', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q183 property:P6 ?o } UNION { resource:Q7289590 property:P184 ?o } } . ?o rdf:type ontology:Q502895 }
Ramin Takloo-Bighash Germany
action filter_type
action union
action find
entity Germany
relation head of government
action find
entity Ramin Takloo-Bighash
relation doctoral advisor
type common name
{'OR': [['Germany', 'head of government', {'concept': 'common name'}], ['Ramin Takloo-Bighash', 'doctoral advisor', {'concept': 'common name'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Germany property:head_of_government ?o } UNION { resource:Ramin_Takloo-Bighash property:doctoral_advisor ?o } } . ?o rdf:type ontology:common_name }
[]
common name
Q2492 Q2518 Q2530 Q2496 Q2514 Q2516 Q2571 Q2512 Q6286947 Q567
SYSTEM
Konrad Adenauer, Helmut Kohl, Gerhard Schröder, Ludwig Erhard, Willy Brandt, Helmut Schmidt, Walter Scheel, Kurt Georg Kiesinger, Joseph Shalika, Angela Merkel
Q2492 Q2518 Q2530 Q2496 Q2514 Q2516 Q2571 Q2512 Q6286947 Q567
OR((Q183,P6,c(Q502895)), (Q7289590,P184,c(Q502895)))
action filter_type
action union
action find
entity Q183
relation P6
action find
entity Q7289590
relation P184
type Q502895
[ANSWERS] are the heads of the government of Germany or were the doctoral advisors of Ramin Takloo-Bighash
{'OR': [['Q183', 'P6', {'concept': 'Q502895'}], ['Q7289590', 'P184', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q183 property:P6 ?o } UNION { resource:Q7289590 property:P184 ?o } } . ?o rdf:type ontology:Q502895 }
Konrad Adenauer Helmut Kohl Gerhard Schröder Ludwig Erhard Willy Brandt Helmut Schmidt Walter Scheel Kurt Georg Kiesinger Joseph Shalika Angela Merkel
Konrad Adenauer, Helmut Kohl, Gerhard Schröder, Ludwig Erhard, Willy Brandt, Helmut Schmidt, Walter Scheel, Kurt Georg Kiesinger, Joseph Shalika and Angela Merkel are the heads of the government of Germany or were the doctoral advisors of Ramin Takloo-Bighash
Konrad Adenauer Helmut Kohl Gerhard Schröder Ludwig Erhard Willy Brandt Helmut Schmidt Walter Scheel Kurt Georg Kiesinger Joseph Shalika Angela Merkel
action filter_type
action union
action find
entity Germany
relation head of government
action find
entity Ramin Takloo-Bighash
relation doctoral advisor
type common name
{'OR': [['Germany', 'head of government', {'concept': 'common name'}], ['Ramin Takloo-Bighash', 'doctoral advisor', {'concept': 'common name'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Germany property:head_of_government ?o } UNION { resource:Ramin_Takloo-Bighash property:doctoral_advisor ?o } } . ?o rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q231
P127
Q1048835 Q3947 Q811979
USER
Which political territories owned approximately the same number of houses or architectural structures as Walloon Region ?
(c(Q3947)|c(Q811979),P127,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q3947
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q231
relation P127
type Q3947
type Q811979
[[{'concept': 'Q3947'}, {'concept': 'Q811979'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?a ) WHERE { { ?k rdf:type ontology:Q811979 . ?c rdf:type ontology:Q1048835 . ?k property:P127 ?c } UNION { ?k property:P127 ?c . ?c rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q3947 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z property:P127 resource:Q231 . { { ?z rdf:type ontology:Q3947 } UNION { ?z rdf:type ontology:Q811979 } } } } . FILTER ( ?a = ?u ) }
Walloon Region
action approx
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type house
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type architectural structure
action count
action filter_multi_types
action find_reverse
entity Walloon Region
relation owned by
type house
type architectural structure
[[{'concept': 'house'}, {'concept': 'architectural structure'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?a ) WHERE { { ?k rdf:type ontology:architectural_structure . ?c rdf:type ontology:political_territorial_entity . ?k property:owned_by ?c } UNION { ?k property:owned_by ?c . ?c rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:house } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z property:owned_by resource:Walloon_Region . { { ?z rdf:type ontology:house } UNION { ?z rdf:type ontology:architectural_structure } } } } . FILTER ( ?a = ?u ) }
[]
political territorial entity house architectural structure
Q408 Q35 Q16
SYSTEM
Australia, Denmark, Canada
Q192536 Q170322 Q1648590 Q318314 Q3741 Q20937 Q2321093 Q5691 Q188399 Q490638 Q6040 Q126514 Q211091 Q6053 Q192387 Q133083 Q217838 Q74881 Q8543 Q6041 Q2379199 Q6139 Q8178 Q6339 Q7379734 Q1823 Q8551 Q13786 Q5783 Q741765 Q193317 Q35 Q191091 Q2947 Q276176 Q1135166 Q46070 Q211106 Q202174 Q192697 Q188373 Q190930 Q192702 Q2175 Q2271 Q6142 Q909707 Q234 Q100166 Q17557 Q231 Q9331 Q6047 Q6045 Q9337 Q8182 Q23635 Q408 Q193307 Q207111 Q16 Q206926 Q5756
(c(Q3947)|c(Q811979),P127,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q3947
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q231
relation P127
type Q3947
type Q811979
[ANSWERS] owned approximately the same number of houses or architectural structures as Walloon Region
[[{'concept': 'Q3947'}, {'concept': 'Q811979'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?a ) WHERE { { ?k rdf:type ontology:Q811979 . ?c rdf:type ontology:Q1048835 . ?k property:P127 ?c } UNION { ?k property:P127 ?c . ?c rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q3947 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z property:P127 resource:Q231 . { { ?z rdf:type ontology:Q3947 } UNION { ?z rdf:type ontology:Q811979 } } } } . FILTER ( ?a = ?u ) }
Zlín Region Qingdao Manises Ipatinga Special Region of Yogyakarta Gyeonggi Province Chorrillos South Karelia Central Bohemian Region Almendralejo Goslar Dumfries and Galloway Renfrewshire Gifhorn Londrina Gauteng Stirling Dalian Germersheim Wolfenbüttel politics of Edinburgh Havelland Karlsruhe Erzgebirgskreis Aachen Aceh Südliche Weinstraße Cebu Andalusia San Fernando Pardubice Region Denmark Karlovy Vary Region Dithmarschen Volta Redonda Greater London Authority Plzeň Region Moray Argyll and Bute South Moravian Region South Bohemia Region Vysočina Region Ústí nad Labem Region Riau Province South Sumatra Potsdam-Mittelmark Sestao Flemish Region Orkney Islands California Republic Walloon Region Flemish Community Helmstedt Peine Flemish Region Rastatt Bermuda Australia Olomouc Region North Lanarkshire Canada North Ayrshire Community of Madrid
Australia, Denmark and Canada owned approximately the same number of houses or architectural structures as Walloon Region
Australia Denmark Canada
action approx
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type house
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type architectural structure
action count
action filter_multi_types
action find_reverse
entity Walloon Region
relation owned by
type house
type architectural structure
[[{'concept': 'house'}, {'concept': 'architectural structure'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?a ) WHERE { { ?k rdf:type ontology:architectural_structure . ?c rdf:type ontology:political_territorial_entity . ?k property:owned_by ?c } UNION { ?k property:owned_by ?c . ?c rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:house } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z property:owned_by resource:Walloon_Region . { { ?z rdf:type ontology:house } UNION { ?z rdf:type ontology:architectural_structure } } } } . FILTER ( ?a = ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q6139
P127
Q1048835 Q3947 Q811979
USER
And what about Havelland?
(c(Q3947)|c(Q811979),P127,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q3947
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q6139
relation P127
type Q3947
type Q811979
[[{'concept': 'Q3947'}, {'concept': 'Q811979'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) ?m WHERE { ?d rdf:type ?e . VALUES ( ?e ) { ( ontology:Q3947 ) ( ontology:Q811979 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:P127 resource:Q6139 . { VALUES ( ?n ) { ( ontology:Q3947 ) ( ontology:Q811979 ) } . ?k rdf:type ?n } } } . FILTER ( ?g = ?o ) }
Havelland
action approx
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type house
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type architectural structure
action count
action filter_multi_types
action find_reverse
entity Havelland
relation owned by
type house
type architectural structure
[[{'concept': 'house'}, {'concept': 'architectural structure'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) ?m WHERE { ?d rdf:type ?e . VALUES ( ?e ) { ( ontology:house ) ( ontology:architectural_structure ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:owned_by resource:Havelland . { VALUES ( ?n ) { ( ontology:house ) ( ontology:architectural_structure ) } . ?k rdf:type ?n } } } . FILTER ( ?g = ?o ) }
[]
political territorial entity house architectural structure
Q408 Q35 Q16
SYSTEM
Australia, Denmark, Canada
Q192536 Q170322 Q1648590 Q318314 Q3741 Q20937 Q2321093 Q5691 Q188399 Q490638 Q6040 Q126514 Q211091 Q6053 Q192387 Q133083 Q217838 Q74881 Q8543 Q6041 Q2379199 Q6139 Q8178 Q6339 Q7379734 Q1823 Q8551 Q13786 Q5783 Q741765 Q193317 Q35 Q191091 Q2947 Q276176 Q1135166 Q46070 Q211106 Q202174 Q192697 Q188373 Q190930 Q192702 Q2175 Q2271 Q6142 Q909707 Q234 Q100166 Q17557 Q231 Q9331 Q6047 Q6045 Q9337 Q8182 Q23635 Q408 Q193307 Q207111 Q16 Q206926 Q5756
(c(Q3947)|c(Q811979),P127,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q3947
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q6139
relation P127
type Q3947
type Q811979
[ANSWERS]
[[{'concept': 'Q3947'}, {'concept': 'Q811979'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) ?m WHERE { ?d rdf:type ?e . VALUES ( ?e ) { ( ontology:Q3947 ) ( ontology:Q811979 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:P127 resource:Q6139 . { VALUES ( ?n ) { ( ontology:Q3947 ) ( ontology:Q811979 ) } . ?k rdf:type ?n } } } . FILTER ( ?g = ?o ) }
Zlín Region Qingdao Manises Ipatinga Special Region of Yogyakarta Gyeonggi Province Chorrillos South Karelia Central Bohemian Region Almendralejo Goslar Dumfries and Galloway Renfrewshire Gifhorn Londrina Gauteng Stirling Dalian Germersheim Wolfenbüttel politics of Edinburgh Havelland Karlsruhe Erzgebirgskreis Aachen Aceh Südliche Weinstraße Cebu Andalusia San Fernando Pardubice Region Denmark Karlovy Vary Region Dithmarschen Volta Redonda Greater London Authority Plzeň Region Moray Argyll and Bute South Moravian Region South Bohemia Region Vysočina Region Ústí nad Labem Region Riau Province South Sumatra Potsdam-Mittelmark Sestao Flemish Region Orkney Islands California Republic Walloon Region Flemish Community Helmstedt Peine Flemish Region Rastatt Bermuda Australia Olomouc Region North Lanarkshire Canada North Ayrshire Community of Madrid
Australia Denmark Canada
action approx
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type house
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type architectural structure
action count
action filter_multi_types
action find_reverse
entity Havelland
relation owned by
type house
type architectural structure
[[{'concept': 'house'}, {'concept': 'architectural structure'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) ?m WHERE { ?d rdf:type ?e . VALUES ( ?e ) { ( ontology:house ) ( ontology:architectural_structure ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:owned_by resource:Havelland . { VALUES ( ?n ) { ( ontology:house ) ( ontology:architectural_structure ) } . ?k rdf:type ?n } } } . FILTER ( ?g = ?o ) }
[]