Skip to content

Neptune RDF graph construct

0

I am querying data using Sparql in AWS Neptune. I want to see outputs in graph form I have tried with construct query in Sparql but construct query taking longer time as compare to select query. Is there any other way to see graph in Neptune RDF format. or what is the reason behind construct taking longer time .As Neptune does not support explain keyword for construct query we can use explain keyword in select query only so how we can see how construct keyword is working.

asked 3 years ago481 views

1 Answer
1
Accepted Answer

A CONSTRUCT query is the correct and common approach for querying for RDF as a response type. If you post your query here we can try to suggest optimisations.

It is entirely possible that a similar query using SELECT would be faster, in certain circumstances, and vice-versa.

If the CONSTRUCT query cannot be optimised to satisfaction, the only other option is to use SELECT queries, and reconstruct the response as RDF in memory, in your application logic.

answered 3 years ago

EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.