MARCEDIT-L Archives

July 2015

MARCEDIT-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Eugene Espinoza <[log in to unmask]>
Reply To:
MarcEdit support in technical and instructional matters <[log in to unmask]>
Date:
Wed, 29 Jul 2015 08:24:41 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (48 lines)
Hello again Dana, Terry and MARCEdit listserv! This could be the last of my problem with my data set, hopefully. Based on my xml file. 
Based on my xml again:

<?xml version="1.0" encoding="utf-8" ?>
<root>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:skosxl="http://www.w3.org/2008/05/skos-xl#"
     xmlns:skos="http://www.w3.org/2004/02/skos/core#"
     xmlns:dc="http://purl.org/dc/terms/"
     xmlns:ns0="http://art.uniroma2.it/ontologies/vocbench#"
     xmlns:void="http://rdfs.org/ns/void#">

<skos:Concept rdf:about="http://aims.fao.org/aos/agrovoc/c_26321">
  <skos:prefLabel xml:lang="fa">آبیس ماریزی‌ای</skos:prefLabel>
    ....
   <skos:prefLabel xml:lang="en">Abies mariesii</skos:prefLabel>
    ....
   <skos:broader rdf:resource="http://aims.fao.org/aos/agrovoc/c_10"/>
 </skos:Concept>

  <skos:Concept rdf:about="http://aims.fao.org/skosmos/agrovoc/en/page/c_1591">
    <skos:prefLabel xml:lang="ar">أشجار عيد الميلاد</skos:prefLabel>
            ....
    <skos:prefLabel xml:lang="en">christmas trees</skos:prefLabel>
       ....

  </skos:Concept>

      ....

  <skos:Concept>
    <ns0:isUsedAs rdf:resource="http://aims.fao.org/skosmos/agrovoc/en/page/c_7776"/>
    <ns0:isUsedAs rdf:resource="http://aims.fao.org/skosmos/agrovoc/en/page/c_1591"/>
  </skos:Concept>

</rdf:RDF>    
</root>

This time around, I want to get the value of <skos:prefLabel xml:lang="en"> which has a parent skos:Concept and this skos:Concept is referenced in another node tree ns0:isUsedAs. Thus, we get the value of 'christmas tree' for ns0:isUsedAs rdf:resource="http://aims.fao.org/skosmos/agrovoc/en/page/c_1591. And I want to output this as text, same as below:

=305  \\$aisUsedAs$bchristmas tree

Thanks in advance and have a nice day!

________________________________________________________________________

This message comes to you via MARCEDIT-L, a Listserv(R) list for technical and instructional support in MarcEdit.  If you wish to communicate directly with the list owners, write to [log in to unmask] To unsubscribe, send a message "SIGNOFF MARCEDIT-L" to [log in to unmask]

ATOM RSS1 RSS2