Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluate geolocation terms in TD model (input from Profile TF) #941

Closed
sebastiankb opened this issue Aug 5, 2020 · 13 comments
Closed

Evaluate geolocation terms in TD model (input from Profile TF) #941

sebastiankb opened this issue Aug 5, 2020 · 13 comments
Labels
Geolocation Propose closing Problem will be closed shortly if there is no veto.

Comments

@sebastiankb
Copy link
Contributor

sebastiankb commented Aug 5, 2020

There are new vocabulary proposed in the latest Profile draft (also see w3c/wot-profile#17). Which should evaluate how those should be covered in the core model. Which should also clarify which existing ontologies can be re-used for this kind of vocabulary.

image

See for a justification why loc_altitude is problematic.

@sebastiankb
Copy link
Contributor Author

sebastiankb commented Aug 5, 2020

for the geo based terms (loc_latitude, loc_longitude, loc_altitude, loc_height, loc_depth) we should check GeoSPARQL https://www.ogc.org/standards/geosparql which seems also to be used by SSN.

@sebastiankb
Copy link
Contributor Author

here is another source https://www.w3.org/community/geosemweb/

@sebastiankb
Copy link
Contributor Author

another (prominent) ontology https://lov.linkeddata.es/dataset/lov/vocabs/geo

@sebastiankb
Copy link
Contributor Author

sebastiankb commented Aug 12, 2020

In today's TD call we discuss the option to define a geo container like geoLocation that embeds all geo-location based terms.

@sebastiankb sebastiankb changed the title Evaluate new terms in TD model (input from Profile TF) Evaluate geolocation terms in TD model (input from Profile TF) Aug 12, 2020
@benfrancis
Copy link
Member

benfrancis commented Aug 12, 2020

E.g.

{
  "@context": [
        "https://www.w3.org/2019/wot/td/v1",
        { "s": "http://schema.org" }
    ],
    "id": "urn:dev:ops:32473-WoTLamp-1234",
    "s:longitude": "40.75",
    "s:latitude": "73.98",
    "s:elevation": "15",
    "s:manufacturer": {"name": "Acme"},
    "title": "MyLampThing",
    ...
}

@egekorkan
Copy link
Contributor

I would also be for using the already existing vocabularies in schema.org

@takuki
Copy link
Contributor

takuki commented Aug 31, 2020

In Spatial Data on the Web Best Practices (2017), there is a Best Practice provided for "State how coordinate values are encoded" (Best Practice 8).

It uses both Basic Geo (WGS84 lat/long) Vocabulary and Schema.org.
It is also noted the definitions provided in schema.org do not indicate the unit of measure, as of 2017 at least.

@sebastiankb
Copy link
Contributor Author

From today's TD call:

  • for next draft it is recommended to provide examples how geo-based data can be integrated in TDs (e.g., based from schema.org)
  • there should be examples at top level and also within interaction level like in a property
  • it should be also explain that different ontologies can be used based on the use cases
  • @sebastiankb will provide a PR

@sebastiankb sebastiankb added the Propose closing Problem will be closed shortly if there is no veto. label Nov 19, 2020
@egekorkan egekorkan added the New Term when a new term is asked for in the TD vocabulary label Nov 25, 2020
@mmccool
Copy link
Contributor

mmccool commented Nov 26, 2020

Don't think we should close this until we discuss with SDWIG and OCG, maybe write up an example (and include in the TD spec?). I've labelled this issue so it shows up in the joint meeting planned for Dec 10 (see w3c/wot#939).

@sebastiankb sebastiankb removed the Propose closing Problem will be closed shortly if there is no veto. label Jan 13, 2021
@egekorkan egekorkan added V1.1 should be resolved in v1.1 and removed New Term when a new term is asked for in the TD vocabulary labels Oct 26, 2021
@sebastiankb
Copy link
Contributor Author

@mmccool I think this issue can be closed. We have introduced a new section about geolocation semantics here https://w3c.github.io/wot-thing-description/#semantic-annotations-example-geoloc

@sebastiankb sebastiankb removed the V1.1 should be resolved in v1.1 label Nov 2, 2021
@sebastiankb sebastiankb added the Propose closing Problem will be closed shortly if there is no veto. label Nov 15, 2021
@mlagally
Copy link
Contributor

mlagally commented Dec 1, 2021

@sebastiankb
I reviewed the example and did not see an encoding of the altitude / elevation, height and depth, that were in the profile.
I believe we have a gap between the required representations of geolocation data and the current example.
I'm reopening the issue.

@mlagally mlagally reopened this Dec 1, 2021
@egekorkan
Copy link
Contributor

Altitude can be simply added. What is meant by height and depth? Do you mean the size of the object? We have the following:
https://schema.org/height and https://schema.org/depth

@mlagally
Copy link
Contributor

mlagally commented Dec 6, 2021

Thanks @EGE for the pointers.

Height and depth are object dimensions, used for example for geofencing.
They could be used from schema.org, we also should include width.

Altitude is the height above seal level, normal null, or some other 0 reference point.
We have to carefully chose the reference level (E.g.: there are different reference sea levels of the atlantic and mediterranean) to make the system work globally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Geolocation Propose closing Problem will be closed shortly if there is no veto.
Projects
None yet
Development

No branches or pull requests

6 participants