Skip to content

Commit c60e5cc

Browse files
committed
Version bump 1.5.3
1 parent 740af7f commit c60e5cc

File tree

2 files changed

+25
-7
lines changed

2 files changed

+25
-7
lines changed

README.rst

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,12 @@ Main features
4343
1. Indexing RDFs given by their URIs
4444
2. Indexing triples retrieved from a SPARQL endpoint, through SELECT queries
4545
3. Indexing triples retrieved from a SPARQL endpoint, through CONSTRUCT queries
46-
4. Customizable index and type names
47-
5. Blacklist of unnecessary properties
48-
6. Whitelist of required properties
49-
7. Normalization of properties from different namespaces
50-
8. Normalization of missing properties
46+
4. Indexing triples retrieved from a SPARQL endpoint, through DESCRIBE queries
47+
5. Customizable index and type names
48+
6. Blacklist of unnecessary properties
49+
7. Whitelist of required properties
50+
8. Normalization of properties from different namespaces
51+
9. Normalization of missing properties
5152

5253
Indexing
5354
========
@@ -134,7 +135,24 @@ CONSTRUCT queries are more simple.
134135
"queryType" : "construct"
135136
}
136137
}'
137-
138+
139+
DESCRIBE queries can be written as such:
140+
141+
::
142+
curl -XPUT 'localhost:9200/_river/rdf_river/_meta' -d '{
143+
"type" : "eeaRDF",
144+
"eeaRDF" : {
145+
"endpoint" : "http://semantic.eea.europa.eu/sparql",
146+
"query" : [
147+
"DESCRIBE ?r WHERE { ?r a <http://www.eea.europa.eu/portal_types/AssessmentPart#AssessmentPart> }
148+
],
149+
"queryType" : "describe"
150+
}
151+
}'
152+
153+
Note:
154+
DESCRIBE queries can produce larger results than other types of queries,
155+
making the river plugin run out of memory.
138156

139157
**Tips**: `See how to optimize your queries / avoid endpoint timeout <http://taskman.eionet.europa.eu/projects/zope/wiki/HowToWriteOptimalSPARQLQueries>`_
140158

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>org.elasticsearch.plugin.river.eea_rdf</groupId>
55
<artifactId>eea-rdf-river-plugin</artifactId>
6-
<version>1.5.3-SNAPSHOT</version>
6+
<version>1.5.3</version>
77

88
<packaging>jar</packaging>
99

0 commit comments

Comments
 (0)