-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VG RDF uses local non standard URIs for its own concepts #109
Comments
I think this is a good start. We will also need to represent entities and
|
@ekg Something like this So instead of having a
We can then also split the This makes the query example a bit more complicated. PREFIX :<http://base/> PREFIX rdf:<ttp://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?path (group_concat(?sequence; separator='') as ?pathSeq)
WHERE
{?step :path ?path;
:node ?node ;
{
:stepOnForward ?order.
?node rdf:value ?sequence
} UNION {
:stepOnReverse ?order.
?node rdf:value ?toComplement
BIND(dna:reverseComplementOf(?toComplement) AS ?sequence)
}
}
GROUP BY ?path
ORDER BY ?order" The |
…concepts. For now I put them in the biohackathon.org namespace, but this needs to be discussed with all stakeholders.
#109 Start with making public stable URIs for the VG graph RDF concepts
I'm going to say that #217 fixed this. This can be re-opened if we want to further improve our URLs. |
We should mint URIs for the concept of a node in the graph, path, step in path, and before.
i.e. a mini ontology for the following concepts.
Something like this
The following rdfs classes are present in the data (can be left implicit via an RDFS construct as they are not that interesting or needed for likely queries).
A
:Node
in a Variation Graph is a resource that represents a stretch of continuous DNA. They have an identity in the graph, as well as an associated IUPAC representation of the DNA molecule.A
:Path
in the Variation Graph links nodes in the graph into an order (via steps) that represents a linear DNA sequence as found in a single person/assembly.A
:Step
belongs to a single:Path
and is ordered by the:step
predicates value.The RDF presentation depends on the following predicates
:before
is used to link:Node
s together in the directed graph flowing in the general 5' to 3' direction of the consensus assembly. rdfs domain and range are:Node
:step
has as domain the:Step
type and as a rangexsd:positiveInteger
for each:Path
a step has an unique value.:node
links a:Step
in a:Path
to the specific:Node
. has as domain:Step
and range:Node
The text was updated successfully, but these errors were encountered: