Simple Question (Direct)
Simple Question
Q91180
P140
Q879146
USER
What is the religious affiliation of Conrad von Bolanden ?
(Q91180,P140,c(Q879146))
action filter_type
action find
entity Q91180
relation P140
type Q879146
['Q91180', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?l WHERE { resource:Q91180 property:P140 ?l . ?l rdf:type ontology:Q879146 }
Conrad von Bolanden
action filter_type
action find
entity Conrad von Bolanden
relation religion
type Christian denomination
['Conrad von Bolanden', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?l WHERE { resource:Conrad_von_Bolanden property:religion ?l . ?l rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q91180,P140,c(Q879146))
action filter_type
action find
entity Q91180
relation P140
type Q879146
The religious affiliation of Conrad von Bolanden is a [ANSWER]
['Q91180', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?l WHERE { resource:Q91180 property:P140 ?l . ?l rdf:type ontology:Q879146 }
Roman Catholic Church
The religious affiliation of Conrad von Bolanden is a Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Conrad von Bolanden
relation religion
type Christian denomination
['Conrad von Bolanden', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?l WHERE { resource:Conrad_von_Bolanden property:religion ?l . ?l rdf:type ontology:Christian_denomination }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q91180
P20
Q515
USER
Where did the expiration of that person occur ?
(Q9592,P20,c(Q515))
action filter_type
action find
entity Q91180
relation P20
type Q515
['Q9592', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q515 . resource:Q91180 property:P20 ?u }
Conrad von Bolanden
action filter_type
action find
entity Conrad von Bolanden
relation place of death
type city
['Roman Catholic Church', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:city . resource:Conrad_von_Bolanden property:place_of_death ?u }
[]
city
Q6829
SYSTEM
Speyer
Q6829
(Q9592,P20,c(Q515))
action filter_type
action find
entity Q91180
relation P20
type Q515
The expiration of that person occurred in [ANSWER]
['Q9592', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q515 . resource:Q91180 property:P20 ?u }
Speyer
The expiration of that person occurred in Speyer
Speyer
action filter_type
action find
entity Conrad von Bolanden
relation place of death
type city
['Roman Catholic Church', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:city . resource:Conrad_von_Bolanden property:place_of_death ?u }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6829 Q449750
P19
Q502895
USER
Was Alwig von Sulz born at that city ?
(Q449750,P19,Q6829)
action is_in
entity Q6829
action find
entity Q449750
relation P19
['Q449750', 'P19', 'Q6829']
ASK WHERE { resource:Q449750 property:P19 resource:Q6829 }
Speyer Alwig von Sulz
action is_in
entity Speyer
action find
entity Alwig von Sulz
relation place of birth
['Alwig von Sulz', 'place of birth', 'Speyer']
ASK WHERE { resource:Alwig_von_Sulz property:place_of_birth resource:Speyer }
[]
common name
SYSTEM
YES
(Q449750,P19,Q6829)
action is_in
entity Q6829
action find
entity Q449750
relation P19
[ANSWER]
['Q449750', 'P19', 'Q6829']
ASK WHERE { resource:Q449750 property:P19 resource:Q6829 }
Yes
action is_in
entity Speyer
action find
entity Alwig von Sulz
relation place of birth
['Alwig von Sulz', 'place of birth', 'Speyer']
ASK WHERE { resource:Alwig_von_Sulz property:place_of_birth resource:Speyer }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q91180 Q3823968 Q7086
P27
Q1048835
USER
Is Conrad von Bolanden a citizen of Tarucachi and Cantallops ?
(Q91180,P27,Q3823968) (Q91180,P27,Q7086)
action is_in
entity Q91180
action intersection
action find_reverse
entity Q3823968
relation P27
action find_reverse
entity Q7086
relation P27
['Q91180', 'P27', 'Q3823968'] ['Q91180', 'P27', 'Q7086']
ASK WHERE { resource:Q91180 property:P27 resource:Q3823968 . resource:Q91180 property:P27 resource:Q7086 }
Conrad von Bolanden Tarucachi Cantallops
action is_in
entity Conrad von Bolanden
action intersection
action find_reverse
entity Tarucachi
relation country of citizenship
action find_reverse
entity Cantallops
relation country of citizenship
['Conrad von Bolanden', 'country of citizenship', 'Tarucachi'] ['Conrad von Bolanden', 'country of citizenship', 'Cantallops']
ASK WHERE { resource:Conrad_von_Bolanden property:country_of_citizenship resource:Tarucachi . resource:Conrad_von_Bolanden property:country_of_citizenship resource:Cantallops }
[]
political territorial entity
SYSTEM
NO
(Q91180,P27,Q3823968) (Q91180,P27,Q7086)
action is_in
entity Q91180
action intersection
action find_reverse
entity Q3823968
relation P27
action find_reverse
entity Q7086
relation P27
[ANSWER]
['Q91180', 'P27', 'Q3823968'] ['Q91180', 'P27', 'Q7086']
ASK WHERE { resource:Q91180 property:P27 resource:Q3823968 . resource:Q91180 property:P27 resource:Q7086 }
No
action is_in
entity Conrad von Bolanden
action intersection
action find_reverse
entity Tarucachi
relation country of citizenship
action find_reverse
entity Cantallops
relation country of citizenship
['Conrad von Bolanden', 'country of citizenship', 'Tarucachi'] ['Conrad von Bolanden', 'country of citizenship', 'Cantallops']
ASK WHERE { resource:Conrad_von_Bolanden property:country_of_citizenship resource:Tarucachi . resource:Conrad_von_Bolanden property:country_of_citizenship resource:Cantallops }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q761735 Q91180
P47 P27
Q1048835
USER
Which political territories are the countries of citizenship of Conrad von Bolanden or share border with Montblanc ?
OR((Q91180,P27,c(Q1048835)), (Q761735,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q91180
relation P27
action find
entity Q761735
relation P47
type Q1048835
{'OR': [['Q91180', 'P27', {'concept': 'Q1048835'}], ['Q761735', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q91180 property:P27 ?l } UNION { resource:Q761735 property:P47 ?l } } . ?l rdf:type ontology:Q1048835 }
Montblanc Conrad von Bolanden
action filter_type
action union
action find
entity Conrad von Bolanden
relation country of citizenship
action find
entity Montblanc
relation shares border with
type political territorial entity
{'OR': [['Conrad von Bolanden', 'country of citizenship', {'concept': 'political territorial entity'}], ['Montblanc', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Conrad_von_Bolanden property:country_of_citizenship ?l } UNION { resource:Montblanc property:shares_border_with ?l } } . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q776730 Q825883 Q280721 Q931134 Q367969 Q183 Q1248551 Q730021 Q1229283 Q654198
SYSTEM
Some of them are Vimbodí i Poblet, Valls, La Riba, Vilaverd, Figuerola del Camp, Germany, Pira, Barberà de la Conca, L'Espluga de Francolí, Blancafort
Q825883 Q1248551 Q776730 Q183 Q931134 Q1229283 Q367969 Q745771 Q654198 Q280721 Q730021
OR((Q91180,P27,c(Q1048835)), (Q761735,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q91180
relation P27
action find
entity Q761735
relation P47
type Q1048835
[ANSWERS] are the countries of citizenship of Conrad von Bolanden or share border with Montblanc
{'OR': [['Q91180', 'P27', {'concept': 'Q1048835'}], ['Q761735', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q91180 property:P27 ?l } UNION { resource:Q761735 property:P47 ?l } } . ?l rdf:type ontology:Q1048835 }
Valls Pira Vimbodí i Poblet Germany Vilaverd L'Espluga de Francolí Figuerola del Camp Mont-ral Blancafort La Riba Barberà de la Conca
Vimbodí i Poblet, Valls, La Riba, Vilaverd, Figuerola del Camp, Germany, Pira, Barberà de la Conca, L'Espluga de Francolí and Blancafort are the countries of citizenship of Conrad von Bolanden or share border with Montblanc
Vimbodí i Poblet Valls La Riba Vilaverd Figuerola del Camp Germany Pira Barberà de la Conca L'Espluga de Francolí Blancafort
action filter_type
action union
action find
entity Conrad von Bolanden
relation country of citizenship
action find
entity Montblanc
relation shares border with
type political territorial entity
{'OR': [['Conrad von Bolanden', 'country of citizenship', {'concept': 'political territorial entity'}], ['Montblanc', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Conrad_von_Bolanden property:country_of_citizenship ?l } UNION { resource:Montblanc property:shares_border_with ?l } } . ?l rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q492420
P206
Q337567 Q1267889 Q1048835
USER
How many political territories are located next to greater number of still waterss and waterways than Getxo ?
(c(Q1048835),P206,c(Q337567)|c(Q1267889))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q1048835
type Q337567
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
action count
action filter_multi_types
action find
entity Q492420
relation P206
type Q337567
type Q1267889
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) ?z WHERE { VALUES ( ?t ) { ( ontology:Q337567 ) ( ontology:Q1267889 ) } . ?b rdf:type ?t } GROUP BY ?z } . FILTER ( ?l > ?v ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { resource:Q492420 property:P206 ?a . { { ?a rdf:type ontology:Q337567 } UNION { ?a rdf:type ontology:Q1267889 } } } } }
Getxo
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
action count
action filter_multi_types
action find
entity Getxo
relation located next to body of water
type still waters
type waterway
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) ?z WHERE { VALUES ( ?t ) { ( ontology:still_waters ) ( ontology:waterway ) } . ?b rdf:type ?t } GROUP BY ?z } . FILTER ( ?l > ?v ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { resource:Getxo property:located_next_to_body_of_water ?a . { { ?a rdf:type ontology:still_waters } UNION { ?a rdf:type ontology:waterway } } } } }
[]
still waters waterway political territorial entity
SYSTEM
19
Q691567 Q1866 Q1470810 Q5065 Q5062 Q5068 Q40 Q898856 Q1823 Q3540 Q5078 Q904566 Q168159 Q109128 Q3586 Q213361 Q42314 Q3906 Q597201
(c(Q1048835),P206,c(Q337567)|c(Q1267889))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q1048835
type Q337567
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
action count
action filter_multi_types
action find
entity Q492420
relation P206
type Q337567
type Q1267889
[ANSWER]
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) ?z WHERE { VALUES ( ?t ) { ( ontology:Q337567 ) ( ontology:Q1267889 ) } . ?b rdf:type ?t } GROUP BY ?z } . FILTER ( ?l > ?v ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { resource:Q492420 property:P206 ?a . { { ?a rdf:type ontology:Q337567 } UNION { ?a rdf:type ontology:Q1267889 } } } } }
Les Dirouilles Bangka–Belitung Islands Pierres de Lecq Central Sulawesi Province West Nusa Tenggara North Sulawesi Province Austria Jethou Aceh Banten Province South Sulawesi Brecqhou Anglesey Gwynedd East Java Pembrokeshire Channel Islands Kalimantan Selatan Lake of the Woods, Ontario
19
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
action count
action filter_multi_types
action find
entity Getxo
relation located next to body of water
type still waters
type waterway
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) ?z WHERE { VALUES ( ?t ) { ( ontology:still_waters ) ( ontology:waterway ) } . ?b rdf:type ?t } GROUP BY ?z } . FILTER ( ?l > ?v ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { resource:Getxo property:located_next_to_body_of_water ?a . { { ?a rdf:type ontology:still_waters } UNION { ?a rdf:type ontology:waterway } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q825883
P291
Q234460
USER
Which text has Valls as its publication place ?
(c(Q234460),P291,Q825883)
action filter_type
action find_reverse
entity Q825883
relation P291
type Q234460
[{'concept': 'Q234460'}, 'P291', 'Q825883']
SELECT DISTINCT ?i WHERE { ?i property:P291 resource:Q825883 . ?i rdf:type ontology:Q234460 }
Valls
action filter_type
action find_reverse
entity Valls
relation place of publication
type text
[{'concept': 'text'}, 'place of publication', 'Valls']
SELECT DISTINCT ?i WHERE { ?i property:place_of_publication resource:Valls . ?i rdf:type ontology:text }
[]
text
Q18985974
SYSTEM
Origen dels noms geogràfics de Catalunya : pobles, rius, muntanyes
Q18985974
(c(Q234460),P291,Q825883)
action filter_type
action find_reverse
entity Q825883
relation P291
type Q234460
The origen dels noms geogràfics de Catalunya : pobles, rius, muntanyes has Valls as its publication place
[{'concept': 'Q234460'}, 'P291', 'Q825883']
SELECT DISTINCT ?i WHERE { ?i property:P291 resource:Q825883 . ?i rdf:type ontology:Q234460 }
Origen dels noms geogràfics de Catalunya : pobles, rius, muntanyes
The origen dels noms geogràfics de Catalunya : pobles, rius, muntanyes has Valls as its publication place
Origen dels noms geogràfics de Catalunya : pobles, rius, muntanyes
action filter_type
action find_reverse
entity Valls
relation place of publication
type text
[{'concept': 'text'}, 'place of publication', 'Valls']
SELECT DISTINCT ?i WHERE { ?i property:place_of_publication resource:Valls . ?i rdf:type ontology:text }
[]