Hello,
I build a database that holds the ranks of the top 200 universities in the world. I enrich this dataset with the locations, which I construct query from
linkedgeodata.org. So I have the names, some more data and most importantly the Long and Lat coordinates.
I have all the data setup in a file now, in triples and validated, and I can do queries with Joseki over my own database. I want to use sgvizler to visualize the locations of the universities on the map!
The problem is, that when Joseki returns a query, it shows the Long en Lat values in quotation marks. I'll show u with these screenshots:
I don't wants those quotation marks there. I want just the numbers. Because sgvizler can't read the data like this, it wants just the numbers.
This was my query:
Select str(?Lat) str(?Long) ?Uni
Where {
I'll show how my database is build up.
This is a part of my triples database:
# BOSTON UNI .
ns1:node358276801 rdf:type ns2:School ,
ns2:Amenity ,
ns2:Node .
ns1:node358276801 rdfs:label "Boston University" .
ns2:directType ns2:School .
ns1:node358276801 geo:geometry "POINT(-71.1048 42.334)"^^virtrdf:Geometry ;
geo:lat 42.3339865 ;
geo:long -71.1047742 ;
Is it possible to rewrite the query so u remove the brackets? Or do we have to rewrite the database, and if so how? Or is there another way I can use sgvizler so it does read this data input and shows the locations?
Thanks a lot for your time, I hope you can help me out!
Sincerely,
Robbert Jaspers
Masters student Artificial Intelligence, Vrije Universiteit Amsterdam, Netherlands