path queries in sparql

0

DISTINCT PATHS #from urn:stardog:tutorials:paths:1.0:paths-tutorial-data    START ?x {        ?x a dm:Investor ;           dm:name "Wake Finance" .        ?x rdfs:label ?name .    }    END ?y {        ?y rdfs:label "Bob Sawyer" .        ?y rdfs:label ?namey .    }    VIA {        {?x ?p ?y} UNION {?y ?p ?x}        ?p rdfs:label ?title .    } can this query work in aws Neptune using sparql magic command.

preguntada hace 8 meses194 visualizaciones
1 Respuesta
1
Respuesta aceptada

Neptune supports SPARQL via the SPARQL 1.1 w3c specification. As noted here: https://docs.aws.amazon.com/neptune/latest/userguide/feature-sparql-compliance.html

What you're referring to above is not part of the SPARQL 1.1 specification and is something custom within Stardog: https://www.stardog.com/blog/a-path-of-our-own/

Path finding queries are generally easier to express in the Property Graph query languages (Gremlin and openCypher):

If you're use case's primary function requires path finding, then we generally recommend to use Neptune to host a Property Graph instead of an RDF graph.

profile pictureAWS
respondido hace 8 meses
profile picture
EXPERTO
revisado hace un mes
  • Thankyou for providing information.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas