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 “[email protected]” . |
Resource Description Framework(RDF):
Subject:
- person01
Predicate:
- firstName
- LastName
- postalCode
- City
- HomeTel
- Street
- Country
Object:
- Sameed
- khan
- 42200
- Mianwali
- 012345
- StreetNo3
- Pakistan
- [email protected]