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

owl:sameAs not showing up in my instance of query service #125

Open
Lhaaits opened this issue Apr 6, 2023 · 4 comments
Open

owl:sameAs not showing up in my instance of query service #125

Lhaaits opened this issue Apr 6, 2023 · 4 comments

Comments

@Lhaaits
Copy link

Lhaaits commented Apr 6, 2023

I'm running a docker instance of wikibase and wdqs according to the wmde docker-compose file (with customization).
I've added WikibaseRDF extension and have gotten it to work locally. As in, I can create mappings to urls for entities.
Screenshot 2023-04-06 at 17 26 38

However, I do not get any results if I search for

PREFIX owl: <http://www.w3.org/2002/07/owl#>
SELECT ?item ?itemLabel ?itemDescription  ?object ?objectLabel ?objectDescription WHERE
{
?item owl:sameAs ?object.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}

or any owl:sameAs result with this one:

select * where { ?a ?b ?c}

auto suggest does recognize owl:sameAs though...
Am I missing anything?

I have this in my localSettings.php:

wfLoadExtension( 'WikibaseRDF' );
$wgWikibaseRdfPredicates = [
    'owl:sameAs',
    'owl:SymmetricProperty',
    'rdfs:subClassOf',
    'rdfs:subPropertyOf',
];
@Abbe98
Copy link

Abbe98 commented Nov 6, 2023

I have the same issue, the mappings appear in the RDF over at Special:EntityData but it never becomes available in WDQS/BG. No obvious errors in any logs.

@JeroenDeDauw
Copy link
Member

Is other data defined via Wikibase RDF showing up in WDQS/BG? In other words, is it just owl:sameAs that is missing?

@Abbe98
Copy link

Abbe98 commented Nov 6, 2023

On my end all mappings created by WikibaseRDF ends up missing while other data is updated correctly.

Example RDF: https://wikibase.wbworkshop.tibwiki.io/wiki/Special:EntityData/P36.rdf
Query: https://tinyurl.com/ywd3gqep

@Abbe98
Copy link

Abbe98 commented Nov 15, 2023

I wonder if this could be caused by the RDF types having two nodes about each direct prop? Thus the updater skips the one from WikibaseRDF given it could look like a already processed node?

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

3 participants