Main Page: Difference between revisions

no edit summary
No edit summary
 
Line 16: Line 16:
=== Example Queries on collections ===
=== Example Queries on collections ===
==== Get the total number of curatorial objects ====
==== Get the total number of curatorial objects ====
This query gives the total amount of specimen:
This query gives the total amount of specimens:


{{SPARQL2|query=
{{SPARQL2|query=
PREFIX lc: <http://latimer-core.wiki.opencura.com/entity/>
PREFIX lc: <http://latimer-core.wikibase.cloud/entity/>
PREFIX lct: <http://latimer-core.wiki.opencura.com/prop/direct/>
PREFIX lct: <http://latimer-core.wikibase.cloud/prop/direct/>
PREFIX lcs: <http://latimer-core.wiki.opencura.com/entity/statement/>
PREFIX lcs: <http://latimer-core.wikibase.cloud/entity/statement/>
PREFIX lcp: <http://latimer-core.wiki.opencura.com/prop/>
PREFIX lcp: <http://latimer-core.wikibase.cloud/prop/>
PREFIX lcq: <http://latimer-core.wiki.opencura.com/prop/qualifier/>
PREFIX lcq: <http://latimer-core.wikibase.cloud/prop/qualifier/>
PREFIX lcps: <http://latimer-core.wiki.opencura.com/prop/statement/>
PREFIX lcps: <http://latimer-core.wikibase.cloud/prop/statement/>


SELECT ?item ?itemLabel ?measfact ?value ?unit
SELECT ?item ?itemLabel ?measfact ?value ?unit
Line 47: Line 47:


{{SPARQL2|query=
{{SPARQL2|query=
PREFIX lc:<http://latimer-core.wiki.opencura.com/entity/>
PREFIX lc:<http://latimer-core.wikibase.cloud/entity/>
PREFIX lct:<http://latimer-core.wiki.opencura.com/prop/direct/>
PREFIX lct:<http://latimer-core.wikibase.cloud/prop/direct/>


SELECT ?method ?methodLabel  WHERE {
SELECT ?method ?methodLabel  WHERE {