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

197 common modeling questions #201

Draft
wants to merge 38 commits into
base: gh-pages
Choose a base branch
from

Conversation

dr-shorthair
Copy link
Collaborator

Streamlined Common Modeling Questions section with TTL and JSON-LD examples.
The patterns for location and unit-of-measure are now more prescriptive.

Preview here: https://raw.githack.com/w3c/sdw-sosa-ssn/197-common-modeling-questions/ssn/index.html#common-modeling-questions

@dr-shorthair dr-shorthair linked an issue Mar 7, 2024 that may be closed by this pull request
@KathiSchleidt
Copy link
Contributor

Are the @ in the hasSimpleResult attributes correct in ssn/examples/2024ex-uomtype.jsonld?

    "hasSimpleResult": {
        "@type": "http://qudt.org/vocab/unit/DEG_C",
        "@value": "19.9"
    }

@hylkevds
Copy link
Collaborator

The thing that bothers me about this example is that the number is encoded as a String. Which means the reader can't be sure the writer used decimal point or comma...
Is there a way around this?

@KathiSchleidt
Copy link
Contributor

In SOSA we only have phenomenonTime and resultTime, in OMS we also have validTime. Under 8.4 Forecasts I read "A forecast may be represented as an observation where the value of sosa:phenomenonTime is later in time than the sosa:resultTime."

Do we leave this inconsistency, try to explain it, align it...?

@KathiSchleidt
Copy link
Contributor

We need to clarify is sosa:System also gets a sosa:SystemOfInterest (parallel to sosa:Property and sosa:PropertyOfInterest), see #107 before we can finalize section 8.6 Generic or Specific Instances of sosa:System

Except for the bits listed here, looks good to go

@dr-shorthair
Copy link
Collaborator Author

dr-shorthair commented Mar 19, 2024

In SOSA we only have phenomenonTime and resultTime, in OMS we also have validTime. Under 8.4 Forecasts I read "A forecast may be represented as an observation where the value of sosa:phenomenonTime is later in time than the sosa:resultTime."

Do we leave this inconsistency, try to explain it, align it...?

I don't see the inconsistency. validTime might be a useful addition, but the explanation of times for a forecast is correct with just "sosa:phenomenonTime is later than sosa:resultTime".

@dr-shorthair
Copy link
Collaborator Author

The thing that bothers me about this example is that the number is encoded as a String. Which means the reader can't be sure the writer used decimal point or comma... Is there a way around this?

Yes, I believe that in RDF any literal that is not typed as a number is a string.
If http://qudt.org/vocab/unit/DEG_C was asserted to be a sub-class of xsd:decimal then perhaps it would be OK?

In the JSON encoding if the quotes are dropped from "19.9" does that make it a number?

@dr-shorthair
Copy link
Collaborator Author

We need to clarify is sosa:System also gets a sosa:SystemOfInterest (parallel to sosa:Property and sosa:PropertyOfInterest), see #107 before we can finalize section 8.6 Generic or Specific Instances of sosa:System

The conversation seems to be converging. See #209

@hylkevds
Copy link
Collaborator

In the JSON encoding if the quotes are dropped from "19.9" does that make it a number?

Yes, without the quotes it's a proper number.

# Conflicts:
#	ssn/chapters/Patterns.html
#	ssn/examples/2023ex1.ttl
#	ssn/index.html
#	ssn/rdf/examples/2017ex-uomobject.jsonld
#	ssn/rdf/examples/2017ex-uomobject.ttl
#	ssn/rdf/examples/2017ex1.ttl
#	ssn/rdf/examples/2023ex-location.jsonld
#	ssn/rdf/examples/2023ex-location.ttl
#	ssn/rdf/examples/2023ex1.ttl
#	ssn/rdf/examples/2024ex-forecast.jsonld
#	ssn/rdf/examples/2024ex-forecast.ttl
#	ssn/rdf/examples/2024ex-uomtype.jsonld
#	ssn/rdf/examples/2024ex-uomtype.ttl
@dr-shorthair dr-shorthair marked this pull request as draft May 2, 2024 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Common modeling questions
4 participants