mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Update notes for 2017-08-18
This commit is contained in:
@ -290,5 +290,34 @@ dspace.log.2017-08-17:584
|
||||
- I wired it up to the `dc.subject` field of the submission interface using the "lookup" type and it works!
|
||||
- I think we can use this example to get a working AGROVOC query
|
||||
- More information about authority framework: https://wiki.duraspace.org/display/DSPACE/Authority+Control+of+Metadata+Values
|
||||
- Wow, I'm playing with the AGROVOC SPARQL endpoint using the [sparql-query tool](https://github.com/tialaramex/sparql-query):
|
||||
|
||||
```
|
||||
$ ./sparql-query http://202.45.139.84:10035/catalogs/fao/repositories/agrovoc
|
||||
sparql$ PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
SELECT
|
||||
?label
|
||||
WHERE {
|
||||
{ ?concept skos:altLabel ?label . } UNION { ?concept skos:prefLabel ?label . }
|
||||
FILTER regex(str(?label), "^fish", "i") .
|
||||
} LIMIT 10
|
||||
|
||||
┌───────────────────────┐
|
||||
│ ?label │
|
||||
├───────────────────────┤
|
||||
│ fisheries legislation │
|
||||
│ fishery legislation │
|
||||
│ fishery law │
|
||||
│ fish production │
|
||||
│ fish farming │
|
||||
│ fishing industry │
|
||||
│ fisheries data │
|
||||
│ fishing power │
|
||||
│ fishing times │
|
||||
│ fish passes │
|
||||
└───────────────────────┘
|
||||
```
|
||||
|
||||
- More examples about SPARQL syntax: https://github.com/rsinger/openlcsh/wiki/Sparql-Examples
|
||||
- I found this blog post about speeding up the Tomcat startup time: http://skybert.net/java/improve-tomcat-startup-time/
|
||||
- The startup time went from ~80s to 40s!
|
||||
|
Reference in New Issue
Block a user