Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nif:opinion vs marl:extractedFrom #1

Open
VladimirAlexiev opened this issue May 20, 2014 · 3 comments
Open

nif:opinion vs marl:extractedFrom #1

VladimirAlexiev opened this issue May 20, 2014 · 3 comments
Milestone

Comments

@VladimirAlexiev
Copy link

NIF integrates MARL using property nif:opinion from nif:String to marl:Opinion.
But that's declared inverseOf marl:extractedFrom, which in the MARL example points to sioc:Post (not the nif:String content of the post).
So something doesn't mesh here. We could mix sioc and nif properties on the comment URL, but then nif:sourceUrl points to itself...

See details in attachment

@VladimirAlexiev
Copy link
Author

@base <http://example.com/blog/1/>

# assume theres's a blog post at the base URL, and some comments about it
<> a sioc:Post
  sioc:content "Germany is the work horse of the European Union".
<comment/1> a sioc:Post; # sic: there's no sioc:Comment, they are simply a sort of sioc:Post
  sioc:reply_of <>;
  sioc:has_creator <http://example.com/users/Hans>;
  sioc:content "Yes, we Germans are the hardest-working people in the world".
<comment/2> a sioc:Post;
  sioc:reply_of <>;
  sioc:has_creator <http://example.com/users/Dimitrios>;
  sioc:content "Bullshit! We Greeks are harder-working".

# The MARL example http://marl.gi2mo.org/0.2/ns.html#s32 represents the opinions like this:
<opinion/1> a marl:Opinion;
  marl:extractedFrom <comment/1>;
  marl:describesObject <>;
  marl:opinionText "Yes";
  marl:polarityValue 0.9;
  marl:minPolarityValue -1;
  marl:maxPolarityValue 1;
  marl:hasPolarity marl:Positive.
<opinion/2> a marl:Opinion;
  marl:extractedFrom <comment/2>;
  marl:describesObject <>;
  marl:opinionText "Bullshit!";
  marl:polarityValue -1;
  marl:minPolarityValue -1;
  marl:maxPolarityValue 1;
  marl:hasPolarity marl:Negative.

# NIF integrates MARL using property nif:opinion from nif:String to marl:Opinion.
# But that's declared inverseOf marl:extractedFrom, which in the MARL example points to sioc:Post (not the nif:String content of the post).
# So something doesn't mesh here. We could mix sioc and nif properties on <comment/1>, but nif:sourceUrl points to itself...
<comment/1> a nif:Context; 
  nif:sourceUrl <comment/1>;
  nif:isString "Yes, we Germans are the hardest-working people in the world";
  nif:opinion <opinion/1>.
<comment/2> a nif:Context;
  nif:sourceUrl <comment/2>;
  nif:isString "Bullshit! We Greeks are harder-working";
  nif:opinion <opinion/2>.

@CB-2000
Copy link

CB-2000 commented Aug 7, 2016

I believe there should at least some kind of reasons why everyone thinks they are so hard working. This actually would say who's hard working the most.

@VladimirAlexiev
Copy link
Author

For the record, I'm neither German nor Greek. This above is a joking example.

@sandroacoelho sandroacoelho added this to the 2.0 milestone Sep 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants