Simple Question (Direct)
Simple Question
Q3082783
P106
Q12737077
USER
What is the job of José Canas Ruiz-Herrera ?
(Q3082783,P106,c(Q12737077))
action filter_type
action find
entity Q3082783
relation P106
type Q12737077
['Q3082783', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q3082783 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
José Canas Ruiz-Herrera
action filter_type
action find
entity José Canas Ruiz-Herrera
relation occupation
type occupation
['José Canas Ruiz-Herrera', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:José_Canas_Ruiz-Herrera property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3082783,P106,c(Q12737077))
action filter_type
action find
entity Q3082783
relation P106
type Q12737077
The job of José Canas Ruiz-Herrera is an [ANSWER]
['Q3082783', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q3082783 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
association football player
The job of José Canas Ruiz-Herrera is an association football player
association football player
action filter_type
action find
entity José Canas Ruiz-Herrera
relation occupation
type occupation
['José Canas Ruiz-Herrera', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:José_Canas_Ruiz-Herrera property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3082783
P1412
Q34770
USER
Which language is spoken by José Canas Ruiz-Herrera ?
(Q3082783,P1412,c(Q34770))
action filter_type
action find
entity Q3082783
relation P1412
type Q34770
['Q3082783', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q3082783 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
José Canas Ruiz-Herrera
action filter_type
action find
entity José Canas Ruiz-Herrera
relation languages spoken, written or signed
type language
['José Canas Ruiz-Herrera', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:José_Canas_Ruiz-Herrera property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q3082783,P1412,c(Q34770))
action filter_type
action find
entity Q3082783
relation P1412
type Q34770
In [ANSWER] is spoken by José Canas Ruiz-Herrera
['Q3082783', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q3082783 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
Spanish
In Spanish is spoken by José Canas Ruiz-Herrera
Spanish
action filter_type
action find
entity José Canas Ruiz-Herrera
relation languages spoken, written or signed
type language
['José Canas Ruiz-Herrera', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:José_Canas_Ruiz-Herrera property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3082783
P641
Q349
USER
Which sport did that person participate in ?
(Q1321,P641,c(Q349))
action filter_type
action find
entity Q3082783
relation P641
type Q349
['Q1321', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q3082783 property:P641 ?l . ?l rdf:type ontology:Q349 }
José Canas Ruiz-Herrera
action filter_type
action find
entity José Canas Ruiz-Herrera
relation sport
type sport
['Spanish', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:José_Canas_Ruiz-Herrera property:sport ?l . ?l rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1321,P641,c(Q349))
action filter_type
action find
entity Q3082783
relation P641
type Q349
That person participated in [ANSWER]
['Q1321', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q3082783 property:P641 ?l . ?l rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity José Canas Ruiz-Herrera
relation sport
type sport
['Spanish', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:José_Canas_Ruiz-Herrera property:sport ?l . ?l rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q5991667 Q3082783
P641
Q349
USER
Or Manolo Díaz?
OR((Q3082783,P641,c(Q349)), (Q5991667,P641,c(Q349)))
action filter_type
action union
action find
entity Q3082783
relation P641
action find
entity Q5991667
relation P641
type Q349
{'OR': [['Q3082783', 'P641', {'concept': 'Q349'}], ['Q5991667', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q349 . { ?c property:P641 ?t . VALUES ( ?c ) { ( resource:Q5991667 ) ( resource:Q3082783 ) } } }
Manolo Díaz José Canas Ruiz-Herrera
action filter_type
action union
action find
entity José Canas Ruiz-Herrera
relation sport
action find
entity Manolo Díaz
relation sport
type sport
{'OR': [['José Canas Ruiz-Herrera', 'sport', {'concept': 'sport'}], ['Manolo Díaz', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sport . { ?c property:sport ?t . VALUES ( ?c ) { ( resource:Manolo_Díaz ) ( resource:José_Canas_Ruiz-Herrera ) } } }
[]
sport
Q2736
SYSTEM
association football
Q2736
OR((Q3082783,P641,c(Q349)), (Q5991667,P641,c(Q349)))
action filter_type
action union
action find
entity Q3082783
relation P641
action find
entity Q5991667
relation P641
type Q349
[ANSWER]
{'OR': [['Q3082783', 'P641', {'concept': 'Q349'}], ['Q5991667', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q349 . { ?c property:P641 ?t . VALUES ( ?c ) { ( resource:Q5991667 ) ( resource:Q3082783 ) } } }
association football
association football
action filter_type
action union
action find
entity José Canas Ruiz-Herrera
relation sport
action find
entity Manolo Díaz
relation sport
type sport
{'OR': [['José Canas Ruiz-Herrera', 'sport', {'concept': 'sport'}], ['Manolo Díaz', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sport . { ?c property:sport ?t . VALUES ( ?c ) { ( resource:Manolo_Díaz ) ( resource:José_Canas_Ruiz-Herrera ) } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q5991667 Q278748
P27
Q15617994
USER
How many administrative territories do Manolo Díaz or Charaka belong to ?
(Q5991667,P27,c(Q15617994)) (Q278748,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q5991667
relation P27
type Q15617994
action filter_type
action find
entity Q278748
relation P27
type Q15617994
['Q5991667', 'P27', {'concept': 'Q15617994'}] ['Q278748', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?u property:P27 ?s . VALUES ( ?u ) { ( resource:Q278748 ) ( resource:Q5991667 ) } }
Manolo Díaz Charaka
action count
action union
action filter_type
action find
entity Manolo Díaz
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Charaka
relation country of citizenship
type designation for an administrative territorial entity
['Manolo Díaz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Charaka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?u property:country_of_citizenship ?s . VALUES ( ?u ) { ( resource:Charaka ) ( resource:Manolo_Díaz ) } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q29 Q668
(Q5991667,P27,c(Q15617994)) (Q278748,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q5991667
relation P27
type Q15617994
action filter_type
action find
entity Q278748
relation P27
type Q15617994
[ANSWER]
['Q5991667', 'P27', {'concept': 'Q15617994'}] ['Q278748', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?u property:P27 ?s . VALUES ( ?u ) { ( resource:Q278748 ) ( resource:Q5991667 ) } }
Spain India
2
action count
action union
action filter_type
action find
entity Manolo Díaz
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Charaka
relation country of citizenship
type designation for an administrative territorial entity
['Manolo Díaz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Charaka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?u property:country_of_citizenship ?s . VALUES ( ?u ) { ( resource:Charaka ) ( resource:Manolo_Díaz ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16267543 Q3082783
P27
Q15617994
USER
Which administrative territories do José Canas Ruiz-Herrera or Nikola Novaković belong to ?
OR((Q3082783,P27,c(Q15617994)), (Q16267543,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3082783
relation P27
action find
entity Q16267543
relation P27
type Q15617994
{'OR': [['Q3082783', 'P27', {'concept': 'Q15617994'}], ['Q16267543', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?u ) { ( resource:Q3082783 ) ( resource:Q16267543 ) } . ?u property:P27 ?z } . ?z rdf:type ontology:Q15617994 }
Nikola Novaković José Canas Ruiz-Herrera
action filter_type
action union
action find
entity José Canas Ruiz-Herrera
relation country of citizenship
action find
entity Nikola Novaković
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['José Canas Ruiz-Herrera', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nikola Novaković', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?u ) { ( resource:José_Canas_Ruiz-Herrera ) ( resource:Nikola_Novaković ) } . ?u property:country_of_citizenship ?z } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403 Q29
SYSTEM
Serbia, Spain
Q403 Q29
OR((Q3082783,P27,c(Q15617994)), (Q16267543,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3082783
relation P27
action find
entity Q16267543
relation P27
type Q15617994
[ANSWERS] José Canas Ruiz-Herrera or Nikola Novaković belong to
{'OR': [['Q3082783', 'P27', {'concept': 'Q15617994'}], ['Q16267543', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?u ) { ( resource:Q3082783 ) ( resource:Q16267543 ) } . ?u property:P27 ?z } . ?z rdf:type ontology:Q15617994 }
Serbia Spain
Serbia and Spain José Canas Ruiz-Herrera or Nikola Novaković belong to
Serbia Spain
action filter_type
action union
action find
entity José Canas Ruiz-Herrera
relation country of citizenship
action find
entity Nikola Novaković
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['José Canas Ruiz-Herrera', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nikola Novaković', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?u ) { ( resource:José_Canas_Ruiz-Herrera ) ( resource:Nikola_Novaković ) } . ?u property:country_of_citizenship ?z } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4590439 Q29
P47 P17
Q15617994
USER
Which administrative territories share border with Spain or are Rasletind a part of ?
OR((Q29,P47,c(Q15617994)), (Q4590439,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q29
relation P47
action find
entity Q4590439
relation P17
type Q15617994
{'OR': [['Q29', 'P47', {'concept': 'Q15617994'}], ['Q4590439', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q29 property:P47 ?k } UNION { resource:Q4590439 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
Rasletind Spain
action filter_type
action union
action find
entity Spain
relation shares border with
action find
entity Rasletind
relation country
type designation for an administrative territorial entity
{'OR': [['Spain', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Rasletind', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Spain property:shares_border_with ?k } UNION { resource:Rasletind property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q1025 Q45 Q1028 Q228 Q20
SYSTEM
France, Mauritania, Portugal, Morocco, Andorra, Norway
Q142 Q1025 Q45 Q1028 Q228 Q20
OR((Q29,P47,c(Q15617994)), (Q4590439,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q29
relation P47
action find
entity Q4590439
relation P17
type Q15617994
[ANSWERS] share border with Spain or are Rasletind a part of
{'OR': [['Q29', 'P47', {'concept': 'Q15617994'}], ['Q4590439', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q29 property:P47 ?k } UNION { resource:Q4590439 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
France Mauritania Portugal Morocco Andorra Norway
France, Mauritania, Portugal, Morocco, Andorra and Norway share border with Spain or are Rasletind a part of
France Mauritania Portugal Morocco Andorra Norway
action filter_type
action union
action find
entity Spain
relation shares border with
action find
entity Rasletind
relation country
type designation for an administrative territorial entity
{'OR': [['Spain', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Rasletind', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Spain property:shares_border_with ?k } UNION { resource:Rasletind property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1028
P840
Q838948
USER
Which works of art have their narrative set in Morocco ?
(c(Q838948),P840,Q1028)
action filter_type
action find_reverse
entity Q1028
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q1028']
SELECT DISTINCT ?t WHERE { ?t property:P840 resource:Q1028 . ?t rdf:type ontology:Q838948 }
Morocco
action filter_type
action find_reverse
entity Morocco
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Morocco']
SELECT DISTINCT ?t WHERE { ?t property:narrative_location resource:Morocco . ?t rdf:type ontology:work_of_art }
[]
work of art
Q18602670 Q191074
SYSTEM
Spectre, Babel
Q18602670 Q191074
(c(Q838948),P840,Q1028)
action filter_type
action find_reverse
entity Q1028
relation P840
type Q838948
[ANSWERS] have their narrative set in Morocco
[{'concept': 'Q838948'}, 'P840', 'Q1028']
SELECT DISTINCT ?t WHERE { ?t property:P840 resource:Q1028 . ?t rdf:type ontology:Q838948 }
Spectre Babel
Spectre and Babel have their narrative set in Morocco
Spectre Babel
action filter_type
action find_reverse
entity Morocco
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Morocco']
SELECT DISTINCT ?t WHERE { ?t property:narrative_location resource:Morocco . ?t rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1028
P180
Q2342494
USER
Which collectable depicts Morocco ?
(c(Q2342494),P180,Q1028)
action filter_type
action find_reverse
entity Q1028
relation P180
type Q2342494
[{'concept': 'Q2342494'}, 'P180', 'Q1028']
SELECT DISTINCT ?r WHERE { ?r property:P180 resource:Q1028 . ?r rdf:type ontology:Q2342494 }
Morocco
action filter_type
action find_reverse
entity Morocco
relation depicts
type collectable
[{'concept': 'collectable'}, 'depicts', 'Morocco']
SELECT DISTINCT ?r WHERE { ?r property:depicts resource:Morocco . ?r rdf:type ontology:collectable }
[]
collectable
Q18205780
SYSTEM
Description of Africa
Q18205780
(c(Q2342494),P180,Q1028)
action filter_type
action find_reverse
entity Q1028
relation P180
type Q2342494
Africa [ANSWER] depicts Morocco
[{'concept': 'Q2342494'}, 'P180', 'Q1028']
SELECT DISTINCT ?r WHERE { ?r property:P180 resource:Q1028 . ?r rdf:type ontology:Q2342494 }
Description of Africa
Africa Description of Africa depicts Morocco
Description of Africa
action filter_type
action find_reverse
entity Morocco
relation depicts
type collectable
[{'concept': 'collectable'}, 'depicts', 'Morocco']
SELECT DISTINCT ?r WHERE { ?r property:depicts resource:Morocco . ?r rdf:type ontology:collectable }
[]