How many {natural product of taxon} are to/by {Cucumis sativus} ?
In regards to Cucumis sativus, how many natural products of taxons are done?
How many natural products of taxon are done by Cucumis sativus ?
SELECT ( COUNT ( ?n ) AS ?l ) { ?n property:natural_product_of_taxon resource:Cucumis_sativus }
SELECT (COUNT(?sub) AS ?subs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sub .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1582> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q23425 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P1582 wd:Q23425 }
4