WOLFRAM

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

SPARQLInverseProperty[p]

represents the inverse of property p in a SPARQLPropertyPath .

Examples  
Basic Examples  
See Also
Related Guides
Cite this Page

SPARQLInverseProperty[p]

represents the inverse of property p in a SPARQLPropertyPath .

Examples

Basic Examples  (1)

Wolfram Language code: Needs["GraphStore`"]

A family tree:

Wolfram Language code: schema[s_] := URL["http://schema.org/" <> s]; ex[s_] := URL["http://example.org/" <> s];
Wolfram Language code: family = RDFStore[{ RDFTriple[ex["alfred"], schema["parent"], ex["john"]], RDFTriple[ex["alfred"], schema["parent"], ex["mary"]], RDFTriple[ex["mary"], schema["parent"], ex["kate"]] }];

Find all descendants of Kate:

Wolfram Language code: family//SPARQLSelect[ SPARQLPropertyPath[ex["kate"], {SPARQLInverseProperty[schema["parent"]]..}, SPARQLVariable["desc"]] ]
Wolfram Research (2019), SPARQLInverseProperty, Wolfram Language function, https://reference.wolfram.com/language/GraphStore/ref/SPARQLInverseProperty.html.

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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

Top [フレーム]

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