It’s very hard to answer these types of questions in a general way because there are more than one way to model things in Neo4j. Neo4j is a property graph. The most performant way to model this in Neo4j would be to put a SmartPhone label on the Product node, give the node a Resolution property, and create an index for that property on that label - but don’t take Stardog’s advice on how to best model your data in Neo4j, you should reach out to their forum for that. Generally, it’s less complicated in Stardog. There is no mechanism for indicating which properties are indexed and which are not, nor does is make a difference in query performance whether SmartPhone is a type or a property of the Product node. Stardog will optimize the query so that it performs. Why not download an eval and try it?
Paul Jackson