The Knowledge Graph Conference Icon
The Knowledge Graph Conference
  • 馃彔Home
  • 馃搮Events
  • 馃懁Members
  • 馃數Announcements
  • 馃數Ask
  • 馃數Ask The Ontologists
  • 馃數Events
  • 馃數Jobs
  • 馃數Promotions
  • 馃數Share
Powered by Tightknit
Ask
Ask

Enforcing Unique Triples in RDF for sdo:Corporation Instances

Avatar of nabeelnabeel
路Jan 26, 2022 02:14 PM

If I want to enforce rules in RDF like this class can only have 1 triple with a certain predicate. For example, a URI that is rdf:type of sdo:Corporation can only have 1 name. I remember reading that is possible but can鈥檛 seem to find how to enforce that.

4 comments

路 Sorted by Oldest
  • Avatar of Fran莽ois S.
    Fran莽ois S.
    路

    SHACL is your friend

    馃挴4
  • Avatar of Dimitris K.
    Dimitris K.
    路

    you can also look here for more details: https://book.validatingrdf.com/

    馃憤2
    馃檹1
    馃憢1
  • Avatar of nabeel
    nabeel
    路

    Thanks for tips here!

  • Avatar of Pete R.
    Pete R.
    路

    if you're using OWL you can also specify that it's a owl:FunctionalProperty.