rete
playground
Select
π₯ A team's full squad
#
Pos
Player
+2
1
GK
Franco Armani
β¦
2
DF
Juan Foyth
β¦
3
DF
NicolΓ‘s Tagliafico
β¦
4
DF
Gonzalo Montiel
β¦
Run this query β
no server Β· no download Β· no account
caviri.github.io/rete
Run this query in the playground β
26 rows Β· 1.4 s Β· no server, no download β the query runs in your browser.
The query
PREFIX wc: <https://w3id.org/rete/worldcup#> PREFIX sc: <http://schema.org/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT ?num ?pos ?player ?club ?dob WHERE { <https://w3id.org/rete/worldcup/team/Argentina> wc:squadPlayer ?p . ?p sc:name ?player . OPTIONAL { ?p wc:shirtNumber ?num } OPTIONAL { ?p wc:position ?pos } OPTIONAL { ?p sc:birthDate ?dob } OPTIONAL { ?p wc:clubAtTournament ?c . ?c rdfs:label ?club } } ORDER BY xsd:integer(?num)
rete playground
Β·
documentation
Β·
github.com/caviri/rete