Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Resource Description Framework
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Example 2: The postal abbreviation for New York === Certain concepts in RDF are taken from [[logic]] and [[linguistics]], where subject-predicate and subject-predicate-object structures have meanings similar to, yet distinct from, the uses of those terms in RDF. This example demonstrates: In the [[English language]] statement '' 'New York has the postal abbreviation NY' '','' 'New York' '' would be the subject, '' 'has the postal abbreviation' '' the predicate and '' 'NY' '' the object. Encoded as an RDF triple, the subject and predicate would have to be resources named by URIs. The object could be a resource or literal element. For example, in the N-Triples form of RDF, the statement might look like: <syntaxhighlight lang="turtle"> <urn:x-states:New%20York> <http://purl.org/dc/terms/alternative> "NY" . </syntaxhighlight> In this example, "<nowiki>urn:x-states:New%20York</nowiki>" is the URI for a resource that denotes the US state [[New York (state)|New York]], "<nowiki>http://purl.org/dc/terms/alternative</nowiki>" is the URI for a predicate (whose human-readable definition can be found here<ref>[https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/alternative/ DCMI Metadata Term alternative]. Dublincore.org. Retrieved on 2022-01-10.</ref>), and "NY" is a literal string. Note that the URIs chosen here are not standard, and do not need to be, as long as their meaning is known to whatever is reading them.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)