Hi Hoan, As stated in the private mail you sent me, once you have loaded the Geo Data triples with lat long info into Virtuoso you then need to run the "DB.DBA.RDF_GEO_FILL ()" function to populate the special RDF_GEO table with the point information as detailed at:
http://docs.openlinksw.com/virtuoso/rdfsparqlgeospat.html#rdfsparqlgeospatcrg
Then the geo-spatail information will be available and can be queried ...
Best Regards
Hugh Williams
Professional Services
OpenLink Software
Web: http://www.openlinksw.com
Support: http://support.openlinksw.com
Forums: http://boards.openlinksw.com/support
Twitter: http://twitter.com/OpenLink
On 12 Jan 2011, at 14:10, Nguyen Mau Quoc Hoan wrote:
>
> Hi Hugh. Thanks for your trail license.Everything is good till now.
> I've just created the graph from triple file by following the instruction
> VirtBulkRDFLoader. My graph has geo:lat and geo:long properties,how could I
> convert them to geometries to use spartial query.My triple data example like
> this:
>
> <http://linkedgeodata.org/triplify/node454640663>
> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
> <http://linkedgeodata.org/ontology/hostel> .
> <http://linkedgeodata.org/triplify/node454640663>
> <http://www.georss.org/georss/point> "53.2752338 -9.0443748" .
> <http://linkedgeodata.org/triplify/node454640663>
> <http://www.w3.org/2003/01/geo/wgs84_pos#long>
> "-9.0443748"^^<http://www.w3.org/2001/XMLSchema#decimal> .
> <http://linkedgeodata.org/triplify/node454640663>
> <http://www.w3.org/2003/01/geo/wgs84_pos#lat>
> "53.2752338"^^<http://www.w3.org/2001/XMLSchema#decimal> .
>
> <http://linkedgeodata.org/triplify/node280886720>
> <http://www.w3.org/2000/01/rdf-schema#label> "Abbey House" .
> <http://linkedgeodata.org/triplify/node280886720>
> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
> <http://linkedgeodata.org/ontology/bed_and_breakfast> .
> <http://linkedgeodata.org/triplify/node280886720>
> <http://www.georss.org/georss/point> "53.2874983 -9.0702631" .
> <http://linkedgeodata.org/triplify/node280886720>
> <http://www.w3.org/2003/01/geo/wgs84_pos#long>
> "-9.0702631"^^<http://www.w3.org/2001/XMLSchema#decimal> .
> <http://linkedgeodata.org/triplify/node280886720>
> <http://www.w3.org/2003/01/geo/wgs84_pos#lat>
> "53.2874983"^^<http://www.w3.org/2001/XMLSchema#decimal> .
>
> <http://linkedgeodata.org/triplify/node450250100>
> <http://www.w3.org/2000/01/rdf-schema#label> "Meyrick" .
> <http://linkedgeodata.org/triplify/node450250100>
> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
> <http://linkedgeodata.org/ontology/tourism_hotel> .
> <http://linkedgeodata.org/triplify/node450250100>
> <http://www.georss.org/georss/point> "53.2738588 -9.0482443" .
> <http://linkedgeodata.org/triplify/node450250100>
> <http://www.w3.org/2003/01/geo/wgs84_pos#long>
> "-9.0482443"^^<http://www.w3.org/2001/XMLSchema#decimal> .
> <http://linkedgeodata.org/triplify/node450250100>
> <http://www.w3.org/2003/01/geo/wgs84_pos#lat>
> "53.2738588"^^<http://www.w3.org/2001/XMLSchema#decimal> .
> and the graph has IRI <http://shanghai.com#>
> What's the next step I have to do?
> Best Regard.
> Hoan
>
>
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl_______________________________________________
> Virtuoso-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
