Re: [Virtuoso-users] Virtuoso sparql endpoint - setup for external access

2011-05-26 Thread Andreas Radinger


  
  
Hi Robert,

the SPARQL endpoint must support CORS.
Cross-Origin Resource Sharing (CORS) is a mechanism intended to
enable safer client-side cross-origin requests, primarily focused on
data.
You can easily enable CORS in Virtuoso 6.1.3 following the guide at
[1] and test the CORS functionality with the form on the bottom of
the page at [2].

[1]
http://ods.openlinksw.com/wiki/main/Main/VirtTipsAndTricksGuideCORSSetup
[2] http://enable-cors.org/

Best,
Andreas

-- 
--
Dipl.-Ing. Andreas Radinger
Professur für Allgemeine BWL, insbesondere E-Business
e-business & web science research group
Universität der Bundeswehr München
 
e-mail: andreas.radin...@unibw.de
phone:  +49-(0)89-6004-4218
fax:+49-(0)89-6004-4620
www:http://www.unibw.de/ebusiness/
skype:  andreas.radinger


On 5/26/11 10:03 AM, Robbet wrote:

  
  Hi Hugh,
  
  unfortunately still no result. Maybe the dbpedia endpoint returns
  results in a more compatible format so it can be processed by
  rdf-spark?
  It seems to work also for http://lod.openlinksw.com/sparql
  , http://uriburner.com/sparql/
  but not for http://semantic.data.gov/sparql
  
  
  
    
      "https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js">
      "http://km.aifb.kit.edu/sites/spark/src/jquery.spark.js">
    
    
      Testquery
      
   data-spark-endpoint="http://dbpedia.org/sparql" 
  # replace it to nevisian.dyndns.org/sparql
       data-spark-param-lastconjunct=" and "
       data-spark-format="simple"   
   data-spark-query="SELECT *
     WHERE { ?s ?p ?o 
      } LIMIT 5
                      ">
    loading
      
    
  

  
  
  -> result for dbpedia.org/sparql
  
  
  
  Best regards,
  
  Robert
  On 26.05.2011 02:04, Hugh Williams wrote:
  Hi Robbet,


My server was down this afternoon as I had modem problems,
  it is back online so try it again ...

   

  
Best Regards
Hugh Williams
Professional Services
OpenLink Software
Web: http://www.openlinksw.com
Support: http://support.openlinksw.com
Forums: http://boards.openlinksw.com/support
  
  Twitter: http://twitter.com/OpenLink

   
  
  
On 25 May 2011, at 13:34, Robbet wrote:


   Hi,

seems like the Windows firewall interfered. Finally i
can access my sparql endpoint via my dyndns account.
Thank you!


But another issue ...

