Message Boards Message Boards

8
|
9223 Views
|
3 Replies
|
11 Total Likes
View groups...
Share
Share this post:

GeoWithinQ Challenge: A is in B and B is in A.

Posted 10 years ago

I'm teaching myself new features of Mathematica 10 by playing with examples.

Here is an amusing case.

There is a California in Columbia:

GeoWithinQ[
 Entity["Country", "Colombia"],
 Entity["City", {"California", "Santander", "Colombia"}]
 ]

And, there is a Columbia in California:

GeoWithinQ[
 Entity["AdministrativeDivision", {"California", "UnitedStates"}], 
 Entity["City", {"Columbia", "California", "UnitedStates"}]
 ]

Can anyone find similar cases where (semantically) A is a proper subset of B and B is a proper subset of A?

POSTED BY: W. Craig Carter
3 Replies
POSTED BY: W. Craig Carter
POSTED BY: Bianca Eifert
Posted 10 years ago

Considering "Columbia" & "Colombia" equivalent? :) Unless we want to consider more of such equivalencies, I didn't find any other.

POSTED BY: Arash Mahdian
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract