
com.metreeca.text.matchers.GraphDBMatcher.ql Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of metreeca-text Show documentation
Show all versions of metreeca-text Show documentation
A lightweight NLP framework.
The newest version!
PREFIX owl:
prefix rdfs:
prefix lucene:
prefix index:
prefix rank:
select * where {
values ?a {
'Europe'
}
[a index:entities; lucene:query ?a; lucene:entities ?s].
?s lucene:score ?w.
?s rank:hasRDFRank5 ?r
optional { ?s rdfs:label ?l filter (lang(?l) in ('', 'en', 'it') )}
optional { ?s rdfs:comment ?c filter (lang(?c) in ('', 'en', 'it') )}
optional { ?s owl:sameAs ?e }
} order by ?a desc(?r)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy