GraphStore`
GraphStore`

RDFCollection

RDFCollection[{e1,e2,}]

represents a list-like collection of the ei in functions like RDFStore and SPARQLSelect.

更多信息和选项

  • The RDF collection vocabulary includes the following terms:
  • URL["http://www.w3.org/1999/02/22-rdf-syntax-ns#first"]links a collection to its first element
    URL["http://www.w3.org/1999/02/22-rdf-syntax-ns#rest"]links a collection to its rest
    URL["http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"]the empty collection

范例

打开所有单元关闭所有单元

基本范例  (1)

Specify a graph which lists the favorite fruits of Bob:

Scope  (2)

Specify an RDF graph containing a collection of letters:

Check whether there is any collection that contains three elements:

Retrieve the middle element:

Retrieve all elements:

Specify an RDF graph in two different ways:

The RDF graphs are isomorphic:

Possible Issues  (1)

RDF has no built-in list datatype:

Use an RDF collection instead:

Alternatively, choose a non-list-valued property and assign multiple values to it:

Wolfram Research (2019),RDFCollection,Wolfram 语言函数,https://reference.wolfram.com/language/GraphStore/ref/RDFCollection.html.

文本

Wolfram Research (2019),RDFCollection,Wolfram 语言函数,https://reference.wolfram.com/language/GraphStore/ref/RDFCollection.html.

CMS

Wolfram 语言. 2019. "RDFCollection." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/GraphStore/ref/RDFCollection.html.

APA

Wolfram 语言. (2019). RDFCollection. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/GraphStore/ref/RDFCollection.html 年

BibTeX

@misc{reference.wolfram_2024_rdfcollection, author="Wolfram Research", title="{RDFCollection}", year="2019", howpublished="\url{https://reference.wolfram.com/language/GraphStore/ref/RDFCollection.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_rdfcollection, organization={Wolfram Research}, title={RDFCollection}, year={2019}, url={https://reference.wolfram.com/language/GraphStore/ref/RDFCollection.html}, note=[Accessed: 22-November-2024 ]}