Simple question, is there an accepted standard symbol for an "is a" relationship? I know in math there are the ⊆ - subset, ⊂ - proper subset, ∈ - element of symbols, do I just use one of those or is there a more code specific one to use?
This came up while trying to respond to a statement written as sedan === car
and I wondered what a better symbol to use for the ===
was.
As far as I understand, you are looking for something like intensional membership symbol. You don't want to use traditional set-theory "∈" due to its extensional nature.
Right, set-theory "∈" (as well as the set theory itself) is extensional due to these axioms:
In set theory jargon, one might write something like this:
my_sedan ∈ Cars, or
my_sedan ∈ {x : Car(x)}, or
Car(my_sedan).
There is not accepted standard symbol for "intensional membership". You can try:
my_sedan : Car — in a type theory manner;
my_sedan a Car — as in RDF 1.1 Turtle Syntax;
my_sedan cop. Car.