Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8187231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T02:29:37+00:00 2026-06-07T02:29:37+00:00

So here is an entry in rdf format. I’d like to understand why some

  • 0

So here is an entry in rdf format. I’d like to understand why some parts of it seem so convoluted.

<pgterms:file rdf:about="&f;dirs/3/1/9/0/31900/31900-8.zip">
  <dc:format><dcterms:IMT><rdf:value>text/plain; charset="iso-8859-1"</rdf:value></dcterms:IMT></dc:format>
  <dc:format><dcterms:IMT><rdf:value>application/zip</rdf:value></dcterms:IMT></dc:format>
  <dcterms:extent>193120</dcterms:extent>
  <dcterms:modified><dcterms:W3CDTF><rdf:value>2010-04-06</rdf:value></dcterms:W3CDTF></dcterms:modified>
  <dcterms:isFormatOf rdf:resource="#etext31900" />
</pgterms:file>

In particular, this value:

<dc:format><dcterms:IMT><rdf:value>text/plain; charset="iso-8859-1"</rdf:value></dcterms:IMT></dc:format>

Why does it need both a dcterms:IMT AND an rdf:value portion? This just seems like a lot of bloat for what appears to be little practical benefit. Since it is already using MIME types, it just doesn’t make sense to me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T02:29:39+00:00Added an answer on June 7, 2026 at 2:29 am

    Why does xml have so many angle brackets my eyes hurt….because it was meant to be read by a parser not by humans.

    Your sample is not rdf (rdf is the framework), it is rdf/xml, one possible serialzation of a graph in the framework. Turtle/n3 is much prettier serialization. N-Triples is super simple.

    Some very small examples that don’t cover any real details but…

    RDF/XML:

    <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:dc="http://purl.org/dc/elements/1.1/">
      <rdf:Description rdf:about="http://www.w3.org/2001/sw/RDFCore/ntriples/">
        <dc:creator>Art Barstow</dc:creator>
        <dc:creator>Dave Beckett</dc:creator>
        <dc:publisher rdf:resource="http://www.w3.org/"/>
      </rdf:Description>
    </rdf:RDF>
    

    N-Triples

    <http://www.w3.org/2001/sw/RDFCore/ntriples/> <http://purl.org/dc/elements/1.1/creator> "Dave Beckett" .
    <http://www.w3.org/2001/sw/RDFCore/ntriples/> <http://purl.org/dc/elements/1.1/creator> "Art Barstow" .
    <http://www.w3.org/2001/sw/RDFCore/ntriples/> <http://purl.org/dc/elements/1.1/publisher> <http://www.w3.org/> .
    

    N3

    @prefix dc: <http://purl.org/dc/elements/1.1/>
    
    <http://www.w3.org/2001/sw/RDFCore/ntriples/> 
         dc:creator "Dave Beckett";
         dc:creator "Art Barstow";
         dc:publisher <http://www.w3.org/>.
    

    EDIT: you can stop reading, this is just the example provided by OP in different serialization. To answer to the question

    Why does it need both a dcterms:IMT AND an rdf:value portion?

    rdf/xml has to do kind of a stutter-step when there are “Blank Nodes”. you can see below that N-Triples writes the blank nodes out and n3 attempts to make it more obvious what the relations are.
    All of these are serialzations of the same rdf graph.

    RDF/XML slightly modified (namespace added) so it parses:

    <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:dcterms="http://purl.org/dc/terms/"
             xmlns:pgterms="http://www.gutenberg.org/rdfterms/">
    <pgterms:file rdf:about="/home/me/dirs/3/1/9/0/31900/31900-8.zip">
      <dc:format><dcterms:IMT><rdf:value>text/plain; charset="iso-8859-1"</rdf:value></dcterms:IMT></dc:format>
      <dc:format><dcterms:IMT><rdf:value>application/zip</rdf:value></dcterms:IMT></dc:format>
      <dcterms:extent>193120</dcterms:extent>
      <dcterms:modified><dcterms:W3CDTF><rdf:value>2010-04-06</rdf:value></dcterms:W3CDTF></dcterms:modified>
      <dcterms:isFormatOf rdf:resource="#etext31900" />
    </pgterms:file>
    </rdf:RDF>
    

    N-Triples

    </home/me/dirs/3/1/9/0/31900/31900-8.zip> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.gutenberg.org/rdfterms/file> .
    </home/me/dirs/3/1/9/0/31900/31900-8.zip> <http://purl.org/dc/elements/1.1/format> _:LqSOByLi19 .
    </home/me/dirs/3/1/9/0/31900/31900-8.zip> <http://purl.org/dc/elements/1.1/format> _:LqSOByLi20 .
    </home/me/dirs/3/1/9/0/31900/31900-8.zip> <http://purl.org/dc/terms/isFormatOf> <#etext31900> .
    </home/me/dirs/3/1/9/0/31900/31900-8.zip> <http://purl.org/dc/terms/modified> _:LqSOByLi21 .
    </home/me/dirs/3/1/9/0/31900/31900-8.zip> <http://purl.org/dc/terms/extent> "193120" .
    _:LqSOByLi21 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/dc/terms/W3CDTF> .
    _:LqSOByLi21 <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "2010-04-06" .
    _:LqSOByLi20 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/dc/terms/IMT> .
    _:LqSOByLi20 <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "application/zip" .
    _:LqSOByLi19 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/dc/terms/IMT> .
    _:LqSOByLi19 <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "text/plain; charset=\"iso-8859-1\"" .
    

    N3/Turtle

    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix dc: <http://purl.org/dc/elements/1.1/> .
    @prefix dcterms: <http://purl.org/dc/terms/> .
    @prefix pgterms: <http://www.gutenberg.org/rdfterms/> .
    
    </home/me/dirs/3/1/9/0/31900/31900-8.zip> a pg:file;
        dc:format 
            [ a dcterms:IMT;  rdf:value "text/plain; charset=\"iso-8859-1\"" ],
            [ a dcterms:IMT;  rdf:value "application/zip" ];
        dcterms:extent "193120";
        dcterms:isFormatOf <#etext31900>;
        dcterms:modified [ a dcterms:W3CDTF; rdf:value "2010-04-06" ] .
    

    Note: N3 is even prettier if it’s colored

    EDIT 2:
    The above describes that there is a bnode but as to why there is one….the dcterms:modified predicate in the last line of the N3 serialization above could (I wish) be viewed more like:

    dcterms:modified "2010-04-06"^^dcterms:W3CDTF
    # vs
    dcterms:modified [ a dcterms:W3CDTF; rdf:value "2010-04-06" ]
    

    The reason that rdf:value even exists is for triples like:

    exproduct:item10245   exterms:weight   [rdf:value        "2.4"^^xsd:decimal
                                            exterms:units    exunits:kilograms] .
    

    In addition to units the node could indicate precision or other characteristics of the object of the triple.

    Yeah I kind of hate the rdf:value thing as damaging to understanding and practicality in favor of epistemological purity.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is my current format <div class=post-item id=4126> ...entry... </div> With this id format
I am using this http://code.drewwilson.com/entry/autosuggest-jquery-plugin Here is my html <h1>Category : </h1> &nbsp;<input type=text
Here is my feed: <entry> <id>http://api.visitmix.com/OData.svc/Sessions(guid'816995df-b09a-447a-9391-019512f643a0')</id> <title type=text>Building Web Applications with Microsoft SQL Azure</title>
I have been following the validation for Entry boxes from here . The code
I have below code.The logic here is if HostList conatains any blanck entry it
I'm writing an order entry web application. I don't think it matters here, but
I'm facing an issue here. For Facebook debugging reasons, I made a host entry
I am working through the example from https://blogs.oracle.com/arungupta/entry/java_ee_6_and_nosql . Here is a link to
I'm trying to use an API under Delphi. Here's the API documentation: OKERR ENTRY
Newbie here. The following function works fine when $color refers to an entry in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.