Hello,
> Le 8 mai 2016 à 15:15, Ghislain Atemezing <auguste.atemez...@eurecom.fr> a
> écrit :
>
> Hi,
>> Le 6 mai 2016 à 17:15, kumar rohit <kumar.en...@gmail.com
>> <mailto:kumar.en...@gmail.com>> a écrit :
>>
>> can we limit the dbpedia abstract to just one sentence?
>
> This query [1] gives you the first sentence of the abstract in English of the
> resource Madrid <http://dbpedia.org/resource/Madrid
> <http://dbpedia.org/resource/Madrid>>.
>
> Just a proof-of-concept. You can then adapt it according to your need.
oops.. sorry Here is the query
[
SELECT ?firstSentence
WHERE {
<http://dbpedia.org/resource/Madrid> dbo:abstract ?abs.
FILTER LANGMATCHES(LANG(?abs), "EN")
BIND(CONCAT(STRBEFORE(str(?abs), "."), ".") AS ?firstSentence)
}
]
Best,
Ghislain
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Dbpedia-discussion mailing list
Dbpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion