View unanswered posts | View active topics It is currently Fri Dec 06, 2019 7:44 am



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.

Regards,
Hans


Mon Sep 24, 2012 6:24 am
Profile

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:
Code:
http://www.iringsandbox.org/repositories/SandboxPt8/query


Query:

Code:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT *
WHERE
 {?uri rdf:type <http://dm.rdlfacade.org/data#ClassOfEvent>}
 LIMIT 1000


Query:

Code:
SELECT *
WHERE
 {<http://tpl.rdlfacade.org/data#R98830569416> ?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 http://jord-dev.org/endpoint/ , the last of Query List, looking for R-number

Code:
PREFIX RDL: <http://jord-dev.org/rdl/>
PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#>
 SELECT * {
   GRAPH <http://irm.dnv.com/ontologies/iring.map> {
     ?R RDL:rdsWipEquivalent ?RDS .
     FILTER (afn:localname(?R)= "R6565765")
   }
 }


Only part of triple server is searched, graph http://irm.dnv.com/ontologies/iring.map with bridge from R to RDS numbers.

3. Complete separation. That's what we know well:

http://posccaesar.org/endpoint/sparql - only proper Part 2 instances.

Code:
http://www.iringsandbox.org/repositories/tempInitSet/query
- 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.