Anfängerfrage zu namespace und #

Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

  • Anfängerfrage zu namespace und #

    bitte nicht verprügeln,
    manche namespace enden mit einer Raute "#" und andere nicht, wie im folgenden Beispiel:
    ----------

    Quellcode

    1. <rdf:RDF
    2. xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" <-----------
    3. xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    4. xmlns:foaf="http://xmlns.com/foaf/0.1/"
    5. xmlns:admin="http://webns.net/mvcb/"> <------------
    6. <foaf:PersonalProfileDocument rdf:about="">
    7. <foaf:maker rdf:resource="#me"/>
    8. <foaf:primaryTopic rdf:resource="#me"/>
    9. <admin:generatorAgent rdf:resource="http://www.ldodds.com/foaf/foaf-a-matic"/>
    10. <admin:errorReportsTo rdf:resource="mailto:leigh@ldodds.com"/>
    11. </foaf:PersonalProfileDocument>
    12. <foaf:Person rdf:ID="me">
    13. <foaf:name>Semantic Web</foaf:name>
    14. <foaf:title>Dr</foaf:title>
    15. <foaf:givenname>Semantic</foaf:givenname>
    16. <foaf:family_name>Web</foaf:family_name>
    17. <foaf:nick>Webby</foaf:nick>
    18. <foaf:homepage rdf:resource="http://sewepro.org"/>
    19. <foaf:depiction rdf:resource="http://sewepro.org/semweb.jpg"/>
    20. <foaf:phone rdf:resource="tel:410-679-8999"/>
    21. <foaf:workplaceHomepage rdf:resource="http://sewepro.com"/>
    22. <foaf:workInfoHomepage rdf:resource="http://sewepro.com/dataweb.html"/>
    23. <foaf:schoolHomepage rdf:resource="http://www.web.edu"/>
    24. <foaf:knows>
    25. <foaf:Person rdf:ID="Ontology">
    26. <foaf:name>I. M. Ontology</foaf:name>
    27. <foaf:mbox rdf:resource="mailto:ont@gmail.com"/>
    28. <rdfs:seeAlso rdf:resource="http://ont.com"/></foaf:Person></foaf:knows>
    29. <foaf:knows>
    30. <foaf:Person rdf:ID="Reasoner">
    31. <foaf:name>Ican Reason</foaf:name>
    32. <foaf:mbox rdf:resource="mailto:reason@firefox.com"/>
    33. <rdfs:seeAlso rdf:resource="http://reasoner.com"/></foaf:Person></foaf:knows>
    34. <foaf:knows>
    35. <foaf:Person rdf:ID="Statement">
    36. <foaf:name>Makea Statement</foaf:name>
    37. <foaf:mbox rdf:resource="mailto:mstatement@gmail.com"/>
    38. <rdfs:seeAlso rdf:resource="http://statement.com"/></foaf:Person></foaf:knows></foaf:Person>
    39. </rdf:RDF>
    Alles anzeigen

    ----------------
    gibt es eine einfache Antwort oder in welchen Büchern finde ich sie.
    Danke, sowas
  • Anfängerfrage zu namespace und #

    nach langen Suchen habe ich die Antwort gefunden, vielleicht interessiert das jemand auch.

    URIs are related to URLs (Uniform Resource Locators) in that a URL is a specific instance
    of a URI scheme based on a known protocol, commonly the Hypertext Transfer Protocol (HTTP).
    URIs, and URLs for that matter, can include either a complete location or path
    to a resource or a partial or relative path.
    The URI can optionally include a fragment identifier, separated from the URI by a pound sign (#).
    In the following example, burningbird.net/articles/monsters3.htm is the URI and
    introduction is the fragment:
    burningbird.net/articles/monsters3.htm#introduction
    --------
    kompletter Text ist auf:
    etutorials.org/Misc/Practical+…+Heart+and+Soul/2.4+URIs/
    sowas

    Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von sowas ()