Last active
October 14, 2020 19:07
-
-
Save balmas/e7e0e6bc16f2501f3ca06f7462203f70 to your computer and use it in GitHub Desktop.
Use Case morphsvc#38 - Sample Query
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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