Simple Question (Direct)
Simple Question
Q16300450
P734
Q82799
USER
Who has the surname Oscar Fernández Monroy ?
(Q16300450,P734,c(Q82799))
action filter_type
action find
entity Q16300450
relation P734
type Q82799
['Q16300450', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q16300450 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Oscar Fernández Monroy
action filter_type
action find
entity Oscar Fernández Monroy
relation family name
type name
['Oscar Fernández Monroy', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Oscar_Fernández_Monroy property:family_name ?x . ?x rdf:type ontology:name }
[]
name
Q164892
SYSTEM
Fernández
Q164892
(Q16300450,P734,c(Q82799))
action filter_type
action find
entity Q16300450
relation P734
type Q82799
[ANSWER] has the surname Oscar [ANSWER] Monroy
['Q16300450', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q16300450 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Fernández
Fernández has the surname Oscar Fernández Monroy
Fernández
action filter_type
action find
entity Oscar Fernández Monroy
relation family name
type name
['Oscar Fernández Monroy', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Oscar_Fernández_Monroy property:family_name ?x . ?x rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16300450
P1412
Q34770
USER
Which language can Oscar Fernández Monroy read ?
(Q16300450,P1412,c(Q34770))
action filter_type
action find
entity Q16300450
relation P1412
type Q34770
['Q16300450', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q16300450 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
Oscar Fernández Monroy
action filter_type
action find
entity Oscar Fernández Monroy
relation languages spoken, written or signed
type language
['Oscar Fernández Monroy', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Oscar_Fernández_Monroy property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q16300450,P1412,c(Q34770))
action filter_type
action find
entity Q16300450
relation P1412
type Q34770
Oscar Fernández Monroy can read in [ANSWER]
['Q16300450', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q16300450 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
Spanish
Oscar Fernández Monroy can read in Spanish
Spanish
action filter_type
action find
entity Oscar Fernández Monroy
relation languages spoken, written or signed
type language
['Oscar Fernández Monroy', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Oscar_Fernández_Monroy property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q164892
P407
Q34770
USER
What is the language of Fernández ?
(Q164892,P407,c(Q34770))
action filter_type
action find
entity Q164892
relation P407
type Q34770
['Q164892', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q164892 property:P407 ?f . ?f rdf:type ontology:Q34770 }
Fernández
action filter_type
action find
entity Fernández
relation language of work or name
type language
['Fernández', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:Fernández property:language_of_work_or_name ?f . ?f rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q164892,P407,c(Q34770))
action filter_type
action find
entity Q164892
relation P407
type Q34770
The language of Fernández is in [ANSWER]
['Q164892', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q164892 property:P407 ?f . ?f rdf:type ontology:Q34770 }
Spanish
The language of Fernández is in Spanish
Spanish
action filter_type
action find
entity Fernández
relation language of work or name
type language
['Fernández', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:Fernández property:language_of_work_or_name ?f . ?f rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q24629035 Q164892
P364 P407
Q34770
USER
What are Fernández composed in or are considered to be the original language of creation of Epigenetics and environmental chemicals ?
OR((Q164892,P407,c(Q34770)), (Q24629035,P364,c(Q34770)))
action filter_type
action union
action find
entity Q164892
relation P407
action find
entity Q24629035
relation P364
type Q34770
{'OR': [['Q164892', 'P407', {'concept': 'Q34770'}], ['Q24629035', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q164892 property:P407 ?q } UNION { resource:Q24629035 property:P364 ?q } } . ?q rdf:type ontology:Q34770 }
Epigenetics and environmental chemicals Fernández
action filter_type
action union
action find
entity Fernández
relation language of work or name
action find
entity Epigenetics and environmental chemicals
relation original language of work
type language
{'OR': [['Fernández', 'language of work or name', {'concept': 'language'}], ['Epigenetics and environmental chemicals', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Fernández property:language_of_work_or_name ?q } UNION { resource:Epigenetics_and_environmental_chemicals property:original_language_of_work ?q } } . ?q rdf:type ontology:language }
[]
language
Q1860 Q1321
SYSTEM
English, Spanish
Q1860 Q1321
OR((Q164892,P407,c(Q34770)), (Q24629035,P364,c(Q34770)))
action filter_type
action union
action find
entity Q164892
relation P407
action find
entity Q24629035
relation P364
type Q34770
Fernández are composed considered for [ANSWERS]
{'OR': [['Q164892', 'P407', {'concept': 'Q34770'}], ['Q24629035', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q164892 property:P407 ?q } UNION { resource:Q24629035 property:P364 ?q } } . ?q rdf:type ontology:Q34770 }
English Spanish
Fernández are composed considered for English and Spanish
English Spanish
action filter_type
action union
action find
entity Fernández
relation language of work or name
action find
entity Epigenetics and environmental chemicals
relation original language of work
type language
{'OR': [['Fernández', 'language of work or name', {'concept': 'language'}], ['Epigenetics and environmental chemicals', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Fernández property:language_of_work_or_name ?q } UNION { resource:Epigenetics_and_environmental_chemicals property:original_language_of_work ?q } } . ?q rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16300450
P641
Q349
USER
Which sport was Oscar Fernández Monroy a part of ?
(Q16300450,P641,c(Q349))
action filter_type
action find
entity Q16300450
relation P641
type Q349
['Q16300450', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q349 . resource:Q16300450 property:P641 ?n }
Oscar Fernández Monroy
action filter_type
action find
entity Oscar Fernández Monroy
relation sport
type sport
['Oscar Fernández Monroy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sport . resource:Oscar_Fernández_Monroy property:sport ?n }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q16300450,P641,c(Q349))
action filter_type
action find
entity Q16300450
relation P641
type Q349
The [ANSWER] was Oscar Fernández Monroy a part of
['Q16300450', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q349 . resource:Q16300450 property:P641 ?n }
association football
The association football was Oscar Fernández Monroy a part of
association football
action filter_type
action find
entity Oscar Fernández Monroy
relation sport
type sport
['Oscar Fernández Monroy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sport . resource:Oscar_Fernández_Monroy property:sport ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16300450
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q16300450
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q16300450 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Oscar Fernández Monroy
action filter_type
action find
entity Oscar Fernández Monroy
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Oscar_Fernández_Monroy property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q16300450
relation P106
type Q12737077
Player [ANSWER] is the profession of that person
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q16300450 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of that person
association football player
action filter_type
action find
entity Oscar Fernández Monroy
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Oscar_Fernández_Monroy property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1321
P37
Q34770 Q56061 Q15617994
USER
How many languages are recognized as the official language of less number of administrative territories and administrative territories than Spanish ?
(c(Q56061)|c(Q15617994),P37,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q1321
relation P37
type Q56061
type Q15617994
[[{'concept': 'Q56061'}, {'concept': 'Q15617994'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?d ) WHERE { { ?p property:P37 ?j . ?j rdf:type ontology:Q34770 . ?p rdf:type ontology:Q56061 } UNION { ?p property:P37 ?j . ?j rdf:type ontology:Q34770 . ?p rdf:type ontology:Q15617994 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { { ?b rdf:type ontology:Q56061 } UNION { ?b rdf:type ontology:Q15617994 } } . ?b property:P37 resource:Q1321 } } . FILTER ( ?d < ?a ) }
Spanish
action count
action less
action union
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Spanish
relation official language
type administrative territorial entity
type designation for an administrative territorial entity
[[{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?d ) WHERE { { ?p property:official_language ?j . ?j rdf:type ontology:language . ?p rdf:type ontology:administrative_territorial_entity } UNION { ?p property:official_language ?j . ?j rdf:type ontology:language . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { { ?b rdf:type ontology:administrative_territorial_entity } UNION { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . ?b property:official_language resource:Spanish } } . FILTER ( ?d < ?a ) }
[]
language administrative territorial entity designation for an administrative territorial entity
SYSTEM
14
Q9056 Q33251 Q13211 Q3110592 Q36206 Q652 Q8752 Q36880 Q33976 Q35499 Q397 Q35726 Q8785 Q25164
(c(Q56061)|c(Q15617994),P37,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q1321
relation P37
type Q56061
type Q15617994
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q15617994'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?d ) WHERE { { ?p property:P37 ?j . ?j rdf:type ontology:Q34770 . ?p rdf:type ontology:Q56061 } UNION { ?p property:P37 ?j . ?j rdf:type ontology:Q34770 . ?p rdf:type ontology:Q15617994 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { { ?b rdf:type ontology:Q56061 } UNION { ?b rdf:type ontology:Q15617994 } } . ?b property:P37 resource:Q1321 } } . FILTER ( ?d < ?a ) }
Czech Church Slavonic Ruthenian written Chinese Lak Italian Basque Bulgar language Sardinian language Old Church Slavonic Latin Etruscan Armenian Nynorsk
14
action count
action less
action union
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Spanish
relation official language
type administrative territorial entity
type designation for an administrative territorial entity
[[{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?d ) WHERE { { ?p property:official_language ?j . ?j rdf:type ontology:language . ?p rdf:type ontology:administrative_territorial_entity } UNION { ?p property:official_language ?j . ?j rdf:type ontology:language . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { { ?b rdf:type ontology:administrative_territorial_entity } UNION { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . ?b property:official_language resource:Spanish } } . FILTER ( ?d < ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q9056
P37
Q34770 Q56061 Q15617994
USER
And how about Czech?
(c(Q56061)|c(Q15617994),P37,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q9056
relation P37
type Q56061
type Q15617994
[[{'concept': 'Q56061'}, {'concept': 'Q15617994'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?d WHERE { ?a rdf:type ?y . VALUES ( ?y ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { ?g property:P37 resource:Q9056 . { { ?g rdf:type ontology:Q56061 } UNION { ?g rdf:type ontology:Q15617994 } } } } . FILTER ( ?i < ?e ) }
Czech
action count
action less
action union
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Czech
relation official language
type administrative territorial entity
type designation for an administrative territorial entity
[[{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?d WHERE { ?a rdf:type ?y . VALUES ( ?y ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { ?g property:official_language resource:Czech . { { ?g rdf:type ontology:administrative_territorial_entity } UNION { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?i < ?e ) }
[]
language administrative territorial entity designation for an administrative territorial entity
SYSTEM
10
Q33251 Q13211 Q3110592 Q36206 Q8752 Q36880 Q33976 Q35499 Q35726 Q25164
(c(Q56061)|c(Q15617994),P37,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q9056
relation P37
type Q56061
type Q15617994
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q15617994'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?d WHERE { ?a rdf:type ?y . VALUES ( ?y ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { ?g property:P37 resource:Q9056 . { { ?g rdf:type ontology:Q56061 } UNION { ?g rdf:type ontology:Q15617994 } } } } . FILTER ( ?i < ?e ) }
Church Slavonic Ruthenian written Chinese Lak Basque Bulgar language Sardinian language Old Church Slavonic Etruscan Nynorsk
10
action count
action less
action union
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Czech
relation official language
type administrative territorial entity
type designation for an administrative territorial entity
[[{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?d WHERE { ?a rdf:type ?y . VALUES ( ?y ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { ?g property:official_language resource:Czech . { { ?g rdf:type ontology:administrative_territorial_entity } UNION { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?i < ?e ) }
[]