Skip to content

Order not mantained in the result of the query #18

@thesagarsehgal

Description

@thesagarsehgal

When running with the CDLI database at https://github.com/cdli-gh/cqp4rdf/tree/master/data.

Sometimes the order of the results shown is not in the order.

For eg. for this query:-

w1:[  ( conll:UPOSTAG = "NOUN" )  ] w2:[  ( conll:UPOSTAG = "NUM" )  ] :: (w1.nif:nextWord=w2 | w2.nif:nextWord=w1)

But what happens with the first result is:-
Screenshot from 2020-01-13 17-42-28

  • The order of the result is not maintained. :-

for gurusz the word info is:-
ID 3
CDLI_ID o.1.3
FORM gurusz
LEMMA gurusz[male]
UPOSTAG NOUN
XPOSTAG N
FEATS Number=Sing

for 8(disz) the word info is:-
ID 2
CDLI_ID o.1.2
FORM 8(disz)
LEMMA 8(disz)[one]
UPOSTAG NUM
XPOSTAG NU
FEATS

  • Also, the second word in the keywords for the first result i.e. 8(disz) is also present in the left context of the result. And the word is repeated at both the places. Thus the same word is in the left context as well as the keyword words lists which we have.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions