WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center

RDFBlankNode["id"]

represents a blank node with identifier "id" in an RDFStore .

RDFBlankNode[]

represents a blank node which is different from all other nodes.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
See Also
Related Guides
Cite this Page

RDFBlankNode["id"]

represents a blank node with identifier "id" in an RDFStore .

RDFBlankNode[]

represents a blank node which is different from all other nodes.

Details and Options

  • Blank nodes are scoped to RDF datasets: A blank node with the same "id" in different graphs of the same RDF dataset represents the same node. Blank nodes in different RDF datasets are unrelated.

Examples

open all close all

Basic Examples  (1)

Wolfram Language code: Needs["GraphStore`"]

A blank node with label "abc":

Wolfram Language code: RDFBlankNode["abc"]

Represent the age of the universe:

Wolfram Language code: ex[s_] := URL["http://example.org/" <> s];
Wolfram Language code: RDFStore[{ RDFTriple[ex["universe"], ex["age"], RDFBlankNode["a123"]], RDFTriple[RDFBlankNode["a123"], ex["value"], 13800000000], RDFTriple[RDFBlankNode["a123"], ex["unit"], ex["years"]] }]

Scope  (1)

Wolfram Language code: Needs["GraphStore`"]

Create a graph that asserts the existence of persons with a particular age and name:

Wolfram Language code: foaf[s_] := URL["http://xmlns.com/foaf/0.1/" <> s]; ex[s_] := URL["http://example.org/" <> s];
Wolfram Language code: personStore = RDFStore[{ RDFTriple[RDFBlankNode["a"], foaf["firstName"], "Rosalie"], RDFTriple[RDFBlankNode["a"], ex["age"], 39], RDFTriple[RDFBlankNode["b"], foaf["firstName"], "Wolfgang"], RDFTriple[RDFBlankNode["b"], ex["age"], 67] }];

Query names and corresponding ages:

Wolfram Language code: personStore//SPARQLSelect[{ RDFTriple[SPARQLVariable["person"], foaf["firstName"], SPARQLVariable["name"]], RDFTriple[SPARQLVariable["person"], ex["age"], SPARQLVariable["age"]] } -> {"name", "age"}]
Wolfram Research (2019), RDFBlankNode, Wolfram Language function, https://reference.wolfram.com/language/GraphStore/ref/RDFBlankNode.html.

Text

Wolfram Research (2019), RDFBlankNode, Wolfram Language function, https://reference.wolfram.com/language/GraphStore/ref/RDFBlankNode.html.

CMS

Wolfram Language. 2019. "RDFBlankNode." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/GraphStore/ref/RDFBlankNode.html.

APA

Wolfram Language. (2019). RDFBlankNode. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/GraphStore/ref/RDFBlankNode.html

BibTeX

@misc{reference.wolfram_2026_rdfblanknode, author="Wolfram Research", title="{RDFBlankNode}", year="2019", howpublished="\url{https://reference.wolfram.com/language/GraphStore/ref/RDFBlankNode.html}", note=[Accessed: 16-August-2026]}

BibLaTeX

@online{reference.wolfram_2026_rdfblanknode, organization={Wolfram Research}, title={RDFBlankNode}, year={2019}, url={https://reference.wolfram.com/language/GraphStore/ref/RDFBlankNode.html}, note=[Accessed: 16-August-2026]}

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /