Simple Question (Direct)
Simple Question
Q1657602
P20
Q56061
USER
Where did Ignace Mobarak die ?
(Q1657602,P20,c(Q56061))
action filter_type
action find
entity Q1657602
relation P20
type Q56061
['Q1657602', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q1657602 property:P20 ?m . ?m rdf:type ontology:Q56061 }
Ignace Mobarak
action filter_type
action find
entity Ignace Mobarak
relation place of death
type administrative territorial entity
['Ignace Mobarak', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Ignace_Mobarak property:place_of_death ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3820
SYSTEM
Beirut
Q3820
(Q1657602,P20,c(Q56061))
action filter_type
action find
entity Q1657602
relation P20
type Q56061
Ignace Mobarak died in [ANSWER]
['Q1657602', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q1657602 property:P20 ?m . ?m rdf:type ontology:Q56061 }
Beirut
Ignace Mobarak died in Beirut
Beirut
action filter_type
action find
entity Ignace Mobarak
relation place of death
type administrative territorial entity
['Ignace Mobarak', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Ignace_Mobarak property:place_of_death ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1657602
P140
Q879146
USER
Which Christian denomination does Ignace Mobarak relate to ?
(Q1657602,P140,c(Q879146))
action filter_type
action find
entity Q1657602
relation P140
type Q879146
['Q1657602', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?j WHERE { resource:Q1657602 property:P140 ?j . ?j rdf:type ontology:Q879146 }
Ignace Mobarak
action filter_type
action find
entity Ignace Mobarak
relation religion
type Christian denomination
['Ignace Mobarak', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?j WHERE { resource:Ignace_Mobarak property:religion ?j . ?j rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q1657602,P140,c(Q879146))
action filter_type
action find
entity Q1657602
relation P140
type Q879146
Ignace Mobarak relates the [ANSWER]
['Q1657602', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?j WHERE { resource:Q1657602 property:P140 ?j . ?j rdf:type ontology:Q879146 }
Roman Catholic Church
Ignace Mobarak relates the Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Ignace Mobarak
relation religion
type Christian denomination
['Ignace Mobarak', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?j WHERE { resource:Ignace_Mobarak property:religion ?j . ?j rdf:type ontology:Christian_denomination }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1657602
P39
Q12737077
USER
What was the position held by Ignace Mobarak ?
(Q1657602,P39,c(Q12737077))
action filter_type
action find
entity Q1657602
relation P39
type Q12737077
['Q1657602', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1657602 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
Ignace Mobarak
action filter_type
action find
entity Ignace Mobarak
relation position held
type occupation
['Ignace Mobarak', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Ignace_Mobarak property:position_held ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q49476
SYSTEM
archbishop
Q49476
(Q1657602,P39,c(Q12737077))
action filter_type
action find
entity Q1657602
relation P39
type Q12737077
The position held by Ignace Mobarak was the [ANSWER]
['Q1657602', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1657602 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
archbishop
The position held by Ignace Mobarak was the archbishop
archbishop
action filter_type
action find
entity Ignace Mobarak
relation position held
type occupation
['Ignace Mobarak', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Ignace_Mobarak property:position_held ?o . ?o rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q2575840 Q1657602
P39
Q12737077
USER
Or Wilhelm Carlowitz?
OR((Q1657602,P39,c(Q12737077)), (Q2575840,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q1657602
relation P39
action find
entity Q2575840
relation P39
type Q12737077
{'OR': [['Q1657602', 'P39', {'concept': 'Q12737077'}], ['Q2575840', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?q ) { ( resource:Q1657602 ) ( resource:Q2575840 ) } . ?q property:P39 ?s } . ?s rdf:type ontology:Q12737077 }
Wilhelm Carlowitz Ignace Mobarak
action filter_type
action union
action find
entity Ignace Mobarak
relation position held
action find
entity Wilhelm Carlowitz
relation position held
type occupation
{'OR': [['Ignace Mobarak', 'position held', {'concept': 'occupation'}], ['Wilhelm Carlowitz', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?q ) { ( resource:Ignace_Mobarak ) ( resource:Wilhelm_Carlowitz ) } . ?q property:position_held ?s } . ?s rdf:type ontology:occupation }
[]
occupation
Q17334379 Q49476
SYSTEM
Member of the Landtag of Saxony, archbishop
Q17334379 Q49476
OR((Q1657602,P39,c(Q12737077)), (Q2575840,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q1657602
relation P39
action find
entity Q2575840
relation P39
type Q12737077
[ANSWERS]
{'OR': [['Q1657602', 'P39', {'concept': 'Q12737077'}], ['Q2575840', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?q ) { ( resource:Q1657602 ) ( resource:Q2575840 ) } . ?q property:P39 ?s } . ?s rdf:type ontology:Q12737077 }
Member of the Landtag of Saxony archbishop
Member of the Landtag of Saxony archbishop
action filter_type
action union
action find
entity Ignace Mobarak
relation position held
action find
entity Wilhelm Carlowitz
relation position held
type occupation
{'OR': [['Ignace Mobarak', 'position held', {'concept': 'occupation'}], ['Wilhelm Carlowitz', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?q ) { ( resource:Ignace_Mobarak ) ( resource:Wilhelm_Carlowitz ) } . ?q property:position_held ?s } . ?s rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q4282480
P417
Q502895 Q12737077
USER
How many people are the patron saints of greater number of occupations than Saint Martha ?
(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 Q4282480
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:P417 ?d . ?d rdf:type ontology:Q502895 . ?p rdf:type ontology:Q12737077 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q4282480 property:P417 ?z . ?z rdf:type ontology:Q502895 } } . FILTER ( ?u > ?y ) }
Saint Martha
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 Martha
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:patron_saint ?d . ?d rdf:type ontology:common_name . ?p rdf:type ontology:occupation } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Saint_Martha property:patron_saint ?z . ?z rdf:type ontology:common_name } } . FILTER ( ?u > ?y ) }
[]
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 Q4282480
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:P417 ?d . ?d rdf:type ontology:Q502895 . ?p rdf:type ontology:Q12737077 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q4282480 property:P417 ?z . ?z rdf:type ontology:Q502895 } } . FILTER ( ?u > ?y ) }
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 Martha
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:patron_saint ?d . ?d rdf:type ontology:common_name . ?p rdf:type ontology:occupation } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Saint_Martha property:patron_saint ?z . ?z rdf:type ontology:common_name } } . FILTER ( ?u > ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q196653
P417
Q502895 Q12737077
USER
And also tell me about Saint Veronica?
(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 Q196653
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f rdf:type ontology:Q502895 . resource:Q196653 property:P417 ?f } } . FILTER ( ?m > ?s ) . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?m ) WHERE { ?r property:P417 ?c . ?c rdf:type ontology:Q502895 . ?r rdf:type ontology:Q12737077 } GROUP BY ?c } }
Saint Veronica
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 Veronica
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f rdf:type ontology:common_name . resource:Saint_Veronica property:patron_saint ?f } } . FILTER ( ?m > ?s ) . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?m ) WHERE { ?r property:patron_saint ?c . ?c rdf:type ontology:common_name . ?r rdf:type ontology:occupation } GROUP BY ?c } }
[]
common name occupation
SYSTEM
6
Q128538 Q192816 Q43982 Q179718 Q43600 Q200895
(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 Q196653
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f rdf:type ontology:Q502895 . resource:Q196653 property:P417 ?f } } . FILTER ( ?m > ?s ) . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?m ) WHERE { ?r property:P417 ?c . ?c rdf:type ontology:Q502895 . ?r rdf:type ontology:Q12737077 } GROUP BY ?c } }
Luke the Evangelist Saint Barbara Bartholomew the Apostle Catherine of Alexandria Matthew the Apostle Agatha of Sicily
6
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 Veronica
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f rdf:type ontology:common_name . resource:Saint_Veronica property:patron_saint ?f } } . FILTER ( ?m > ?s ) . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?m ) WHERE { ?r property:patron_saint ?c . ?c rdf:type ontology:common_name . ?r rdf:type ontology:occupation } GROUP BY ?c } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17334379
P17
Q1048835
USER
Which political territory is Member of the Landtag of Saxony situated in ?
(Q17334379,P17,c(Q1048835))
action filter_type
action find
entity Q17334379
relation P17
type Q1048835
['Q17334379', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { resource:Q17334379 property:P17 ?p . ?p rdf:type ontology:Q1048835 }
Member of the Landtag of Saxony
action filter_type
action find
entity Member of the Landtag of Saxony
relation country
type political territorial entity
['Member of the Landtag of Saxony', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Member_of_the_Landtag_of_Saxony property:country ?p . ?p rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q17334379,P17,c(Q1048835))
action filter_type
action find
entity Q17334379
relation P17
type Q1048835
[ANSWER] is Member of the Landtag of Saxony situated in
['Q17334379', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { resource:Q17334379 property:P17 ?p . ?p rdf:type ontology:Q1048835 }
Germany
Germany is Member of the Landtag of Saxony situated in
Germany
action filter_type
action find
entity Member of the Landtag of Saxony
relation country
type political territorial entity
['Member of the Landtag of Saxony', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Member_of_the_Landtag_of_Saxony property:country ?p . ?p rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q696121
Q1048835
USER
And what about Marhof?
(Q696121,P17,c(Q1048835))
action filter_type
action find
entity Q696121
relation P17
type Q1048835
['Q696121', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q696121 property:P17 ?l . ?l rdf:type ontology:Q1048835 }
Marhof
action filter_type
action find
entity Marhof
relation country
type political territorial entity
['Marhof', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Marhof property:country ?l . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q696121,P17,c(Q1048835))
action filter_type
action find
entity Q696121
relation P17
type Q1048835
[ANSWER]
['Q696121', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q696121 property:P17 ?l . ?l rdf:type ontology:Q1048835 }
Austria
Austria
action filter_type
action find
entity Marhof
relation country
type political territorial entity
['Marhof', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Marhof property:country ?l . ?l rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q40 Q1741
P36
Q56061
USER
Is Vienna associated to Austria as the capital ?
(Q40,P36,Q1741)
action is_in
entity Q1741
action find
entity Q40
relation P36
['Q40', 'P36', 'Q1741']
ASK WHERE { resource:Q40 property:P36 resource:Q1741 }
Austria Vienna
action is_in
entity Vienna
action find
entity Austria
relation capital
['Austria', 'capital', 'Vienna']
ASK WHERE { resource:Austria property:capital resource:Vienna }
[]
administrative territorial entity
SYSTEM
YES
(Q40,P36,Q1741)
action is_in
entity Q1741
action find
entity Q40
relation P36
[ANSWER]
['Q40', 'P36', 'Q1741']
ASK WHERE { resource:Q40 property:P36 resource:Q1741 }
Yes
action is_in
entity Vienna
action find
entity Austria
relation capital
['Austria', 'capital', 'Vienna']
ASK WHERE { resource:Austria property:capital resource:Vienna }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40
P138
Q486972
USER
Which human settlement is the etymology of that political territory ?
action filter_type
action find
entity Q40
relation P138
type Q486972
SELECT DISTINCT ?f WHERE { resource:Q40 property:P138 ?f . ?f rdf:type ontology:Q486972 }
Austria
action filter_type
action find
entity Austria
relation named after
type human settlement
SELECT DISTINCT ?f WHERE { resource:Austria property:named_after ?f . ?f rdf:type ontology:human_settlement }
[]
human settlement
Q510604
SYSTEM
Raabs an der Thaya
Q510604
action filter_type
action find
entity Q40
relation P138
type Q486972
[ANSWER] is the etymology of that political territory
SELECT DISTINCT ?f WHERE { resource:Q40 property:P138 ?f . ?f rdf:type ontology:Q486972 }
Raabs an der Thaya
Raabs an der Thaya is the etymology of that political territory
Raabs an der Thaya
action filter_type
action find
entity Austria
relation named after
type human settlement
SELECT DISTINCT ?f WHERE { resource:Austria property:named_after ?f . ?f rdf:type ontology:human_settlement }
[]