Simple Question (Direct)
Simple Question
Q4784025
P1412
Q34770
USER
Which language does Aramis Haywood speak in ?
(Q4784025,P1412,c(Q34770))
action filter_type
action find
entity Q4784025
relation P1412
type Q34770
['Q4784025', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q4784025 property:P1412 ?b . ?b rdf:type ontology:Q34770 }
Aramis Haywood
action filter_type
action find
entity Aramis Haywood
relation languages spoken, written or signed
type language
['Aramis Haywood', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:Aramis_Haywood property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q4784025,P1412,c(Q34770))
action filter_type
action find
entity Q4784025
relation P1412
type Q34770
Aramis Haywood speaks to [ANSWER]
['Q4784025', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q4784025 property:P1412 ?b . ?b rdf:type ontology:Q34770 }
Spanish
Aramis Haywood speaks to Spanish
Spanish
action filter_type
action find
entity Aramis Haywood
relation languages spoken, written or signed
type language
['Aramis Haywood', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:Aramis_Haywood property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4784025
P641
Q349
USER
Which sport was Aramis Haywood a part of ?
(Q4784025,P641,c(Q349))
action filter_type
action find
entity Q4784025
relation P641
type Q349
['Q4784025', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q349 . resource:Q4784025 property:P641 ?w }
Aramis Haywood
action filter_type
action find
entity Aramis Haywood
relation sport
type sport
['Aramis Haywood', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sport . resource:Aramis_Haywood property:sport ?w }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4784025,P641,c(Q349))
action filter_type
action find
entity Q4784025
relation P641
type Q349
Which sport was Aramis Haywood a part of
['Q4784025', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q349 . resource:Q4784025 property:P641 ?w }
association football
Which sport was Aramis Haywood a part of
association football
action filter_type
action find
entity Aramis Haywood
relation sport
type sport
['Aramis Haywood', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sport . resource:Aramis_Haywood property:sport ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4784025
P54
Q1194951
USER
Which national sports team is Aramis Haywood a member of ?
(Q4784025,P54,c(Q1194951))
action filter_type
action find
entity Q4784025
relation P54
type Q1194951
['Q4784025', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?q WHERE { resource:Q4784025 property:P54 ?q . ?q rdf:type ontology:Q1194951 }
Aramis Haywood
action filter_type
action find
entity Aramis Haywood
relation member of sports team
type national sports team
['Aramis Haywood', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?q WHERE { resource:Aramis_Haywood property:member_of_sports_team ?q . ?q rdf:type ontology:national_sports_team }
[]
national sports team
Q223748
SYSTEM
Panama national football team
Q223748
(Q4784025,P54,c(Q1194951))
action filter_type
action find
entity Q4784025
relation P54
type Q1194951
[ANSWER] is Aramis Haywood a member of
['Q4784025', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?q WHERE { resource:Q4784025 property:P54 ?q . ?q rdf:type ontology:Q1194951 }
Panama national football team
Panama national football team is Aramis Haywood a member of
Panama national football team
action filter_type
action find
entity Aramis Haywood
relation member of sports team
type national sports team
['Aramis Haywood', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?q WHERE { resource:Aramis_Haywood property:member_of_sports_team ?q . ?q rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q223748
P466
Q483110
USER
What is occupied by that national sports team ?
(c(Q483110),P466,Q223748)
action filter_type
action find_reverse
entity Q223748
relation P466
type Q483110
[{'concept': 'Q483110'}, 'P466', 'Q223748']
SELECT DISTINCT ?p WHERE { ?p property:P466 resource:Q223748 . ?p rdf:type ontology:Q483110 }
Panama national football team
action filter_type
action find_reverse
entity Panama national football team
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'Panama national football team']
SELECT DISTINCT ?p WHERE { ?p property:occupant resource:Panama_national_football_team . ?p rdf:type ontology:stadium }
[]
stadium
Q1369622
SYSTEM
Estadio Rommel Fernández
Q1369622
(c(Q483110),P466,Q223748)
action filter_type
action find_reverse
entity Q223748
relation P466
type Q483110
[ANSWER] is occupied by that national sports team
[{'concept': 'Q483110'}, 'P466', 'Q223748']
SELECT DISTINCT ?p WHERE { ?p property:P466 resource:Q223748 . ?p rdf:type ontology:Q483110 }
Estadio Rommel Fernández
Estadio Rommel Fernández is occupied by that national sports team
Estadio Rommel Fernández
action filter_type
action find_reverse
entity Panama national football team
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'Panama national football team']
SELECT DISTINCT ?p WHERE { ?p property:occupant resource:Panama_national_football_team . ?p rdf:type ontology:stadium }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q318314
P127
Q1048835 Q483110
USER
Which political territories own around the same number of stadia as Ipatinga ?
(c(Q483110),P127,c(Q1048835))
action approx
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
action count
action filter_type
action find
entity Q318314
relation P127
type Q1048835
[{'concept': 'Q483110'}, 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { ?q rdf:type ontology:Q1048835 . resource:Q318314 property:P127 ?q } } . FILTER ( ?d = ?j ) . { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?d ) WHERE { ?s rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q483110 . ?c property:P127 ?s } GROUP BY ?s } }
Ipatinga
action approx
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
action count
action filter_type
action find
entity Ipatinga
relation owned by
type political territorial entity
[{'concept': 'stadium'}, 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { ?q rdf:type ontology:political_territorial_entity . resource:Ipatinga property:owned_by ?q } } . FILTER ( ?d = ?j ) . { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?d ) WHERE { ?s rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:stadium . ?c property:owned_by ?s } GROUP BY ?s } }
[]
political territorial entity stadium
Q5783 Q5756 Q741765
SYSTEM
Andalusia, Community of Madrid, San Fernando
Q318314 Q192387 Q217838 Q6339 Q5783 Q741765 Q276176 Q2271 Q207111 Q5756
(c(Q483110),P127,c(Q1048835))
action approx
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
action count
action filter_type
action find
entity Q318314
relation P127
type Q1048835
[ANSWERS] own around the same number of stadia as Ipatinga
[{'concept': 'Q483110'}, 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { ?q rdf:type ontology:Q1048835 . resource:Q318314 property:P127 ?q } } . FILTER ( ?d = ?j ) . { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?d ) WHERE { ?s rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q483110 . ?c property:P127 ?s } GROUP BY ?s } }
Ipatinga Londrina Stirling Erzgebirgskreis Andalusia San Fernando Volta Redonda South Sumatra North Lanarkshire Community of Madrid
Andalusia, Community of Madrid and San Fernando own around the same number of stadia as Ipatinga
Andalusia Community of Madrid San Fernando
action approx
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
action count
action filter_type
action find
entity Ipatinga
relation owned by
type political territorial entity
[{'concept': 'stadium'}, 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { ?q rdf:type ontology:political_territorial_entity . resource:Ipatinga property:owned_by ?q } } . FILTER ( ?d = ?j ) . { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?d ) WHERE { ?s rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:stadium . ?c property:owned_by ?s } GROUP BY ?s } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q6142
P127
Q1048835 Q483110
USER
And also tell me about Potsdam-Mittelmark?
(c(Q483110),P127,c(Q1048835))
action approx
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
action count
action filter_type
action find
entity Q6142
relation P127
type Q1048835
[{'concept': 'Q483110'}, 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:P127 ?q . ?q rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q483110 } GROUP BY ?q } . FILTER ( ?o = ?r ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { resource:Q6142 property:P127 ?y . ?y rdf:type ontology:Q1048835 } } }
Potsdam-Mittelmark
action approx
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
action count
action filter_type
action find
entity Potsdam-Mittelmark
relation owned by
type political territorial entity
[{'concept': 'stadium'}, 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:owned_by ?q . ?q rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:stadium } GROUP BY ?q } . FILTER ( ?o = ?r ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { resource:Potsdam-Mittelmark property:owned_by ?y . ?y rdf:type ontology:political_territorial_entity } } }
[]
political territorial entity stadium
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q192536 Q170322 Q1648590 Q3741 Q20937 Q2321093 Q5691 Q188399 Q183 Q490638 Q6040 Q126514 Q211091 Q6053 Q133083 Q74881 Q8543 Q6041 Q2379199 Q6139 Q8178 Q7379734 Q1823 Q8551 Q13786 Q193317 Q35 Q191091 Q2947 Q13862 Q1135166 Q46070 Q211106 Q202174 Q54902 Q192697 Q188373 Q190930 Q192702 Q2175 Q849584 Q6142 Q909707 Q234 Q100166 Q17557 Q231 Q40 Q9331 Q6047 Q6045 Q9337 Q8182 Q23635 Q408 Q193307 Q16 Q206926
(c(Q483110),P127,c(Q1048835))
action approx
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
action count
action filter_type
action find
entity Q6142
relation P127
type Q1048835
[ANSWERS]
[{'concept': 'Q483110'}, 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:P127 ?q . ?q rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q483110 } GROUP BY ?q } . FILTER ( ?o = ?r ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { resource:Q6142 property:P127 ?y . ?y rdf:type ontology:Q1048835 } } }
Zlín Region Qingdao Manises Special Region of Yogyakarta Gyeonggi Province Chorrillos South Karelia Central Bohemian Region Germany Almendralejo Goslar Dumfries and Galloway Renfrewshire Gifhorn Gauteng Dalian Germersheim Wolfenbüttel politics of Edinburgh Havelland Karlsruhe Aachen Aceh Südliche Weinstraße Cebu Pardubice Region Denmark Karlovy Vary Region Dithmarschen Negros Occidental Greater London Authority Plzeň Region Moray Argyll and Bute Fuenlabrada South Moravian Region South Bohemia Region Vysočina Region Ústí nad Labem Region Riau Province Jaraguá do Sul Potsdam-Mittelmark Sestao Flemish Region Orkney Islands California Republic Walloon Region Austria Flemish Community Helmstedt Peine Flemish Region Rastatt Bermuda Australia Olomouc Region Canada North Ayrshire
Germany Australia Denmark
action approx
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
action count
action filter_type
action find
entity Potsdam-Mittelmark
relation owned by
type political territorial entity
[{'concept': 'stadium'}, 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:owned_by ?q . ?q rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:stadium } GROUP BY ?q } . FILTER ( ?o = ?r ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { resource:Potsdam-Mittelmark property:owned_by ?y . ?y rdf:type ontology:political_territorial_entity } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q953
P530
Q15617994
USER
Do Zambia have diplomatic associations with those political territories ?
(Q953,P530,Q183) (Q953,P530,Q408) (Q953,P530,Q35)
action is_in
entity prev_answer
action find
entity Q953
relation P530
['Q953', 'P530', 'Q183'] ['Q953', 'P530', 'Q408'] ['Q953', 'P530', 'Q35']
ASK WHERE { VALUES ( ?o ) { ( resource:Q192536 ) ( resource:Q170322 ) ( resource:Q1648590 ) } . resource:Q953 property:P530 ?o }
Zambia
action is_in
entity prev_answer
action find
entity Zambia
relation diplomatic relation
['Zambia', 'diplomatic relation', 'Germany'] ['Zambia', 'diplomatic relation', 'Australia'] ['Zambia', 'diplomatic relation', 'Denmark']
ASK WHERE { VALUES ( ?o ) { ( resource:Zlín_Region ) ( resource:Qingdao ) ( resource:Manises ) } . resource:Zambia property:diplomatic_relation ?o }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q953,P530,Q183) (Q953,P530,Q408) (Q953,P530,Q35)
action is_in
entity prev_answer
action find
entity Q953
relation P530
[ANSWER]
['Q953', 'P530', 'Q183'] ['Q953', 'P530', 'Q408'] ['Q953', 'P530', 'Q35']
ASK WHERE { VALUES ( ?o ) { ( resource:Q192536 ) ( resource:Q170322 ) ( resource:Q1648590 ) } . resource:Q953 property:P530 ?o }
Yes
action is_in
entity prev_answer
action find
entity Zambia
relation diplomatic relation
['Zambia', 'diplomatic relation', 'Germany'] ['Zambia', 'diplomatic relation', 'Australia'] ['Zambia', 'diplomatic relation', 'Denmark']
ASK WHERE { VALUES ( ?o ) { ( resource:Zlín_Region ) ( resource:Qingdao ) ( resource:Manises ) } . resource:Zambia property:diplomatic_relation ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P793
Q820655
USER
What are a significant events associated with Germany ?
(Q183,P793,c(Q820655))
action filter_type
action find
entity Q183
relation P793
type Q820655
['Q183', 'P793', {'concept': 'Q820655'}]
SELECT DISTINCT ?r WHERE { resource:Q183 property:P793 ?r . ?r rdf:type ontology:Q820655 }
Germany
action filter_type
action find
entity Germany
relation significant event
type statute
['Germany', 'significant event', {'concept': 'statute'}]
SELECT DISTINCT ?r WHERE { resource:Germany property:significant_event ?r . ?r rdf:type ontology:statute }
[]
statute
Q672112 Q274811 Q2307326
SYSTEM
Basic Treaty, Élysée Treaty, Treaty of Rome
Q672112 Q274811 Q2307326
(Q183,P793,c(Q820655))
action filter_type
action find
entity Q183
relation P793
type Q820655
A significant events associated with Germany are the [ANSWERS]
['Q183', 'P793', {'concept': 'Q820655'}]
SELECT DISTINCT ?r WHERE { resource:Q183 property:P793 ?r . ?r rdf:type ontology:Q820655 }
Basic Treaty Élysée Treaty Treaty of Rome
A significant events associated with Germany are the Basic Treaty, Élysée Treaty and Treaty of Rome
Basic Treaty Élysée Treaty Treaty of Rome
action filter_type
action find
entity Germany
relation significant event
type statute
['Germany', 'significant event', {'concept': 'statute'}]
SELECT DISTINCT ?r WHERE { resource:Germany property:significant_event ?r . ?r rdf:type ontology:statute }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2399139
Q820655
USER
And how about Bangladesh–India border?
(Q2399139,P793,c(Q820655))
action filter_type
action find
entity Q2399139
relation P793
type Q820655
['Q2399139', 'P793', {'concept': 'Q820655'}]
SELECT DISTINCT ?w WHERE { resource:Q2399139 property:P793 ?w . ?w rdf:type ontology:Q820655 }
Bangladesh–India border
action filter_type
action find
entity Bangladesh–India border
relation significant event
type statute
['Bangladesh–India border', 'significant event', {'concept': 'statute'}]
SELECT DISTINCT ?w WHERE { resource:Bangladesh–India_border property:significant_event ?w . ?w rdf:type ontology:statute }
[]
statute
Q20652607
SYSTEM
India-Bangladesh boundary treaty of 2015
Q20652607
(Q2399139,P793,c(Q820655))
action filter_type
action find
entity Q2399139
relation P793
type Q820655
[ANSWER]
['Q2399139', 'P793', {'concept': 'Q820655'}]
SELECT DISTINCT ?w WHERE { resource:Q2399139 property:P793 ?w . ?w rdf:type ontology:Q820655 }
India-Bangladesh boundary treaty of 2015
India-Bangladesh boundary treaty of 2015
action filter_type
action find
entity Bangladesh–India border
relation significant event
type statute
['Bangladesh–India border', 'significant event', {'concept': 'statute'}]
SELECT DISTINCT ?w WHERE { resource:Bangladesh–India_border property:significant_event ?w . ?w rdf:type ontology:statute }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q318314
P127
Q1048835 Q3947 Q7743
USER
Which political territories are the owners of around the same number of houses and homes as Ipatinga ?
(c(Q3947)|c(Q7743),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 Q7743
action count
action filter_multi_types
action find_reverse
entity Q318314
relation P127
type Q3947
type Q7743
[[{'concept': 'Q3947'}, {'concept': 'Q7743'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) ?s WHERE { { ?y property:P127 ?s . ?s rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q3947 } UNION { ?y property:P127 ?s . ?y rdf:type ontology:Q7743 . ?s rdf:type ontology:Q1048835 } } GROUP BY ?s } . FILTER ( ?r = ?f ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:P127 resource:Q318314 . { { ?n rdf:type ontology:Q3947 } UNION { ?n rdf:type ontology:Q7743 } } } } }
Ipatinga
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 home
action count
action filter_multi_types
action find_reverse
entity Ipatinga
relation owned by
type house
type home
[[{'concept': 'house'}, {'concept': 'home'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) ?s WHERE { { ?y property:owned_by ?s . ?s rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:house } UNION { ?y property:owned_by ?s . ?y rdf:type ontology:home . ?s rdf:type ontology:political_territorial_entity } } GROUP BY ?s } . FILTER ( ?r = ?f ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:owned_by resource:Ipatinga . { { ?n rdf:type ontology:house } UNION { ?n rdf:type ontology:home } } } } }
[]
political territorial entity house home
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 Q35 Q191091 Q2947 Q13862 Q276176 Q1135166 Q46070 Q211106 Q202174 Q54902 Q192697 Q188373 Q190930 Q192702 Q2175 Q849584 Q2271 Q6142 Q909707 Q234 Q100166 Q17557 Q231 Q9331 Q6047 Q6045 Q9337 Q8182 Q23635 Q408 Q193307 Q207111 Q16 Q5756
(c(Q3947)|c(Q7743),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 Q7743
action count
action filter_multi_types
action find_reverse
entity Q318314
relation P127
type Q3947
type Q7743
[ANSWERS] are the owners of around the same number of houses and homes as Ipatinga
[[{'concept': 'Q3947'}, {'concept': 'Q7743'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) ?s WHERE { { ?y property:P127 ?s . ?s rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q3947 } UNION { ?y property:P127 ?s . ?y rdf:type ontology:Q7743 . ?s rdf:type ontology:Q1048835 } } GROUP BY ?s } . FILTER ( ?r = ?f ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:P127 resource:Q318314 . { { ?n rdf:type ontology:Q3947 } UNION { ?n rdf:type ontology:Q7743 } } } } }
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 Denmark Karlovy Vary Region Dithmarschen Negros Occidental Volta Redonda Greater London Authority Plzeň Region Moray Argyll and Bute Fuenlabrada South Moravian Region South Bohemia Region Vysočina Region Ústí nad Labem Region Riau Province Jaraguá do Sul 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 Community of Madrid
Australia, Denmark and Canada are the owners of around the same number of houses and homes as Ipatinga
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 home
action count
action filter_multi_types
action find_reverse
entity Ipatinga
relation owned by
type house
type home
[[{'concept': 'house'}, {'concept': 'home'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) ?s WHERE { { ?y property:owned_by ?s . ?s rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:house } UNION { ?y property:owned_by ?s . ?y rdf:type ontology:home . ?s rdf:type ontology:political_territorial_entity } } GROUP BY ?s } . FILTER ( ?r = ?f ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:owned_by resource:Ipatinga . { { ?n rdf:type ontology:house } UNION { ?n rdf:type ontology:home } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q192697
P127
Q1048835 Q3947 Q7743
USER
And how about South Moravian Region?
(c(Q3947)|c(Q7743),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 Q7743
action count
action filter_multi_types
action find_reverse
entity Q192697
relation P127
type Q3947
type Q7743
[[{'concept': 'Q3947'}, {'concept': 'Q7743'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?h ) WHERE { ?x rdf:type ?z . VALUES ( ?z ) { ( ontology:Q3947 ) ( ontology:Q7743 ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { ?w property:P127 resource:Q192697 . { VALUES ( ?y ) { ( ontology:Q7743 ) ( ontology:Q3947 ) } . ?w rdf:type ?y } } } . FILTER ( ?h = ?c ) }
South Moravian 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 home
action count
action filter_multi_types
action find_reverse
entity South Moravian Region
relation owned by
type house
type home
[[{'concept': 'house'}, {'concept': 'home'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?h ) WHERE { ?x rdf:type ?z . VALUES ( ?z ) { ( ontology:house ) ( ontology:home ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { ?w property:owned_by resource:South_Moravian_Region . { VALUES ( ?y ) { ( ontology:home ) ( ontology:house ) } . ?w rdf:type ?y } } } . FILTER ( ?h = ?c ) }
[]
political territorial entity house home
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 Q35 Q191091 Q2947 Q13862 Q276176 Q1135166 Q46070 Q211106 Q202174 Q54902 Q192697 Q188373 Q190930 Q192702 Q2175 Q849584 Q2271 Q6142 Q909707 Q234 Q100166 Q17557 Q231 Q9331 Q6047 Q6045 Q9337 Q8182 Q23635 Q408 Q193307 Q207111 Q16 Q5756
(c(Q3947)|c(Q7743),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 Q7743
action count
action filter_multi_types
action find_reverse
entity Q192697
relation P127
type Q3947
type Q7743
[ANSWERS]
[[{'concept': 'Q3947'}, {'concept': 'Q7743'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?h ) WHERE { ?x rdf:type ?z . VALUES ( ?z ) { ( ontology:Q3947 ) ( ontology:Q7743 ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { ?w property:P127 resource:Q192697 . { VALUES ( ?y ) { ( ontology:Q7743 ) ( ontology:Q3947 ) } . ?w rdf:type ?y } } } . FILTER ( ?h = ?c ) }
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 Denmark Karlovy Vary Region Dithmarschen Negros Occidental Volta Redonda Greater London Authority Plzeň Region Moray Argyll and Bute Fuenlabrada South Moravian Region South Bohemia Region Vysočina Region Ústí nad Labem Region Riau Province Jaraguá do Sul 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 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 home
action count
action filter_multi_types
action find_reverse
entity South Moravian Region
relation owned by
type house
type home
[[{'concept': 'house'}, {'concept': 'home'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?h ) WHERE { ?x rdf:type ?z . VALUES ( ?z ) { ( ontology:house ) ( ontology:home ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { ?w property:owned_by resource:South_Moravian_Region . { VALUES ( ?y ) { ( ontology:home ) ( ontology:house ) } . ?w rdf:type ?y } } } . FILTER ( ?h = ?c ) }
[]