Simple Question (Direct)
Simple Question
Q1537745
P19
Q56061
USER
Which administrative territory is the birthplace of Mario Cantarelli ?
(Q1537745,P19,c(Q56061))
action filter_type
action find
entity Q1537745
relation P19
type Q56061
['Q1537745', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1537745 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Mario Cantarelli
action filter_type
action find
entity Mario Cantarelli
relation place of birth
type administrative territorial entity
['Mario Cantarelli', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Mario_Cantarelli property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2683
SYSTEM
Parma
Q2683
(Q1537745,P19,c(Q56061))
action filter_type
action find
entity Q1537745
relation P19
type Q56061
The [ANSWER] is the birthplace of Mario Cantarelli
['Q1537745', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1537745 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Parma
The Parma is the birthplace of Mario Cantarelli
Parma
action filter_type
action find
entity Mario Cantarelli
relation place of birth
type administrative territorial entity
['Mario Cantarelli', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Mario_Cantarelli property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1537745
P106
Q12737077
USER
What is the job of Mario Cantarelli ?
(Q1537745,P106,c(Q12737077))
action filter_type
action find
entity Q1537745
relation P106
type Q12737077
['Q1537745', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q1537745 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Mario Cantarelli
action filter_type
action find
entity Mario Cantarelli
relation occupation
type occupation
['Mario Cantarelli', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Mario_Cantarelli property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1537745,P106,c(Q12737077))
action filter_type
action find
entity Q1537745
relation P106
type Q12737077
The job of Mario Cantarelli is an [ANSWER]
['Q1537745', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q1537745 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
association football player
The job of Mario Cantarelli is an association football player
association football player
action filter_type
action find
entity Mario Cantarelli
relation occupation
type occupation
['Mario Cantarelli', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Mario_Cantarelli property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q890573
Q12737077
USER
And also tell me about Boghos Bedros XIII. Terzian?
(Q890573,P106,c(Q12737077))
action filter_type
action find
entity Q890573
relation P106
type Q12737077
['Q890573', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q890573 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Boghos Bedros XIII. Terzian
action filter_type
action find
entity Boghos Bedros XIII. Terzian
relation occupation
type occupation
['Boghos Bedros XIII. Terzian', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Boghos_Bedros_XIII._Terzian property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q619896
SYSTEM
Catholicos
Q619896
(Q890573,P106,c(Q12737077))
action filter_type
action find
entity Q890573
relation P106
type Q12737077
[ANSWER]
['Q890573', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q890573 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Catholicos
Catholicos
action filter_type
action find
entity Boghos Bedros XIII. Terzian
relation occupation
type occupation
['Boghos Bedros XIII. Terzian', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Boghos_Bedros_XIII._Terzian property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q890573 Q10846077
P21
Q290
USER
How many sexes are the sex of Boghos Bedros XIII. Terzian or 3EP Girls ?
(Q890573,P21,c(Q290)) (Q10846077,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q890573
relation P21
type Q290
action filter_type
action find
entity Q10846077
relation P21
type Q290
['Q890573', 'P21', {'concept': 'Q290'}] ['Q10846077', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { resource:Q890573 property:P21 ?l . ?l rdf:type ontology:Q290 } UNION { resource:Q10846077 property:P21 ?l . ?l rdf:type ontology:Q290 } }
Boghos Bedros XIII. Terzian 3EP Girls
action count
action union
action filter_type
action find
entity Boghos Bedros XIII. Terzian
relation gender
type sex
action filter_type
action find
entity 3EP Girls
relation gender
type sex
['Boghos Bedros XIII. Terzian', 'gender', {'concept': 'sex'}] ['3EP Girls', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { resource:Boghos_Bedros_XIII._Terzian property:gender ?l . ?l rdf:type ontology:sex } UNION { resource:3EP_Girls property:gender ?l . ?l rdf:type ontology:sex } }
[]
sex
SYSTEM
2
Q6581097 Q6581072
(Q890573,P21,c(Q290)) (Q10846077,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q890573
relation P21
type Q290
action filter_type
action find
entity Q10846077
relation P21
type Q290
[ANSWER]
['Q890573', 'P21', {'concept': 'Q290'}] ['Q10846077', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { resource:Q890573 property:P21 ?l . ?l rdf:type ontology:Q290 } UNION { resource:Q10846077 property:P21 ?l . ?l rdf:type ontology:Q290 } }
male female
2
action count
action union
action filter_type
action find
entity Boghos Bedros XIII. Terzian
relation gender
type sex
action filter_type
action find
entity 3EP Girls
relation gender
type sex
['Boghos Bedros XIII. Terzian', 'gender', {'concept': 'sex'}] ['3EP Girls', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { resource:Boghos_Bedros_XIII._Terzian property:gender ?l . ?l rdf:type ontology:sex } UNION { resource:3EP_Girls property:gender ?l . ?l rdf:type ontology:sex } }
[]