{"action":"closed","issue":{"number":14,"created_at":"2011-10-19T02:59:38Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Originally filed by joernh...@gmail.com on 2010-11-08T11:50:11\n\nIf I use langMatches [1] in a sparql query I get this error:\r\n\r\nTraceback (most recent call last):\r\n  File \"blablabla.py\", line 150, in <module>\r\n    res = graph.query(printq)\r\n  File \"/usr/local/lib/python2.6/dist-packages/rdflib-3.0.0-py2.6.egg/rdflib/graph.py\", line 770, in query\r\n    return result(processor.query(query_object))\r\n  File \"/usr/local/lib/python2.6/dist-packages/rdfextras-0.1a-py2.6.egg/rdfextras/sparql/processor.py\", line 43, in query\r\n    extensionFunctions=extensionFunctions)\r\n  File \"/usr/local/lib/python2.6/dist-packages/rdfextras-0.1a-py2.6.egg/rdfextras/sparql/algebra.py\", line 360, in TopEvaluate\r\n    result = expr.evaluate(tripleStore,passedBindings,query.prolog)\r\n  File \"/usr/local/lib/python2.6/dist-packages/rdfextras-0.1a-py2.6.egg/rdfextras/sparql/algebra.py\", line 929, in evaluate\r\n    left = self.left.evaluate(tripleStore,initialBindings,prolog)\r\n  File \"/usr/local/lib/python2.6/dist-packages/rdfextras-0.1a-py2.6.egg/rdfextras/sparql/algebra.py\", line 948, in evaluate\r\n    _ExpandLeftJoin(b,self.right,tripleStore,prolog)            \r\n  File \"/usr/local/lib/python2.6/dist-packages/rdfextras-0.1a-py2.6.egg/rdfextras/sparql/algebra.py\", line 866, in _ExpandLeftJoin\r\n    optTree.topLevelExpand(expression.constraints, prolog)\r\n  File \"/usr/local/lib/python2.6/dist-packages/rdfextras-0.1a-py2.6.egg/rdfextras/sparql/query.py\", line 450, in topLevelExpand\r\n    self.expand(constraints)\r\n  File \"/usr/local/lib/python2.6/dist-packages/rdfextras-0.1a-py2.6.egg/rdfextras/sparql/query.py\", line 545, in expand\r\n    self.expandAtClient(constraints)\r\n  File \"/usr/local/lib/python2.6/dist-packages/rdfextras-0.1a-py2.6.egg/rdfextras/sparql/query.py\", line 668, in expandAtClient\r\n    child.expand(constraints)\r\n  File \"/usr/local/lib/python2.6/dist-packages/rdfextras-0.1a-py2.6.egg/rdfextras/sparql/query.py\", line 545, in expand\r\n    self.expandAtClient(constraints)\r\n  File \"/usr/local/lib/python2.6/dist-packages/rdfextras-0.1a-py2.6.egg/rdfextras/sparql/query.py\", line 680, in expandAtClient\r\n    if func(self.bindings) == False :\r\n  File \"<string>\", line 1, in <lambda>\r\nAttributeError: 'module' object has no attribute 'langmatches'\r\n\r\n[1]: http://www.w3.org/TR/rdf-sparql-query/#func-langMatches","comments":0,"title":"sparql langMatches missing","updated_at":"2011-10-19T02:59:46Z","url":"https://api.github.com/repos/gjhiggins/rdfextras/issues/14","id":1990178,"assignee":null,"milestone":null,"closed_at":"2011-10-19T02:59:46Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/918398787dc9e085672703644972e5e4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"918398787dc9e085672703644972e5e4","url":"https://api.github.com/users/gjhiggins","id":16417,"login":"gjhiggins"},"html_url":"https://github.com/gjhiggins/rdfextras/issues/14","labels":[{"name":"Priority-Medium","url":"https://api.github.com/repos/gjhiggins/rdfextras/labels/Priority-Medium","color":"ededed"},{"name":"Type-Defect","url":"https://api.github.com/repos/gjhiggins/rdfextras/labels/Type-Defect","color":"ededed"}],"state":"closed"},"legacy":{"number":14,"action":"closed","issue":1990178}}