Developers Meeting 7 : A standard way to query in ActivityPub

Meeting Minutes

Super nice meeting, 7 people attended.
In the beginning we talked about an Ontology for the Fediverse
Repository and Pages at redaktor.github.io/vocab in 4 languages

Then we came to the core topic of the meeting and checked out the available alternatives for querying which included
• SPARQL inkl. json-rql
• GraphQL
• JSON-LD Framing Using JSON-LD Framing as a Query Language | david w barratt
and we weighted the Pros and Cons.
The common intent to use SPARQL was clear.

It took three hours until we had a final text.
So, all then remaining 4 people showed (yet) interest in the

Proposal
re. the Spec. section 4.1 Actor objects “The endpoints mapping MAY include the following properties:”

We specify a sparql property in the endpoints object of an Actor for querying the public collection of the AP instance you got the profile from.

Clients must set the content type as specified in the SPARQL specification (1) or to application/ld+json; profile=“ActivityStreams 2.0 Terms”.
In case of the latter this is expecting a query like

{
    "id": "myID",
    "type": ["Query"],
    "@where" : {
        "@type" : "Person", 
        "birthPlace" : { "name": { "@contains" : "London" }  }
    }  
}

The properties for the type Query are defined in json-rql - v0.6.2 | json-rql - v0.6.2


  1. SPARQL 1.1 Protocol

I will inform others about the final proposal.
Notes apart from voting:
It was said that the querying language used (in this case json-rql as default) should be specified in the Query Object to allow for other JSON-based extensions (e.g. GraphQL).


Other Topics

Later steffen brought up another important topic and so;
We did also talked about fedi.camp and doing a Call for Participation.

The problem will be: Fedi Camp is a huge physical camping and the Internet connection is limited.
We will discuss solutions with other organisers like if we do 1 live streaming with 1 camera, 1 mic and 1 projector attached and everyone switches off mobiles. Or if we do async sessions like about Topics or AMAs.
So that developers and users from anywhere can come together.
Then I will write a CFP here.

—-

Thanks to anyone who attended, happy holidays anyone.

boat (boat by hamish)