ALIADA / aliada-tool

Aliada tool implementation
GNU General Public License v3.0
35 stars 14 forks source link

RDFizer: dc.n3.vm bugs #100

Closed idoiamurua closed 9 years ago

idoiamurua commented 9 years ago
  1. The $creator_s event used for the following dc labels:
    • dc:creator
    • dc:contributor
    • dc:date

should be the same object, and not created every time those labels appear. The three labels refer to the same creation event $creator_s .

2.

## SOURCE
#set($sources = $xpath.many("source",$root))
#foreach($source in $sources) 
    #set($c = "#new_uri('E24_Physical_Man-Made_Thing')")
    $c $is_a #ecrm('E24_Physical_Man-Made_Thing') . 
    $c $P2_has_type #aliadaconcept("URI") . 
    $c $P3_has_note "$source.textContent" . 
    $s #ecrm("P1_is_identified_by") $c .    
#end    

should be:

## SOURCE
#set($sources = $xpath.many("source",$root))
#foreach($source in $sources) 
    #set($c = "#new_uri('E24_Physical_Man-Made_Thing')")
    $c $is_a #ecrm('E24_Physical_Man-Made_Thing') . 
    $c $P2_has_type #aliadaconcept("web_resource") . 
    $c $P3_has_note "$source.textContent" . 
    $s #ecrm(“P67_refers_to”) $c
#end    

3.

## FORMAT
#set($formats = $xpath.many("format",$root))
#foreach($format in $formats) 
    #set($c = "#new_uri('Ε55_Type')")
    $c $is_a #ecrm('Ε55_Type') . 
    $c $P2_has_type #aliadaconcept("Audio/IMTypes") . 
    $c $P3_has_note "$format.textContent" . 
    $c "$format.textContent" . 
    $s $P2_has_type $c .    
#end    

should be:

## FORMAT
#set($formats = $xpath.many("format",$root))
#foreach($format in $formats) 
    #set($c = "#new_uri('Ε55_Type')")
    $c $is_a #ecrm('Ε55_Type') . 
    $c $P3_has_note "$format.textContent" . 
    $c "$format.textContent" . 
    $s $P2_has_type $c .    
#end    

4.

## TYPE
#set($types = $xpath.many("type",$root))
#foreach($type in $types) 
    #set($c = "#new_uri('Ε55_Type')")
    $c $is_a #ecrm('Ε55_Type') . 
    $c $P3_has_note "$format.textContent" . 
    $s $P2_has_type $c .    
#end    

should be:

## TYPE
#set($types = $xpath.many("type",$root))
#foreach($type in $types) 
    #set($c = "#new_uri('Ε55_Type')")
    $c $is_a #ecrm('Ε55_Type') . 
    $c $P3_has_note "$type.textContent" . 
    $s $P2_has_type $c .    
#end    
idoiamurua commented 9 years ago

May I do these corrections?

agazzarini commented 9 years ago

Absolutely, I'm working on another branch so we won't have any conflict

On 04/22/2015 11:31 AM, Idoia wrote:

May I do these corrections?

— Reply to this email directly or view it on GitHub https://github.com/ALIADA/aliada-tool/issues/100#issuecomment-95094729.

idoiamurua commented 9 years ago

Bugs corrected.