Skip to content

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

@Lhaaits

Description

@Lhaaits

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',
];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions