Question: How many railway lines go through the station maintained by Public transport authority of western australia?
SPARQL query:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE { ?x onto:owningOrganisation <http://dbpedia.org/resource/Public_Transport_Authority_(Western_Australia)> . ?x onto:servingRailwayLine ?uri . ?uri rdf:type onto:RailwayLine}