Sign in
apache
/
jena-site
/
f5c0a7728b3a2cfd85283e22cb0924fee8744250
/
.
/
static
/
tutorials
/
sparql_data
/
q-opt1.rq
blob: 83c9c5df621a5da3eba2459b965722c2078f75fc [
file
] [
log
] [
blame
]
# Optional example
PREFIX info
:
<
http
:
//somewhere/peopleInfo#>
PREFIX vcard
:
<
http
:
//www.w3.org/2001/vcard-rdf/3.0#>
SELECT
?
name
?
age
WHERE
{
?
person vcard
:
FN
?
name
.
OPTIONAL
{
?
person info
:
age
?
age
}
}