All Downloads are FREE. Search and download functionalities are using the official Maven repository.

config.shapes.shapes.trig Maven / Gradle / Ivy

There is a newer version: 0.4.33
Show newest version
@prefix sh:  .
@prefix rdf:  .
@prefix owl:  .
@prefix dws:  .
@prefix xsd:  .
@prefix schema:  .
@prefix beer:  .
@prefix beer_def:  .
@prefix beer_sh:  .
@prefix beer_id:  .
@prefix ogc:  .

 {
  beer_sh:Identifiable a sh:NodeShape ;
    sh:name "Identifiable" ;
    sh:property
      beer_sh:Identifier ,
      beer_sh:Name
  .
  beer_sh:Identifier a sh:PropertyShape ;
    sh:name "identifier" ;
    sh:path beer_def:identifier ;
    sh:minCount 1 ;
    sh:maxCount 1 ;
    sh:nodeKind sh:Literal ;
    sh:datatype xsd:string
  .
   beer_sh:Name a sh:PropertyShape ;
     sh:name "name" ;
     sh:path schema:name ;
     sh:minCount 1 ;
     sh:maxCount 1 ;
     sh:nodeKind sh:Literal ;
     sh:datatype xsd:string
   .
  beer_sh:Brewery a sh:NodeShape ;
    sh:name "Brewery";
    sh:class beer_def:Brewery ;
    dws:inherits beer_sh:Identifiable ;
    sh:property
      beer_sh:Brewery_postalAddress ,
      beer_sh:Brewery_visitAddress ,
      beer_sh:Brewery_beers ,
      beer_sh:Brewery_geometry ;
  .

  beer_sh:Beer a sh:NodeShape ;
    sh:name "Beer";
    sh:or (
      [ sh:class beer_def:Beer ]
      [ sh:class beer_def:Beverage ]
    ) ;
    dws:inherits beer_sh:Identifiable ;
    sh:property
      beer_sh:abv,
      beer_sh:Beer_brewery ;
 .

 beer_sh:abv a sh:PropertyShape ;
   sh:name "abv" ;
   sh:path beer_def:abv ;
   sh:maxCount 1 ;
   sh:nodeKind sh:Literal ;
   sh:datatype xsd:float
 .

  beer_sh:Beer_brewery a sh:PropertyShape ;
   sh:name "brewery" ;
   sh:path beer_def:brewery ;
   sh:minCount 1 ;
   sh:maxCount 1 ;
   sh:nodeKind sh:IRI ;
   sh:node beer_sh:Brewery
 .

 beer_sh:Brewery_beers a sh:PropertyShape ;
     sh:name "beers" ;
     sh:path [ sh:inversePath beer_def:brewery ] ;
     sh:node beer_sh:Beer
  .

 beer_sh:Brewery_geometry a sh:PropertyShape ;
   sh:path ogc:asWKT ;
   sh:name "geometry" ;
   sh:minCount 0 ;
   sh:maxCount 1 ;
   sh:nodeKind sh:Literal ;
   sh:datatype ogc:wktLiteral
 .

 beer_sh:Brewery_postalAddress a sh:PropertyShape ;
   sh:name "postalAddress" ;
   sh:path schema:postalAddress ;
   sh:maxCount 1 ;
   sh:node beer_sh:Address
 .

  beer_sh:Brewery_visitAddress a sh:PropertyShape ;
   sh:name "visitAddress" ;
   sh:path schema:visitAddress ;
   sh:maxCount 1 ;
   sh:node beer_sh:Address
 .

 beer_sh:Address a sh:NodeShape ;
   sh:name "Address" ;
   sh:class beer_def:Address ;
   sh:property
     beer_sh:Identifier ,
     beer_sh:Address_street ,
     beer_sh:Address_city
 .

  beer_sh:Address_street a sh:PropertyShape ;
    sh:name "street" ;
    sh:path schema:street ;
    sh:maxCount 1 ;
    sh:nodeKind sh:Literal ;
    sh:datatype xsd:string
  .

  beer_sh:Address_city a sh:PropertyShape ;
    sh:name "city" ;
    sh:path schema:city ;
    sh:maxCount 1 ;
    sh:nodeKind sh:Literal ;
    sh:datatype xsd:string
  .
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy