Simple Question (Direct)
Simple Question
Q9025657
P1412
Q34770
USER
Which language is spoken by Luz de Viana ?
(Q9025657,P1412,c(Q34770))
action filter_type
action find
entity Q9025657
relation P1412
type Q34770
['Q9025657', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q9025657 property:P1412 ?y . ?y rdf:type ontology:Q34770 }
Luz de Viana
action filter_type
action find
entity Luz de Viana
relation languages spoken, written or signed
type language
['Luz de Viana', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Luz_de_Viana property:languages_spoken,_written_or_signed ?y . ?y rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q9025657,P1412,c(Q34770))
action filter_type
action find
entity Q9025657
relation P1412
type Q34770
Is [ANSWER] is spoken by Luz de Viana
['Q9025657', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q9025657 property:P1412 ?y . ?y rdf:type ontology:Q34770 }
Spanish
Is Spanish is spoken by Luz de Viana
Spanish
action filter_type
action find
entity Luz de Viana
relation languages spoken, written or signed
type language
['Luz de Viana', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Luz_de_Viana property:languages_spoken,_written_or_signed ?y . ?y rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9025657
P793
Q22675021
USER
Which lifetime is a significant event associated with that person ?
(Q1321,P793,c(Q22675021))
action filter_type
action find
entity Q9025657
relation P793
type Q22675021
['Q1321', 'P793', {'concept': 'Q22675021'}]
SELECT DISTINCT ?v WHERE { resource:Q9025657 property:P793 ?v . ?v rdf:type ontology:Q22675021 }
Luz de Viana
action filter_type
action find
entity Luz de Viana
relation significant event
type lifetime
['Spanish', 'significant event', {'concept': 'lifetime'}]
SELECT DISTINCT ?v WHERE { resource:Luz_de_Viana property:significant_event ?v . ?v rdf:type ontology:lifetime }
[]
lifetime
Q2944360
SYSTEM
centenarian
Q2944360
(Q1321,P793,c(Q22675021))
action filter_type
action find
entity Q9025657
relation P793
type Q22675021
[ANSWER] is a significant event associated with that person
['Q1321', 'P793', {'concept': 'Q22675021'}]
SELECT DISTINCT ?v WHERE { resource:Q9025657 property:P793 ?v . ?v rdf:type ontology:Q22675021 }
centenarian
Centenarian is a significant event associated with that person
centenarian
action filter_type
action find
entity Luz de Viana
relation significant event
type lifetime
['Spanish', 'significant event', {'concept': 'lifetime'}]
SELECT DISTINCT ?v WHERE { resource:Luz_de_Viana property:significant_event ?v . ?v rdf:type ontology:lifetime }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q67735 Q9025657
P793
Q22675021
USER
And also Reinhard Hardegen
AND((Q9025657,P793,c(Q22675021)), (Q67735,P793,c(Q22675021)))
action filter_type
action intersection
action find
entity Q9025657
relation P793
action find
entity Q67735
relation P793
type Q22675021
{'AND': [['Q9025657', 'P793', {'concept': 'Q22675021'}], ['Q67735', 'P793', {'concept': 'Q22675021'}]]}
SELECT DISTINCT ?p WHERE { resource:Q9025657 property:P793 ?p . resource:Q67735 property:P793 ?p . ?p rdf:type ontology:Q22675021 }
Reinhard Hardegen Luz de Viana
action filter_type
action intersection
action find
entity Luz de Viana
relation significant event
action find
entity Reinhard Hardegen
relation significant event
type lifetime
{'AND': [['Luz de Viana', 'significant event', {'concept': 'lifetime'}], ['Reinhard Hardegen', 'significant event', {'concept': 'lifetime'}]]}
SELECT DISTINCT ?p WHERE { resource:Luz_de_Viana property:significant_event ?p . resource:Reinhard_Hardegen property:significant_event ?p . ?p rdf:type ontology:lifetime }
[]
lifetime
Q2944360
SYSTEM
centenarian
Q2944360
AND((Q9025657,P793,c(Q22675021)), (Q67735,P793,c(Q22675021)))
action filter_type
action intersection
action find
entity Q9025657
relation P793
action find
entity Q67735
relation P793
type Q22675021
[ANSWER]
{'AND': [['Q9025657', 'P793', {'concept': 'Q22675021'}], ['Q67735', 'P793', {'concept': 'Q22675021'}]]}
SELECT DISTINCT ?p WHERE { resource:Q9025657 property:P793 ?p . resource:Q67735 property:P793 ?p . ?p rdf:type ontology:Q22675021 }
centenarian
centenarian
action filter_type
action intersection
action find
entity Luz de Viana
relation significant event
action find
entity Reinhard Hardegen
relation significant event
type lifetime
{'AND': [['Luz de Viana', 'significant event', {'concept': 'lifetime'}], ['Reinhard Hardegen', 'significant event', {'concept': 'lifetime'}]]}
SELECT DISTINCT ?p WHERE { resource:Luz_de_Viana property:significant_event ?p . resource:Reinhard_Hardegen property:significant_event ?p . ?p rdf:type ontology:lifetime }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q9025657
P27
Q15617994
USER
How many administrative territories are the countries of citizenship of Luz de Viana ?
(Q9025657,P27,c(Q15617994))
action count
action filter_type
action find
entity Q9025657
relation P27
type Q15617994
['Q9025657', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Q9025657 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Luz de Viana
action count
action filter_type
action find
entity Luz de Viana
relation country of citizenship
type designation for an administrative territorial entity
['Luz de Viana', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Luz_de_Viana property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q298
(Q9025657,P27,c(Q15617994))
action count
action filter_type
action find
entity Q9025657
relation P27
type Q15617994
[ANSWER]
['Q9025657', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Q9025657 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Chile
1
action count
action filter_type
action find
entity Luz de Viana
relation country of citizenship
type designation for an administrative territorial entity
['Luz de Viana', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Luz_de_Viana property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q6787126
Q15617994
USER
And how about Mathias Larsen Blilie?
(Q6787126,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6787126
relation P27
type Q15617994
['Q6787126', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { resource:Q6787126 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Mathias Larsen Blilie
action count
action filter_type
action find
entity Mathias Larsen Blilie
relation country of citizenship
type designation for an administrative territorial entity
['Mathias Larsen Blilie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { resource:Mathias_Larsen_Blilie property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q6787126,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6787126
relation P27
type Q15617994
[ANSWER]
['Q6787126', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { resource:Q6787126 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Mathias Larsen Blilie
relation country of citizenship
type designation for an administrative territorial entity
['Mathias Larsen Blilie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { resource:Mathias_Larsen_Blilie property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9025657
P21
Q290
USER
Which sex does Luz de Viana have ?
(Q9025657,P21,c(Q290))
action filter_type
action find
entity Q9025657
relation P21
type Q290
['Q9025657', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q9025657 property:P21 ?w . ?w rdf:type ontology:Q290 }
Luz de Viana
action filter_type
action find
entity Luz de Viana
relation gender
type sex
['Luz de Viana', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Luz_de_Viana property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q9025657,P21,c(Q290))
action filter_type
action find
entity Q9025657
relation P21
type Q290
Luz de Viana has a [ANSWER]
['Q9025657', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q9025657 property:P21 ?w . ?w rdf:type ontology:Q290 }
female
Luz de Viana has a female
female
action filter_type
action find
entity Luz de Viana
relation gender
type sex
['Luz de Viana', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Luz_de_Viana property:gender ?w . ?w rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581072 Q18069324
P21
Q502895
USER
Is Pavel Zabelin a that sex ?
(Q18069324,P21,Q6581072)
action is_in
entity Q18069324
action find
entity Q6581072
relation P21
['Q18069324', 'P21', 'Q6581072']
ASK WHERE { resource:Q6581072 property:P21 resource:Q18069324 }
female Pavel Zabelin
action is_in
entity Pavel Zabelin
action find
entity female
relation gender
['Pavel Zabelin', 'gender', 'female']
ASK WHERE { resource:female property:gender resource:Pavel_Zabelin }
[]
common name
SYSTEM
NO
(Q18069324,P21,Q6581072)
action is_in
entity Q18069324
action find
entity Q6581072
relation P21
[ANSWER]
['Q18069324', 'P21', 'Q6581072']
ASK WHERE { resource:Q6581072 property:P21 resource:Q18069324 }
No
action is_in
entity Pavel Zabelin
action find
entity female
relation gender
['Pavel Zabelin', 'gender', 'female']
ASK WHERE { resource:female property:gender resource:Pavel_Zabelin }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1321 Q652
P2439
Q502895
USER
How many people have a connection with the language Spanish or Italian ?
(c(Q502895),P2439,Q1321) (c(Q502895),P2439,Q652)
action count
action union
action filter_type
action find_reverse
entity Q1321
relation P2439
type Q502895
action filter_type
action find_reverse
entity Q652
relation P2439
type Q502895
[{'concept': 'Q502895'}, 'P2439', 'Q1321'] [{'concept': 'Q502895'}, 'P2439', 'Q652']
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { ?q property:P2439 resource:Q652 . ?q rdf:type ontology:Q502895 } UNION { ?q rdf:type ontology:Q502895 . ?q property:P2439 resource:Q1321 } }
Spanish Italian
action count
action union
action filter_type
action find_reverse
entity Spanish
relation language
type common name
action filter_type
action find_reverse
entity Italian
relation language
type common name
[{'concept': 'common name'}, 'language', 'Spanish'] [{'concept': 'common name'}, 'language', 'Italian']
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { ?q property:language resource:Italian . ?q rdf:type ontology:common_name } UNION { ?q rdf:type ontology:common_name . ?q property:language resource:Spanish } }
[]
common name
SYSTEM
5
Q21856980 Q24045999 Q27048749 Q5753161 Q20758196
(c(Q502895),P2439,Q1321) (c(Q502895),P2439,Q652)
action count
action union
action filter_type
action find_reverse
entity Q1321
relation P2439
type Q502895
action filter_type
action find_reverse
entity Q652
relation P2439
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P2439', 'Q1321'] [{'concept': 'Q502895'}, 'P2439', 'Q652']
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { ?q property:P2439 resource:Q652 . ?q rdf:type ontology:Q502895 } UNION { ?q rdf:type ontology:Q502895 . ?q property:P2439 resource:Q1321 } }
Carmen Vera González María Dolores Bargues Castelló Davide Anselmi Carolina Agüero Mireia Boya Busquet
5
action count
action union
action filter_type
action find_reverse
entity Spanish
relation language
type common name
action filter_type
action find_reverse
entity Italian
relation language
type common name
[{'concept': 'common name'}, 'language', 'Spanish'] [{'concept': 'common name'}, 'language', 'Italian']
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { ?q property:language resource:Italian . ?q rdf:type ontology:common_name } UNION { ?q rdf:type ontology:common_name . ?q property:language resource:Spanish } }
[]