Groups
Groups
Sign in
Groups
Groups
rdfQuery
Conversations
About
Send feedback
Help
Getting a predicate from an ID
9 views
Skip to first unread message
melvincarvalho
unread,
Aug 6, 2009, 6:14:34 AM
8/6/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rdfQuery
Quick question: I'm trying to systematically extract a fully
qualified (string) predicate from an RDFa ID.
$("#id").rdf().databank.triples()[0].property.value._string
Is this correct, or would you suggest a better way?
Jeni Tennison
unread,
Aug 6, 2009, 6:50:30 AM
8/6/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rdfq...@googlegroups.com
Use the toString() method, as is standard in Javascript, instead:
$('#id').rdf().databank.triples()[0].property.value.toString();
Jeni
--
Jeni Tennison
http://www.jenitennison.com
Reply all
Reply to author
Forward
0 new messages