Hi Lorenz, This looks like a known issue a fix is currently being finalised for, see:
https://github.com/openlink/virtuoso-opensource/issues/111 <https://github.com/openlink/virtuoso-opensource/issues/111> http://sourceforge.net/p/dbpedia/mailman/message/32478789/ <http://sourceforge.net/p/dbpedia/mailman/message/32478789/> So we should fix for this available in the open source archive soon … Best Regards Hugh Williams Professional Services OpenLink Software, Inc. // http://www.openlinksw.com/ Weblog -- http://www.openlinksw.com/blogs/ LinkedIn -- http://www.linkedin.com/company/openlink-software/ Twitter -- http://twitter.com/OpenLink Google+ -- http://plus.google.com/100570109519069333827/ Facebook -- http://www.facebook.com/OpenLinkSoftware Universal Data Access, Integration, and Management Technology Providers > On 10 Nov 2014, at 09:06, Lorenz Bühmann <buehm...@informatik.uni-leipzig.de> > wrote: > > Hi, > > I loaded parts of the DBpedia dataset into my local Virtuoso instance. The > version is Virtuoso version 07.10.3211 on Linux (x86_64-unknown-linux-gnu), > Single Server Edition . > > The endpoint is available at > http://akswnc3.informatik.uni-leipzig.de:8860/sparql > <http://akswnc3.informatik.uni-leipzig.de:8860/sparql> > > When I run the query (see http://tinyurl.com/qhdzlbg > <http://tinyurl.com/qhdzlbg> ) > > describe(<http://dbpedia.org/resource/Bumblehood> > <http://dbpedia.org/resource/Bumblehood>) > > to get triples about a specific resource, I get > > @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> > <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . > @prefix dbpedia: <http://dbpedia.org/resource/> > <http://dbpedia.org/resource/> . > @prefix ns2: <http://schema.org/> <http://schema.org/> . > dbpedia:Bumblehood rdf:type ns2:Organization . > @prefix ns3: <http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#> > <http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#> . > dbpedia:Bumblehood rdf:type ns3:SocialPerson . > @prefix ns4: <http://dbpedia.org/ontology/> <http://dbpedia.org/ontology/> . > dbpedia:Bumblehood rdf:type ns4:Company . > @prefix owl: <http://www.w3.org/2002/07/owl#> > <http://www.w3.org/2002/07/owl#> . > dbpedia:Bumblehood rdf:type owl:Thing , > ns3:Agent , > ns4:Organisation , > ns4:Agent . > @prefix xsd: <http://www.w3.org/2001/XMLSchema#> > <http://www.w3.org/2001/XMLSchema#> . > dbpedia:Bumblehood ns4:formationDate "2009-02-15+02:00"^^xsd:date ; > ns4:keyPerson dbpedia:Chief_executive_officer ; > ns4:location dbpedia:Zagreb , > dbpedia:Moscow , > dbpedia:Munich ; > ns4:numberOfEmployees 17 ; > ns4:type dbpedia:Privately_held_company . > @prefix foaf: <http://xmlns.com/foaf/0.1/> <http://xmlns.com/foaf/0.1/> . > dbpedia:Bumblehood foaf:homepage <http://www.bumblehood.com/> > <http://www.bumblehood.com/> ; > foaf:name "Bumblehood, Inc."@en . > > Now suppose I want to go into the inverse direction, that means I run a query > (see http://tinyurl.com/of472dp <http://tinyurl.com/of472dp> ) to get all > resources that have the same formation date, i.e. > > SELECT DISTINCT ?s WHERE { > ?s <http://dbpedia.org/ontology/formationDate> > <http://dbpedia.org/ontology/formationDate> > "2009-02-15+02:00"^^<http://www.w3.org/2001/XMLSchema#date> > <http://www.w3.org/2001/XMLSchema#date>. > } > > it returns an empty set. I know that there are some problems with dates, but > I don't get the point here, because date literals are returned but can not be > used to match the same resource. > > I read about some workarounds like filtering by the lexical form, e.g. > > SELECT DISTINCT ?s WHERE { > ?s <http://dbpedia.org/ontology/formationDate> > <http://dbpedia.org/ontology/formationDate> ?date. > FILTER(STR(?date) = "2009-02-15+02:00") > } > > but that also does not work (see http://tinyurl.com/pmuu5fr > <http://tinyurl.com/pmuu5fr> ). It only works if I use a different lexical > form and omit the timezone information from the string, like > > SELECT DISTINCT ?s WHERE { > ?s <http://dbpedia.org/ontology/formationDate> > <http://dbpedia.org/ontology/formationDate> ?date. > FILTER(STR(?date) = "2009-02-15") > } > > which is also some kind of strange as I would assume the lexical form is just > "2009-02-15+02:00" . > > Is there anything I'm doing wrong? > > > Kind regards, > Lorenz > > -- > Lorenz Bühmann > AKSW group, University of Leipzig > Group: http://aksw.org <http://aksw.org/> - semantic web research center > ------------------------------------------------------------------------------ > _______________________________________________ > Virtuoso-users mailing list > Virtuoso-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/virtuoso-users
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------
_______________________________________________ Virtuoso-users mailing list Virtuoso-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtuoso-users