Simple Question (Direct)
Simple Question
Q3264985
P19
Q56061
USER
Where was Luca Martin born ?
(Q3264985,P19,c(Q56061))
action filter_type
action find
entity Q3264985
relation P19
type Q56061
['Q3264985', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q3264985 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Luca Martin
action filter_type
action find
entity Luca Martin
relation place of birth
type administrative territorial entity
['Luca Martin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Luca_Martin property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q617
SYSTEM
Padua
Q617
(Q3264985,P19,c(Q56061))
action filter_type
action find
entity Q3264985
relation P19
type Q56061
Luca Martin was born in [ANSWER]
['Q3264985', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q3264985 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Padua
Luca Martin was born in Padua
Padua
action filter_type
action find
entity Luca Martin
relation place of birth
type administrative territorial entity
['Luca Martin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Luca_Martin property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3264985
P21
Q290
USER
Which sex does Luca Martin possess ?
(Q3264985,P21,c(Q290))
action filter_type
action find
entity Q3264985
relation P21
type Q290
['Q3264985', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q3264985 property:P21 ?n . ?n rdf:type ontology:Q290 }
Luca Martin
action filter_type
action find
entity Luca Martin
relation gender
type sex
['Luca Martin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Luca_Martin property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3264985,P21,c(Q290))
action filter_type
action find
entity Q3264985
relation P21
type Q290
Luca Martin possesses un [ANSWER]
['Q3264985', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q3264985 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
Luca Martin possesses un male
male
action filter_type
action find
entity Luca Martin
relation gender
type sex
['Luca Martin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Luca_Martin property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3289381
Q290
USER
And what about Marcel Salsé?
(Q3289381,P21,c(Q290))
action filter_type
action find
entity Q3289381
relation P21
type Q290
['Q3289381', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q3289381 property:P21 ?m . ?m rdf:type ontology:Q290 }
Marcel Salsé
action filter_type
action find
entity Marcel Salsé
relation gender
type sex
['Marcel Salsé', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Marcel_Salsé property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3289381,P21,c(Q290))
action filter_type
action find
entity Q3289381
relation P21
type Q290
[ANSWER]
['Q3289381', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q3289381 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Marcel Salsé
relation gender
type sex
['Marcel Salsé', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Marcel_Salsé property:gender ?m . ?m rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q617 Q12206942
P138
Q16521
USER
How many taxons have Padua or Darth Vader as their toponym ?
(c(Q16521),P138,Q617) (c(Q16521),P138,Q12206942)
action count
action union
action filter_type
action find_reverse
entity Q617
relation P138
type Q16521
action filter_type
action find_reverse
entity Q12206942
relation P138
type Q16521
[{'concept': 'Q16521'}, 'P138', 'Q617'] [{'concept': 'Q16521'}, 'P138', 'Q12206942']
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { ?f rdf:type ontology:Q16521 . ?f property:P138 resource:Q617 } UNION { ?f property:P138 resource:Q12206942 . ?f rdf:type ontology:Q16521 } }
Padua Darth Vader
action count
action union
action filter_type
action find_reverse
entity Padua
relation named after
type taxon
action filter_type
action find_reverse
entity Darth Vader
relation named after
type taxon
[{'concept': 'taxon'}, 'named after', 'Padua'] [{'concept': 'taxon'}, 'named after', 'Darth Vader']
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { ?f rdf:type ontology:taxon . ?f property:named_after resource:Padua } UNION { ?f property:named_after resource:Darth_Vader . ?f rdf:type ontology:taxon } }
[]
taxon
SYSTEM
4
Q22916507 Q391354 Q11842795 Q21737177
(c(Q16521),P138,Q617) (c(Q16521),P138,Q12206942)
action count
action union
action filter_type
action find_reverse
entity Q617
relation P138
type Q16521
action filter_type
action find_reverse
entity Q12206942
relation P138
type Q16521
[ANSWER]
[{'concept': 'Q16521'}, 'P138', 'Q617'] [{'concept': 'Q16521'}, 'P138', 'Q12206942']
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { ?f rdf:type ontology:Q16521 . ?f property:P138 resource:Q617 } UNION { ?f property:P138 resource:Q12206942 . ?f rdf:type ontology:Q16521 } }
Ricinus vaderi Agathidium vaderi Darthvaderum Polemistus vaderi
4
action count
action union
action filter_type
action find_reverse
entity Padua
relation named after
type taxon
action filter_type
action find_reverse
entity Darth Vader
relation named after
type taxon
[{'concept': 'taxon'}, 'named after', 'Padua'] [{'concept': 'taxon'}, 'named after', 'Darth Vader']
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { ?f rdf:type ontology:taxon . ?f property:named_after resource:Padua } UNION { ?f property:named_after resource:Darth_Vader . ?f rdf:type ontology:taxon } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q617
P1071
Q3305213
USER
Which paintings have Padua as their location of final assembly ?
(c(Q3305213),P1071,Q617)
action filter_type
action find_reverse
entity Q617
relation P1071
type Q3305213
[{'concept': 'Q3305213'}, 'P1071', 'Q617']
SELECT DISTINCT ?z WHERE { ?z property:P1071 resource:Q617 . ?z rdf:type ontology:Q3305213 }
Padua
action filter_type
action find_reverse
entity Padua
relation location of final assembly
type painting
[{'concept': 'painting'}, 'location of final assembly', 'Padua']
SELECT DISTINCT ?z WHERE { ?z property:location_of_final_assembly resource:Padua . ?z rdf:type ontology:painting }
[]
painting
Q3504778 Q734197 Q653930
SYSTEM
Kiss of Judas, Visitation, Miracle of the Jealous Husband
Q3504778 Q653930 Q3975688 Q734197
(c(Q3305213),P1071,Q617)
action filter_type
action find_reverse
entity Q617
relation P1071
type Q3305213
[ANSWERS] have Padua as their location of final assembly
[{'concept': 'Q3305213'}, 'P1071', 'Q617']
SELECT DISTINCT ?z WHERE { ?z property:P1071 resource:Q617 . ?z rdf:type ontology:Q3305213 }
Kiss of Judas Miracle of the Jealous Husband Massacre of the Innocents Visitation
Kiss of Judas, Visitation and Miracle of the Jealous Husband have Padua as their location of final assembly
Kiss of Judas Visitation Miracle of the Jealous Husband
action filter_type
action find_reverse
entity Padua
relation location of final assembly
type painting
[{'concept': 'painting'}, 'location of final assembly', 'Padua']
SELECT DISTINCT ?z WHERE { ?z property:location_of_final_assembly resource:Padua . ?z rdf:type ontology:painting }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q617
P17
Q15617994
USER
Which administrative territories are Padua situated in ?
(Q617,P17,c(Q15617994))
action filter_type
action find
entity Q617
relation P17
type Q15617994
['Q617', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q617 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Padua
action filter_type
action find
entity Padua
relation country
type designation for an administrative territorial entity
['Padua', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Padua property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q153136
SYSTEM
Italy, Habsburg Empire
Q38 Q153136
(Q617,P17,c(Q15617994))
action filter_type
action find
entity Q617
relation P17
type Q15617994
Padua are situated in [ANSWERS]
['Q617', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q617 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Italy Habsburg Empire
Padua are situated in Italy and Habsburg Empire
Italy Habsburg Empire
action filter_type
action find
entity Padua
relation country
type designation for an administrative territorial entity
['Padua', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Padua property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q38 Q153136
P36
Q56061
USER
Which administrative territories are called the capital of Italy and Habsburg Empire ?
(Q38,P36,c(Q56061)) (Q153136,P36,c(Q56061))
action union
action filter_type
action find
entity Q38
relation P36
type Q56061
action filter_type
action find
entity Q153136
relation P36
type Q56061
['Q38', 'P36', {'concept': 'Q56061'}] ['Q153136', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { { resource:Q38 property:P36 ?a . ?a rdf:type ontology:Q56061 } UNION { resource:Q153136 property:P36 ?a . ?a rdf:type ontology:Q56061 } }
Italy Habsburg Empire
action union
action filter_type
action find
entity Italy
relation capital
type administrative territorial entity
action filter_type
action find
entity Habsburg Empire
relation capital
type administrative territorial entity
['Italy', 'capital', {'concept': 'administrative territorial entity'}] ['Habsburg Empire', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { resource:Italy property:capital ?a . ?a rdf:type ontology:administrative_territorial_entity } UNION { resource:Habsburg_Empire property:capital ?a . ?a rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q220 Q1741
SYSTEM
Rome, Vienna
Q220 Q1741
(Q38,P36,c(Q56061)) (Q153136,P36,c(Q56061))
action union
action filter_type
action find
entity Q38
relation P36
type Q56061
action filter_type
action find
entity Q153136
relation P36
type Q56061
[ANSWERS] are called the capital of Italy and Habsburg Empire
['Q38', 'P36', {'concept': 'Q56061'}] ['Q153136', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { { resource:Q38 property:P36 ?a . ?a rdf:type ontology:Q56061 } UNION { resource:Q153136 property:P36 ?a . ?a rdf:type ontology:Q56061 } }
Rome Vienna
Rome and Vienna are called the capital of Italy and Habsburg Empire
Rome Vienna
action union
action filter_type
action find
entity Italy
relation capital
type administrative territorial entity
action filter_type
action find
entity Habsburg Empire
relation capital
type administrative territorial entity
['Italy', 'capital', {'concept': 'administrative territorial entity'}] ['Habsburg Empire', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { resource:Italy property:capital ?a . ?a rdf:type ontology:administrative_territorial_entity } UNION { resource:Habsburg_Empire property:capital ?a . ?a rdf:type ontology:administrative_territorial_entity } }
[]