Objectives: The neutrosophic set has a more powerful ability to process imprecise information compared to the vague set. The objective of the authors is to process the uncertain query using vague as well as neutrosophic logic and compare the result. Methods: Authors have designed a new architecture to process uncertain queries using vague as well as neutrosophic sets. In the architecture at first, the imprecise query has been taken as input. From the inputted imprecise query uncertain data and fuzzy attributes are identified. Next, using the truth membership algorithm the truth membership value between uncertain data and the fuzzy attribute value for each tuple is calculated. This truth membership value is used to obtain the false and indeterminacy membership value to represent the domain of fuzzy attribute in vague or neutrosophic form. Then, the tolerance membership value of each tuple corresponding to the imprecise query is determined by using the similarity measures formula for vague as well as neutrosophic set. Findings: Using the truth membership algorithm and similarity measures formula, the tolerance membership value for each tuple of the relation corresponding to an imprecise query is obtained. If an imprecise query consists of more than one fuzzy attribute then the fuzzy intersection is used to obtain the membership value of the tuple. After obtaining the tolerance membership value of each tuples, the decision maker will provide a threshold (α-cut) value based on which an SQL is generated which fetched a set of tuples whose membership value meets the threshold (α-cut) value for vague as well as neutrosophic set. Authors have considered a patient database to process uncertain queries using a neutrosophic set and claimed neutrosophic set gives better results compared to vague. Novelty: The novelty of this work is to train the computer using a soft set to obtain desired outcomes while processing imprecise query in the database. Keywords: Fuzzy data, Vague set, Neutrosophic Set, Similarity Measures, α -Equal neutrosophic data