Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to translate "a" in DSL #164

Open
maelle opened this issue Aug 31, 2023 · 3 comments
Open

how to translate "a" in DSL #164

maelle opened this issue Aug 31, 2023 · 3 comments

Comments

@maelle
Copy link
Collaborator

maelle commented Aug 31, 2023

spq_add("?class a owl:Class")

@lvaudor
Copy link
Owner

lvaudor commented Aug 31, 2023

Yes!!!! good find! I've stumbled upon this a few times (why no Issue? well I don't know... I think I might have tried to address this a looooong time ago before you even joined the project) by trying to enable the formulations "?class is owl:Class" or "?class==owl:Class" ).
Plus, isn't that issue somehow related to spq_set?

@maelle
Copy link
Collaborator Author

maelle commented Aug 31, 2023

a and is are special types of equals 🤔

I agree about spq_set()

@lvaudor
Copy link
Owner

lvaudor commented Sep 1, 2023

I was considering "a" and "is" just as some natural language because I couldn't find any property/verb actually corresponding to "is" in Wikidata or other ontologies.
For instance, we regularly use wdt:P31 "is an instance of" as our most basic definition in our queries but regularly too, I have needed to replace this with an even more basic wdt:????? "is" without finding how to do (I just mean, it's kind of hard to think of "a" to identify this property).
I'm sorry I know my explanations are probably a little confusing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants