Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
- @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
- @prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
- @prefix ex: <> .
- ex:Wilayah a rdfs:class .
- ex:Jenis a rdfs:class .
- ex:berlokasi a rdf:property .
- ex:berlokasi rdfs:domain ex:Wilayah .
- ex:berlokasi rdfs:range ex:Wilayah .
- ex:kodeKabKota a rdf:property .
- ex:kodeKabKota rdfs:domain ex:Wilayah .
- ex:kodeKabKota rdfs:range xsd:integer .
- ex:lattitude a rdf:property .
- ex:lattitude rdfs:domain ex:Wilayah .
- ex:lattitude rdfs:range xsd:integer .
- ex:longitude a rdf:property .
- ex:longitude rdfs:domain ex:Wilayah .
- ex:longitude rdfs:range xsd:integer .
- ex:jenisPajak a rdf:property .
- ex:jenisPajak rdfs:domain ex:Jenis .
- ex:jenisPajak rdfs:range xsd:Jenis .
- ex:Anggaran a rdf:property .
- ex:Anggaran rdfs:domain ex:Wilayah .
- ex:Anggaran rdfs:range xsd:float .
- ex:Realisasi a rdf:property .
- ex:Realisasi rdfs:domain ex:Wilayah .
- ex:Realisasi rdfs:range xsd:float .
- <?php
- $result = $sparql->query(
- 'SELECT * { ?subject ?predicate ?object }'
- );
- foreach ($result as $row) {
- echo "<li>"
- . link_to( $row->subject )
- . ', '
- . link_to( $row->predicate )
- . ', '
- . link_to( $row->object )
- . "</li>\n";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement