Simple Question (Direct)
Simple Question
Q3288849
P27
Q15617994
USER
Which administrative territory is the native country of Marcel De Falco ?
(Q3288849,P27,c(Q15617994))
action filter_type
action find
entity Q3288849
relation P27
type Q15617994
['Q3288849', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q3288849 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Marcel De Falco
action filter_type
action find
entity Marcel De Falco
relation country of citizenship
type designation for an administrative territorial entity
['Marcel De Falco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Marcel_De_Falco property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3288849,P27,c(Q15617994))
action filter_type
action find
entity Q3288849
relation P27
type Q15617994
[ANSWER] is the native country of Marcel De Falco
['Q3288849', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q3288849 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
France
France is the native country of Marcel De Falco
France
action filter_type
action find
entity Marcel De Falco
relation country of citizenship
type designation for an administrative territorial entity
['Marcel De Falco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Marcel_De_Falco property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3288849
P21
Q290
USER
Which sex does Marcel De Falco belong to ?
(Q3288849,P21,c(Q290))
action filter_type
action find
entity Q3288849
relation P21
type Q290
['Q3288849', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q3288849 property:P21 ?e . ?e rdf:type ontology:Q290 }
Marcel De Falco
action filter_type
action find
entity Marcel De Falco
relation gender
type sex
['Marcel De Falco', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Marcel_De_Falco property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3288849,P21,c(Q290))
action filter_type
action find
entity Q3288849
relation P21
type Q290
Marcel De Falco belongs to [ANSWER]
['Q3288849', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q3288849 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
Marcel De Falco belongs to male
male
action filter_type
action find
entity Marcel De Falco
relation gender
type sex
['Marcel De Falco', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Marcel_De_Falco property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3288849
P641
Q349
USER
Which sport was that person a part of ?
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q3288849
relation P641
type Q349
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q3288849 property:P641 ?q . ?q rdf:type ontology:Q349 }
Marcel De Falco
action filter_type
action find
entity Marcel De Falco
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Marcel_De_Falco property:sport ?q . ?q rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q3288849
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q3288849 property:P641 ?q . ?q rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Marcel De Falco
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Marcel_De_Falco property:sport ?q . ?q rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3288849
P106
Q12737077
USER
Which occupation has Marcel De Falco as his/her 's career ?
(Q3288849,P106,c(Q12737077))
action filter_type
action find
entity Q3288849
relation P106
type Q12737077
['Q3288849', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q3288849 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Marcel De Falco
action filter_type
action find
entity Marcel De Falco
relation occupation
type occupation
['Marcel De Falco', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Marcel_De_Falco property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3288849,P106,c(Q12737077))
action filter_type
action find
entity Q3288849
relation P106
type Q12737077
Player [ANSWER] has Marcel De Falco as his/her 's career
['Q3288849', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q3288849 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
association football player
Player association football player has Marcel De Falco as his/her 's career
association football player
action filter_type
action find
entity Marcel De Falco
relation occupation
type occupation
['Marcel De Falco', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Marcel_De_Falco property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q89666
Q12737077
USER
And also tell me about Johann Baptist von Hirscher?
(Q89666,P106,c(Q12737077))
action filter_type
action find
entity Q89666
relation P106
type Q12737077
['Q89666', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q89666 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Johann Baptist von Hirscher
action filter_type
action find
entity Johann Baptist von Hirscher
relation occupation
type occupation
['Johann Baptist von Hirscher', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Johann_Baptist_von_Hirscher property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q1234713 Q1622272 Q42603
SYSTEM
theologian, university teacher, priest
Q1234713 Q1622272 Q42603
(Q89666,P106,c(Q12737077))
action filter_type
action find
entity Q89666
relation P106
type Q12737077
[ANSWERS]
['Q89666', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q89666 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
theologian university teacher priest
theologian university teacher priest
action filter_type
action find
entity Johann Baptist von Hirscher
relation occupation
type occupation
['Johann Baptist von Hirscher', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Johann_Baptist_von_Hirscher property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P101
Q12737077 Q2342494
USER
Which occupations are the area of greater number of collectables than that occupation ?
(c(Q2342494),P101,c(Q12737077))
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 }
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation }
[]
occupation collectable
Comparative|More/Less|Single entity type|Clarification
Q1234713
SYSTEM
Did you mean theologian ?
(c(Q2342494),P101,c(Q12737077))
[ANSWER]
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 }
Did you mean theologian ?
theologian
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
USER
No, I meant priest. Could you tell me the answer for that?
(c(Q2342494),P101,c(Q12737077))
Q42603
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
[]
Q15954519
SYSTEM
alchemist
Q15954519
(c(Q2342494),P101,c(Q12737077))
[ANSWER] is the area of greater number of collectables than that occupation
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 }
alchemist
Alchemist is the area of greater number of collectables than that occupation
alchemist
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
How many people are the patron saint of exactly 2 occupations ?
(c(Q12737077),P417,c(Q502895))
action count
action equal
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:P417 ?a . ?a rdf:type ontology:Q502895 . ?m rdf:type ontology:Q12737077 } GROUP BY ?a } . FILTER ( ?h = 2 ) }
action count
action equal
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:patron_saint ?a . ?a rdf:type ontology:common_name . ?m rdf:type ontology:occupation } GROUP BY ?a } . FILTER ( ?h = 2 ) }
[]
common name occupation
SYSTEM
10
Q229190 Q328804 Q166876 Q170547 Q183240 Q196653 Q44265 Q744884 Q151967 Q44248
(c(Q12737077),P417,c(Q502895))
action count
action equal
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:P417 ?a . ?a rdf:type ontology:Q502895 . ?m rdf:type ontology:Q12737077 } GROUP BY ?a } . FILTER ( ?h = 2 ) }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Saint Lucy Saint Veronica Benedict of Nursia Zita Saint Blaise Jerome
10
action count
action equal
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:patron_saint ?a . ?a rdf:type ontology:common_name . ?m rdf:type ontology:occupation } GROUP BY ?a } . FILTER ( ?h = 2 ) }
[]