I try to access this endpoint with rdf-spark (http://km.aifb.kit.edu/sites/spark/)
but i get to response. 
When i replace the endpoint value (data-spark-endpoint=" ") from my-dns-domain.org/sparql
  to dbpedia.org/sparql
  it works. 
  Unfortunately rdf-spark does not return any error
  codes so it's difficult to debug.
  
  Any ideas?
  
  P.S: Tried it with Hugh's sparql endpoint (http://nevisian.dyndns.org/sparql)
  too ... does not work as well.
  
  Best regards,
  
  Robert
On 25.05.2011 13:28, Tim Haynes wrote:

  On 24/05/2011 23:28, Robbet wrote:

  
Hello,

i'm trying to access my Virtuoso sparql endpoint on my local server 
using a dyndns client.
Unfortunately i get no access to xxx.dyndns.org:8890/sparql although the 
nececessary port is forwarded and open (tried it using an external post 
scanner). It does not work on the ip too so there is no problem with my 
dyndns host.

Any suggestions? Do i have to change something tin the virtuoso.ini? 
Miss another port?

  
  Hi,

Can you define `no access'? Is there a specific error message, and where
does it come from?

Are we to presume Virtuoso is running and listening on port 8890 (if on
linux/unix, verify with netstat), and/or are you able to connect from
localhost?

Have you done anything in the virtuoso.ini or the Conductor to restrict the
IP#s on which it listens?

Regards,

~Tim


 

Re: [Virtuoso-users] Virtuoso sparql endpoint - setup for external access

2011-05-26 Thread Robbet


  
  
Hi Hugh,

unfortunately still no result. Maybe the dbpedia endpoint returns
results in a more compatible format so it can be processed by
rdf-spark?
It seems to work also for http://lod.openlinksw.com/sparql
, http://uriburner.com/sparql/
but not for http://semantic.data.gov/sparql



  
    "https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js">
    "http://km.aifb.kit.edu/sites/spark/src/jquery.spark.js">
  
  
    Testquery
    

data-spark-endpoint="http://dbpedia.org/sparql"  #
replace it to nevisian.dyndns.org/sparql
     data-spark-param-lastconjunct=" and "
     data-spark-format="simple"   
 data-spark-query="SELECT *
   WHERE { ?s ?p ?o 
    } LIMIT 5
                    ">
  loading
    
  

  


-> result for dbpedia.org/sparql



Best regards,

Robert
On 26.05.2011 02:04, Hugh Williams wrote:
Hi Robbet,
  
  
  My server was down this afternoon as I had modem problems, it
is back online so try it again ...
  

  
  

  Best Regards
  Hugh Williams
  Professional Services
  OpenLink Software
  Web: http://www.openlinksw.com
  Support: http://support.openlinksw.com
  Forums: http://boards.openlinksw.com/support

Twitter: http://twitter.com/OpenLink
  




  On 25 May 2011, at 13:34, Robbet wrote:
  
  
 Hi,
  
  seems like the Windows firewall interfered. Finally i can
  access my sparql endpoint via my dyndns account.
  Thank you!
  
  
  But another issue ...
  
  I try to access this endpoint with rdf-spark (http://km.aifb.kit.edu/sites/spark/)
  but i get to response. 
  When i replace the endpoint value (data-spark-endpoint=" ") from my-dns-domain.org/sparql
to dbpedia.org/sparql
it works. 
Unfortunately rdf-spark does not return any error codes
so it's difficult to debug.

Any ideas?

P.S: Tried it with Hugh's sparql endpoint (http://nevisian.dyndns.org/sparql)
too ... does not work as well.

Best regards,

Robert
  On 25.05.2011 13:28, Tim Haynes wrote:
  
On 24/05/2011 23:28, Robbet wrote:


  Hello,

i'm trying to access my Virtuoso sparql endpoint on my local server 
using a dyndns client.
Unfortunately i get no access to xxx.dyndns.org:8890/sparql although the 
nececessary port is forwarded and open (tried it using an external post 
scanner). It does not work on the ip too so there is no problem with my 
dyndns host.

Any suggestions? Do i have to change something tin the virtuoso.ini? 
Miss another port?


Hi,

Can you define `no access'? Is there a specific error message, and where
does it come from?

Are we to presume Virtuoso is running and listening on port 8890 (if on
linux/unix, verify with netstat), and/or are you able to connect from
localhost?

Have you done anything in the virtuoso.ini or the Conductor to restrict the
IP#s on which it listens?

Regards,

~Tim

  

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and
recovery, 
you get blazing-fast, flexible, and affordable data
protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users
  


  
  

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
  

___
Virtuoso-users mailing list
Virtuoso-users@lists.sour

Re: [Virtuoso-users] Virtuoso sparql endpoint - setup for external access

2011-05-26 Thread Hugh Williams
Hi Robbet,

My server was down this afternoon as I had modem problems, it is back online so 
try it again ...

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Web: http://www.openlinksw.com
Support: http://support.openlinksw.com
Forums: http://boards.openlinksw.com/support
Twitter: http://twitter.com/OpenLink

On 25 May 2011, at 13:34, Robbet wrote:

> Hi,
> 
> seems like the Windows firewall interfered. Finally i can access my sparql 
> endpoint via my dyndns account.
> Thank you!
> 
> 
> But another issue ...
> 
> I try to access this endpoint with rdf-spark 
> (http://km.aifb.kit.edu/sites/spark/) but i get to response. 
> When i replace the endpoint value (data-spark-endpoint=" ") from 
> my-dns-domain.org/sparql to dbpedia.org/sparql it works. 
> Unfortunately rdf-spark does not return any error codes so it's difficult to 
> debug.
> 
> Any ideas?
> 
> P.S: Tried it with Hugh's sparql endpoint (http://nevisian.dyndns.org/sparql) 
> too ... does not work as well.
> 
> Best regards,
> 
> Robert
> On 25.05.2011 13:28, Tim Haynes wrote:
>> 
>> On 24/05/2011 23:28, Robbet wrote:
>>> Hello,
>>> 
>>> i'm trying to access my Virtuoso sparql endpoint on my local server 
>>> using a dyndns client.
>>> Unfortunately i get no access to xxx.dyndns.org:8890/sparql although the 
>>> nececessary port is forwarded and open (tried it using an external post 
>>> scanner). It does not work on the ip too so there is no problem with my 
>>> dyndns host.
>>> 
>>> Any suggestions? Do i have to change something tin the virtuoso.ini? 
>>> Miss another port?
>> Hi,
>> 
>> Can you define `no access'? Is there a specific error message, and where
>> does it come from?
>> 
>> Are we to presume Virtuoso is running and listening on port 8890 (if on
>> linux/unix, verify with netstat), and/or are you able to connect from
>> localhost?
>> 
>> Have you done anything in the virtuoso.ini or the Conductor to restrict the
>> IP#s on which it listens?
>> 
>> Regards,
>> 
>> ~Tim
> --
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery, 
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now. 
> http://p.sf.net/sfu/quest-d2dcopy1___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users



Re: [Virtuoso-users] Virtuoso sparql endpoint - setup for external access

2011-05-25 Thread Robbet

Hi,

seems like the Windows firewall interfered. Finally i can access my 
sparql endpoint via my dyndns account.

Thank you!


But another issue ...

I try to access this endpoint with rdf-spark 
(http://km.aifb.kit.edu/sites/spark/) but i get to response.
When i replace the endpoint value (data-spark-endpoint=" ") from 
/my-dns-domain.org/sparql/ to /dbpedia.org/sparql/ it works.
Unfortunately rdf-spark does not return any error codes so it's 
difficult to debug.


Any ideas?

P.S: Tried it with Hugh's sparql endpoint 
(/http://nevisian.dyndns.org/sparql/) too ... does not work as well.


Best regards,

Robert
On 25.05.2011 13:28, Tim Haynes wrote:

On 24/05/2011 23:28, Robbet wrote:

Hello,

i'm trying to access my Virtuoso sparql endpoint on my local server
using a dyndns client.
Unfortunately i get no access to xxx.dyndns.org:8890/sparql although the
nececessary port is forwarded and open (tried it using an external post
scanner). It does not work on the ip too so there is no problem with my
dyndns host.

Any suggestions? Do i have to change something tin the virtuoso.ini?
Miss another port?

Hi,

Can you define `no access'? Is there a specific error message, and where
does it come from?

Are we to presume Virtuoso is running and listening on port 8890 (if on
linux/unix, verify with netstat), and/or are you able to connect from
localhost?

Have you done anything in the virtuoso.ini or the Conductor to restrict the
IP#s on which it listens?

Regards,

~Tim


Re: [Virtuoso-users] Virtuoso sparql endpoint - setup for external access

2011-05-25 Thread Tim Haynes
On 24/05/2011 23:28, Robbet wrote:
> Hello,
> 
> i'm trying to access my Virtuoso sparql endpoint on my local server 
> using a dyndns client.
> Unfortunately i get no access to xxx.dyndns.org:8890/sparql although the 
> nececessary port is forwarded and open (tried it using an external post 
> scanner). It does not work on the ip too so there is no problem with my 
> dyndns host.
> 
> Any suggestions? Do i have to change something tin the virtuoso.ini? 
> Miss another port?

Hi,

Can you define `no access'? Is there a specific error message, and where
does it come from?

Are we to presume Virtuoso is running and listening on port 8890 (if on
linux/unix, verify with netstat), and/or are you able to connect from
localhost?

Have you done anything in the virtuoso.ini or the Conductor to restrict the
IP#s on which it listens?

Regards,

~Tim
-- 
Tim Haynes
Product Development Consultant
OpenLink Software





Re: [Virtuoso-users] Virtuoso sparql endpoint - setup for external access

2011-05-25 Thread Hugh Williams
Hi Robbet,

I have been hosting Virtuoso v5 & v6 servers externally using my home dyndns 
account for years and it has always worked:

http://nevisian.dyndns.org/

Nothing special had to be configured on whatever port is runs on as I use to 
run on port 8890 also. I just setup my dyndns account on ADSL modem, told it to 
map anything that comes in on port 80 to my local Linux box  hosting Virtuoso 
on port 80 or whatever port it was running on ...

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Web: http://www.openlinksw.com
Support: http://support.openlinksw.com
Forums: http://boards.openlinksw.com/support
Twitter: http://twitter.com/OpenLink

On 24 May 2011, at 23:28, Robbet wrote:

> Hello,
> 
> i'm trying to access my Virtuoso sparql endpoint on my local server 
> using a dyndns client.
> Unfortunately i get no access to xxx.dyndns.org:8890/sparql although the 
> nececessary port is forwarded and open (tried it using an external post 
> scanner). It does not work on the ip too so there is no problem with my 
> dyndns host.
> 
> Any suggestions? Do i have to change something tin the virtuoso.ini? 
> Miss another port?
> 
> Thank you!
> 
> Robert
> 
> --
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery, 
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now. 
> http://p.sf.net/sfu/quest-d2dcopy1
> ___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users