Simple Question (Direct)
Simple Question
Q2895420
P1412
Q34770
USER
Which language can Miguel García Vivancos read ?
(Q2895420,P1412,c(Q34770))
action filter_type
action find
entity Q2895420
relation P1412
type Q34770
['Q2895420', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q2895420 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Miguel García Vivancos
action filter_type
action find
entity Miguel García Vivancos
relation languages spoken, written or signed
type language
['Miguel García Vivancos', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Miguel_García_Vivancos property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q2895420,P1412,c(Q34770))
action filter_type
action find
entity Q2895420
relation P1412
type Q34770
Miguel García Vivancos can read in [ANSWER]
['Q2895420', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q2895420 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Spanish
Miguel García Vivancos can read in Spanish
Spanish
action filter_type
action find
entity Miguel García Vivancos
relation languages spoken, written or signed
type language
['Miguel García Vivancos', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Miguel_García_Vivancos property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2895420
P27
Q15617994
USER
Which administrative territory is the native country of Miguel García Vivancos ?
(Q2895420,P27,c(Q15617994))
action filter_type
action find
entity Q2895420
relation P27
type Q15617994
['Q2895420', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q2895420 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Miguel García Vivancos
action filter_type
action find
entity Miguel García Vivancos
relation country of citizenship
type designation for an administrative territorial entity
['Miguel García Vivancos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Miguel_García_Vivancos property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q2895420,P27,c(Q15617994))
action filter_type
action find
entity Q2895420
relation P27
type Q15617994
[ANSWER] is the native country of Miguel García Vivancos
['Q2895420', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q2895420 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Spain
Spain is the native country of Miguel García Vivancos
Spain
action filter_type
action find
entity Miguel García Vivancos
relation country of citizenship
type designation for an administrative territorial entity
['Miguel García Vivancos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Miguel_García_Vivancos property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2895420
P20
Q56061
USER
Where did that person expire ?
(Q29,P20,c(Q56061))
action filter_type
action find
entity Q2895420
relation P20
type Q56061
['Q29', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q2895420 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Miguel García Vivancos
action filter_type
action find
entity Miguel García Vivancos
relation place of death
type administrative territorial entity
['Spain', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Miguel_García_Vivancos property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q5818
SYSTEM
Córdoba
Q5818
(Q29,P20,c(Q56061))
action filter_type
action find
entity Q2895420
relation P20
type Q56061
That person expired in [ANSWER]
['Q29', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q2895420 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Córdoba
That person expired in Córdoba
Córdoba
action filter_type
action find
entity Miguel García Vivancos
relation place of death
type administrative territorial entity
['Spain', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Miguel_García_Vivancos property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5818
P417
Q502895
USER
What is the name of the patron saint of that administrative territory ?
(Q5818,P417,c(Q502895))
action filter_type
action find
entity Q5818
relation P417
type Q502895
['Q5818', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q5818 property:P417 ?e . ?e rdf:type ontology:Q502895 }
Córdoba
action filter_type
action find
entity Córdoba
relation patron saint
type common name
['Córdoba', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Córdoba property:patron_saint ?e . ?e rdf:type ontology:common_name }
[]
common name
Q3561124
SYSTEM
Acisclus
Q3561124
(Q5818,P417,c(Q502895))
action filter_type
action find
entity Q5818
relation P417
type Q502895
The name of the patron saint of that administrative territory is the [ANSWER]
['Q5818', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q5818 property:P417 ?e . ?e rdf:type ontology:Q502895 }
Acisclus
The name of the patron saint of that administrative territory is the Acisclus
Acisclus
action filter_type
action find
entity Córdoba
relation patron saint
type common name
['Córdoba', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Córdoba property:patron_saint ?e . ?e rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3561124 Q389688 Q2277
P2348
Q3024240
USER
Did Acisclus happen in the historical era of Achaemenid Empire and Roman Empire ?
(Q3561124,P2348,Q389688) (Q3561124,P2348,Q2277)
action is_in
entity Q3561124
action intersection
action find_reverse
entity Q389688
relation P2348
action find_reverse
entity Q2277
relation P2348
['Q3561124', 'P2348', 'Q389688'] ['Q3561124', 'P2348', 'Q2277']
ASK WHERE { resource:Q3561124 property:P2348 resource:Q2277 . resource:Q3561124 property:P2348 resource:Q389688 }
Acisclus Achaemenid Empire Roman Empire
action is_in
entity Acisclus
action intersection
action find_reverse
entity Achaemenid Empire
relation period
action find_reverse
entity Roman Empire
relation period
['Acisclus', 'period', 'Achaemenid Empire'] ['Acisclus', 'period', 'Roman Empire']
ASK WHERE { resource:Acisclus property:period resource:Roman_Empire . resource:Acisclus property:period resource:Achaemenid_Empire }
[]
former country
SYSTEM
NO and YES respectively
(Q3561124,P2348,Q389688) (Q3561124,P2348,Q2277)
action is_in
entity Q3561124
action intersection
action find_reverse
entity Q389688
relation P2348
action find_reverse
entity Q2277
relation P2348
[ANSWER]
['Q3561124', 'P2348', 'Q389688'] ['Q3561124', 'P2348', 'Q2277']
ASK WHERE { resource:Q3561124 property:P2348 resource:Q2277 . resource:Q3561124 property:P2348 resource:Q389688 }
NO and YES respectively
action is_in
entity Acisclus
action intersection
action find_reverse
entity Achaemenid Empire
relation period
action find_reverse
entity Roman Empire
relation period
['Acisclus', 'period', 'Achaemenid Empire'] ['Acisclus', 'period', 'Roman Empire']
ASK WHERE { resource:Acisclus property:period resource:Roman_Empire . resource:Acisclus property:period resource:Achaemenid_Empire }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3561124
P411
Q82799
USER
Which name does that person belong to ?
action filter_type
action find
entity Q3561124
relation P411
type Q82799
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q82799 . resource:Q3561124 property:P411 ?e }
Acisclus
action filter_type
action find
entity Acisclus
relation canonization status
type name
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:name . resource:Acisclus property:canonization_status ?e }
[]
name
Q43115
SYSTEM
saint
Q43115
action filter_type
action find
entity Q3561124
relation P411
type Q82799
That person belongs to [ANSWER]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q82799 . resource:Q3561124 property:P411 ?e }
saint
That person belongs to saint
saint
action filter_type
action find
entity Acisclus
relation canonization status
type name
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:name . resource:Acisclus property:canonization_status ?e }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P180
Q82799 Q386724
USER
How many names are expressed in around the same number of works as that name ?
(c(Q386724),P180,c(Q82799))
action count
action approx
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
action count
action filter_type
action find
entity Q43115
relation P180
type Q82799
[{'concept': 'Q386724'}, 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:P180 ?x . ?z rdf:type ontology:Q386724 . ?x rdf:type ontology:Q82799 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o rdf:type ontology:Q82799 . resource:Q43115 property:P180 ?o } } . FILTER ( ?h = ?v ) }
action count
action approx
action find_reverse_tuple_counts
relation depicts
type name
type work
action count
action filter_type
action find
entity saint
relation depicts
type name
[{'concept': 'work'}, 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:depicts ?x . ?z rdf:type ontology:work . ?x rdf:type ontology:name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o rdf:type ontology:name . resource:saint property:depicts ?o } } . FILTER ( ?h = ?v ) }
[]
name work
SYSTEM
53
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q386724),P180,c(Q82799))
action count
action approx
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
action count
action filter_type
action find
entity Q43115
relation P180
type Q82799
[ANSWER]
[{'concept': 'Q386724'}, 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:P180 ?x . ?z rdf:type ontology:Q386724 . ?x rdf:type ontology:Q82799 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o rdf:type ontology:Q82799 . resource:Q43115 property:P180 ?o } } . FILTER ( ?h = ?v ) }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
53
action count
action approx
action find_reverse_tuple_counts
relation depicts
type name
type work
action count
action filter_type
action find
entity saint
relation depicts
type name
[{'concept': 'work'}, 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:depicts ?x . ?z rdf:type ontology:work . ?x rdf:type ontology:name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o rdf:type ontology:name . resource:saint property:depicts ?o } } . FILTER ( ?h = ?v ) }
[]