Maven DOAP Plugin
  1. Maven DOAP Plugin
  2. MDOAP-25

foaf:Organization usage doesn't comply with DoaP/FoaF specs.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.1
    • Labels:
      None
    • Environment:
      Any

      Description

      Summary
      The foaf:Organization node is misplaced inside the foaf:Person node. It is not compliant with the FoaF or Doap specs.

      The Problem
      This is an instance of the issue described here: http://lists.foaf-project.org/pipermail/foaf-dev/2009-January/009452.html
      foaf:Organization like foaf:Group is a foaf:Agent (see http://xmlns.com/foaf/spec/#term_Agent), so the issue is the same.
      The recommended syntax from the DoaP project examples is to use the foaf:member property between the foaf:Organization node and the foaf:Person node.
      Unfortunately, per the FoaF spec, the relation only goes in that direction (Organization->member->Person) with no convenient inverse property.

      The Fix
      The best fix I can currently find is to use blank nodes and a separate Organization element that is not nested in the person element. Unfortunately, because the DoaP plugin isn't using native RDF tools internally, this will require a little more bookkeeping.

      <rdf:RDF>
      <doap:Project>
      <maintainer rdf:nodeID="jdoe"/>
      <founder rdf:nodeID="jdoe"/>
      </doap:Project>

      <Person nodeID="jdoe">
      <name>John Doe</name>
      <mbox rdf:resource="mailto:jdoe@example.org" />
      </Person>

      <doap:Organization>
      <doap:homepage rdf:resource="http://www.example.org" />
      <doap:member rdf:nodeID="jdoe" />
      </doap:Organization>
      </rdf:RDF>

      Additional Info
      Info about rdf:nodeID is available at: http://www.w3.org/TR/rdf-syntax-grammar/#section-Syntax-blank-nodes

      1. doap-organization-bugreport.tgz
        1 kB
        Tim Fliss
      2. MDOAP-25.patch
        13 kB
        Tim Fliss

        Activity

        Tim Fliss created issue -
        Hide
        Tim Fliss added a comment -

        This is a patch that generates correct foaf:Organization tags in relation to foaf:Person tags.
        It includes unit test updates.

        Show
        Tim Fliss added a comment - This is a patch that generates correct foaf:Organization tags in relation to foaf:Person tags. It includes unit test updates.
        Tim Fliss made changes -
        Field Original Value New Value
        Attachment MDOAP-25.patch [ 44817 ]
        Hide
        Siveton Vincent added a comment -

        Fixed in r1044321, snapshot deployed

        Show
        Siveton Vincent added a comment - Fixed in r1044321, snapshot deployed
        Siveton Vincent made changes -
        Resolution Fixed [ 1 ]
        Fix Version/s 1.1 [ 14479 ]
        Status Open [ 1 ] Closed [ 6 ]
        Assignee Vincent Siveton [ siveton ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 09:22:18 UTC 2015 [ 1428225738830 ]
        Mark Thomas made changes -
        Workflow jira [ 12718770 ] Default workflow, editable Closed status [ 12761613 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 22:51:29 UTC 2015 [ 1428274289510 ]
        Mark Thomas made changes -
        Workflow jira [ 12956218 ] Default workflow, editable Closed status [ 12993491 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        436d 14h 4m 1 Siveton Vincent 10/Dec/10 06:22

          People

          • Assignee:
            Siveton Vincent
            Reporter:
            Tim Fliss
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development