小编pil*_*tle的帖子

如何使用Turtle sparql php

我正在尝试过滤用Turtle编写的这个数据库

@prefix : <http://www.essepuntato.it/resource/> .
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> .
@prefix cs: <http://cs.unibo.it/ontology/> .        
:pt0001
     vcard:category "Poste e Telegrafi"
    ; vcard:fn "Ufficio Bologna 1"
    ; vcard:extended-address "Via Cairoli 9, Bologna BO, Italy"
    ; vcard:latitude "44.504192"
    ; vcard:longitude "11.338661"
    ; vcard:tel "051 243425"
    ; vcard:fax "051 244459"
    ; cs:opening "Mon, Tue, Wed, Thu, Fri: 0800-1330. Sat: 0800-1230."
    ; cs:closing "01-01, 01-06, P, LA, 04-25, 05-01, 06-02, 08-15, 11-01, 12-08, 12-25,     12-26: .".
Run Code Online (Sandbox Code Playgroud)

我使用arc2 api,因为RAP不起作用.我写了这段代码,但它不起作用:

<?php
/* ARC2 static class inclusion */ 
include_once('./arc2/ARC2.php'); …
Run Code Online (Sandbox Code Playgroud)

php sparql turtle-rdf

7
推荐指数
1
解决办法
493
查看次数

标签 统计

php ×1

sparql ×1

turtle-rdf ×1