Skip to content

Instantly share code, notes, and snippets.

@balmas
Last active October 14, 2020 19:07
Show Gist options
  • Save balmas/e7e0e6bc16f2501f3ca06f7462203f70 to your computer and use it in GitHub Desktop.
Save balmas/e7e0e6bc16f2501f3ca06f7462203f70 to your computer and use it in GitHub Desktop.
Use Case morphsvc#38 - Sample Query
query {
wordAnnotations(
word: {
representation: "afore",
lang:"lat"
},
lexemes:[
{
lemma:{
representation:"afore",
lang: "lat",
pos: VERB,
source: "net.alpheios:tools:wordsxml.v1"
principalParts: []
},
inflections: [
{
form: "afore",
udfeatures:{
Tense: "future",
Voice:"active",
Mood:"infinitive"
}
}
]
}
]
) {
target {
... on Lexeme {
lemma {
representation
pos
principalParts
}
}
}
assertions {
subject {
IRI
... on Lemma {
representation
pos
langpos
principalParts
}
}
predicate
object {
IRI
... on Lemma {
representation
pos
langpos
principalParts
}
}
qualifiers {
prefer
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment