Query/Examples

From MyWiki
Revision as of 12:24, 22 July 2024 by Admin (talk | contribs) (Created page with "== Example data queries that visualize the data model == === Overview of all classes and their subclasses === {{SPARQL|query= #defaultView:Graph SELECT Distinct ?classes ?classesLabel ?subclasses ?subclassesLabel WHERE { SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } {?classes owl:equivalentClass ?x.} Union {?subclasses tibt:P2 ?classes.} } }} === Overview of types of of human-made objects and instances === {{SPARQL|...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Example data queries that visualize the data model[edit | edit source]

Overview of all classes and their subclasses[edit | edit source]

<syntaxhighlight lang="sparql">{{#invoke:ConcatArgs|ConcatArgs|init=query|min=1}}</syntaxhighlight>

Overview of types of of human-made objects and instances[edit | edit source]

<syntaxhighlight lang="sparql">{{#invoke:ConcatArgs|ConcatArgs|init=query|min=1}}</syntaxhighlight>

Overview of types of conceptual objects and instances[edit | edit source]

<syntaxhighlight lang="sparql">{{#invoke:ConcatArgs|ConcatArgs|init=query|min=1}}</syntaxhighlight>

Example data queries that showcase items from the case study[edit | edit source]

All paintings from the cycle "Belagerungsszenen des Langen Türkenkriegs" with some properties[edit | edit source]

<syntaxhighlight lang="sparql">{{#invoke:ConcatArgs|ConcatArgs|init=query|min=1}}</syntaxhighlight>

Items that share an Iconclass notation[edit | edit source]

<syntaxhighlight lang="sparql">{{#invoke:ConcatArgs|ConcatArgs|init=query|min=1}}</syntaxhighlight>

Example federated queries[edit | edit source]

Simple query to get more information about Weikersheim castle (via owl:sameAs method)[edit | edit source]

<syntaxhighlight lang="sparql">{{#invoke:ConcatArgs|ConcatArgs|init=query|min=1}}</syntaxhighlight>


Simple query to get more information about Weikersheim castle (via GND external ID method)[edit | edit source]

<syntaxhighlight lang="sparql">{{#invoke:ConcatArgs|ConcatArgs|init=query|min=1}}</syntaxhighlight>

Castles of Renaissance architectural style within 100km of Weikersheim castle[edit | edit source]

<syntaxhighlight lang="sparql">{{#invoke:ConcatArgs|ConcatArgs|init=query|min=1}}</syntaxhighlight>