Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Add 'fragment' functionality for reusing parts of SPARQL #1

Open
kevinpeterson opened this issue May 20, 2013 · 0 comments
Open

Add 'fragment' functionality for reusing parts of SPARQL #1

kevinpeterson opened this issue May 20, 2013 · 0 comments
Assignees
Milestone

Comments

@kevinpeterson
Copy link
Collaborator

Need to be able to allow for SPARQL fragments to be identified and reused:

<select id="myID" resultMap="myResultMap">
       SELECT ?s ?prefLabel ?type
       WHERE {
       <![CDATA[
       ?s a foaf:Person.
       ?s a ?type.
    {#myFragment}
       ]]>
       }
   </select>
<select id="myFragment">
<![CDATA[
?s rdfs:label {#name}.  ]]>
       }
   </select>

I would envision this being implemented similar to MyBatis SQL Fragments

@ghost ghost assigned kevinpeterson May 20, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant