Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

whitakers returns 3 entries for quaedam but we only show one #28

Open
balmas opened this issue Sep 11, 2019 · 1 comment
Open

whitakers returns 3 entries for quaedam but we only show one #28

balmas opened this issue Sep 11, 2019 · 1 comment

Comments

@balmas
Copy link
Member

balmas commented Sep 11, 2019

I think this is probably a bug in our wordsxml wrapper -- the quaedam entry is getting turned into 3 and the one that contains the short definition is in an entry without a dict element so we exclude it.

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <oac:Annotation xmlns:oac="http://www.openannotation.org/ns/" rdf:about="urn:TuftsMorphologyService:quaedam:whitakerLat">
    <dcterms:creator xmlns:dcterms="http://purl.org/dc/terms/">
      <foaf:Agent xmlns:foaf="http://xmlns.com/foaf/0.1/" rdf:about="net.alpheios:tools:wordsxml.v1"/>
    </dcterms:creator>
    <dcterms:created xmlns:dcterms="http://purl.org/dc/terms/">2019-09-11T14:44:19.505082</dcterms:created>
    <dc:rights xmlns:dc="http://purl.org/dc/elements/1.1/">Short definitions and morphology from Words by William Whitaker, Copyright 1993-2007.</dc:rights>
    <oac:hasTarget>
      <rdf:Description rdf:about="urn:word:quaedam"/>
    </oac:hasTarget>
    <dc:title xmlns:dc="http://purl.org/dc/elements/1.1/"/>
    <oac:hasBody rdf:resource="urn:uuid:idm140154437264800"/>
    <oac:Body rdf:about="urn:uuid:idm140154437264800">
      <rdf:type rdf:resource="cnt:ContentAsXML"/>
      <cnt:rest xmlns:cnt="http://www.w3.org/2008/content#">
        <entry>
          <infl>
            <term xml:lang="lat">
              <stem>dam</stem>
            </term>
            <pofs>tackon</pofs>
          </infl>
          <mean>PACKON w/qui =&gt; certain; a certain (one); a certain thing;</mean>
        </entry>
      </cnt:rest>
    </oac:Body>
    <oac:hasBody rdf:resource="urn:uuid:idm140154432892704"/>
    <oac:Body rdf:about="urn:uuid:idm140154432892704">
      <rdf:type rdf:resource="cnt:ContentAsXML"/>
      <cnt:rest xmlns:cnt="http://www.w3.org/2008/content#">
        <entry>
          <infl>
            <term xml:lang="lat">
              <stem>qu</stem>
              <suff>ae</suff>
            </term>
            <pofs>pronoun</pofs>
            <decl>1st</decl>
            <case order="7">nominative</case>
            <num>plural</num>
            <gend>feminine</gend>
          </infl>
          <dict>
            <hdwd xml:lang="lat">qu</hdwd>
            <pofs>packon</pofs>
            <freq order="5">frequent</freq>
          </dict>
        </entry>
      </cnt:rest>
    </oac:Body>
    <oac:hasBody rdf:resource="urn:uuid:idm140154437825760"/>
    <oac:Body rdf:about="urn:uuid:idm140154437825760">
      <rdf:type rdf:resource="cnt:ContentAsXML"/>
      <cnt:rest xmlns:cnt="http://www.w3.org/2008/content#">
        <entry>
          <infl>
            <term xml:lang="lat">
              <stem>qu</stem>
              <suff>ae</suff>
            </term>
            <pofs>pronoun</pofs>
            <decl>1st</decl>
            <case order="7">nominative</case>
            <num>singular</num>
            <gend>feminine</gend>
          </infl>
          <mean>(w/-dam) certain; as INDEF a certain thing; somebody, one, something;</mean>
        </entry>
      </cnt:rest>
    </oac:Body>
  </oac:Annotation>
</rdf:RDF>
@balmas
Copy link
Member Author

balmas commented Jun 9, 2020

See also quemque which has a similar problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant