Simple Question (Direct)
Simple Question
Q7539439
P21
Q290
USER
What is the sex of Slavko Lukić ?
(Q7539439,P21,c(Q290))
action filter_type
action find
entity Q7539439
relation P21
type Q290
['Q7539439', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q7539439 property:P21 ?k . ?k rdf:type ontology:Q290 }
Slavko Lukić
action filter_type
action find
entity Slavko Lukić
relation gender
type sex
['Slavko Lukić', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Slavko_Lukić property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7539439,P21,c(Q290))
action filter_type
action find
entity Q7539439
relation P21
type Q290
The sex of Slavko Lukić is the [ANSWER]
['Q7539439', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q7539439 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
The sex of Slavko Lukić is the male
male
action filter_type
action find
entity Slavko Lukić
relation gender
type sex
['Slavko Lukić', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Slavko_Lukić property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7539439
P106
Q12737077
USER
Which occupation is the profession of Slavko Lukić ?
(Q7539439,P106,c(Q12737077))
action filter_type
action find
entity Q7539439
relation P106
type Q12737077
['Q7539439', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q7539439 property:P106 ?c }
Slavko Lukić
action filter_type
action find
entity Slavko Lukić
relation occupation
type occupation
['Slavko Lukić', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Slavko_Lukić property:occupation ?c }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q7539439,P106,c(Q12737077))
action filter_type
action find
entity Q7539439
relation P106
type Q12737077
Player [ANSWER] is the profession of Slavko Lukić
['Q7539439', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q7539439 property:P106 ?c }
association football player
Player association football player is the profession of Slavko Lukić
association football player
action filter_type
action find
entity Slavko Lukić
relation occupation
type occupation
['Slavko Lukić', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Slavko_Lukić property:occupation ?c }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18530427
Q12737077
USER
And how about Muirgheas Ó hÉanna?
(Q18530427,P106,c(Q12737077))
action filter_type
action find
entity Q18530427
relation P106
type Q12737077
['Q18530427', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q18530427 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Muirgheas Ó hÉanna
action filter_type
action find
entity Muirgheas Ó hÉanna
relation occupation
type occupation
['Muirgheas Ó hÉanna', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Muirgheas_Ó_hÉanna property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q193391 Q42603
SYSTEM
diplomat, priest
Q193391 Q42603
(Q18530427,P106,c(Q12737077))
action filter_type
action find
entity Q18530427
relation P106
type Q12737077
[ANSWERS]
['Q18530427', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q18530427 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
diplomat priest
diplomat priest
action filter_type
action find
entity Muirgheas Ó hÉanna
relation occupation
type occupation
['Muirgheas Ó hÉanna', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Muirgheas_Ó_hÉanna property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18530427
P39
Q12737077
USER
Which occupation was a position for which that person was appointed ?
(Q193391,P39,c(Q12737077)) (Q42603,P39,c(Q12737077))
action filter_type
action find
entity Q18530427
relation P39
type Q12737077
['Q193391', 'P39', {'concept': 'Q12737077'}] ['Q42603', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . resource:Q18530427 property:P39 ?w }
Muirgheas Ó hÉanna
action filter_type
action find
entity Muirgheas Ó hÉanna
relation position held
type occupation
['diplomat', 'position held', {'concept': 'occupation'}] ['priest', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . resource:Muirgheas_Ó_hÉanna property:position_held ?w }
[]
occupation
Q740369
SYSTEM
papal legate
Q740369
(Q193391,P39,c(Q12737077)) (Q42603,P39,c(Q12737077))
action filter_type
action find
entity Q18530427
relation P39
type Q12737077
[ANSWER] was a position for which that person was appointed
['Q193391', 'P39', {'concept': 'Q12737077'}] ['Q42603', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . resource:Q18530427 property:P39 ?w }
papal legate
Papal legate was a position for which that person was appointed
papal legate
action filter_type
action find
entity Muirgheas Ó hÉanna
relation position held
type occupation
['diplomat', 'position held', {'concept': 'occupation'}] ['priest', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . resource:Muirgheas_Ó_hÉanna property:position_held ?w }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q740369 Q2612392
P39
Q502895
USER
How many people held the position of papal legate or Ministry of National Defence ?
(c(Q502895),P39,Q740369) (c(Q502895),P39,Q2612392)
action count
action union
action filter_type
action find_reverse
entity Q740369
relation P39
type Q502895
action filter_type
action find_reverse
entity Q2612392
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q740369'] [{'concept': 'Q502895'}, 'P39', 'Q2612392']
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { ?z property:P39 resource:Q2612392 . ?z rdf:type ontology:Q502895 } UNION { ?z property:P39 resource:Q740369 . ?z rdf:type ontology:Q502895 } }
papal legate Ministry of National Defence
action count
action union
action filter_type
action find_reverse
entity papal legate
relation position held
type common name
action filter_type
action find_reverse
entity Ministry of National Defence
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'papal legate'] [{'concept': 'common name'}, 'position held', 'Ministry of National Defence']
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { ?z property:position_held resource:Ministry_of_National_Defence . ?z rdf:type ontology:common_name } UNION { ?z property:position_held resource:papal_legate . ?z rdf:type ontology:common_name } }
[]
common name
SYSTEM
15
Q3388157 Q390512 Q955578 Q1235067 Q770016 Q3518228 Q101866 Q1009266 Q892558 Q15707393 Q3592418 Q853020 Q18530427 Q318580 Q3120091
(c(Q502895),P39,Q740369) (c(Q502895),P39,Q2612392)
action count
action union
action filter_type
action find_reverse
entity Q740369
relation P39
type Q502895
action filter_type
action find_reverse
entity Q2612392
relation P39
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q740369'] [{'concept': 'Q502895'}, 'P39', 'Q2612392']
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { ?z property:P39 resource:Q2612392 . ?z rdf:type ontology:Q502895 } UNION { ?z property:P39 resource:Q740369 . ?z rdf:type ontology:Q502895 } }
Pietro Orsini Agapito Colonna Galhard de Carceribus Giuseppe Bofondi Branda da Castiglione Teodor Meleșcanu Gregory VIII Gentile Portino da Montefiore Boniface of Ragusa Marcus Aemilius Scaurus Étienne de La Garde Lucas Muirgheas Ó hÉanna Pierre d'Ailly Guillaume Monge
15
action count
action union
action filter_type
action find_reverse
entity papal legate
relation position held
type common name
action filter_type
action find_reverse
entity Ministry of National Defence
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'papal legate'] [{'concept': 'common name'}, 'position held', 'Ministry of National Defence']
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { ?z property:position_held resource:Ministry_of_National_Defence . ?z rdf:type ontology:common_name } UNION { ?z property:position_held resource:papal_legate . ?z rdf:type ontology:common_name } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1115725
P417
Q502895 Q12737077
USER
How many people are the patron saints of more number of occupations than Saint Giovanni Battista de Rossi ?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q1115725
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:P417 ?u . ?j rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q502895 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { ?o rdf:type ontology:Q502895 . resource:Q1115725 property:P417 ?o } } . FILTER ( ?x > ?e ) }
Saint Giovanni Battista de Rossi
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Giovanni Battista de Rossi
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:patron_saint ?u . ?j rdf:type ontology:occupation . ?u rdf:type ontology:common_name } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { ?o rdf:type ontology:common_name . resource:Saint_Giovanni_Battista_de_Rossi property:patron_saint ?o } } . FILTER ( ?x > ?e ) }
[]
common name occupation
SYSTEM
54
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q1115725
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:P417 ?u . ?j rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q502895 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { ?o rdf:type ontology:Q502895 . resource:Q1115725 property:P417 ?o } } . FILTER ( ?x > ?e ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Giovanni Battista de Rossi
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:patron_saint ?u . ?j rdf:type ontology:occupation . ?u rdf:type ontology:common_name } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { ?o rdf:type ontology:common_name . resource:Saint_Giovanni_Battista_de_Rossi property:patron_saint ?o } } . FILTER ( ?x > ?e ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q48438
P417
Q502895 Q12737077
USER
And what about Saint George?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q48438
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:P417 ?a . ?a rdf:type ontology:Q502895 . ?q rdf:type ontology:Q12737077 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Q48438 property:P417 ?l . ?l rdf:type ontology:Q502895 } } . FILTER ( ?z > ?d ) }
Saint George
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint George
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:patron_saint ?a . ?a rdf:type ontology:common_name . ?q rdf:type ontology:occupation } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Saint_George property:patron_saint ?l . ?l rdf:type ontology:common_name } } . FILTER ( ?z > ?d ) }
[]
common name occupation
SYSTEM
16
Q229190 Q328804 Q166876 Q170547 Q128538 Q183240 Q196653 Q44265 Q192816 Q43982 Q179718 Q43600 Q744884 Q151967 Q200895 Q44248
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q48438
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:P417 ?a . ?a rdf:type ontology:Q502895 . ?q rdf:type ontology:Q12737077 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Q48438 property:P417 ?l . ?l rdf:type ontology:Q502895 } } . FILTER ( ?z > ?d ) }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Luke the Evangelist Saint Lucy Saint Veronica Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria Matthew the Apostle Zita Saint Blaise Agatha of Sicily Jerome
16
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint George
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:patron_saint ?a . ?a rdf:type ontology:common_name . ?q rdf:type ontology:occupation } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Saint_George property:patron_saint ?l . ?l rdf:type ontology:common_name } } . FILTER ( ?z > ?d ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7539439
P27
Q15617994
USER
Which administrative territory does Slavko Lukić belong to ?
(Q7539439,P27,c(Q15617994))
action filter_type
action find
entity Q7539439
relation P27
type Q15617994
['Q7539439', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q7539439 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Slavko Lukić
action filter_type
action find
entity Slavko Lukić
relation country of citizenship
type designation for an administrative territorial entity
['Slavko Lukić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Slavko_Lukić property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403
SYSTEM
Serbia
Q403
(Q7539439,P27,c(Q15617994))
action filter_type
action find
entity Q7539439
relation P27
type Q15617994
Slavko Lukić belongs to [ANSWER]
['Q7539439', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q7539439 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Serbia
Slavko Lukić belongs to Serbia
Serbia
action filter_type
action find
entity Slavko Lukić
relation country of citizenship
type designation for an administrative territorial entity
['Slavko Lukić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Slavko_Lukić property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7539439
P641
Q349
USER
What was the sport that Slavko Lukić was a part of ?
(Q7539439,P641,c(Q349))
action filter_type
action find
entity Q7539439
relation P641
type Q349
['Q7539439', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q7539439 property:P641 ?p . ?p rdf:type ontology:Q349 }
Slavko Lukić
action filter_type
action find
entity Slavko Lukić
relation sport
type sport
['Slavko Lukić', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Slavko_Lukić property:sport ?p . ?p rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7539439,P641,c(Q349))
action filter_type
action find
entity Q7539439
relation P641
type Q349
The sport that Slavko Lukić was a part of was the [ANSWER]
['Q7539439', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q7539439 property:P641 ?p . ?p rdf:type ontology:Q349 }
association football
The sport that Slavko Lukić was a part of was the association football
association football
action filter_type
action find
entity Slavko Lukić
relation sport
type sport
['Slavko Lukić', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Slavko_Lukić property:sport ?p . ?p rdf:type ontology:sport }
[]