XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] XML vs JSON

Sort of. It is possible, with XQuery, to do basic graph queries, but the code to do so gets recursive and expensive quickly. (RDFXML is useful primarily as a wire format, and you can't use ordinary id/idref pairs because they assume intra-document references). 


Kurt Cagle
Founder, Semantical LLC



On Mon, Aug 21, 2017 at 11:55 AM, Thomas Passin <list1@tompassin.net> wrote:
On 8/21/2017 10:44 AM, Kurt Cagle wrote:
Tom,

You don't NEED RDF but it can be a useful tool nonetheless.

Well, sure, I'm not saying otherwise, but there are lots of conventions (you can regard RDF-XML as a convention!)  that do things that *can* be done with plain XML.

TomP

On Mon, Aug 21, 2017 at 9:41 AM, Thomas Passin <list1@tompassin.net
<mailto:list1@tompassin.net>> wrote:

    On 8/21/2017 2:22 AM, Ghislain Fourny wrote:

        I agree with this statement, but I would add that it is very
        important to distinguish between the core data models of XML
        (infoset, PSVI, XDM) and other data models it is able to support
        indirectly.

        XML primarily -- natively -- has a tree-based data model.

        It can store graphs, but doing so requires an extra data model such
        as RDF or XBRL linkbases (which massively use XLink), and such data
        models are not specifically bound or restricted to XML syntax.


    ID/IDREF can be used for graphs... a native facility.  You don't
    really need RDF, etc.

    TomP





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS