I have a Type Org defined as:
type Org {
org_id
name
address
city
state
postal_code
country
geo_location
}
org_id: string @index(term) .
name: string @index(term) .
address: string @index(term) .
city: string @index(term) .
state: string @index(term) .
postal_code: string @index(term) .
country: string @index(term) .
geo_location: geo .
The geo_location field is intended to be a Point. I’ve come across JSON mutation/insert examples, but how do I go about specifying the geo_location Point coordinates using RDF triplet format?
I’ve tried multiple variations on the following but haven’t had any success:
{
set {
_:b78324eb-9fa8-4f8c-9510-9fbc7ee17ffz <org_id> "b78324eb-9fa8-4f8c-9510-9fbc7ee17ffz" .
_:b78324eb-9fa8-4f8c-9510-9fbc7ee17ffz <dgraph.type> "Org" .
_:b78324eb-9fa8-4f8c-9510-9fbc7ee17ffz <name> "Giants" .
_:b78324eb-9fa8-4f8c-9510-9fbc7ee17ffz <address> "24 Willie Mays Plaza" .
_:b78324eb-9fa8-4f8c-9510-9fbc7ee17ffz <city> "San Francisco" .
_:b78324eb-9fa8-4f8c-9510-9fbc7ee17ffz <state> "CA" .
_:b78324eb-9fa8-4f8c-9510-9fbc7ee17ffz <postal_code> "94017" .
_:b78324eb-9fa8-4f8c-9510-9fbc7ee17ffz <country> "USA" .
_:b78324eb-9fa8-4f8c-9510-9fbc7ee17ffz <geo_location> (37.77876,-122.38923) .
}
}
Thanks in advance!