Main Page: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 2: Line 2:
This Wikibase will be used to demonstrate the current CD standard using real data.
This Wikibase will be used to demonstrate the current CD standard using real data.


The data standard is currently under development. This development is currently done in [https://github.com/tdwg/cd GitHub]
The data standard is currently under development. This development is done in [https://github.com/tdwg/cd GitHub]


== Wikibase model ==
== Wikibase model ==
Line 20: Line 20:
SELECT ?method ?methodLabel  WHERE {
SELECT ?method ?methodLabel  WHERE {
   ?method cdt:P1 cd:Q41.
   ?method cdt:P1 cd:Q41.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
}}
=== List of all Classes ===
This query provides you with a list of all available classes in the standard
{{SPARQL2|query=
PREFIX cd:<http://tdwg-cd.wiki.opencura.com/entity/>
PREFIX cdt:<http://tdwg-cd.wiki.opencura.com/prop/direct/>
SELECT ?method ?methodLabel  WHERE {
  ?method cdt:P1 cd:Q6.
   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
}
}}
}}