--
You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include the TopBraid Suite family of products and its base technologies such as SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to topbrai...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Sure, thanks!
The Magic Property:
SELECT ?code
WHERE {
?arg1 ?rel_relation ?concept .
?rel_relation (rdfs:subPropertyOf)* content_asset_schema:relevancy_based_relation .
?concept ?has_code ?code .
?concept rdf:type/(rdfs:subClassOf)* concept_schema:HwcvConcept .
?has_code rdfs:subPropertyOf concept_schema:code_match .
}
The output from the Sparql query
SELECT DISTINCT ?result ?label
WHERE {
{
?result hw-magic-props:has_code <http://metadata.healthwise.org/umls/icd9cm_data#441.4> .
?result a ?type .
FILTER (?type IN (content_asset_schema:Care_Support, content_asset_schema:Decision_Point, content_asset_schema:Definition, content_asset_schema:Document, content_asset_schema:KB, content_asset_schema:MM_Doc, content_asset_schema:PI)) .
} .
BIND (ui:label(?result) AS ?label) .
}
ORDER BY (LCASE(?label))
-Adam
Sure, thanks!
The Magic Property:
SELECT ?code
WHERE {
?arg1 ?rel_relation ?concept .
?rel_relation (rdfs:subPropertyOf)* content_asset_schema:relevancy_based_relation .
?concept ?has_code ?code .
?concept rdf:type/(rdfs:subClassOf)* concept_schema:HwcvConcept .
?has_code rdfs:subPropertyOf concept_schema:code_match .
}
?arg1 ?rel_relation ?concept .
?rel_relation (rdfs:subPropertyOf)* content_asset_schema:relevancy_based_relation .
?has_code rdfs:subPropertyOf concept_schema:code_match .
Indeed, that led to a result in very little time. Thanks. What do we need to do to improve it from here?
-Adam