w3c / rdf-star

RDF-star specification
https://w3c.github.io/rdf-star/
Other
118 stars 23 forks source link

How can a data property be restricted to apply only to a specific type of statement? #284

Open strawberrylunar opened 6 months ago

strawberrylunar commented 6 months ago

For example, how would I assign a 'startedTime' property exclusively to all triples where the predicate is 'married'?" How to define "startedTime" in this case?

TallTed commented 6 months ago

ex:Person ex:age ex:Literal is a poor choice, as it will be accurate (or "certain") for at most one year.

strawberrylunar commented 6 months ago

ex:Person ex:age ex:Literal is a poor choice, as it will be accurate (or "certain") for at most one year.

Yes, I admit it, that's why I'm looking for a right answer. I would appreciate it if you can help me !