Traceback (most recent call last):
File "main.py", line 210, in
results = sparql.query().convert()
File "build\bdist.win32\egg\SPARQLWrapper\Wrapper.py", line 567, in query
File "build\bdist.win32\egg\SPARQLWrapper\Wrapper.py", line 537, in _query
File "C:\Users\xbbl1wk\AppData\Local\Continuum\Anaconda2\lib\urllib2.py", l
rlopen
return opener.open(url, data, timeout)
File "C:\Users\xbbl1wk\AppData\Local\Continuum\Anaconda2\lib\urllib2.py", l
pen
response = self._open(req, data)
File "C:\Users\xbbl1wk\AppData\Local\Continuum\Anaconda2\lib\urllib2.py", l
open
'_open', req)
File "C:\Users\xbbl1wk\AppData\Local\Continuum\Anaconda2\lib\urllib2.py", l
call_chain
result = func(*args)
File "C:\Users\xbbl1wk\AppData\Local\Continuum\Anaconda2\lib\urllib2.py", l
http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Users\xbbl1wk\AppData\Local\Continuum\Anaconda2\lib\urllib2.py", l
do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 10060] A connection attempt failed be
nected party did not properly respond after a period of time, or established
iled because connected host has failed to respond>
Hi elias,
Am getting below error..
C:\Users\xbbl1wk\Desktop\quepy-develop\examples\dbpedia>python main.py "who i
who is Tom Cruise
PREFIX owl: http://www.w3.org/2002/07/owl# PREFIX rdfs: http://www.w3.org/2000/01/rdf-schema# PREFIX rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# PREFIX foaf: http://xmlns.com/foaf/0.1/ PREFIX skos: http://www.w3.org/2004/02/skos/core# PREFIX quepy: http://www.machinalis.com/quepy# PREFIX dbpedia: http://dbpedia.org/ontology/ PREFIX dbpprop: http://dbpedia.org/property/ PREFIX dbpedia-owl: http://dbpedia.org/ontology/
SELECT DISTINCT ?x1 WHERE { ?x0 rdf:type foaf:Person. ?x0 rdfs:label "Tom Cruise"@en. ?x0 rdfs:comment ?x1. }
Traceback (most recent call last): File "main.py", line 210, in
results = sparql.query().convert()
File "build\bdist.win32\egg\SPARQLWrapper\Wrapper.py", line 567, in query
File "build\bdist.win32\egg\SPARQLWrapper\Wrapper.py", line 537, in _query
File "C:\Users\xbbl1wk\AppData\Local\Continuum\Anaconda2\lib\urllib2.py", l
rlopen
return opener.open(url, data, timeout)
File "C:\Users\xbbl1wk\AppData\Local\Continuum\Anaconda2\lib\urllib2.py", l
pen
response = self._open(req, data)
File "C:\Users\xbbl1wk\AppData\Local\Continuum\Anaconda2\lib\urllib2.py", l
open
'_open', req)
File "C:\Users\xbbl1wk\AppData\Local\Continuum\Anaconda2\lib\urllib2.py", l
call_chain
result = func(*args)
File "C:\Users\xbbl1wk\AppData\Local\Continuum\Anaconda2\lib\urllib2.py", l
http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Users\xbbl1wk\AppData\Local\Continuum\Anaconda2\lib\urllib2.py", l
do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 10060] A connection attempt failed be
nected party did not properly respond after a period of time, or established
iled because connected host has failed to respond>
can you please help..