Re: [Virtuoso-users] SPARQL compare strings

2010-04-23 Thread Alexander Sidorov
Hi Ivan, Here is a dataset: http://www.mediafire.com/?drtwizwozq5 Here are sample queries to compare: prefix geo: prefix geonames: SELECT DISTINCT ?cityName FROM WHERE { ?city

Re: [Virtuoso-users] SPARQL compare strings

2010-04-23 Thread Ivan Mikhailov
Hello Alexander, What is the complete text of the query and what are the data in question? Additionally, what is exact server version? The case is quite strange because "by default" these two should result in identical fragments of SQL. Best Regards, Ivan Mikhailov OpenLink Software http://virtu

Re: [Virtuoso-users] SPARQL compare strings

2010-04-23 Thread Alexander Sidorov
I forgot to notice that first query doesn't work. 2010/4/23 Alexander Sidorov > Hello! > > Should these queries: > > WHERE > { > ?s " > http://www.geonames.org/ontology#P"; . > } > > WHERE > { > ?s ?f

[Virtuoso-users] SPARQL compare strings

2010-04-23 Thread Alexander Sidorov
Hello! Should these queries: WHERE { ?s " http://www.geonames.org/ontology#P"; . } WHERE { ?s ?featureClass . FILTER (?featureClass = "http://www.geonames.org/ontology#P";) } be equivalent? Yes, I k

Re: [Virtuoso-users] Which indexes could help to improve query performance.

2010-04-23 Thread Martin Gerlach
Hi Mitko, alright, I did the same with sparql select count(?conflict) where { ?conflict a ; ?p . ?p rdfs:subPropertyOf rdf:type ; ?dateBegin . }; I also attached the plan