Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I want to fetch all the entities which are in relationship to a specific entity (one to many-relationship). What is the exact NSPredicate I should use?
Found it out myself, anybody who has the same Problem:
NSPredicate* predicate = [NSPredicate predicateWithFormat:#"ANY entityName=%#", #"B", selected];
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 10 months ago.
Improve this question
I want to show recently added data in the collection from MongoDB.
How can I do that?
You can use auto-generated-createdat-and-updatedat-fields-in-mongodb, then use the $orderby operator to order it descending.
It may be worth it to add an index on those fields if you expect your table to grow.
db.collection.find().sort( { age: -1 } )
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I need it to do some entity extraction. How do I get an annotated dataset with JobTitles?
Here is what I suggest to do, if you haven't come across any datasets. Grab wikipedia occupation lists: https://en.wikipedia.org/wiki/Lists_of_occupations, create a gazetteer list of jobs and write regular expressions to capture them or any variations in the text and you have annotated data :).
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am reading tutorials and practice webs and I don't see the difference between IN and EXISTS
And one more question:
when should I put the subquery in the SELECT section, in the FROM section, in the WHERE section, in the HAVING section?
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
what is the difference between the word net and the ontology? As far as I know wordnet can be extended to ontology. If so how can we do that?
There are many different ontologies. Wordnet is one of them.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I'm developing a software where a user can be a friend of another user. Is friend a class on a UML model?
I think friend is a user.
Thank you.
Friend is a relationship between two users. See this list of relationship types, perhaps one of them will be right for what you are trying to model.