Simple Question (Direct)
Simple Question
Q3228688
P641
Q349
USER
Which sport was Lebajoa Mphongoa a part of ?
(Q3228688,P641,c(Q349))
action filter_type
action find
entity Q3228688
relation P641
type Q349
['Q3228688', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q3228688 property:P641 ?w . ?w rdf:type ontology:Q349 }
Lebajoa Mphongoa
action filter_type
action find
entity Lebajoa Mphongoa
relation sport
type sport
['Lebajoa Mphongoa', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Lebajoa_Mphongoa property:sport ?w . ?w rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3228688,P641,c(Q349))
action filter_type
action find
entity Q3228688
relation P641
type Q349
Which sport was Lebajoa Mphongoa a part of
['Q3228688', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q3228688 property:P641 ?w . ?w rdf:type ontology:Q349 }
association football
Which sport was Lebajoa Mphongoa a part of
association football
action filter_type
action find
entity Lebajoa Mphongoa
relation sport
type sport
['Lebajoa Mphongoa', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Lebajoa_Mphongoa property:sport ?w . ?w rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3228688
P27
Q15617994
USER
Which administrative territory is the native country of Lebajoa Mphongoa ?
(Q3228688,P27,c(Q15617994))
action filter_type
action find
entity Q3228688
relation P27
type Q15617994
['Q3228688', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q3228688 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Lebajoa Mphongoa
action filter_type
action find
entity Lebajoa Mphongoa
relation country of citizenship
type designation for an administrative territorial entity
['Lebajoa Mphongoa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Lebajoa_Mphongoa property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1013
SYSTEM
Lesotho
Q1013
(Q3228688,P27,c(Q15617994))
action filter_type
action find
entity Q3228688
relation P27
type Q15617994
[ANSWER] is the native country of Lebajoa Mphongoa
['Q3228688', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q3228688 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Lesotho
Lesotho is the native country of Lebajoa Mphongoa
Lesotho
action filter_type
action find
entity Lebajoa Mphongoa
relation country of citizenship
type designation for an administrative territorial entity
['Lebajoa Mphongoa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Lebajoa_Mphongoa property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1013
P36
Q56061
USER
Which administrative territory is known as the capital of that administrative territory ?
(Q1013,P36,c(Q56061))
action filter_type
action find
entity Q1013
relation P36
type Q56061
['Q1013', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q1013 property:P36 ?m . ?m rdf:type ontology:Q56061 }
Lesotho
action filter_type
action find
entity Lesotho
relation capital
type administrative territorial entity
['Lesotho', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Lesotho property:capital ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3909
SYSTEM
Maseru
Q3909
(Q1013,P36,c(Q56061))
action filter_type
action find
entity Q1013
relation P36
type Q56061
[ANSWER] is known as the capital of that administrative territory
['Q1013', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q1013 property:P36 ?m . ?m rdf:type ontology:Q56061 }
Maseru
Maseru is known as the capital of that administrative territory
Maseru
action filter_type
action find
entity Lesotho
relation capital
type administrative territorial entity
['Lesotho', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Lesotho property:capital ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1013
P17
Q1292279 Q14524493
USER
How many political borders and terrains are present in Lesotho ?
(c(Q1292279),P17,Q1013) (c(Q14524493),P17,Q1013)
action count
action union
action filter_type
action find_reverse
entity Q1013
relation P17
type Q1292279
action filter_type
action find_reverse
entity Q1013
relation P17
type Q14524493
[{'concept': 'Q1292279'}, 'P17', 'Q1013'] [{'concept': 'Q14524493'}, 'P17', 'Q1013']
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { ?m rdf:type ?u . VALUES ( ?u ) { ( ontology:Q1292279 ) ( ontology:Q14524493 ) } }
Lesotho
action count
action union
action filter_type
action find_reverse
entity Lesotho
relation country
type political border
action filter_type
action find_reverse
entity Lesotho
relation country
type terrain
[{'concept': 'political border'}, 'country', 'Lesotho'] [{'concept': 'terrain'}, 'country', 'Lesotho']
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { ?m rdf:type ?u . VALUES ( ?u ) { ( ontology:political_border ) ( ontology:terrain ) } }
[]
political border terrain
SYSTEM
1 political borders and 8 terrains
Q7708830 Q303185 Q2748867 Q6913284 Q3430420 Q1883683 Q733132 Q5201021 Q599532
(c(Q1292279),P17,Q1013) (c(Q14524493),P17,Q1013)
action count
action union
action filter_type
action find_reverse
entity Q1013
relation P17
type Q1292279
action filter_type
action find_reverse
entity Q1013
relation P17
type Q14524493
[ANSWER]
[{'concept': 'Q1292279'}, 'P17', 'Q1013'] [{'concept': 'Q14524493'}, 'P17', 'Q1013']
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { ?m rdf:type ?u . VALUES ( ?u ) { ( ontology:Q1292279 ) ( ontology:Q14524493 ) } }
Thaba Putsoa Njesuthi Lesotho–South Africa border Morosi's Mountain Maloti Mountains Mafadi Thabana Ntlenyana KwaDuma Mont-Aux-Sources
1 political borders and 8 terrains
action count
action union
action filter_type
action find_reverse
entity Lesotho
relation country
type political border
action filter_type
action find_reverse
entity Lesotho
relation country
type terrain
[{'concept': 'political border'}, 'country', 'Lesotho'] [{'concept': 'terrain'}, 'country', 'Lesotho']
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { ?m rdf:type ?u . VALUES ( ?u ) { ( ontology:political_border ) ( ontology:terrain ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3909
P931
Q62447
USER
Which aerodrome serves Maseru ?
(c(Q62447),P931,Q3909)
action filter_type
action find_reverse
entity Q3909
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q3909']
SELECT DISTINCT ?g WHERE { ?g property:P931 resource:Q3909 . ?g rdf:type ontology:Q62447 }
Maseru
action filter_type
action find_reverse
entity Maseru
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Maseru']
SELECT DISTINCT ?g WHERE { ?g property:place_served_by_airport resource:Maseru . ?g rdf:type ontology:aerodrome }
[]
aerodrome
Q645462
SYSTEM
Moshoeshoe I International Airport
Q645462
(c(Q62447),P931,Q3909)
action filter_type
action find_reverse
entity Q3909
relation P931
type Q62447
Airport [ANSWER] serves Maseru
[{'concept': 'Q62447'}, 'P931', 'Q3909']
SELECT DISTINCT ?g WHERE { ?g property:P931 resource:Q3909 . ?g rdf:type ontology:Q62447 }
Moshoeshoe I International Airport
Airport Moshoeshoe I International Airport serves Maseru
Moshoeshoe I International Airport
action filter_type
action find_reverse
entity Maseru
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Maseru']
SELECT DISTINCT ?g WHERE { ?g property:place_served_by_airport resource:Maseru . ?g rdf:type ontology:aerodrome }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3909
P190
Q56061
USER
Which administrative territory is twin town of that one ?
(Q645462,P190,c(Q56061))
action filter_type
action find
entity Q3909
relation P190
type Q56061
['Q645462', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q3909 property:P190 ?q . ?q rdf:type ontology:Q56061 }
Maseru
action filter_type
action find
entity Maseru
relation sister city
type administrative territorial entity
['Moshoeshoe I International Airport', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Maseru property:sister_city ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q16559
SYSTEM
Austin
Q16559
(Q645462,P190,c(Q56061))
action filter_type
action find
entity Q3909
relation P190
type Q56061
[ANSWER] is twin town of that one
['Q645462', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q3909 property:P190 ?q . ?q rdf:type ontology:Q56061 }
Austin
Austin is twin town of that one
Austin
action filter_type
action find
entity Maseru
relation sister city
type administrative territorial entity
['Moshoeshoe I International Airport', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Maseru property:sister_city ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3228688 Q4845055
P21
Q290
USER
How many sexes do Lebajoa Mphongoa or María de la Soledad possess ?
(Q3228688,P21,c(Q290)) (Q4845055,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q3228688
relation P21
type Q290
action filter_type
action find
entity Q4845055
relation P21
type Q290
['Q3228688', 'P21', {'concept': 'Q290'}] ['Q4845055', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { ?z property:P21 ?b . VALUES ( ?z ) { ( resource:Q3228688 ) ( resource:Q4845055 ) } }
Lebajoa Mphongoa María de la Soledad
action count
action union
action filter_type
action find
entity Lebajoa Mphongoa
relation gender
type sex
action filter_type
action find
entity María de la Soledad
relation gender
type sex
['Lebajoa Mphongoa', 'gender', {'concept': 'sex'}] ['María de la Soledad', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { ?z property:gender ?b . VALUES ( ?z ) { ( resource:Lebajoa_Mphongoa ) ( resource:María_de_la_Soledad ) } }
[]
sex
SYSTEM
2
Q6581097 Q6581072
(Q3228688,P21,c(Q290)) (Q4845055,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q3228688
relation P21
type Q290
action filter_type
action find
entity Q4845055
relation P21
type Q290
[ANSWER]
['Q3228688', 'P21', {'concept': 'Q290'}] ['Q4845055', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { ?z property:P21 ?b . VALUES ( ?z ) { ( resource:Q3228688 ) ( resource:Q4845055 ) } }
male female
2
action count
action union
action filter_type
action find
entity Lebajoa Mphongoa
relation gender
type sex
action filter_type
action find
entity María de la Soledad
relation gender
type sex
['Lebajoa Mphongoa', 'gender', {'concept': 'sex'}] ['María de la Soledad', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { ?z property:gender ?b . VALUES ( ?z ) { ( resource:Lebajoa_Mphongoa ) ( resource:María_de_la_Soledad ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q68015 Q3909
P190
Q515
USER
Which cities are twin town of Maseru or Roggwil ?
OR((c(Q515),P190,Q3909), (c(Q515),P190,Q68015))
action filter_type
action union
action find_reverse
entity Q3909
relation P190
action find_reverse
entity Q68015
relation P190
type Q515
{'OR': [[{'concept': 'Q515'}, 'P190', 'Q3909'], [{'concept': 'Q515'}, 'P190', 'Q68015']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q515 . { VALUES ( ?z ) { ( resource:Q3909 ) ( resource:Q68015 ) } . ?j property:P190 ?z } }
Roggwil Maseru
action filter_type
action union
action find_reverse
entity Maseru
relation sister city
action find_reverse
entity Roggwil
relation sister city
type city
{'OR': [[{'concept': 'city'}, 'sister city', 'Maseru'], [{'concept': 'city'}, 'sister city', 'Roggwil']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:city . { VALUES ( ?z ) { ( resource:Maseru ) ( resource:Roggwil ) } . ?j property:sister_city ?z } }
[]
city
Q3104 Q804395
SYSTEM
Koblenz, Blatná
Q3104 Q804395
OR((c(Q515),P190,Q3909), (c(Q515),P190,Q68015))
action filter_type
action union
action find_reverse
entity Q3909
relation P190
action find_reverse
entity Q68015
relation P190
type Q515
[ANSWERS] are twin town of Maseru or Roggwil
{'OR': [[{'concept': 'Q515'}, 'P190', 'Q3909'], [{'concept': 'Q515'}, 'P190', 'Q68015']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q515 . { VALUES ( ?z ) { ( resource:Q3909 ) ( resource:Q68015 ) } . ?j property:P190 ?z } }
Koblenz Blatná
Koblenz and Blatná are twin town of Maseru or Roggwil
Koblenz Blatná
action filter_type
action union
action find_reverse
entity Maseru
relation sister city
action find_reverse
entity Roggwil
relation sister city
type city
{'OR': [[{'concept': 'city'}, 'sister city', 'Maseru'], [{'concept': 'city'}, 'sister city', 'Roggwil']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:city . { VALUES ( ?z ) { ( resource:Maseru ) ( resource:Roggwil ) } . ?j property:sister_city ?z } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q315667
P17
Q15617994 Q4830453 Q486972
USER
Which administrative territories are more number of business enterprises and human settlements present in than Saxe-Weimar ?
(c(Q4830453)|c(Q486972),P17,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q4830453
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q315667
relation P17
type Q4830453
type Q486972
[[{'concept': 'Q4830453'}, {'concept': 'Q486972'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?n > ?d ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { ?r property:P17 resource:Q315667 . { VALUES ( ?w ) { ( ontology:Q4830453 ) ( ontology:Q486972 ) } . ?r rdf:type ?w } } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) ?h WHERE { { ?y property:P17 ?h . ?h rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q4830453 } UNION { ?y property:P17 ?h . ?y rdf:type ontology:Q486972 . ?h rdf:type ontology:Q15617994 } } GROUP BY ?h } }
Saxe-Weimar
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type business enterprise
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity Saxe-Weimar
relation country
type business enterprise
type human settlement
[[{'concept': 'business enterprise'}, {'concept': 'human settlement'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?n > ?d ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { ?r property:country resource:Saxe-Weimar . { VALUES ( ?w ) { ( ontology:business_enterprise ) ( ontology:human_settlement ) } . ?r rdf:type ?w } } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) ?h WHERE { { ?y property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:business_enterprise } UNION { ?y property:country ?h . ?y rdf:type ontology:human_settlement . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?h } }
[]
designation for an administrative territorial entity business enterprise human settlement
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q801 Q398 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q265 Q214 Q36678 Q717 Q252 Q399 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q889 Q326029 Q884 Q219 Q4628 Q822 Q241 Q242 Q736 Q153136 Q33 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q230 Q232 Q233 Q238 Q20 Q27 Q28 Q1025 Q1027 Q189 Q843 Q184 Q1029 Q1028 Q32 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q977 Q17 Q902 Q1036 Q974 Q1033 Q191 Q965 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q211 Q215 Q218 Q37 Q912 Q833 Q1009 Q1008 Q971 Q29 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1016 Q148499 Q1011 Q869 Q953
(c(Q4830453)|c(Q486972),P17,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q4830453
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q315667
relation P17
type Q4830453
type Q486972
[ANSWERS] are more number of business enterprises and human settlements present in than Saxe-Weimar
[[{'concept': 'Q4830453'}, {'concept': 'Q486972'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?n > ?d ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { ?r property:P17 resource:Q315667 . { VALUES ( ?w ) { ( ontology:Q4830453 ) ( ontology:Q486972 ) } . ?r rdf:type ?w } } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) ?h WHERE { { ?y property:P17 ?h . ?h rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q4830453 } UNION { ?y property:P17 ?h . ?y rdf:type ontology:Q486972 . ?h rdf:type ontology:Q15617994 } } GROUP BY ?h } }
Panama Israel Bahrain Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Uzbekistan Slovakia West Bank Venezuela Indonesia Armenia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Afghanistan Duchy of Brunswick South Korea Bulgaria Faroe Islands Lebanon Cuba Belize Ecuador Habsburg Empire Finland Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Georgia Kazakhstan Malta San Marino Norway Ireland Hungary Mauritania Mauritius Iceland Pakistan Belarus Mozambique Morocco Luxembourg Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Djibouti Japan Bangladesh Uganda Democratic Republic of the Congo Nigeria Estonia Burkina Faso Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Latvia Slovenia Romania Lithuania Mali Malaysia Cameroon Côte d'Ivoire Republic of the Congo Spain Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Libya Margraviate of Brandenburg Cape Verde Thailand Zambia
Italy, Brazil and United States of America are more number of business enterprises and human settlements present in than Saxe-Weimar
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type business enterprise
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity Saxe-Weimar
relation country
type business enterprise
type human settlement
[[{'concept': 'business enterprise'}, {'concept': 'human settlement'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?n > ?d ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { ?r property:country resource:Saxe-Weimar . { VALUES ( ?w ) { ( ontology:business_enterprise ) ( ontology:human_settlement ) } . ?r rdf:type ?w } } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) ?h WHERE { { ?y property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:business_enterprise } UNION { ?y property:country ?h . ?y rdf:type ontology:human_settlement . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?h } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q683
P17
Q15617994 Q4830453 Q486972
USER
And what about Samoa?
(c(Q4830453)|c(Q486972),P17,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q4830453
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q683
relation P17
type Q4830453
type Q486972
[[{'concept': 'Q4830453'}, {'concept': 'Q486972'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:P17 resource:Q683 . { { ?r rdf:type ontology:Q4830453 } UNION { ?r rdf:type ontology:Q486972 } } } } . FILTER ( ?h > ?a ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) ?d WHERE { ?p rdf:type ?i . VALUES ( ?i ) { ( ontology:Q4830453 ) ( ontology:Q486972 ) } } GROUP BY ?d } }
Samoa
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type business enterprise
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity Samoa
relation country
type business enterprise
type human settlement
[[{'concept': 'business enterprise'}, {'concept': 'human settlement'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:country resource:Samoa . { { ?r rdf:type ontology:business_enterprise } UNION { ?r rdf:type ontology:human_settlement } } } } . FILTER ( ?h > ?a ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) ?d WHERE { ?p rdf:type ?i . VALUES ( ?i ) { ( ontology:business_enterprise ) ( ontology:human_settlement ) } } GROUP BY ?d } }
[]
designation for an administrative territorial entity business enterprise human settlement
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q801 Q398 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q265 Q214 Q36678 Q717 Q252 Q399 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q889 Q326029 Q884 Q219 Q4628 Q822 Q241 Q242 Q736 Q153136 Q33 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q230 Q232 Q233 Q238 Q20 Q27 Q28 Q1025 Q1027 Q189 Q843 Q184 Q1029 Q1028 Q32 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q977 Q17 Q902 Q1036 Q974 Q1033 Q191 Q965 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q211 Q215 Q218 Q37 Q912 Q833 Q1009 Q1008 Q971 Q29 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1016 Q148499 Q1011 Q869 Q953
(c(Q4830453)|c(Q486972),P17,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q4830453
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q683
relation P17
type Q4830453
type Q486972
[ANSWERS]
[[{'concept': 'Q4830453'}, {'concept': 'Q486972'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:P17 resource:Q683 . { { ?r rdf:type ontology:Q4830453 } UNION { ?r rdf:type ontology:Q486972 } } } } . FILTER ( ?h > ?a ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) ?d WHERE { ?p rdf:type ?i . VALUES ( ?i ) { ( ontology:Q4830453 ) ( ontology:Q486972 ) } } GROUP BY ?d } }
Panama Israel Bahrain Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Uzbekistan Slovakia West Bank Venezuela Indonesia Armenia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Afghanistan Duchy of Brunswick South Korea Bulgaria Faroe Islands Lebanon Cuba Belize Ecuador Habsburg Empire Finland Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Georgia Kazakhstan Malta San Marino Norway Ireland Hungary Mauritania Mauritius Iceland Pakistan Belarus Mozambique Morocco Luxembourg Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Djibouti Japan Bangladesh Uganda Democratic Republic of the Congo Nigeria Estonia Burkina Faso Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Latvia Slovenia Romania Lithuania Mali Malaysia Cameroon Côte d'Ivoire Republic of the Congo Spain Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Libya Margraviate of Brandenburg Cape Verde Thailand Zambia
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type business enterprise
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity Samoa
relation country
type business enterprise
type human settlement
[[{'concept': 'business enterprise'}, {'concept': 'human settlement'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:country resource:Samoa . { { ?r rdf:type ontology:business_enterprise } UNION { ?r rdf:type ontology:human_settlement } } } } . FILTER ( ?h > ?a ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) ?d WHERE { ?p rdf:type ?i . VALUES ( ?i ) { ( ontology:business_enterprise ) ( ontology:human_settlement ) } } GROUP BY ?d } }
[]