Simple Question (Direct)
Simple Question
Q5423238
P641
Q349
USER
What did Ezequiel Palomeque participate in ?
(Q5423238,P641,c(Q349))
action filter_type
action find
entity Q5423238
relation P641
type Q349
['Q5423238', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q5423238 property:P641 ?o . ?o rdf:type ontology:Q349 }
Ezequiel Palomeque
action filter_type
action find
entity Ezequiel Palomeque
relation sport
type sport
['Ezequiel Palomeque', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Ezequiel_Palomeque property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5423238,P641,c(Q349))
action filter_type
action find
entity Q5423238
relation P641
type Q349
Ezequiel Palomeque participated in [ANSWER]
['Q5423238', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q5423238 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
Ezequiel Palomeque participated in association football
association football
action filter_type
action find
entity Ezequiel Palomeque
relation sport
type sport
['Ezequiel Palomeque', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Ezequiel_Palomeque property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5423238
P19
Q13220204
USER
Which administrative country subdivision was Ezequiel Palomeque born at ?
(Q5423238,P19,c(Q13220204))
action filter_type
action find
entity Q5423238
relation P19
type Q13220204
['Q5423238', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?g WHERE { resource:Q5423238 property:P19 ?g . ?g rdf:type ontology:Q13220204 }
Ezequiel Palomeque
action filter_type
action find
entity Ezequiel Palomeque
relation place of birth
type second-level administrative country subdivision
['Ezequiel Palomeque', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?g WHERE { resource:Ezequiel_Palomeque property:place_of_birth ?g . ?g rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q816420
SYSTEM
Quibdó
Q816420
(Q5423238,P19,c(Q13220204))
action filter_type
action find
entity Q5423238
relation P19
type Q13220204
Ezequiel Palomeque was born in [ANSWER]
['Q5423238', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?g WHERE { resource:Q5423238 property:P19 ?g . ?g rdf:type ontology:Q13220204 }
Quibdó
Ezequiel Palomeque was born in Quibdó
Quibdó
action filter_type
action find
entity Ezequiel Palomeque
relation place of birth
type second-level administrative country subdivision
['Ezequiel Palomeque', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?g WHERE { resource:Ezequiel_Palomeque property:place_of_birth ?g . ?g rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q816420
P47
Q13220204
USER
Which administrative country subdivision shares border with that one ?
(c(Q13220204),P47,Q816420)
action filter_type
action find_reverse
entity Q816420
relation P47
type Q13220204
[{'concept': 'Q13220204'}, 'P47', 'Q816420']
SELECT DISTINCT ?a WHERE { ?a property:P47 resource:Q816420 . ?a rdf:type ontology:Q13220204 }
Quibdó
action filter_type
action find_reverse
entity Quibdó
relation shares border with
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Quibdó']
SELECT DISTINCT ?a WHERE { ?a property:shares_border_with resource:Quibdó . ?a rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q1391883
SYSTEM
Alto Baudó
Q1391883
(c(Q13220204),P47,Q816420)
action filter_type
action find_reverse
entity Q816420
relation P47
type Q13220204
[ANSWER] shares border with that one
[{'concept': 'Q13220204'}, 'P47', 'Q816420']
SELECT DISTINCT ?a WHERE { ?a property:P47 resource:Q816420 . ?a rdf:type ontology:Q13220204 }
Alto Baudó
Alto Baudó shares border with that one
Alto Baudó
action filter_type
action find_reverse
entity Quibdó
relation shares border with
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Quibdó']
SELECT DISTINCT ?a WHERE { ?a property:shares_border_with resource:Quibdó . ?a rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q816420 Q266685
P47
Q1048835
USER
How many political territories have a shared border with Quibdó or Schwaz District ?
(Q816420,P47,c(Q1048835)) (Q266685,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q816420
relation P47
type Q1048835
action filter_type
action find
entity Q266685
relation P47
type Q1048835
['Q816420', 'P47', {'concept': 'Q1048835'}] ['Q266685', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { resource:Q816420 property:P47 ?b . ?b rdf:type ontology:Q1048835 } UNION { ?b rdf:type ontology:Q1048835 . resource:Q266685 property:P47 ?b } }
Quibdó Schwaz District
action count
action union
action filter_type
action find
entity Quibdó
relation shares border with
type political territorial entity
action filter_type
action find
entity Schwaz District
relation shares border with
type political territorial entity
['Quibdó', 'shares border with', {'concept': 'political territorial entity'}] ['Schwaz District', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { resource:Quibdó property:shares_border_with ?b . ?b rdf:type ontology:political_territorial_entity } UNION { ?b rdf:type ontology:political_territorial_entity . resource:Schwaz_District property:shares_border_with ?b } }
[]
political territorial entity
SYSTEM
3
Q10523 Q10522 Q10518
(Q816420,P47,c(Q1048835)) (Q266685,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q816420
relation P47
type Q1048835
action filter_type
action find
entity Q266685
relation P47
type Q1048835
[ANSWER]
['Q816420', 'P47', {'concept': 'Q1048835'}] ['Q266685', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { resource:Q816420 property:P47 ?b . ?b rdf:type ontology:Q1048835 } UNION { ?b rdf:type ontology:Q1048835 . resource:Q266685 property:P47 ?b } }
Miesbach Bad Tölz-Wolfratshausen Garmisch-Partenkirchen
3
action count
action union
action filter_type
action find
entity Quibdó
relation shares border with
type political territorial entity
action filter_type
action find
entity Schwaz District
relation shares border with
type political territorial entity
['Quibdó', 'shares border with', {'concept': 'political territorial entity'}] ['Schwaz District', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { resource:Quibdó property:shares_border_with ?b . ?b rdf:type ontology:political_territorial_entity } UNION { ?b rdf:type ontology:political_territorial_entity . resource:Schwaz_District property:shares_border_with ?b } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18350657 Q1391883
P17
Q15617994
USER
Which administrative territories are Alto Baudó or Akhtarabad railway station situated in ?
OR((Q1391883,P17,c(Q15617994)), (Q18350657,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1391883
relation P17
action find
entity Q18350657
relation P17
type Q15617994
{'OR': [['Q1391883', 'P17', {'concept': 'Q15617994'}], ['Q18350657', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q1391883 property:P17 ?y } UNION { resource:Q18350657 property:P17 ?y } } . ?y rdf:type ontology:Q15617994 }
Akhtarabad railway station Alto Baudó
action filter_type
action union
action find
entity Alto Baudó
relation country
action find
entity Akhtarabad railway station
relation country
type designation for an administrative territorial entity
{'OR': [['Alto Baudó', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Akhtarabad railway station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Alto_Baudó property:country ?y } UNION { resource:Akhtarabad_railway_station property:country ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q739 Q843
SYSTEM
Colombia, Pakistan
Q739 Q843
OR((Q1391883,P17,c(Q15617994)), (Q18350657,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1391883
relation P17
action find
entity Q18350657
relation P17
type Q15617994
[ANSWERS] are Alto Baudó or Akhtarabad railway station situated in
{'OR': [['Q1391883', 'P17', {'concept': 'Q15617994'}], ['Q18350657', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q1391883 property:P17 ?y } UNION { resource:Q18350657 property:P17 ?y } } . ?y rdf:type ontology:Q15617994 }
Colombia Pakistan
Colombia and Pakistan are Alto Baudó or Akhtarabad railway station situated in
Colombia Pakistan
action filter_type
action union
action find
entity Alto Baudó
relation country
action find
entity Akhtarabad railway station
relation country
type designation for an administrative territorial entity
{'OR': [['Alto Baudó', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Akhtarabad railway station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Alto_Baudó property:country ?y } UNION { resource:Akhtarabad_railway_station property:country ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7335777
P530
Q1048835
USER
Do Ripán District have tactful political relations with those administrative territories ?
(Q7335777,P530,Q739) (Q7335777,P530,Q843)
action is_in
entity prev_answer
action find
entity Q7335777
relation P530
['Q7335777', 'P530', 'Q739'] ['Q7335777', 'P530', 'Q843']
ASK WHERE { resource:Q7335777 property:P530 ?w . VALUES ( ?w ) { ( resource:Q739 ) ( resource:Q843 ) } }
Ripán District
action is_in
entity prev_answer
action find
entity Ripán District
relation diplomatic relation
['Ripán District', 'diplomatic relation', 'Colombia'] ['Ripán District', 'diplomatic relation', 'Pakistan']
ASK WHERE { resource:Ripán_District property:diplomatic_relation ?w . VALUES ( ?w ) { ( resource:Colombia ) ( resource:Pakistan ) } }
[]
political territorial entity
SYSTEM
NO
(Q7335777,P530,Q739) (Q7335777,P530,Q843)
action is_in
entity prev_answer
action find
entity Q7335777
relation P530
[ANSWER]
['Q7335777', 'P530', 'Q739'] ['Q7335777', 'P530', 'Q843']
ASK WHERE { resource:Q7335777 property:P530 ?w . VALUES ( ?w ) { ( resource:Q739 ) ( resource:Q843 ) } }
No
action is_in
entity prev_answer
action find
entity Ripán District
relation diplomatic relation
['Ripán District', 'diplomatic relation', 'Colombia'] ['Ripán District', 'diplomatic relation', 'Pakistan']
ASK WHERE { resource:Ripán_District property:diplomatic_relation ?w . VALUES ( ?w ) { ( resource:Colombia ) ( resource:Pakistan ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19330806 Q7335777
P17
Q15617994
USER
Which administrative territories are Ripán District or Netzer Hazani a part of ?
OR((Q7335777,P17,c(Q15617994)), (Q19330806,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7335777
relation P17
action find
entity Q19330806
relation P17
type Q15617994
{'OR': [['Q7335777', 'P17', {'concept': 'Q15617994'}], ['Q19330806', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q7335777 property:P17 ?u } UNION { resource:Q19330806 property:P17 ?u } } . ?u rdf:type ontology:Q15617994 }
Netzer Hazani Ripán District
action filter_type
action union
action find
entity Ripán District
relation country
action find
entity Netzer Hazani
relation country
type designation for an administrative territorial entity
{'OR': [['Ripán District', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Netzer Hazani', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Ripán_District property:country ?u } UNION { resource:Netzer_Hazani property:country ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q419 Q801
SYSTEM
Peru, Israel
Q419 Q801
OR((Q7335777,P17,c(Q15617994)), (Q19330806,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7335777
relation P17
action find
entity Q19330806
relation P17
type Q15617994
[ANSWERS] are Ripán District or Netzer Hazani a part of
{'OR': [['Q7335777', 'P17', {'concept': 'Q15617994'}], ['Q19330806', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q7335777 property:P17 ?u } UNION { resource:Q19330806 property:P17 ?u } } . ?u rdf:type ontology:Q15617994 }
Peru Israel
Peru and Israel are Ripán District or Netzer Hazani a part of
Peru Israel
action filter_type
action union
action find
entity Ripán District
relation country
action find
entity Netzer Hazani
relation country
type designation for an administrative territorial entity
{'OR': [['Ripán District', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Netzer Hazani', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Ripán_District property:country ?u } UNION { resource:Netzer_Hazani property:country ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q419 Q801
P530
Q1048835
USER
Who have diplomatic relationships with Peru and Israel ?
(Q419,P530,c(Q1048835)) (Q801,P530,c(Q1048835))
action union
action filter_type
action find
entity Q419
relation P530
type Q1048835
action filter_type
action find
entity Q801
relation P530
type Q1048835
['Q419', 'P530', {'concept': 'Q1048835'}] ['Q801', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { { resource:Q419 property:P530 ?z . ?z rdf:type ontology:Q1048835 } UNION { ?z rdf:type ontology:Q1048835 . resource:Q801 property:P530 ?z } }
Peru Israel
action union
action filter_type
action find
entity Peru
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Israel
relation diplomatic relation
type political territorial entity
['Peru', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Israel', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { { resource:Peru property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity } UNION { ?z rdf:type ontology:political_territorial_entity . resource:Israel property:diplomatic_relation ?z } }
[]
political territorial entity
Q183 Q183 Q408
SYSTEM
Australia for 3rd, Germany for 1st, 2nd
Q408 Q183 Q183 Q16 Q408
(Q419,P530,c(Q1048835)) (Q801,P530,c(Q1048835))
action union
action filter_type
action find
entity Q419
relation P530
type Q1048835
action filter_type
action find
entity Q801
relation P530
type Q1048835
[ANSWERS]
['Q419', 'P530', {'concept': 'Q1048835'}] ['Q801', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { { resource:Q419 property:P530 ?z . ?z rdf:type ontology:Q1048835 } UNION { ?z rdf:type ontology:Q1048835 . resource:Q801 property:P530 ?z } }
Australia Germany Germany Canada Australia
Germany, Germany and Australia have diplomatic relationships with Peru and Israel
Germany Germany Australia
action union
action filter_type
action find
entity Peru
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Israel
relation diplomatic relation
type political territorial entity
['Peru', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Israel', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { { resource:Peru property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity } UNION { ?z rdf:type ontology:political_territorial_entity . resource:Israel property:diplomatic_relation ?z } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q739
P194
Q1752346
USER
Which assembly is the legislative body for Colombia ?
(Q739,P194,c(Q1752346))
action filter_type
action find
entity Q739
relation P194
type Q1752346
['Q739', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?k WHERE { resource:Q739 property:P194 ?k . ?k rdf:type ontology:Q1752346 }
Colombia
action filter_type
action find
entity Colombia
relation legislative body
type assembly
['Colombia', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?k WHERE { resource:Colombia property:legislative_body ?k . ?k rdf:type ontology:assembly }
[]
assembly
Q1284236
SYSTEM
Congress of Colombia
Q1284236
(Q739,P194,c(Q1752346))
action filter_type
action find
entity Q739
relation P194
type Q1752346
Colombia [ANSWER] is the legislative body for Colombia
['Q739', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?k WHERE { resource:Q739 property:P194 ?k . ?k rdf:type ontology:Q1752346 }
Congress of Colombia
Colombia Congress of Colombia is the legislative body for Colombia
Congress of Colombia
action filter_type
action find
entity Colombia
relation legislative body
type assembly
['Colombia', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?k WHERE { resource:Colombia property:legislative_body ?k . ?k rdf:type ontology:assembly }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q739
P30
Q2221906
USER
Which geographic location is that administrative territory located in ?
(Q1284236,P30,c(Q2221906))
action filter_type
action find
entity Q739
relation P30
type Q2221906
['Q1284236', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q2221906 . resource:Q739 property:P30 ?e }
Colombia
action filter_type
action find
entity Colombia
relation continent
type geographic location
['Congress of Colombia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:geographic_location . resource:Colombia property:continent ?e }
[]
geographic location
Q18
SYSTEM
South America
Q18
(Q1284236,P30,c(Q2221906))
action filter_type
action find
entity Q739
relation P30
type Q2221906
That administrative territory is located in [ANSWER]
['Q1284236', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q2221906 . resource:Q739 property:P30 ?e }
South America
That administrative territory is located in South America
South America
action filter_type
action find
entity Colombia
relation continent
type geographic location
['Congress of Colombia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:geographic_location . resource:Colombia property:continent ?e }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P30
Q2221906 Q2221906 Q14524493
USER
How many geographic locations are more number of geographic locations or terrains a part of than that geographic location ?
(c(Q2221906)|c(Q14524493),P30,c(Q2221906))
action count
action greater
action union
action find_reverse_tuple_counts
relation P30
type Q2221906
type Q2221906
action find_reverse_tuple_counts
relation P30
type Q2221906
type Q14524493
action count
action filter_multi_types
action find_reverse
entity Q18
relation P30
type Q2221906
type Q14524493
[[{'concept': 'Q2221906'}, {'concept': 'Q14524493'}], 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?j ) WHERE { { ?f property:P30 ?t . ?t rdf:type ontology:Q2221906 . ?f rdf:type ontology:Q2221906 } UNION { ?t rdf:type ontology:Q2221906 . ?f rdf:type ontology:Q14524493 . ?f property:P30 ?t } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:P30 resource:Q18 . { { ?y rdf:type ontology:Q2221906 } UNION { ?y rdf:type ontology:Q14524493 } } } } . FILTER ( ?j > ?l ) }
action count
action greater
action union
action find_reverse_tuple_counts
relation continent
type geographic location
type geographic location
action find_reverse_tuple_counts
relation continent
type geographic location
type terrain
action count
action filter_multi_types
action find_reverse
entity South America
relation continent
type geographic location
type terrain
[[{'concept': 'geographic location'}, {'concept': 'terrain'}], 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?j ) WHERE { { ?f property:continent ?t . ?t rdf:type ontology:geographic_location . ?f rdf:type ontology:geographic_location } UNION { ?t rdf:type ontology:geographic_location . ?f rdf:type ontology:terrain . ?f property:continent ?t } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:continent resource:South_America . { { ?y rdf:type ontology:geographic_location } UNION { ?y rdf:type ontology:terrain } } } } . FILTER ( ?j > ?l ) }
[]
geographic location geographic location terrain
SYSTEM
6
Q51 Q46 Q828 Q48 Q49 Q15
(c(Q2221906)|c(Q14524493),P30,c(Q2221906))
action count
action greater
action union
action find_reverse_tuple_counts
relation P30
type Q2221906
type Q2221906
action find_reverse_tuple_counts
relation P30
type Q2221906
type Q14524493
action count
action filter_multi_types
action find_reverse
entity Q18
relation P30
type Q2221906
type Q14524493
[ANSWER]
[[{'concept': 'Q2221906'}, {'concept': 'Q14524493'}], 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?j ) WHERE { { ?f property:P30 ?t . ?t rdf:type ontology:Q2221906 . ?f rdf:type ontology:Q2221906 } UNION { ?t rdf:type ontology:Q2221906 . ?f rdf:type ontology:Q14524493 . ?f property:P30 ?t } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:P30 resource:Q18 . { { ?y rdf:type ontology:Q2221906 } UNION { ?y rdf:type ontology:Q14524493 } } } } . FILTER ( ?j > ?l ) }
Antarctica Europe Americas Asia North America Africa
6
action count
action greater
action union
action find_reverse_tuple_counts
relation continent
type geographic location
type geographic location
action find_reverse_tuple_counts
relation continent
type geographic location
type terrain
action count
action filter_multi_types
action find_reverse
entity South America
relation continent
type geographic location
type terrain
[[{'concept': 'geographic location'}, {'concept': 'terrain'}], 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?j ) WHERE { { ?f property:continent ?t . ?t rdf:type ontology:geographic_location . ?f rdf:type ontology:geographic_location } UNION { ?t rdf:type ontology:geographic_location . ?f rdf:type ontology:terrain . ?f property:continent ?t } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:continent resource:South_America . { { ?y rdf:type ontology:geographic_location } UNION { ?y rdf:type ontology:terrain } } } } . FILTER ( ?j > ?l ) }
[]