Last updated on:August 25th, 2018,

SPARQL Query Example 2 in web ontology

SPARQL Query Example 2:

Draw the RDF for the following SPARQL code;

@prefix ab: <https://t4tutorials.com/person#> .
ab:01 ab:firstName “sameed” ;
ab:lastName “khan” ;
ab:postalCode “42200” ;
ab:city “Mianwali” ;
ab:homeTel “(012345” ;
ab:street “StreetNo3” ;
ab:country “Pakistan” ;
ab:email “sameedkhan@hotmail.com” .

Resource Description Framework(RDF):

semantic web

Subject:

  • person01

Predicate:

  • firstName
  • LastName
  • postalCode
  • City
  • HomeTel
  • Street
  • Country 
  • Email

Object:

  • Sameed
  • khan
  • 42200
  • Mianwali
  • 012345
  • StreetNo3
  • Pakistan
  • Sameedkhan@hotmail.com

 

0Shares

Leave a Reply

Your email address will not be published.