GraphStore`
GraphStore`

SPARQLConstruct

SPARQLConstruct[patterntemplate]

is a query operator that can be applied to an RDFStore, which returns an RDFStore generated from template, based on solutions of matching pattern.

SPARQLConstruct[pattern]

uses pattern as template.

更多信息和选项

  • SPARQLConstruct can be used in SPARQLExecute to query a SPARQL endpoint.
  • The result of executing SPARQLConstruct[patterntemplate] is a RDFStore object containing for each solution the triples of template where variables have been replaced with values of this solution.
  • In SPARQLConstruct[pattern], pattern can take the same form as in SPARQLSelect[pattern].

范例

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

基本范例  (1)

Specify a graph of first and family names:

Construct a graph with only the family names:

Scope  (1)

Retrieve a graph of cats and their names from Wikidata:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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