Simple Question (Direct)
Simple Question
Q16176556
P106
Q12737077
USER
Which occupations have Miquel Benavent i Seguí as his/her 's career ?
(Q16176556,P106,c(Q12737077))
action filter_type
action find
entity Q16176556
relation P106
type Q12737077
['Q16176556', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q16176556 property:P106 ?v }
Miquel Benavent i Seguí
action filter_type
action find
entity Miquel Benavent i Seguí
relation occupation
type occupation
['Miquel Benavent i Seguí', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Miquel_Benavent_i_Seguí property:occupation ?v }
[]
occupation
Q82955 Q105186
SYSTEM
politician, pharmacist
Q82955 Q105186
(Q16176556,P106,c(Q12737077))
action filter_type
action find
entity Q16176556
relation P106
type Q12737077
The [ANSWERS] have Miquel Benavent i Seguí as his/her 's career
['Q16176556', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q16176556 property:P106 ?v }
politician pharmacist
The politician and pharmacist have Miquel Benavent i Seguí as his/her 's career
politician pharmacist
action filter_type
action find
entity Miquel Benavent i Seguí
relation occupation
type occupation
['Miquel Benavent i Seguí', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Miquel_Benavent_i_Seguí property:occupation ?v }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q82955 Q105186
P39
Q502895
USER
Which people were responsible for occupying the position of those occupations ?
(c(Q502895),P39,Q82955) (c(Q502895),P39,Q105186)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q82955'] [{'concept': 'Q502895'}, 'P39', 'Q105186']
SELECT DISTINCT ?n WHERE { ?n property:P39 ?z . ?n rdf:type ontology:Q502895 . VALUES ( ?z ) { ( resource:Q82955 ) ( resource:Q105186 ) } }
politician pharmacist
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'politician'] [{'concept': 'common name'}, 'position held', 'pharmacist']
SELECT DISTINCT ?n WHERE { ?n property:position_held ?z . ?n rdf:type ontology:common_name . VALUES ( ?z ) { ( resource:politician ) ( resource:pharmacist ) } }
[]
common name
Q26215129 Q3384379 Q3386643
SYSTEM
Morteza Azari, Pierre Charles Rouyer, Pierre Pomet
Q26215129 Q3384379 Q3386643
(c(Q502895),P39,Q82955) (c(Q502895),P39,Q105186)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of those occupations
[{'concept': 'Q502895'}, 'P39', 'Q82955'] [{'concept': 'Q502895'}, 'P39', 'Q105186']
SELECT DISTINCT ?n WHERE { ?n property:P39 ?z . ?n rdf:type ontology:Q502895 . VALUES ( ?z ) { ( resource:Q82955 ) ( resource:Q105186 ) } }
Morteza Azari Pierre Charles Rouyer Pierre Pomet
Morteza Azari, Pierre Charles Rouyer and Pierre Pomet were responsible for occupying the position of those occupations
Morteza Azari Pierre Charles Rouyer Pierre Pomet
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'politician'] [{'concept': 'common name'}, 'position held', 'pharmacist']
SELECT DISTINCT ?n WHERE { ?n property:position_held ?z . ?n rdf:type ontology:common_name . VALUES ( ?z ) { ( resource:politician ) ( resource:pharmacist ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q26215129 Q3384379 Q3386643
P21
Q290
USER
Which sexes do those people belong to ?
(Q26215129,P21,c(Q290)) (Q3384379,P21,c(Q290)) (Q3386643,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q26215129', 'P21', {'concept': 'Q290'}] ['Q3384379', 'P21', {'concept': 'Q290'}] ['Q3386643', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?d ) { ( resource:Q26215129 ) ( resource:Q3384379 ) ( resource:Q3386643 ) } . ?g rdf:type ontology:Q290 . ?d property:P21 ?g }
Morteza Azari Pierre Charles Rouyer Pierre Pomet
action filter_type
action find
entity prev_answer
relation gender
type sex
['Morteza Azari', 'gender', {'concept': 'sex'}] ['Pierre Charles Rouyer', 'gender', {'concept': 'sex'}] ['Pierre Pomet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?d ) { ( resource:Morteza_Azari ) ( resource:Pierre_Charles_Rouyer ) ( resource:Pierre_Pomet ) } . ?g rdf:type ontology:sex . ?d property:gender ?g }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q26215129,P21,c(Q290)) (Q3384379,P21,c(Q290)) (Q3386643,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people belong to [ANSWER], [ANSWER] and [ANSWER]
['Q26215129', 'P21', {'concept': 'Q290'}] ['Q3384379', 'P21', {'concept': 'Q290'}] ['Q3386643', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?d ) { ( resource:Q26215129 ) ( resource:Q3384379 ) ( resource:Q3386643 ) } . ?g rdf:type ontology:Q290 . ?d property:P21 ?g }
male male male
Those people belong to male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Morteza Azari', 'gender', {'concept': 'sex'}] ['Pierre Charles Rouyer', 'gender', {'concept': 'sex'}] ['Pierre Pomet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?d ) { ( resource:Morteza_Azari ) ( resource:Pierre_Charles_Rouyer ) ( resource:Pierre_Pomet ) } . ?g rdf:type ontology:sex . ?d property:gender ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16176556
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Miquel Benavent i Seguí ?
(Q16176556,P27,c(Q15617994))
action filter_type
action find
entity Q16176556
relation P27
type Q15617994
['Q16176556', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q16176556 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Miquel Benavent i Seguí
action filter_type
action find
entity Miquel Benavent i Seguí
relation country of citizenship
type designation for an administrative territorial entity
['Miquel Benavent i Seguí', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Miquel_Benavent_i_Seguí property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q16176556,P27,c(Q15617994))
action filter_type
action find
entity Q16176556
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Miquel Benavent i Seguí
['Q16176556', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q16176556 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Spain
Spain is the country of citizenship of Miquel Benavent i Seguí
Spain
action filter_type
action find
entity Miquel Benavent i Seguí
relation country of citizenship
type designation for an administrative territorial entity
['Miquel Benavent i Seguí', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Miquel_Benavent_i_Seguí property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q16176556
P39
Q12737077
USER
How many occupations were the positions for which Miquel Benavent i Seguí were appointed ?
(Q16176556,P39,c(Q12737077))
action count
action filter_type
action find
entity Q16176556
relation P39
type Q12737077
['Q16176556', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n rdf:type ontology:Q12737077 . resource:Q16176556 property:P39 ?n }
Miquel Benavent i Seguí
action count
action filter_type
action find
entity Miquel Benavent i Seguí
relation position held
type occupation
['Miquel Benavent i Seguí', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n rdf:type ontology:occupation . resource:Miquel_Benavent_i_Seguí property:position_held ?n }
[]
occupation
SYSTEM
2
Q30185 Q708492
(Q16176556,P39,c(Q12737077))
action count
action filter_type
action find
entity Q16176556
relation P39
type Q12737077
[ANSWER]
['Q16176556', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n rdf:type ontology:Q12737077 . resource:Q16176556 property:P39 ?n }
mayor councillor
2
action count
action filter_type
action find
entity Miquel Benavent i Seguí
relation position held
type occupation
['Miquel Benavent i Seguí', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n rdf:type ontology:occupation . resource:Miquel_Benavent_i_Seguí property:position_held ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16176556
P1412
Q34770
USER
Which language is spoken by that person ?
action filter_type
action find
entity Q16176556
relation P1412
type Q34770
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q34770 . resource:Q16176556 property:P1412 ?e }
Miquel Benavent i Seguí
action filter_type
action find
entity Miquel Benavent i Seguí
relation languages spoken, written or signed
type language
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:language . resource:Miquel_Benavent_i_Seguí property:languages_spoken,_written_or_signed ?e }
[]
language
Q1321
SYSTEM
Spanish
Q1321
action filter_type
action find
entity Q16176556
relation P1412
type Q34770
[ANSWER] is spoken by that person
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q34770 . resource:Q16176556 property:P1412 ?e }
Spanish
Spanish is spoken by that person
Spanish
action filter_type
action find
entity Miquel Benavent i Seguí
relation languages spoken, written or signed
type language
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:language . resource:Miquel_Benavent_i_Seguí property:languages_spoken,_written_or_signed ?e }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P407
Q222910 Q820655
USER
How many compilation albums or statutes are created in language that language ?
(c(Q222910),P407,Q1321) (c(Q820655),P407,Q1321) (c(Q222910),P407,Q1321) (c(Q820655),P407,Q1321)
action count
action union
action filter_type
action find_reverse
entity Q1321
relation P407
type Q222910
action filter_type
action find_reverse
entity Q1321
relation P407
type Q820655
[{'concept': 'Q222910'}, 'P407', 'Q1321'] [{'concept': 'Q820655'}, 'P407', 'Q1321'] [{'concept': 'Q222910'}, 'P407', 'Q1321'] [{'concept': 'Q820655'}, 'P407', 'Q1321']
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { ?p property:P407 resource:Q1321 . ?p rdf:type ontology:Q222910 } UNION { ?p property:P407 resource:Q1321 . ?p rdf:type ontology:Q820655 } }
action count
action union
action filter_type
action find_reverse
entity Spanish
relation language of work or name
type compilation album
action filter_type
action find_reverse
entity Spanish
relation language of work or name
type statute
[{'concept': 'compilation album'}, 'language of work or name', 'Spanish'] [{'concept': 'statute'}, 'language of work or name', 'Spanish'] [{'concept': 'compilation album'}, 'language of work or name', 'Spanish'] [{'concept': 'statute'}, 'language of work or name', 'Spanish']
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { ?p property:language_of_work_or_name resource:Spanish . ?p rdf:type ontology:compilation_album } UNION { ?p property:language_of_work_or_name resource:Spanish . ?p rdf:type ontology:statute } }
[]
compilation album statute
SYSTEM
5
Q18160316 Q11146 Q17985067 Q17985064 Q642470
(c(Q222910),P407,Q1321) (c(Q820655),P407,Q1321) (c(Q222910),P407,Q1321) (c(Q820655),P407,Q1321)
action count
action union
action filter_type
action find_reverse
entity Q1321
relation P407
type Q222910
action filter_type
action find_reverse
entity Q1321
relation P407
type Q820655
[ANSWER]
[{'concept': 'Q222910'}, 'P407', 'Q1321'] [{'concept': 'Q820655'}, 'P407', 'Q1321'] [{'concept': 'Q222910'}, 'P407', 'Q1321'] [{'concept': 'Q820655'}, 'P407', 'Q1321']
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { ?p property:P407 resource:Q1321 . ?p rdf:type ontology:Q222910 } UNION { ?p property:P407 resource:Q1321 . ?p rdf:type ontology:Q820655 } }
El disco de oro de Flor Silvestre Maastricht Treaty 15 éxitos 15 auténticos éxitos The Immaculate Collection
5
action count
action union
action filter_type
action find_reverse
entity Spanish
relation language of work or name
type compilation album
action filter_type
action find_reverse
entity Spanish
relation language of work or name
type statute
[{'concept': 'compilation album'}, 'language of work or name', 'Spanish'] [{'concept': 'statute'}, 'language of work or name', 'Spanish'] [{'concept': 'compilation album'}, 'language of work or name', 'Spanish'] [{'concept': 'statute'}, 'language of work or name', 'Spanish']
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { ?p property:language_of_work_or_name resource:Spanish . ?p rdf:type ontology:compilation_album } UNION { ?p property:language_of_work_or_name resource:Spanish . ?p rdf:type ontology:statute } }
[]