Changes between Version 9 and Version 10 of CMD2RDF/Queries
- Timestamp:
- 05/27/14 10:30:49 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CMD2RDF/Queries
v9 v10 170 170 {{{ 171 171 #!sql 172 PREFIX oa: <http://www.w3.org/ns/oa#> 172 173 PREFIX cmdm: <http://www.clarin.eu/cmd/general.rdf#> 173 174 174 select ?elemtype ?value where { <http://www.clarin.eu/cmd/BAS_Repository/oai_BAS_repo_Corpora_aGender_100102.rdf#d56e213> cmdm:contains* ?comp. 175 SELECT ?elemtype ?value 176 WHERE {?rootcomponent a <http://catalog.clarin.eu/ds/ComponentRegistry/rest/registry/profiles/clarin.eu:cr1:p_1290431694579/rdf#LexicalResourceProfile>. 177 ?rootcomponent cmdm:contains* ?comp. 175 178 ?comp cmdm:contains ?elem. 176 179 ?elem a ?elemtype. … … 178 181 ?elemtype rdfs:subClassOf cmdm:Element. 179 182 FILTER( isLiteral(?value)) 183 FILTER( regex(?value,'.')) 180 184 } 181 185 }}} 186 187 [[http://clarin.aac.ac.at/virtuoso/sparql?default-graph-uri=&query=PREFIX+oa%3A+%3Chttp%3A%2F%2Fwww.w3.org%2Fns%2Foa%23%3E%0D%0APREFIX+cmdm%3A+%3Chttp%3A%2F%2Fwww.clarin.eu%2Fcmd%2Fgeneral.rdf%23%3E%0D%0A%0D%0A%0D%0Aselect+%3Felemtype+%3Fvalue+where+{%3Frootcomponent+a+%3Chttp%3A%2F%2Fcatalog.clarin.eu%2Fds%2FComponentRegistry%2Frest%2Fregistry%2Fprofiles%2Fclarin.eu%3Acr1%3Ap_1290431694579%2Frdf%23LexicalResourceProfile%3E.%0D%0A+%3Frootcomponent+cmdm%3Acontains*+%3Fcomp.+%0D%0A+%3Fcomp+cmdm%3Acontains+%3Felem.%0D%0A+%3Felem+a+%3Felemtype.%0D%0A+%3Felem+%3Fhaselemvalue+%3Fvalue.%0D%0A++%3Felemtype+rdfs%3AsubClassOf+cmdm%3AElement.%0D%0AFILTER%28+isLiteral%28%3Fvalue%29%29%0D%0AFILTER%28+regex%28%3Fvalue%2C%27.%27%29%29%0D%0A}&format=text%2Fhtml&timeout=0&debug=on|elements with values for LexicalResourceProfile ]]