NIHVIVO-3303 display of external concepts and/or the defining vocabulary associated with a concept

This commit is contained in:
stellamit 2011-11-10 21:19:19 +00:00
parent 337249e90c
commit cf2e90a9ad
2 changed files with 27 additions and 2 deletions

View file

@ -0,0 +1,25 @@
<rdf:RDF
xmlns:geo="http://aims.fao.org/aos/geopolitical.owl#"
xmlns:skco="http://www.w3.org/2004/02/skos/core#"
xmlns:event="http://purl.org/NET/c4dm/event.owl#"
xmlns:pvs="http://vivoweb.org/ontology/provenance-support#"
xmlns:dcelem="http://purl.org/dc/elements/1.1/"
xmlns:owl2="http://www.w3.org/2006/12/owl2-xml#"
xmlns:scirr="http://vivoweb.org/ontology/scientific-research-resource#"
xmlns:vivo="http://vivoweb.org/ontology/core#"
xmlns:vann="http://purl.org/vocab/vann/"
xmlns:vitro="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#"
xmlns:skos="http://www.w3.org/2008/05/skos#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:afn="http://jena.hpl.hp.com/ARQ/function#"
xmlns:bibo="http://purl.org/ontology/bibo/"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:swvs="http://www.w3.org/2003/06/sw-vocab-status/ns#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" >
<rdf:Description rdf:about="http://www.w3.org/2000/01/rdf-schema#isDefinedBy">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/>
</rdf:Description>
</rdf:RDF>

View file

@ -12,8 +12,8 @@
next statement -->
<#macro showConcept statement>
<#if statement.vocabularySourceName??>
<a href="${statement.concept}">${statement.conceptLabel!statement.conceptName}</a> (<a href="${statement.vocabularySource}">${statement.vocabularySourceName}</a>)
<a href="${profileUrl(statement.concept)}">${statement.conceptLabel!statement.conceptName}</a> (${statement.vocabularySourceName})
<#else>
<a href="${statement.concept}">${statement.conceptLabel!statement.conceptName}</a>
<a href="${profileUrl(statement.concept)}">${statement.conceptLabel!statement.conceptName}</a>
</#if>
</#macro>