Skip to content

Instantly share code, notes, and snippets.

@balmas
Created October 14, 2020 18:38
Show Gist options
  • Save balmas/ecc9db3da04fbf32d3e0f8efdf6b2774 to your computer and use it in GitHub Desktop.
Save balmas/ecc9db3da04fbf32d3e0f8efdf6b2774 to your computer and use it in GitHub Desktop.
Use Case morpheus#28 Sample Query
query {
wordAnnotations(
word:{
representation:"τίνος",
lang: "grc"
},
lexemes: [{
lemma: {
representation:"τίς",
pos: X,
principalParts:[],
lang:"grc",
source:"morphgrc"
}
}]) {
target {
IRI
... on Word {
IRI
representation
lang
}
... on Lexeme {
lemma {
IRI
representation
}
}
}
assertions {
subject {
IRI
... on Lemma {
representation
pos
lang
principalParts
}
}
predicate
object {
IRI
... on Inflection {
udfeatures {
Case
Gender
Number
}
},
... on Word {
representation
lang
},
... on Lemma {
representation
pos
principalParts
}
},
authorities
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment