can anyone clear my doubt

4 views
Skip to first unread message

anu

unread,
Mar 14, 2011, 4:23:20 PM3/14/11
to skos-dev
I am actually developing a project in semantic search where I modeled
skos vocabularies in english and french in api ....but am unable to
fetch the data properties,.....am able to get only the object
relations....
Is there any separate code or retrieving the data relations from the
concept..
Can anyone suggest me the syntax of it..nd am even confused with the
mapping of the concept in both the languages......how do i map the
relations via api....

Simon Jupp

unread,
Mar 15, 2011, 8:20:50 AM3/15/11
to skos...@googlegroups.com, anu
Hello,

From any concept you should be able to get the Data property
assertions using getDataRelationAssertions(..) method.
From a SKOSDataRelationAssertion you can get the Literal value, and
check if it is typed or not. If it untyped,
then you can get the language tag.

It is similar for annotation properties.

Let me know if you are still having any problems.

Cheers
Simon

> --
> You received this message because you are subscribed to the Google Groups "skos-dev" group.
> To post to this group, send email to skos...@googlegroups.com.
> To unsubscribe from this group, send email to skos-dev+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/skos-dev?hl=en.
>
>

anu

unread,
Mar 20, 2011, 3:32:22 PM3/20/11
to skos-dev
Thank you...It did work
Reply all
Reply to author
Forward
0 new messages