It seems that I certainly need EL.
I'm now using snarl protocol and no longer getting the permission denied error. But, i am getting a message when running this query:
Executing Query:
SELECT ?s WHERE { ?s a <
http://xxx/IntersectionOfTwoClasses>}
See server logs for details.
--------
The only log I see is stardog.log off of the home directory. And it does not contain any messages pertaining to this query. Just the last load.
Here is my ontology:
    <owl:Class rdf:about="&xxx;IntersectionOfTwoClasses"> [ should have members a, b, c, e; but I get the message above]
        <owl:equivalentClass>
            <owl:Class>
                <owl:intersectionOf rdf:parseType="Collection">
                    <rdf:Description rdf:about="&xxx;Class1"/>
                    <rdf:Description rdf:about="&xxx;Class2"/>
                </owl:intersectionOf>
            </owl:Class>
        </owl:equivalentClass>
    </owl:Class>
    <owl:Class rdf:about="&xxx;Class1"> [has members a, b, c, e; query works]
        <owl:equivalentClass>
            <owl:Class>
                <owl:intersectionOf rdf:parseType="Collection">
                    <rdf:Description rdf:about="&xxx;Class"/>
                    <owl:Restriction>
                        <owl:onProperty rdf:resource="&xxx;thingPurchasedBy"/>
                        <owl:someValuesFrom rdf:resource="&foaf;Person"/>
                    </owl:Restriction>
                </owl:intersectionOf>
            </owl:Class>
        </owl:equivalentClass>
    </owl:Class>
returns individuals: a, b, c, e
-----------
    <owl:Class rdf:about="&xxx;Class2">
        <owl:equivalentClass>
            <owl:Class>
                <owl:intersectionOf rdf:parseType="Collection">
                    <rdf:Description rdf:about="&xxx;Class"/>
                    <owl:Restriction>
                        <owl:onProperty rdf:resource="&xxx;thingType"/>
                        <owl:hasValue rdf:datatype="&xsd;integer">1</owl:hasValue>
                    </owl:Restriction>
                </owl:intersectionOf>
            </owl:Class>
        </owl:equivalentClass>
    </owl:Class>
returns individuals: a, b, c, d, e
Maybe I'm missing something...Protege shows the desired outcome; not sure what I'm missing.
Thanks,
Batla