Main Page: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 32: Line 32:
SELECT ?method ?methodLabel  WHERE {
SELECT ?method ?methodLabel  WHERE {
   ?method cdt:P1 cd:Q6.
   ?method cdt:P1 cd:Q6.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
}}
=== List of all properties belonging to the CollectionDescription Class ==
This query creates a list of all properties belonging to the CollectionDescription class
{{SPARQL2|query=
PREFIX cd:<http://tdwg-cd.wiki.opencura.com/entity/>
PREFIX cdt:<http://tdwg-cd.wiki.opencura.com/prop/direct/>
SELECT ?prop ?propLabel  WHERE {
  ?prop cdt:P3 cd:Q3.
   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
}
}}
}}