Skip to content
[email protected] edited this page Jul 28, 2017 · 2 revisions

OpinML is a species of RDF.

Here's a sample in N3 format:

@prefix rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# . @prefix rdfs: http://www.w3.org/2000/01/rdf-schema# . @prefix owl: http://www.w3.org/2002/07/owl# .

@prefix opinneg: http://opinml.org/2013/01/opinML/opinions/negative# . @prefix opin: http://opinml.org/2013/01/opinML/util# . @prefix : http://warflagger.net/sample/sample.n3# . @prefix foaf: http://xmlns.com/foaf/0.1/ .

mailto:[email protected] opin:opinion :osn-12345 . :osn-12345 opin:target http://asdf.com/whatisasdf.html ; opin:excerpt "asdf is a four letter word." ; opin:flag opinneg:Disagree ; opin:votevalue -1 ; opin:datestamp "2013-09-03 12:50:23.077589" ; opin:comment "asdf is not a word" .

The first two blocks above are header. The actual opinion starts with the mailto in the third block. OpinML files can contain multiple opinions.

Clone this wiki locally