Simple Question (Direct)
Simple Question
Q196263
P410
Q4189293
USER
Which is the title held by Mario Benjamín Menéndez ?
(Q196263,P410,c(Q4189293))
action filter_type
action find
entity Q196263
relation P410
type Q4189293
['Q196263', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?f WHERE { resource:Q196263 property:P410 ?f . ?f rdf:type ontology:Q4189293 }
Mario Benjamín Menéndez
action filter_type
action find
entity Mario Benjamín Menéndez
relation military rank
type title
['Mario Benjamín Menéndez', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?f WHERE { resource:Mario_Benjamín_Menéndez property:military_rank ?f . ?f rdf:type ontology:title }
[]
title
Q83460
SYSTEM
general officer
Q83460
(Q196263,P410,c(Q4189293))
action filter_type
action find
entity Q196263
relation P410
type Q4189293
[ANSWER] is the title held by Mario Benjamín Menéndez
['Q196263', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?f WHERE { resource:Q196263 property:P410 ?f . ?f rdf:type ontology:Q4189293 }
general officer
General officer is the title held by Mario Benjamín Menéndez
general officer
action filter_type
action find
entity Mario Benjamín Menéndez
relation military rank
type title
['Mario Benjamín Menéndez', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?f WHERE { resource:Mario_Benjamín_Menéndez property:military_rank ?f . ?f rdf:type ontology:title }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q196263
P710
Q1190554
USER
Which event has Mario Benjamín Menéndez as its participant ?
(c(Q1190554),P710,Q196263)
action filter_type
action find_reverse
entity Q196263
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q196263']
SELECT DISTINCT ?b WHERE { ?b property:P710 resource:Q196263 . ?b rdf:type ontology:Q1190554 }
Mario Benjamín Menéndez
action filter_type
action find_reverse
entity Mario Benjamín Menéndez
relation participant
type event
[{'concept': 'event'}, 'participant', 'Mario Benjamín Menéndez']
SELECT DISTINCT ?b WHERE { ?b property:participant resource:Mario_Benjamín_Menéndez . ?b rdf:type ontology:event }
[]
event
Q4930640
SYSTEM
Bluff Cove Air Attacks
Q4930640
(c(Q1190554),P710,Q196263)
action filter_type
action find_reverse
entity Q196263
relation P710
type Q1190554
[ANSWER] has Mario Benjamín Menéndez as its participant
[{'concept': 'Q1190554'}, 'P710', 'Q196263']
SELECT DISTINCT ?b WHERE { ?b property:P710 resource:Q196263 . ?b rdf:type ontology:Q1190554 }
Bluff Cove Air Attacks
Bluff Cove Air Attacks has Mario Benjamín Menéndez as its participant
Bluff Cove Air Attacks
action filter_type
action find_reverse
entity Mario Benjamín Menéndez
relation participant
type event
[{'concept': 'event'}, 'participant', 'Mario Benjamín Menéndez']
SELECT DISTINCT ?b WHERE { ?b property:participant resource:Mario_Benjamín_Menéndez . ?b rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q196263
P1412
Q34770
USER
Which language is Mario Benjamín Menéndez capable of writing ?
(Q196263,P1412,c(Q34770))
action filter_type
action find
entity Q196263
relation P1412
type Q34770
['Q196263', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q196263 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
Mario Benjamín Menéndez
action filter_type
action find
entity Mario Benjamín Menéndez
relation languages spoken, written or signed
type language
['Mario Benjamín Menéndez', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Mario_Benjamín_Menéndez property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q196263,P1412,c(Q34770))
action filter_type
action find
entity Q196263
relation P1412
type Q34770
[ANSWER] is Mario Benjamín Menéndez capable of writing
['Q196263', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q196263 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
Spanish
Spanish is Mario Benjamín Menéndez capable of writing
Spanish
action filter_type
action find
entity Mario Benjamín Menéndez
relation languages spoken, written or signed
type language
['Mario Benjamín Menéndez', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Mario_Benjamín_Menéndez property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P37
Q34770 Q7275 Q15617994
USER
How many languages are the official languages of approximately 15 states or administrative territories ?
(c(Q7275)|c(Q15617994),P37,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
value 15
[[{'concept': 'Q7275'}, {'concept': 'Q15617994'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?w WHERE { { ?p property:P37 ?w . ?p rdf:type ontology:Q7275 . ?w rdf:type ontology:Q34770 } UNION { ?p property:P37 ?w . ?w rdf:type ontology:Q34770 . ?p rdf:type ontology:Q15617994 } } GROUP BY ?w } . FILTER ( ?a = 15 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation official language
type language
type state
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
value 15
[[{'concept': 'state'}, {'concept': 'designation for an administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?w WHERE { { ?p property:official_language ?w . ?p rdf:type ontology:state . ?w rdf:type ontology:language } UNION { ?p property:official_language ?w . ?w rdf:type ontology:language . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?w } . FILTER ( ?a = 15 ) }
[]
language state designation for an administrative territorial entity
SYSTEM
15
Q9056 Q33251 Q13211 Q3110592 Q36206 Q652 Q8752 Q1321 Q36880 Q33976 Q35499 Q397 Q35726 Q8785 Q25164
(c(Q7275)|c(Q15617994),P37,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
value 15
[ANSWER]
[[{'concept': 'Q7275'}, {'concept': 'Q15617994'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?w WHERE { { ?p property:P37 ?w . ?p rdf:type ontology:Q7275 . ?w rdf:type ontology:Q34770 } UNION { ?p property:P37 ?w . ?w rdf:type ontology:Q34770 . ?p rdf:type ontology:Q15617994 } } GROUP BY ?w } . FILTER ( ?a = 15 ) }
Czech Church Slavonic Ruthenian written Chinese Lak Italian Basque Spanish Bulgar language Sardinian language Old Church Slavonic Latin Etruscan Armenian Nynorsk
15
action count
action approx
action union
action find_reverse_tuple_counts
relation official language
type language
type state
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
value 15
[[{'concept': 'state'}, {'concept': 'designation for an administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?w WHERE { { ?p property:official_language ?w . ?p rdf:type ontology:state . ?w rdf:type ontology:language } UNION { ?p property:official_language ?w . ?w rdf:type ontology:language . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?w } . FILTER ( ?a = 15 ) }
[]