GraphStore`
GraphStore`

SPARQLLoad

SPARQLLoad[from]

is an update operator that can be applied to an RDFStore, which loads the graph located at from into the default graph.

SPARQLLoad[fromto]

loads the graph into the graph identified by to.

更多信息和选项

  • SPARQLLoad can be used in SPARQLExecute to load data into a SPARQL endpoint.
  • from is usually a URL or a File that contains the graph.
  • Data from the destination graph is not removed.

范例

基本范例  (1)

Data about countries:

Create a "linkset" that links Wolfram and Wikidata entities:

Load the linkset into the default graph:

Query the population of Hungary using its Wikidata ID (Q28):

Delete the linkset:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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