Prompt 1:
Describe the iPad Pro from Apple in machine-computable form.
Response:
## JSON-LD Start ##
{
"@context": "https://schema.org/",
"@type": "Product",
"name": "iPad Pro",
"description": "Apple's professional-grade iPad",
"image": "https://example.com/ipad-pro.jpg",
"brand": "Apple",
"manufacturer": {
"@type": "Organization",
"name": "Apple Inc.",
"url": "https://www.apple.com/"
},
"model": {
"@type": "ProductModel",
"name": "iPad Pro",
"identifier": "MLMN2LL/A"
},
"offers": {
"@type": "Offer",
"priceCurrency": "USD",
"price": "799.00",
"availability": "http://schema.org/InStock"
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.8",
"reviewCount": "1000"
},
"weight": {
"@type": "QuantitativeValue",
"value": "1.41",
"unitCode": "kg"
},
"height": {
"@type": "QuantitativeValue",
"value": "24.74",
"unitCode": "cm"
},
"width": {
"@type": "QuantitativeValue",
"value": "17.85",
"unitCode": "cm"
},
"depth": {
"@type": "QuantitativeValue",
"value": "0.59",
"unitCode": "cm"
},
"color": "Silver",
"screenSize": {
"@type": "QuantitativeValue",
"value": "12.9",
"unitCode": "inch"
},
"processor": "A14Z Bionic chip",
"storageCapacity": {
"@type": "QuantitativeValue",
"value": "128",
"unitCode": "GB"
},
"connectivityTechnology": [
"Wi-Fi",
"Bluetooth 5.0",
"Cellular"
],
"operatingSystem": "iPadOS"
}
## JSON-LD End ##
Prompt 2:
Repeat using JSON.
Response:
## JSON Start ##
{
"name": "iPad Pro",
"description": "Apple's professional-grade iPad",
"image": "https://example.com/ipad-pro.jpg",
"brand": "Apple",
"manufacturer": {
"name": "Apple Inc.",
"url": "https://www.apple.com/"
},
"model": {
"name": "iPad Pro",
"identifier": "MLMN2LL/A"
},
"offers": {
"priceCurrency": "USD",
"price": "799.00",
"availability": "http://schema.org/InStock"
},
"aggregateRating": {
"ratingValue": "4.8",
"reviewCount": "1000"
},
"weight": {
"value": "1.41",
"unitCode": "kg"
},
"height": {
"value": "24.74",
"unitCode": "cm"
},
"width": {
"value": "17.85",
"unitCode": "cm"
},
"depth": {
"value": "0.59",
"unitCode": "cm"
},
"color": "Silver",
"screenSize": {
"value": "12.9",
"unitCode": "inch"
},
"processor": "A14Z Bionic chip",
"storageCapacity": {
"value": "128",
"unitCode": "GB"
},
"connectivityTechnology": [
"Wi-Fi",
"Bluetooth 5.0",
"Cellular"
],
"operatingSystem": "iPadOS"
}
## JSON End ##
Prompt 3:
Repeat using RDF-Turtle, using hash-based relative hyperlinks for subject and object denotatation while placing the generated code withing ## Turtle Start ## and ## Turtle End ## comment blocks.
Response:
## Turtle Start ##
@prefix schema: .
@prefix xsd: .
@prefix unit: .
@prefix product: <#> .
@prefix organization: <#organization> .
@prefix model: <#model> .
@prefix offer: <#offer> .
@prefix rating: <#rating> .
@prefix weight: <#weight> .
@prefix height: <#height> .
@prefix width: <#width> .
@prefix depth: <#depth> .
@prefix screenSize: <#screenSize> .
@prefix storageCapacity: <#storageCapacity> .
@prefix connectivity: <#connectivity> .
product: a schema:Product ;
schema:name "iPad Pro" ;
schema:description "Apple's professional-grade iPad" ;
schema:image "https://example.com/ipad-pro.jpg" ;
schema:brand "Apple" ;
schema:manufacturer organization: ;
schema:model model: ;
schema:offers offer: ;
schema:aggregateRating rating: ;
schema:weight weight: ;
schema:height height: ;
schema:width width: ;
schema:depth depth: ;
schema:color "Silver" ;
schema:screenSize screenSize: ;
schema:processor "A14Z Bionic chip" ;
schema:storageCapacity storageCapacity: ;
schema:connectivityTechnology connectivity: ;
schema:operatingSystem "iPadOS" .
organization: a schema:Organization ;
schema:name "Apple Inc." ;
schema:url "https://www.apple.com/" .
model: a schema:ProductModel ;
schema:name "iPad Pro" ;
schema:identifier "MLMN2LL/A" .
offer: a schema:Offer ;
schema:priceCurrency "USD" ;
schema:price "799.00" ;
schema:availability .
rating: a schema:AggregateRating ;
schema:ratingValue "4.8" ;
schema:reviewCount "1000" .
weight: a schema:QuantitativeValue ;
schema:value "1.41" ;
schema:unitCode unit:kg .
height: a schema:QuantitativeValue ;
schema:value "24.74" ;
schema:unitCode unit:cm .
width: a schema:QuantitativeValue ;
schema:value "17.85" ;
schema:unitCode unit:cm .
depth: a schema:QuantitativeValue ;
schema:value "0.59" ;
schema:unitCode unit:cm .
screenSize: a schema:QuantitativeValue ;
schema:value "12.9" ;
schema:unitCode unit:inch .
storageCapacity: a schema:QuantitativeValue ;
schema:value "128" ;
schema:unitCode unit:GB .
connectivity: a schema:ItemList ;
schema:itemListElement "Wi-Fi" ;
schema:itemListElement "Bluetooth 5.0" ;
schema:itemListElement "Cellular" .
## Turtle End ##