Simple Question (Direct)
Simple Question
Q7067450
P641
Q349
USER
Which sport did Noé Maya participate in ?
(Q7067450,P641,c(Q349))
action filter_type
action find
entity Q7067450
relation P641
type Q349
['Q7067450', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q7067450 property:P641 ?d . ?d rdf:type ontology:Q349 }
Noé Maya
action filter_type
action find
entity Noé Maya
relation sport
type sport
['Noé Maya', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Noé_Maya property:sport ?d . ?d rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7067450,P641,c(Q349))
action filter_type
action find
entity Q7067450
relation P641
type Q349
Noé Maya participated in [ANSWER]
['Q7067450', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q7067450 property:P641 ?d . ?d rdf:type ontology:Q349 }
association football
Noé Maya participated in association football
association football
action filter_type
action find
entity Noé Maya
relation sport
type sport
['Noé Maya', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Noé_Maya property:sport ?d . ?d rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7067450
P1412
Q34770
USER
Which language does Noé Maya speak in ?
(Q7067450,P1412,c(Q34770))
action filter_type
action find
entity Q7067450
relation P1412
type Q34770
['Q7067450', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q7067450 property:P1412 ?r . ?r rdf:type ontology:Q34770 }
Noé Maya
action filter_type
action find
entity Noé Maya
relation languages spoken, written or signed
type language
['Noé Maya', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:Noé_Maya property:languages_spoken,_written_or_signed ?r . ?r rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q7067450,P1412,c(Q34770))
action filter_type
action find
entity Q7067450
relation P1412
type Q34770
Noé Maya speaks to [ANSWER]
['Q7067450', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q7067450 property:P1412 ?r . ?r rdf:type ontology:Q34770 }
Spanish
Noé Maya speaks to Spanish
Spanish
action filter_type
action find
entity Noé Maya
relation languages spoken, written or signed
type language
['Noé Maya', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:Noé_Maya property:languages_spoken,_written_or_signed ?r . ?r rdf:type ontology:language }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P282
Q2001982 Q9779 Q34770
USER
Which languages are greater number of notations or alphabets the writing system of than that language ?
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q1321
relation P282
type Q2001982
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?v ) WHERE { VALUES ( ?t ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } . ?m rdf:type ?t } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { resource:Q1321 property:P282 ?y . { { ?y rdf:type ontology:Q2001982 } UNION { ?y rdf:type ontology:Q9779 } } } } . FILTER ( ?v > ?a ) }
action greater
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Spanish
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?v ) WHERE { VALUES ( ?t ) { ( ontology:notation ) ( ontology:alphabet ) } . ?m rdf:type ?t } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { resource:Spanish property:writing_system ?y . { { ?y rdf:type ontology:notation } UNION { ?y rdf:type ontology:alphabet } } } } . FILTER ( ?v > ?a ) }
[]
notation alphabet language
SYSTEM
15
Q182695 Q29572 Q35470 Q13211 Q35499 Q33251 Q21161942 Q1639124 Q2705672 Q36795 Q20972034 Q36790 Q36751 Q36464 Q652
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q1321
relation P282
type Q2001982
type Q9779
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?v ) WHERE { VALUES ( ?t ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } . ?m rdf:type ?t } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { resource:Q1321 property:P282 ?y . { { ?y rdf:type ontology:Q2001982 } UNION { ?y rdf:type ontology:Q9779 } } } } . FILTER ( ?v > ?a ) }
Late Old Japanese Avestan Elamite language Ruthenian Old Church Slavonic Church Slavonic Serbian written in Cyrillic Slavoserbian Paeonian language Tartessian Classic Greek Sumerian Phrygian language Nivkh language Italian
15
action greater
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Spanish
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?v ) WHERE { VALUES ( ?t ) { ( ontology:notation ) ( ontology:alphabet ) } . ?m rdf:type ?t } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { resource:Spanish property:writing_system ?y . { { ?y rdf:type ontology:notation } UNION { ?y rdf:type ontology:alphabet } } } } . FILTER ( ?v > ?a ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7067450
P19
Q56061
USER
Which administrative territory is the place of birth of Noé Maya ?
(Q7067450,P19,c(Q56061))
action filter_type
action find
entity Q7067450
relation P19
type Q56061
['Q7067450', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q7067450 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Noé Maya
action filter_type
action find
entity Noé Maya
relation place of birth
type administrative territorial entity
['Noé Maya', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Noé_Maya property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1489
SYSTEM
Mexico City
Q1489
(Q7067450,P19,c(Q56061))
action filter_type
action find
entity Q7067450
relation P19
type Q56061
[ANSWER] is the place of birth of Noé Maya
['Q7067450', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q7067450 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Mexico City
Mexico City is the place of birth of Noé Maya
Mexico City
action filter_type
action find
entity Noé Maya
relation place of birth
type administrative territorial entity
['Noé Maya', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Noé_Maya property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7067450
P27
Q15617994
USER
Which administrative territory is Noé Maya a civilian of ?
(Q7067450,P27,c(Q15617994))
action filter_type
action find
entity Q7067450
relation P27
type Q15617994
['Q7067450', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q7067450 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Noé Maya
action filter_type
action find
entity Noé Maya
relation country of citizenship
type designation for an administrative territorial entity
['Noé Maya', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Noé_Maya property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
(Q7067450,P27,c(Q15617994))
action filter_type
action find
entity Q7067450
relation P27
type Q15617994
[ANSWER] is Noé Maya a civilian of
['Q7067450', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q7067450 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Mexico
Mexico is Noé Maya a civilian of
Mexico
action filter_type
action find
entity Noé Maya
relation country of citizenship
type designation for an administrative territorial entity
['Noé Maya', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Noé_Maya property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7067450
P21
Q290
USER
Which sex does that person possess ?
(Q96,P21,c(Q290))
action filter_type
action find
entity Q7067450
relation P21
type Q290
['Q96', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q7067450 property:P21 ?x . ?x rdf:type ontology:Q290 }
Noé Maya
action filter_type
action find
entity Noé Maya
relation gender
type sex
['Mexico', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Noé_Maya property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q96,P21,c(Q290))
action filter_type
action find
entity Q7067450
relation P21
type Q290
That person possesses a [ANSWER]
['Q96', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q7067450 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Noé Maya
relation gender
type sex
['Mexico', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Noé_Maya property:gender ?x . ?x rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q7152551 Q7067450
P21
Q290
USER
And also Paul Mirecki
AND((Q7067450,P21,c(Q290)), (Q7152551,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q7067450
relation P21
action find
entity Q7152551
relation P21
type Q290
{'AND': [['Q7067450', 'P21', {'concept': 'Q290'}], ['Q7152551', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?z WHERE { resource:Q7067450 property:P21 ?z . resource:Q7152551 property:P21 ?z . ?z rdf:type ontology:Q290 }
Paul Mirecki Noé Maya
action filter_type
action intersection
action find
entity Noé Maya
relation gender
action find
entity Paul Mirecki
relation gender
type sex
{'AND': [['Noé Maya', 'gender', {'concept': 'sex'}], ['Paul Mirecki', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?z WHERE { resource:Noé_Maya property:gender ?z . resource:Paul_Mirecki property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q7067450,P21,c(Q290)), (Q7152551,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q7067450
relation P21
action find
entity Q7152551
relation P21
type Q290
[ANSWER]
{'AND': [['Q7067450', 'P21', {'concept': 'Q290'}], ['Q7152551', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?z WHERE { resource:Q7067450 property:P21 ?z . resource:Q7152551 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity Noé Maya
relation gender
action find
entity Paul Mirecki
relation gender
type sex
{'AND': [['Noé Maya', 'gender', {'concept': 'sex'}], ['Paul Mirecki', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?z WHERE { resource:Noé_Maya property:gender ?z . resource:Paul_Mirecki property:gender ?z . ?z rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5964177 Q7067450
P106
Q12737077
USER
Which occupations are the job of Noé Maya or Hélia Correia ?
OR((Q7067450,P106,c(Q12737077)), (Q5964177,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q7067450
relation P106
action find
entity Q5964177
relation P106
type Q12737077
{'OR': [['Q7067450', 'P106', {'concept': 'Q12737077'}], ['Q5964177', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?m ) { ( resource:Q5964177 ) ( resource:Q7067450 ) } . ?m property:P106 ?v } . ?v rdf:type ontology:Q12737077 }
Hélia Correia Noé Maya
action filter_type
action union
action find
entity Noé Maya
relation occupation
action find
entity Hélia Correia
relation occupation
type occupation
{'OR': [['Noé Maya', 'occupation', {'concept': 'occupation'}], ['Hélia Correia', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?m ) { ( resource:Hélia_Correia ) ( resource:Noé_Maya ) } . ?m property:occupation ?v } . ?v rdf:type ontology:occupation }
[]
occupation
Q333634 Q937857 Q49757 Q36180
SYSTEM
translator, association football player, poet, writer
Q333634 Q937857 Q49757 Q36180
OR((Q7067450,P106,c(Q12737077)), (Q5964177,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q7067450
relation P106
action find
entity Q5964177
relation P106
type Q12737077
The [ANSWERS] are the job of Noé Maya or Hélia Correia
{'OR': [['Q7067450', 'P106', {'concept': 'Q12737077'}], ['Q5964177', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?m ) { ( resource:Q5964177 ) ( resource:Q7067450 ) } . ?m property:P106 ?v } . ?v rdf:type ontology:Q12737077 }
translator association football player poet writer
The translator, association football player, poet and writer are the job of Noé Maya or Hélia Correia
translator association football player poet writer
action filter_type
action union
action find
entity Noé Maya
relation occupation
action find
entity Hélia Correia
relation occupation
type occupation
{'OR': [['Noé Maya', 'occupation', {'concept': 'occupation'}], ['Hélia Correia', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?m ) { ( resource:Hélia_Correia ) ( resource:Noé_Maya ) } . ?m property:occupation ?v } . ?v rdf:type ontology:occupation }
[]