View unanswered posts | View active topics It is currently Wed Jan 29, 2020 8:04 pm

Reply to topic  [ 3 posts ] 
 Template and RD endpoint separation 
Author Message

Joined: Mon Feb 27, 2012 11:01 pm
Posts: 282
Location: Moscow, Russia
I feel it necessary to discuss the best practices of separation between template definitions and reference data proper in an endpoint.

There are three options available:

- No separation at all, complex SPARQL queries can extract data based on type declarations.

- Separate graphs at one query interface URL.

- Separate query interfaces.

It seems that majority of existing open sandboxes contain parts of template definitions together with reference data, but I do not know whether these are remains of some experiments, or some people think it is a proper practice.

Personally I'd prefer to see complete separation with template definitions at their own query interface, like it is done for the main iRING sandbox.

Sat Sep 22, 2012 6:47 pm
Profile WWW

Joined: Sun Jan 22, 2012 10:02 pm
Posts: 283
Hi Victor,

Could you give me some simple examples of the three options?
That would help me understand it.


Mon Sep 24, 2012 6:24 am

Joined: Mon Feb 27, 2012 11:01 pm
Posts: 282
Location: Moscow, Russia
Sorry, I wasn't notified of your reply in time somehow.

1. No separation at all:

Look at one of sandboxes:


PREFIX rdf: <>
 {?uri rdf:type <>}
 LIMIT 1000


 {<> ?p ?o}
ORDER BY ?label
 LIMIT 1000

Everything goes together - part 2 type instances, template roles. Some reasoning on client's side required.

2. Separate graphs:

Look at , the last of Query List, looking for R-number

PREFIX afn: <>
   GRAPH <> {
     ?R RDL:rdsWipEquivalent ?RDS .
     FILTER (afn:localname(?R)= "R6565765")

Only part of triple server is searched, graph with bridge from R to RDS numbers.

3. Complete separation. That's what we know well: - only proper Part 2 instances.

- only templates

Thu Sep 27, 2012 9:23 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
eXTReMe Tracker
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.