Thanks Kingsley! Very helpful, as always :) -- nice map too!

Re: dbpedia, do you generally ensure either wgs84 or
dbpedia.org/property/{lat,long}Degrees, or should such a mapping rule
exist?

--
Joe Presbrey

On Wed, Nov 2, 2011 at 7:45 PM, Kingsley Idehen <[email protected]> wrote:
> On 11/2/11 7:33 PM, Joe Presbrey wrote:
>>
>> OK, got it down to:
>>
>> select ?uri, ( ?sc * 3e-1 ) as ?sc, ?label, ( sql:rnk_scale (
>> <LONG::IRI_RANK>  ( ?uri ) ) ) as ?rank where  {
>>    ?uri<http://www.w3.org/2000/01/rdf-schema#label>  ?label .
>>    ?uri<http://dbpedia.org/property/latDegrees>  ?posLat .
>>    ?label bif:contains '( sand and dunes )' option ( score ?sc ) .
>>    FILTER( lang(?label) = "en" ) .
>> } order by desc ( ?sc * 3e-1 + sql:rnk_scale (<LONG::IRI_RANK>  ( ?uri ) )
>> )
>>
>> but there is only 1 result!?
>>
>> Wrong endpoint? Is inference re. latDegrees == wgs84#lat disabled?
>
> Such a rule wouldn't be on by default. We could add this to the
> pre-configured list of rules that you can then select via /FCT.
>
> For now, see:
>
> 1.
> http://lod.openlinksw.com/fct/facet.vsp?qxml=%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20%3F%3E%3Cquery%20inference%3D%22%22%20same-as%3D%22%22%20view3%3D%22%22%20s-term%3D%22%22%20c-term%3D%22%22%3E%3Ctext%3Esand%20and%20dunes%3C%2Ftext%3E%3Cview%20type%3D%22geo%22%20limit%3D%2220%22%20offset%3D%220%22%20%2F%3E%3C%2Fquery%3E
>
> 2. http://dbpedia.org/fct/facet.vsp?cmd=load&fsq_id=2 .
>
> I dropped these in a hurry as I saw this pass by :-)
>
>
> Kingsley
>>
>> --
>> Joe Presbrey
>>
>>
>> On Wed, Nov 2, 2011 at 6:52 PM, Joe Presbrey<[email protected]>
>>  wrote:
>>>
>>> Hello, I copied a query /fct running fine for sand dunes:
>>>
>>> select ?s1, ( ?sc * 3e-1 ) as ?sc, ?o1, ( sql:rnk_scale (
>>> <LONG::IRI_RANK>  ( ?s1 ) ) ) as ?rank where  {
>>>    ?s1 ?s1textp ?o1 .
>>>    ?o1 bif:contains '( sand and dunes )' option ( score ?sc ) .
>>> } order by desc ( ?sc * 3e-1 + sql:rnk_scale (<LONG::IRI_RANK>  ( ?s1
>>> ) ) ) limit 20 offset 0
>>>
>>> It runs fine. After adding just 1 constraint, that these are locations
>>> (have longitude+latitude):
>>>    ?o1<http://dbpedia.org/property/latDegrees>  ?posLat .
>>>
>>> Virtuoso 42000 Error The estimated execution time 751545 (sec) exceeds
>>> the limit of 1500 (sec).
>>>
>>> I am trying to build a query that lets me search for linked data
>>> places I can put on a map. Sorry I'm not more familiar with Virtuoso
>>> and thanks for any suggestions...
>>>
>>> Best regards,
>>>
>>> --
>>> Joe Presbrey
>>>
>>
>> ------------------------------------------------------------------------------
>> RSA(R) Conference 2012
>> Save $700 by Nov 18
>> Register now
>> http://p.sf.net/sfu/rsa-sfdev2dev1
>> _______________________________________________
>> Dbpedia-discussion mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
>>
>
>
> --
>
> Regards,
>
> Kingsley Idehen
> President&  CEO
> OpenLink Software
> Company Web: http://www.openlinksw.com
> Personal Weblog: http://www.openlinksw.com/blog/~kidehen
> Twitter/Identi.ca handle: @kidehen
> Google+ Profile: https://plus.google.com/112399767740508618350/about
> LinkedIn Profile: http://www.linkedin.com/in/kidehen
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Dbpedia-discussion mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
>
>

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to