Difference between revisions of "CTS2 RDF Plugin"

From NCBO Wiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
=== Known Issues ===
 
=== Known Issues ===
 +
* Unbound predicate queries are expensive to execute on the triple store, and CTS2 requires all Properties of a given subject to be displayed. This will cause all CTS2 Read services to have a delay in returning results.
 +
 
* URI Mismatch: Certain portions of the RDF Plugin utilize the NCBO REST service for searching. Sometimes, the URIs returned by the NCBO REST service are not identical to those int the triple store. This will manifest on Entity Read by Name queries.
 
* URI Mismatch: Certain portions of the RDF Plugin utilize the NCBO REST service for searching. Sometimes, the URIs returned by the NCBO REST service are not identical to those int the triple store. This will manifest on Entity Read by Name queries.
 +
 +
* URIs for Entities in Views: Some Entities in Views have different URIs then the resource in the actual code system. For instance
 +
 +
{{Bio_RDF_Base}}/valueset/SNOMED-ETHNIC-GROUP/definition/SNOMED-ETHNIC-GROUP-43057/resolution/43057
 +
 +
refers to a SNOMEDCT Entity, but Entities have URIs starting with:
 +
 +
<code>
 +
<nowiki>
 +
http://purl.bioontology.org/ontology/SNOMED-Ethnic-Group#
 +
</nowiki>
 +
</code>
 +
 
* Jena Local Name Parsing: Jena is used in the background for parsing the returned RDF.  
 
* Jena Local Name Parsing: Jena is used in the background for parsing the returned RDF.  
  
Given a URI like <code><nowiki>http://purl.bioontology.org/ontology/RCD/7K6Ax</nowiki></code>
 
 
Jena will parse the "local part" of this URI as 'K6Ax' (notice the missing '7'). This may be a Jena bug. The only known example is:
 
{{CTS2_RDF_base}}/codesystem/RCD/version/RCD-42295/entity/RCD:7K6Ax
 
Notice how the 'name' part and the local part of the 'about' are out of sync.
 
 
* All Read Services are executed by a SPARQL query similar to:
 
* All Read Services are executed by a SPARQL query similar to:
  
Line 17: Line 27:
 
</nowiki>
 
</nowiki>
 
</code>
 
</code>
 
* Unbound predicate queries are expensive to execute on the triple store, and CTS2 requires all Properties of a given subject to be displayed. This will cause all CTS2 Read services to have a delay in returning results.
 
  
 
=== CodeSystemCatalogQuery ===
 
=== CodeSystemCatalogQuery ===

Revision as of 11:40, 8 June 2012

CTS2 REST Services

Known Issues

  • Unbound predicate queries are expensive to execute on the triple store, and CTS2 requires all Properties of a given subject to be displayed. This will cause all CTS2 Read services to have a delay in returning results.
  • URI Mismatch: Certain portions of the RDF Plugin utilize the NCBO REST service for searching. Sometimes, the URIs returned by the NCBO REST service are not identical to those int the triple store. This will manifest on Entity Read by Name queries.
  • URIs for Entities in Views: Some Entities in Views have different URIs then the resource in the actual code system. For instance

Template:Bio RDF Base/valueset/SNOMED-ETHNIC-GROUP/definition/SNOMED-ETHNIC-GROUP-43057/resolution/43057

refers to a SNOMEDCT Entity, but Entities have URIs starting with:

http://purl.bioontology.org/ontology/SNOMED-Ethnic-Group#

  • Jena Local Name Parsing: Jena is used in the background for parsing the returned RDF.
  • All Read Services are executed by a SPARQL query similar to:

<http://some/uri...> ?p ?o

CodeSystemCatalogQuery

CodeSystemCatalogRead

CodeSystemCatalogVersionQuery

CodeSystemVersionCatalogRead

EntityDescriptionQuery

EntityDescriptionRead

ValueSetCatalogQuery

ValueSetCatalogRead


ResolvedValueSetQuery

AssociationQuery