nlg.templates.foaf.foaf.agent1.json Maven / Gradle / Ivy
{
"select": {"ag": {"@type": "prov:Agent"}},
"query": [
"prefix foaf ",
"select * from ag a prov:Agent ",
"where ag[prov:type] >= 'prov:Person'",
" and ag[foaf:givenName] exists"],
"sentence": {
"type": "clause",
"subject": {"type": "noun_phrase",
"head": {"type": "@funcall",
"@object": "ag",
"@property": "foaf:givenName",
"@function": "identity"}},
"verb": "be",
"object": {"type":"noun_phrase",
"head":"person",
"determiner":"a"},
"modifiers": [{"type": "preposition_phrase",
"preposition": "with email address",
"noun": {"type": "@funcall",
"@object": "ag",
"@property": "foaf:mbox",
"@optional": "true",
"@function": "email"}}],
"features" : {"tense": "present"}
},
"context": {
"ex": "http://example.org/#",
"foaf": "http://xmlns.com/foaf/0.1/"
}
}