Commands.Trivial Operations.SPARQLOperators

What operations?

One type of complex query:

mark all emails from mom green

this matches:

mark all emails from mom green => mark all %emails% %color%
  emails from mom => %emails% from %people%
    emails => all stored emails
    mom => person in contact list
  green => the color green

What Operators?

static data () : returns a single Subject, Property, or Value

the color green: "green" type %color%, property, value

partial query () : returns a hard-coded incomplete SPARQL query

emails =>
    PREFIX email:   <http://simile.mit.edu/2005/06/ontologies/email#>
    PREFIX rdfs:    <http://www.w3.org/2000/01/rdf-schema#>
    SELECT ?name ?from ?subject ?date
    WHERE
    { ?email email:subject ?subject .
      ?email email:from ?from .
      ?from rdfs:label ?name .
      ?email dc:date ?date
    }
    ORDER BY DESC(?date)

%emails% from %people% =>
    WHERE
    { ?email email:from ?from .
      ?from rdfs:label ?%people%
    }

%people% =>