SPARQL Query Example 2 in web ontology

By: Prof. Fazal Rehman Shamil
Last modified on May 27th, 2019

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

 

Prof. Fazal Rehman Shamil
Latest posts by Prof. Fazal Rehman Shamil (see all)