Simple Question (Direct)
Simple Question
Q2059171
P641
Q31629
USER
What was the type of sport that Brooke Krueger-Billett was a part of ?
(Q2059171,P641,c(Q31629))
action filter_type
action find
entity Q2059171
relation P641
type Q31629
['Q2059171', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q31629 . resource:Q2059171 property:P641 ?b }
Brooke Krueger-Billett
action filter_type
action find
entity Brooke Krueger-Billett
relation sport
type type of sport
['Brooke Krueger-Billett', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:type_of_sport . resource:Brooke_Krueger-Billett property:sport ?b }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q2059171,P641,c(Q31629))
action filter_type
action find
entity Q2059171
relation P641
type Q31629
The type of sport that Brooke Krueger-Billett was a part of was p [ANSWER]
['Q2059171', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q31629 . resource:Q2059171 property:P641 ?b }
athletics
The type of sport that Brooke Krueger-Billett was a part of was p athletics
athletics
action filter_type
action find
entity Brooke Krueger-Billett
relation sport
type type of sport
['Brooke Krueger-Billett', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:type_of_sport . resource:Brooke_Krueger-Billett property:sport ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2059171
P27
Q1048835
USER
Which political territory is the country of citizenship of Brooke Krueger-Billett ?
(Q2059171,P27,c(Q1048835))
action filter_type
action find
entity Q2059171
relation P27
type Q1048835
['Q2059171', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1048835 . resource:Q2059171 property:P27 ?d }
Brooke Krueger-Billett
action filter_type
action find
entity Brooke Krueger-Billett
relation country of citizenship
type political territorial entity
['Brooke Krueger-Billett', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:political_territorial_entity . resource:Brooke_Krueger-Billett property:country_of_citizenship ?d }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q2059171,P27,c(Q1048835))
action filter_type
action find
entity Q2059171
relation P27
type Q1048835
[ANSWER] is the country of citizenship of Brooke Krueger-Billett
['Q2059171', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1048835 . resource:Q2059171 property:P27 ?d }
Australia
Australia is the country of citizenship of Brooke Krueger-Billett
Australia
action filter_type
action find
entity Brooke Krueger-Billett
relation country of citizenship
type political territorial entity
['Brooke Krueger-Billett', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:political_territorial_entity . resource:Brooke_Krueger-Billett property:country_of_citizenship ?d }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q24042604
Q1048835
USER
And how about Karin Freitag?
(Q24042604,P27,c(Q1048835))
action filter_type
action find
entity Q24042604
relation P27
type Q1048835
['Q24042604', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q24042604 property:P27 ?y . ?y rdf:type ontology:Q1048835 }
Karin Freitag
action filter_type
action find
entity Karin Freitag
relation country of citizenship
type political territorial entity
['Karin Freitag', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Karin_Freitag property:country_of_citizenship ?y . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q24042604,P27,c(Q1048835))
action filter_type
action find
entity Q24042604
relation P27
type Q1048835
[ANSWER]
['Q24042604', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q24042604 property:P27 ?y . ?y rdf:type ontology:Q1048835 }
Austria
Austria
action filter_type
action find
entity Karin Freitag
relation country of citizenship
type political territorial entity
['Karin Freitag', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Karin_Freitag property:country_of_citizenship ?y . ?y rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q40 Q1351275
P27
Q502895
USER
Is Josef Kraus a citizen of that political territory ?
(Q1351275,P27,Q40)
action is_in
entity Q40
action find
entity Q1351275
relation P27
['Q1351275', 'P27', 'Q40']
ASK WHERE { resource:Q1351275 property:P27 resource:Q40 }
Austria Josef Kraus
action is_in
entity Austria
action find
entity Josef Kraus
relation country of citizenship
['Josef Kraus', 'country of citizenship', 'Austria']
ASK WHERE { resource:Josef_Kraus property:country_of_citizenship resource:Austria }
[]
common name
SYSTEM
YES
(Q1351275,P27,Q40)
action is_in
entity Q40
action find
entity Q1351275
relation P27
[ANSWER]
['Q1351275', 'P27', 'Q40']
ASK WHERE { resource:Q1351275 property:P27 resource:Q40 }
Yes
action is_in
entity Austria
action find
entity Josef Kraus
relation country of citizenship
['Josef Kraus', 'country of citizenship', 'Austria']
ASK WHERE { resource:Josef_Kraus property:country_of_citizenship resource:Austria }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P122
Q1307214
USER
What best describes the government of Australia ?
(Q408,P122,c(Q1307214))
action filter_type
action find
entity Q408
relation P122
type Q1307214
['Q408', 'P122', {'concept': 'Q1307214'}]
SELECT DISTINCT ?h WHERE { resource:Q408 property:P122 ?h . ?h rdf:type ontology:Q1307214 }
Australia
action filter_type
action find
entity Australia
relation basic form of government
type form of government
['Australia', 'basic form of government', {'concept': 'form of government'}]
SELECT DISTINCT ?h WHERE { resource:Australia property:basic_form_of_government ?h . ?h rdf:type ontology:form_of_government }
[]
form of government
Q43702
SYSTEM
federation
Q43702
(Q408,P122,c(Q1307214))
action filter_type
action find
entity Q408
relation P122
type Q1307214
[ANSWER] best describes the government of Australia
['Q408', 'P122', {'concept': 'Q1307214'}]
SELECT DISTINCT ?h WHERE { resource:Q408 property:P122 ?h . ?h rdf:type ontology:Q1307214 }
federation
Federation best describes the government of Australia
federation
action filter_type
action find
entity Australia
relation basic form of government
type form of government
['Australia', 'basic form of government', {'concept': 'form of government'}]
SELECT DISTINCT ?h WHERE { resource:Australia property:basic_form_of_government ?h . ?h rdf:type ontology:form_of_government }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2578706
Q1307214
USER
And what about Kingdom of Ceredigion?
(Q2578706,P122,c(Q1307214))
action filter_type
action find
entity Q2578706
relation P122
type Q1307214
['Q2578706', 'P122', {'concept': 'Q1307214'}]
SELECT DISTINCT ?u WHERE { resource:Q2578706 property:P122 ?u . ?u rdf:type ontology:Q1307214 }
Kingdom of Ceredigion
action filter_type
action find
entity Kingdom of Ceredigion
relation basic form of government
type form of government
['Kingdom of Ceredigion', 'basic form of government', {'concept': 'form of government'}]
SELECT DISTINCT ?u WHERE { resource:Kingdom_of_Ceredigion property:basic_form_of_government ?u . ?u rdf:type ontology:form_of_government }
[]
form of government
Q7269
SYSTEM
monarchy
Q7269
(Q2578706,P122,c(Q1307214))
action filter_type
action find
entity Q2578706
relation P122
type Q1307214
[ANSWER]
['Q2578706', 'P122', {'concept': 'Q1307214'}]
SELECT DISTINCT ?u WHERE { resource:Q2578706 property:P122 ?u . ?u rdf:type ontology:Q1307214 }
monarchy
monarchy
action filter_type
action find
entity Kingdom of Ceredigion
relation basic form of government
type form of government
['Kingdom of Ceredigion', 'basic form of government', {'concept': 'form of government'}]
SELECT DISTINCT ?u WHERE { resource:Kingdom_of_Ceredigion property:basic_form_of_government ?u . ?u rdf:type ontology:form_of_government }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q7269 Q2253783
P122
Q7275
USER
Does Kingdom of Glywysing have that one as government ?
(Q2253783,P122,Q7269)
action is_in
entity Q7269
action find
entity Q2253783
relation P122
['Q2253783', 'P122', 'Q7269']
ASK WHERE { resource:Q2253783 property:P122 resource:Q7269 }
monarchy Kingdom of Glywysing
action is_in
entity monarchy
action find
entity Kingdom of Glywysing
relation basic form of government
['Kingdom of Glywysing', 'basic form of government', 'monarchy']
ASK WHERE { resource:Kingdom_of_Glywysing property:basic_form_of_government resource:monarchy }
[]
state
SYSTEM
YES
(Q2253783,P122,Q7269)
action is_in
entity Q7269
action find
entity Q2253783
relation P122
[ANSWER]
['Q2253783', 'P122', 'Q7269']
ASK WHERE { resource:Q2253783 property:P122 resource:Q7269 }
Yes
action is_in
entity monarchy
action find
entity Kingdom of Glywysing
relation basic form of government
['Kingdom of Glywysing', 'basic form of government', 'monarchy']
ASK WHERE { resource:Kingdom_of_Glywysing property:basic_form_of_government resource:monarchy }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7269
P1142
Q7210356
USER
Which political organization promotes that form of government ?
action filter_type
action find_reverse
entity Q7269
relation P1142
type Q7210356
SELECT DISTINCT ?m WHERE { ?m property:P1142 resource:Q7269 . ?m rdf:type ontology:Q7210356 }
monarchy
action filter_type
action find_reverse
entity monarchy
relation political ideology
type political organization
SELECT DISTINCT ?m WHERE { ?m property:political_ideology resource:monarchy . ?m rdf:type ontology:political_organization }
[]
political organization
Q3640980
SYSTEM
National Bloc of Freedom
Q3640980
action filter_type
action find_reverse
entity Q7269
relation P1142
type Q7210356
Of [ANSWER] promotes that form of government
SELECT DISTINCT ?m WHERE { ?m property:P1142 resource:Q7269 . ?m rdf:type ontology:Q7210356 }
National Bloc of Freedom
Of National Bloc of Freedom promotes that form of government
National Bloc of Freedom
action filter_type
action find_reverse
entity monarchy
relation political ideology
type political organization
SELECT DISTINCT ?m WHERE { ?m property:political_ideology resource:monarchy . ?m rdf:type ontology:political_organization }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q319376
P17
Q1048835 Q15617994 Q3914
USER
How many political territories are less number of administrative territories or schools situated in than Hanau-Münzenberg ?
(c(Q15617994)|c(Q3914),P17,c(Q1048835))
action count
action less
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q15617994
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q3914
action count
action filter_multi_types
action find_reverse
entity Q319376
relation P17
type Q15617994
type Q3914
[[{'concept': 'Q15617994'}, {'concept': 'Q3914'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?q ) WHERE { VALUES ( ?v ) { ( ontology:Q15617994 ) ( ontology:Q3914 ) } . ?i rdf:type ?v } GROUP BY ?b } . FILTER ( ?q < ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:P17 resource:Q319376 . { { ?p rdf:type ontology:Q15617994 } UNION { ?p rdf:type ontology:Q3914 } } } } }
Hanau-Münzenberg
action count
action less
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation country
type political territorial entity
type school
action count
action filter_multi_types
action find_reverse
entity Hanau-Münzenberg
relation country
type designation for an administrative territorial entity
type school
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'school'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?q ) WHERE { VALUES ( ?v ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:school ) } . ?i rdf:type ?v } GROUP BY ?b } . FILTER ( ?q < ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:country resource:Hanau-Münzenberg . { { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?p rdf:type ontology:school } } } } }
[]
political territorial entity designation for an administrative territorial entity school
SYSTEM
44
Q195972 Q21590062 Q746558 Q838261 Q193619 Q769 Q699964 Q13767 Q34617 Q22880 Q641138 Q693551 Q13353 Q848383 Q5705 Q13726 Q953068 Q38610 Q3405693 Q1054923 Q13862 Q79965 Q223793 Q13869 Q407199 Q18221 Q2002138 Q3899 Q35672 Q25228 Q757 Q9648 Q231 Q234 Q2991382 Q399702 Q35086 Q23635 Q208279 Q192184 Q1615455 Q31747 Q25305 Q129286
(c(Q15617994)|c(Q3914),P17,c(Q1048835))
action count
action less
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q15617994
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q3914
action count
action filter_multi_types
action find_reverse
entity Q319376
relation P17
type Q15617994
type Q3914
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q3914'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?q ) WHERE { VALUES ( ?v ) { ( ontology:Q15617994 ) ( ontology:Q3914 ) } . ?i rdf:type ?v } GROUP BY ?b } . FILTER ( ?q < ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:P17 resource:Q319376 . { { ?p rdf:type ontology:Q15617994 } UNION { ?p rdf:type ontology:Q3914 } } } } }
Kingdom of Kartli Antarctic Treaty area Emirate of Bukhara Federal Republic of Yugoslavia Union of South Africa Grenada Archduchy of Austria Camarines Sur Saint Pierre and Miquelon Electoral Palatinate Duchy of Cleves Landgraviate of Hesse-Darmstadt Montserrat Duchy of Rome Catalonia Albay South-West Africa Dominion of Newfoundland Sark British Hong Kong Negros Occidental Golden Horde Kingdom of Etruria Palawan Palestinian territories Turks and Caicos Islands Equador, Rio Grande do Norte Kalimantan Timur Pitcairn Islands Anguilla Saint Vincent and the Grenadines Falkland Islands Walloon Region Flemish Region County of Provence Agüimes, Las Palmas South Georgia and the South Sandwich Islands Bermuda Highland Saint Helena, Ascension and Tristan da Cunha Duchy of Mirandola Irish Free State British Virgin Islands British Raj
44
action count
action less
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation country
type political territorial entity
type school
action count
action filter_multi_types
action find_reverse
entity Hanau-Münzenberg
relation country
type designation for an administrative territorial entity
type school
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'school'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?q ) WHERE { VALUES ( ?v ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:school ) } . ?i rdf:type ?v } GROUP BY ?b } . FILTER ( ?q < ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:country resource:Hanau-Münzenberg . { { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?p rdf:type ontology:school } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q766
P17
Q1048835 Q15617994 Q3914
USER
And what about Jamaica?
(c(Q15617994)|c(Q3914),P17,c(Q1048835))
action count
action less
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q15617994
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q3914
action count
action filter_multi_types
action find_reverse
entity Q766
relation P17
type Q15617994
type Q3914
[[{'concept': 'Q15617994'}, {'concept': 'Q3914'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?h ) WHERE { { ?a property:P17 ?u . ?u rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 } UNION { ?a property:P17 ?u . ?u rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q3914 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { ?q property:P17 resource:Q766 . { ?q rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15617994 ) ( ontology:Q3914 ) } } } } . FILTER ( ?h < ?c ) }
Jamaica
action count
action less
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation country
type political territorial entity
type school
action count
action filter_multi_types
action find_reverse
entity Jamaica
relation country
type designation for an administrative territorial entity
type school
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'school'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?h ) WHERE { { ?a property:country ?u . ?u rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?a property:country ?u . ?u rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:school } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { ?q property:country resource:Jamaica . { ?q rdf:type ?r . VALUES ( ?r ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:school ) } } } } . FILTER ( ?h < ?c ) }
[]
political territorial entity designation for an administrative territorial entity school
SYSTEM
56
Q193714 Q1000 Q195972 Q21590062 Q746558 Q838261 Q193619 Q769 Q685 Q699964 Q763 Q13767 Q34617 Q22880 Q9676 Q641138 Q693551 Q13353 Q848383 Q5705 Q13726 Q953068 Q5785 Q38610 Q3405693 Q1054923 Q13862 Q79965 Q223793 Q319376 Q13869 Q407199 Q18221 Q778 Q2002138 Q3899 Q35672 Q25228 Q1747689 Q781 Q691 Q757 Q9648 Q231 Q234 Q2991382 Q168651 Q399702 Q35086 Q23635 Q208279 Q192184 Q1615455 Q31747 Q25305 Q129286
(c(Q15617994)|c(Q3914),P17,c(Q1048835))
action count
action less
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q15617994
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q3914
action count
action filter_multi_types
action find_reverse
entity Q766
relation P17
type Q15617994
type Q3914
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q3914'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?h ) WHERE { { ?a property:P17 ?u . ?u rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 } UNION { ?a property:P17 ?u . ?u rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q3914 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { ?q property:P17 resource:Q766 . { ?q rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15617994 ) ( ontology:Q3914 ) } } } } . FILTER ( ?h < ?c ) }
Mandatory Palestine Gabon Kingdom of Kartli Antarctic Treaty area Emirate of Bukhara Federal Republic of Yugoslavia Union of South Africa Grenada Solomon Islands Archduchy of Austria Saint Kitts and Nevis Camarines Sur Saint Pierre and Miquelon Electoral Palatinate Isle of Man Duchy of Cleves Landgraviate of Hesse-Darmstadt Montserrat Duchy of Rome Catalonia Albay South-West Africa Cayman Islands Dominion of Newfoundland Sark British Hong Kong Negros Occidental Golden Horde Kingdom of Etruria Hanau-Münzenberg Palawan Palestinian territories Turks and Caicos Islands The Bahamas Equador, Rio Grande do Norte Kalimantan Timur Pitcairn Islands Anguilla Ancient Rome Antigua and Barbuda Papua New Guinea Saint Vincent and the Grenadines Falkland Islands Walloon Region Flemish Region County of Provence Landgraviate of Hesse-Kassel Agüimes, Las Palmas South Georgia and the South Sandwich Islands Bermuda Highland Saint Helena, Ascension and Tristan da Cunha Duchy of Mirandola Irish Free State British Virgin Islands British Raj
56
action count
action less
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation country
type political territorial entity
type school
action count
action filter_multi_types
action find_reverse
entity Jamaica
relation country
type designation for an administrative territorial entity
type school
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'school'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?h ) WHERE { { ?a property:country ?u . ?u rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?a property:country ?u . ?u rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:school } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { ?q property:country resource:Jamaica . { ?q rdf:type ?r . VALUES ( ?r ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:school ) } } } } . FILTER ( ?h < ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3405693
P706
Q271669 Q56061 Q1048835
USER
Which political territories have their location as approximately the same number of landforms and administrative territories as Sark ?
(c(Q1048835),P706,c(Q271669)|c(Q56061))
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q271669
action find_tuple_counts
relation P706
type Q1048835
type Q56061
action count
action filter_multi_types
action find
entity Q3405693
relation P706
type Q271669
type Q56061
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q271669'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?t ) WHERE { { ?h property:P706 ?w . ?h rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q271669 } UNION { ?h property:P706 ?w . ?h rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q56061 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Q3405693 property:P706 ?e . { { ?e rdf:type ontology:Q271669 } UNION { ?e rdf:type ontology:Q56061 } } } } . FILTER ( ?t = ?q ) }
Sark
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type landform
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Sark
relation located on terrain feature
type landform
type administrative territorial entity
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'landform'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?t ) WHERE { { ?h property:located_on_terrain_feature ?w . ?h rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:landform } UNION { ?h property:located_on_terrain_feature ?w . ?h rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:administrative_territorial_entity } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Sark property:located_on_terrain_feature ?e . { { ?e rdf:type ontology:landform } UNION { ?e rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?t = ?q ) }
[]
landform administrative territorial entity political territorial entity
Q769 Q766 Q778
SYSTEM
Grenada, Jamaica, The Bahamas
Q6661154 Q52626 Q13353 Q6139 Q785 Q904566 Q42314 Q898856 Q168856 Q5785 Q3405693 Q13751 Q25228 Q202023 Q8583 Q769 Q170213 Q766 Q9676 Q168159 Q8593 Q18221 Q778 Q9337 Q5700 Q25305
(c(Q1048835),P706,c(Q271669)|c(Q56061))
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q271669
action find_tuple_counts
relation P706
type Q1048835
type Q56061
action count
action filter_multi_types
action find
entity Q3405693
relation P706
type Q271669
type Q56061
[ANSWERS] have their location as approximately the same number of landforms and administrative territories as Sark
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q271669'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?t ) WHERE { { ?h property:P706 ?w . ?h rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q271669 } UNION { ?h property:P706 ?w . ?h rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q56061 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Q3405693 property:P706 ?e . { { ?e rdf:type ontology:Q271669 } UNION { ?e rdf:type ontology:Q56061 } } } } . FILTER ( ?t = ?q ) }
Llanddeusant, Carmarthenshire Formentera Montserrat Havelland Jersey Brecqhou Channel Islands Jethou Chernivtsi Oblast Cayman Islands Sark Biliran Anguilla Herm Vulkaneifel Grenada Zakarpattia Oblast Jamaica Isle of Man Anglesey Mayen-Koblenz Turks and Caicos Islands The Bahamas Flemish Region Lapland British Virgin Islands
Grenada, Jamaica and The Bahamas have their location as approximately the same number of landforms and administrative territories as Sark
Grenada Jamaica The Bahamas
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type landform
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Sark
relation located on terrain feature
type landform
type administrative territorial entity
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'landform'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?t ) WHERE { { ?h property:located_on_terrain_feature ?w . ?h rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:landform } UNION { ?h property:located_on_terrain_feature ?w . ?h rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:administrative_territorial_entity } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Sark property:located_on_terrain_feature ?e . { { ?e rdf:type ontology:landform } UNION { ?e rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?t = ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1747689
P706
Q271669 Q56061 Q1048835
USER
And what about Ancient Rome?
(c(Q1048835),P706,c(Q271669)|c(Q56061))
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q271669
action find_tuple_counts
relation P706
type Q1048835
type Q56061
action count
action filter_multi_types
action find
entity Q1747689
relation P706
type Q271669
type Q56061
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q271669'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?t ) WHERE { { ?q property:P706 ?a . ?q rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q271669 } UNION { ?q property:P706 ?a . ?a rdf:type ontology:Q56061 . ?q rdf:type ontology:Q1048835 } } GROUP BY ?q } . FILTER ( ?t = ?p ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { { ?v rdf:type ontology:Q271669 } UNION { ?v rdf:type ontology:Q56061 } } . resource:Q1747689 property:P706 ?v } } }
Ancient Rome
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type landform
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Ancient Rome
relation located on terrain feature
type landform
type administrative territorial entity
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'landform'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?t ) WHERE { { ?q property:located_on_terrain_feature ?a . ?q rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:landform } UNION { ?q property:located_on_terrain_feature ?a . ?a rdf:type ontology:administrative_territorial_entity . ?q rdf:type ontology:political_territorial_entity } } GROUP BY ?q } . FILTER ( ?t = ?p ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { { ?v rdf:type ontology:landform } UNION { ?v rdf:type ontology:administrative_territorial_entity } } . resource:Ancient_Rome property:located_on_terrain_feature ?v } } }
[]
landform administrative territorial entity political territorial entity
Q691 Q555140 Q697126
SYSTEM
Papua New Guinea, Capileira, Bridgend County Borough
Q927498 Q1747689 Q983465 Q943922 Q983461 Q753702 Q950889 Q385923 Q49567 Q847324 Q847321 Q850989 Q983467 Q743716 Q734805 Q555140 Q983463 Q13737 Q493017 Q950940 Q669078 Q851224 Q950951 Q843868 Q945653 Q37362 Q715970 Q595424 Q7198529 Q832991 Q975679 Q601112 Q984496 Q743741 Q988714 Q596885 Q941533 Q783498 Q692920 Q850939 Q988702 Q2451327 Q925773 Q851011 Q1823 Q13844 Q611123 Q233337 Q987394 Q691 Q899884 Q837121 Q950901 Q837125 Q847317 Q983633 Q491786 Q983631 Q3724 Q983635 Q652988 Q832967 Q185409 Q984485 Q983625 Q983628 Q656449 Q988688 Q213361 Q984493 Q984491 Q984499 Q3396832 Q988696 Q943948 Q697126 Q616408 Q610838 Q920971
(c(Q1048835),P706,c(Q271669)|c(Q56061))
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q271669
action find_tuple_counts
relation P706
type Q1048835
type Q56061
action count
action filter_multi_types
action find
entity Q1747689
relation P706
type Q271669
type Q56061
[ANSWERS]
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q271669'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?t ) WHERE { { ?q property:P706 ?a . ?q rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q271669 } UNION { ?q property:P706 ?a . ?a rdf:type ontology:Q56061 . ?q rdf:type ontology:Q1048835 } } GROUP BY ?q } . FILTER ( ?t = ?p ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { { ?v rdf:type ontology:Q271669 } UNION { ?v rdf:type ontology:Q56061 } } . resource:Q1747689 property:P706 ?v } } }
Llucmajor Ancient Rome Santa Eulària des Riu Sineu Ferreries East New Britain Consell Alcúdia Manacor Alaior Esporles Campanet Montuïri Campos Sant Antoni de Portmany Capileira Sant Llorenç des Cardassar Basilan Andratx Marratxí Maria de la Salut Costitx Escorca Wrexham County Borough Es Mercadal Akrotiri and Dhekelia Artà Muro, Majorca Pistyll Sóller Vilafranca de Bonany Pollença Selva Felanitx Lloret de Vistalegre Blaenau Gwent County Borough Es Castell Ses Salines Sant Joan Alaró Estellencs Sé Porreres Algaida Aceh Leyte Petra, Majorca Deià Sencelles Papua New Guinea Ciutadella de Menorca Binissalem Fornalutx Bunyola Lloseta Santanyí Calvià Santa Eugènia West Java Province Sant Josep de sa Talaia Búger Valldemossa Llubí Es Migjorn Gran Puigpunyent Sant Joan de Labritja Ariany, Majorca Inca Pembrokeshire Sa Pobla Santa Margalida Sant Lluís Tudweiliog Mancor de la Vall Santa Maria del Camí Bridgend County Borough Banyalbufar Son Servera Capdepera
Papua New Guinea Capileira Bridgend County Borough
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type landform
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Ancient Rome
relation located on terrain feature
type landform
type administrative territorial entity
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'landform'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?t ) WHERE { { ?q property:located_on_terrain_feature ?a . ?q rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:landform } UNION { ?q property:located_on_terrain_feature ?a . ?a rdf:type ontology:administrative_territorial_entity . ?q rdf:type ontology:political_territorial_entity } } GROUP BY ?q } . FILTER ( ?t = ?p ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { { ?v rdf:type ontology:landform } UNION { ?v rdf:type ontology:administrative_territorial_entity } } . resource:Ancient_Rome property:located_on_terrain_feature ?v } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q691 Q555140 Q697126
P47
Q1048835
USER
Which political territories are bordered by Papua New Guinea, Capileira and Bridgend County Borough ?
(c(Q1048835),P47,Q691) (c(Q1048835),P47,Q555140) (c(Q1048835),P47,Q697126)
action union
action filter_type
action find
entity Q691
relation P47
type Q1048835
action filter_type
action find
entity Q555140
relation P47
type Q1048835
action filter_type
action find
entity Q697126
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q691'] [{'concept': 'Q1048835'}, 'P47', 'Q555140'] [{'concept': 'Q1048835'}, 'P47', 'Q697126']
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:Q1048835 . resource:Q555140 property:P47 ?g } UNION { resource:Q691 property:P47 ?g . ?g rdf:type ontology:Q1048835 } }
Papua New Guinea Capileira Bridgend County Borough
action union
action filter_type
action find
entity Papua New Guinea
relation shares border with
type political territorial entity
action filter_type
action find
entity Capileira
relation shares border with
type political territorial entity
action filter_type
action find
entity Bridgend County Borough
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Papua New Guinea'] [{'concept': 'political territorial entity'}, 'shares border with', 'Capileira'] [{'concept': 'political territorial entity'}, 'shares border with', 'Bridgend County Borough']
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:political_territorial_entity . resource:Capileira property:shares_border_with ?g } UNION { resource:Papua_New_Guinea property:shares_border_with ?g . ?g rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
Q408 Q582995 Q748078
SYSTEM
Australia, Lanjarón, Neath Port Talbot County Borough
Q5095 Q408 Q609921 Q605273 Q575649 Q618383 Q618381 Q554265 Q593620 Q559313 Q582995 Q844784 Q748078 Q817960
(c(Q1048835),P47,Q691) (c(Q1048835),P47,Q555140) (c(Q1048835),P47,Q697126)
action union
action filter_type
action find
entity Q691
relation P47
type Q1048835
action filter_type
action find
entity Q555140
relation P47
type Q1048835
action filter_type
action find
entity Q697126
relation P47
type Q1048835
[ANSWERS] are bordered by Papua New Guinea, Capileira and Bridgend County Borough
[{'concept': 'Q1048835'}, 'P47', 'Q691'] [{'concept': 'Q1048835'}, 'P47', 'Q555140'] [{'concept': 'Q1048835'}, 'P47', 'Q697126']
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:Q1048835 . resource:Q555140 property:P47 ?g } UNION { resource:Q691 property:P47 ?g . ?g rdf:type ontology:Q1048835 } }
Papua Australia Pórtugos Pampaneira Güéjar Sierra La Taha Trevélez Bubión Monachil Dílar Lanjarón Vale of Glamorgan Neath Port Talbot County Borough Rhondda Cynon Taf
Australia, Lanjarón and Neath Port Talbot County Borough are bordered by Papua New Guinea, Capileira and Bridgend County Borough
Australia Lanjarón Neath Port Talbot County Borough
action union
action filter_type
action find
entity Papua New Guinea
relation shares border with
type political territorial entity
action filter_type
action find
entity Capileira
relation shares border with
type political territorial entity
action filter_type
action find
entity Bridgend County Borough
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Papua New Guinea'] [{'concept': 'political territorial entity'}, 'shares border with', 'Capileira'] [{'concept': 'political territorial entity'}, 'shares border with', 'Bridgend County Borough']
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:political_territorial_entity . resource:Capileira property:shares_border_with ?g } UNION { resource:Papua_New_Guinea property:shares_border_with ?g . ?g rdf:type ontology:political_territorial_entity } }
[]