Hi all,

I just created an output strategy and found two different ways to do so.

Either I use

.outputStrategy(

   OutputStrategies.append(

       PrimitivePropertyBuilder

           .create(Datatypes.String, "trajectory-wkt")

           
.domainProperty("http://www.opengis.net/ont/geosparql#Geometry";<http://www.opengis.net/ont/geosparql#Geometry>)

           .build())

)


or





.outputStrategy(OutputStrategies.append(

   EpProperties.stringEp(

       Labels.withId(WKT),

       "trajectory-wkt",

       
"http://www.opengis.net/ont/geosparql#Geometry";<http://www.opengis.net/ont/geosparql#Geometry>)

   )

)



What is the different between this 2 ways and which one should be preferred?

Greetings

Florian


Disy Informationssysteme GmbH
Florian Micklich
Lösungsentwickler
+49 721 16006 477,  [email protected]

Firmensitz: Ludwig-Erhard-Allee 6, 76131 Karlsruhe
Registergericht: Amtsgericht Mannheim, HRB 107964
Geschäftsführer: Claus Hofmann

Bitte beachten Sie folgende Informationen für Kunden, Lieferanten und Bewerber
- Datenschutz: www.disy.net/datenschutz
- Informationspflichten:  www.disy.net/informationspflichten

Reply via email to