Simple Question (Direct)
Simple Question
Q78346
P140
Q879146
USER
Which Christian denomination does Albert Bitter relate to ?
(Q78346,P140,c(Q879146))
action filter_type
action find
entity Q78346
relation P140
type Q879146
['Q78346', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?p WHERE { resource:Q78346 property:P140 ?p . ?p rdf:type ontology:Q879146 }
Albert Bitter
action filter_type
action find
entity Albert Bitter
relation religion
type Christian denomination
['Albert Bitter', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?p WHERE { resource:Albert_Bitter property:religion ?p . ?p rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q78346,P140,c(Q879146))
action filter_type
action find
entity Q78346
relation P140
type Q879146
Albert Bitter relates the [ANSWER]
['Q78346', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?p WHERE { resource:Q78346 property:P140 ?p . ?p rdf:type ontology:Q879146 }
Roman Catholic Church
Albert Bitter relates the Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Albert Bitter
relation religion
type Christian denomination
['Albert Bitter', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?p WHERE { resource:Albert_Bitter property:religion ?p . ?p rdf:type ontology:Christian_denomination }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q78346
P39
Q12737077
USER
Which occupation was a position occupied by Albert Bitter ?
(Q78346,P39,c(Q12737077))
action filter_type
action find
entity Q78346
relation P39
type Q12737077
['Q78346', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q78346 property:P39 ?l . ?l rdf:type ontology:Q12737077 }
Albert Bitter
action filter_type
action find
entity Albert Bitter
relation position held
type occupation
['Albert Bitter', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Albert_Bitter property:position_held ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q29182
SYSTEM
bishop
Q29182
(Q78346,P39,c(Q12737077))
action filter_type
action find
entity Q78346
relation P39
type Q12737077
[ANSWER] was a position occupied by Albert Bitter
['Q78346', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q78346 property:P39 ?l . ?l rdf:type ontology:Q12737077 }
bishop
Bishop was a position occupied by Albert Bitter
bishop
action filter_type
action find
entity Albert Bitter
relation position held
type occupation
['Albert Bitter', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Albert_Bitter property:position_held ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q78346
P19
Q24293650
USER
Which type of german administrative division was that person born in ?
(Q29182,P19,c(Q24293650))
action filter_type
action find
entity Q78346
relation P19
type Q24293650
['Q29182', 'P19', {'concept': 'Q24293650'}]
SELECT DISTINCT ?s WHERE { resource:Q78346 property:P19 ?s . ?s rdf:type ontology:Q24293650 }
Albert Bitter
action filter_type
action find
entity Albert Bitter
relation place of birth
type type of german administrative division
['bishop', 'place of birth', {'concept': 'type of german administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Albert_Bitter property:place_of_birth ?s . ?s rdf:type ontology:type_of_german_administrative_division }
[]
type of german administrative division
Q6954
SYSTEM
Melle
Q6954
(Q29182,P19,c(Q24293650))
action filter_type
action find
entity Q78346
relation P19
type Q24293650
Which type of german administrative division was that person born in
['Q29182', 'P19', {'concept': 'Q24293650'}]
SELECT DISTINCT ?s WHERE { resource:Q78346 property:P19 ?s . ?s rdf:type ontology:Q24293650 }
Melle
Which type of german administrative division was that person born in
Melle
action filter_type
action find
entity Albert Bitter
relation place of birth
type type of german administrative division
['bishop', 'place of birth', {'concept': 'type of german administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Albert_Bitter property:place_of_birth ?s . ?s rdf:type ontology:type_of_german_administrative_division }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q355884
P417
Q502895 Q12737077
USER
Which people are the names of the patron saint of more number of occupations than Josaphat Kuntsevych ?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q355884
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:P417 ?u . ?u rdf:type ontology:Q502895 . ?d rdf:type ontology:Q12737077 } GROUP BY ?u } . FILTER ( ?b > ?w ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Q355884 property:P417 ?k . ?k rdf:type ontology:Q502895 } } }
Josaphat Kuntsevych
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Josaphat Kuntsevych
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:patron_saint ?u . ?u rdf:type ontology:common_name . ?d rdf:type ontology:occupation } GROUP BY ?u } . FILTER ( ?b > ?w ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Josaphat_Kuntsevych property:patron_saint ?k . ?k rdf:type ontology:common_name } } }
[]
common name occupation
Q9438 Q60059 Q166876
SYSTEM
Thomas Aquinas, Albertus Magnus, Isidore of Seville
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 greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q355884
relation P417
type Q502895
[ANSWERS] are the names of the patron saint of more number of occupations than Josaphat Kuntsevych
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:P417 ?u . ?u rdf:type ontology:Q502895 . ?d rdf:type ontology:Q12737077 } GROUP BY ?u } . FILTER ( ?b > ?w ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Q355884 property:P417 ?k . ?k rdf:type ontology:Q502895 } } }
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
Thomas Aquinas, Albertus Magnus and Isidore of Seville are the names of the patron saint of more number of occupations than Josaphat Kuntsevych
Thomas Aquinas Albertus Magnus Isidore of Seville
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Josaphat Kuntsevych
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:patron_saint ?u . ?u rdf:type ontology:common_name . ?d rdf:type ontology:occupation } GROUP BY ?u } . FILTER ( ?b > ?w ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Josaphat_Kuntsevych property:patron_saint ?k . ?k rdf:type ontology:common_name } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q3947956
P417
Q502895 Q12737077
USER
And how about San Secondo?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q3947956
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { ?k rdf:type ontology:Q502895 . resource:Q3947956 property:P417 ?k } } . FILTER ( ?f > ?m ) . { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?f ) WHERE { ?n rdf:type ontology:Q502895 . ?e rdf:type ontology:Q12737077 . ?e property:P417 ?n } GROUP BY ?n } }
San Secondo
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity San Secondo
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { ?k rdf:type ontology:common_name . resource:San_Secondo property:patron_saint ?k } } . FILTER ( ?f > ?m ) . { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?f ) WHERE { ?n rdf:type ontology:common_name . ?e rdf:type ontology:occupation . ?e property:patron_saint ?n } GROUP BY ?n } }
[]
common name occupation
Q9438 Q60059 Q166876
SYSTEM
Thomas Aquinas, Albertus Magnus, Isidore of Seville
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 greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q3947956
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { ?k rdf:type ontology:Q502895 . resource:Q3947956 property:P417 ?k } } . FILTER ( ?f > ?m ) . { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?f ) WHERE { ?n rdf:type ontology:Q502895 . ?e rdf:type ontology:Q12737077 . ?e property:P417 ?n } GROUP BY ?n } }
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
Thomas Aquinas Albertus Magnus Isidore of Seville
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity San Secondo
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { ?k rdf:type ontology:common_name . resource:San_Secondo property:patron_saint ?k } } . FILTER ( ?f > ?m ) . { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?f ) WHERE { ?n rdf:type ontology:common_name . ?e rdf:type ontology:occupation . ?e property:patron_saint ?n } GROUP BY ?n } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q60059
P737
Q502895
USER
Who did that one have an influence on ?
(c(Q502895),P737,Q60059)
action filter_type
action find_reverse
entity Q60059
relation P737
type Q502895
[{'concept': 'Q502895'}, 'P737', 'Q60059']
SELECT DISTINCT ?d WHERE { ?d property:P737 resource:Q60059 . ?d rdf:type ontology:Q502895 }
Albertus Magnus
action filter_type
action find_reverse
entity Albertus Magnus
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Albertus Magnus']
SELECT DISTINCT ?d WHERE { ?d property:influenced_by resource:Albertus_Magnus . ?d rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q166876
SYSTEM
Did you mean Isidore of Seville ?
Q9438 Q60059 Q166876
(c(Q502895),P737,Q9438) (c(Q502895),P737,Q60059) (c(Q502895),P737,Q166876)
[ANSWER]
[{'concept': 'Q502895'}, 'P737', 'Q9438'] [{'concept': 'Q502895'}, 'P737', 'Q60059'] [{'concept': 'Q502895'}, 'P737', 'Q166876']
SELECT DISTINCT ?d WHERE { ?d property:P737 resource:Q60059 . ?d rdf:type ontology:Q502895 }
Thomas Aquinas Albertus Magnus Isidore of Seville
Did you mean Isidore of Seville ?
Isidore of Seville
[{'concept': 'common name'}, 'influenced by', 'Thomas Aquinas'] [{'concept': 'common name'}, 'influenced by', 'Albertus Magnus'] [{'concept': 'common name'}, 'influenced by', 'Isidore of Seville']
SELECT DISTINCT ?d WHERE { ?d property:influenced_by resource:Albertus_Magnus . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Albertus Magnus. Could you tell me the answer for that?
(c(Q502895),P737,Q60059)
Q60059
[{'concept': 'Q502895'}, 'P737', 'Q60059']
[{'concept': 'common name'}, 'influenced by', 'Albertus Magnus']
[]
Q9438
SYSTEM
Thomas Aquinas
Q9438
(c(Q502895),P737,Q60059)
action filter_type
action find_reverse
entity Q60059
relation P737
type Q502895
One had an influence on that of [ANSWER]
[{'concept': 'Q502895'}, 'P737', 'Q60059']
SELECT DISTINCT ?d WHERE { ?d property:P737 resource:Q60059 . ?d rdf:type ontology:Q502895 }
Thomas Aquinas
One had an influence on that of Thomas Aquinas
Thomas Aquinas
action filter_type
action find_reverse
entity Albertus Magnus
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Albertus Magnus']
SELECT DISTINCT ?d WHERE { ?d property:influenced_by resource:Albertus_Magnus . ?d rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P106
Q3412758 Q151885
USER
How many qualifications or concepts do that person do for a living ?
(Q9438,P106,c(Q3412758)) (Q9438,P106,c(Q151885)) (Q9438,P106,c(Q3412758)) (Q9438,P106,c(Q151885))
action count
action union
action filter_type
action find
entity Q9438
relation P106
type Q3412758
action filter_type
action find
entity Q9438
relation P106
type Q151885
['Q9438', 'P106', {'concept': 'Q3412758'}] ['Q9438', 'P106', {'concept': 'Q151885'}] ['Q9438', 'P106', {'concept': 'Q3412758'}] ['Q9438', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { ?f rdf:type ?c . VALUES ( ?c ) { ( ontology:Q3412758 ) ( ontology:Q151885 ) } }
action count
action union
action filter_type
action find
entity Thomas Aquinas
relation occupation
type qualification
action filter_type
action find
entity Thomas Aquinas
relation occupation
type concept
['Thomas Aquinas', 'occupation', {'concept': 'qualification'}] ['Thomas Aquinas', 'occupation', {'concept': 'concept'}] ['Thomas Aquinas', 'occupation', {'concept': 'qualification'}] ['Thomas Aquinas', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { ?f rdf:type ?c . VALUES ( ?c ) { ( ontology:qualification ) ( ontology:concept ) } }
[]
qualification concept
SYSTEM
2
Q4964182 Q121594
(Q9438,P106,c(Q3412758)) (Q9438,P106,c(Q151885)) (Q9438,P106,c(Q3412758)) (Q9438,P106,c(Q151885))
action count
action union
action filter_type
action find
entity Q9438
relation P106
type Q3412758
action filter_type
action find
entity Q9438
relation P106
type Q151885
[ANSWER]
['Q9438', 'P106', {'concept': 'Q3412758'}] ['Q9438', 'P106', {'concept': 'Q151885'}] ['Q9438', 'P106', {'concept': 'Q3412758'}] ['Q9438', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { ?f rdf:type ?c . VALUES ( ?c ) { ( ontology:Q3412758 ) ( ontology:Q151885 ) } }
philosopher professor
2
action count
action union
action filter_type
action find
entity Thomas Aquinas
relation occupation
type qualification
action filter_type
action find
entity Thomas Aquinas
relation occupation
type concept
['Thomas Aquinas', 'occupation', {'concept': 'qualification'}] ['Thomas Aquinas', 'occupation', {'concept': 'concept'}] ['Thomas Aquinas', 'occupation', {'concept': 'qualification'}] ['Thomas Aquinas', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { ?f rdf:type ?c . VALUES ( ?c ) { ( ontology:qualification ) ( ontology:concept ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60059
P921
Q191067
USER
Which article has Albertus Magnus as its main topic ?
(c(Q191067),P921,Q60059)
action filter_type
action find_reverse
entity Q60059
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q60059']
SELECT DISTINCT ?c WHERE { ?c property:P921 resource:Q60059 . ?c rdf:type ontology:Q191067 }
Albertus Magnus
action filter_type
action find_reverse
entity Albertus Magnus
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Albertus Magnus']
SELECT DISTINCT ?c WHERE { ?c property:main_subject resource:Albertus_Magnus . ?c rdf:type ontology:article }
[]
article
Q24451452
SYSTEM
EB-11 / Albertus Magnus
Q24451452
(c(Q191067),P921,Q60059)
action filter_type
action find_reverse
entity Q60059
relation P921
type Q191067
[ANSWER] has Albertus Magnus as its main topic
[{'concept': 'Q191067'}, 'P921', 'Q60059']
SELECT DISTINCT ?c WHERE { ?c property:P921 resource:Q60059 . ?c rdf:type ontology:Q191067 }
EB-11 / Albertus Magnus
EB-11 / Albertus Magnus has Albertus Magnus as its main topic
EB-11 / Albertus Magnus
action filter_type
action find_reverse
entity Albertus Magnus
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Albertus Magnus']
SELECT DISTINCT ?c WHERE { ?c property:main_subject resource:Albertus_Magnus . ?c rdf:type ontology:article }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q60059
P937
Q515
USER
Which cities are the work locations of that person ?
(Q24451452,P937,c(Q515))
action filter_type
action find
entity Q60059
relation P937
type Q515
['Q24451452', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { resource:Q60059 property:P937 ?k . ?k rdf:type ontology:Q515 }
Albertus Magnus
action filter_type
action find
entity Albertus Magnus
relation work location
type city
['EB-11 / Albertus Magnus', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { resource:Albertus_Magnus property:work_location ?k . ?k rdf:type ontology:city }
[]
city
Q3185 Q2978
SYSTEM
Hildesheim, Regensburg
Q3185 Q2978
(Q24451452,P937,c(Q515))
action filter_type
action find
entity Q60059
relation P937
type Q515
[ANSWERS] are the work locations of that person
['Q24451452', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { resource:Q60059 property:P937 ?k . ?k rdf:type ontology:Q515 }
Hildesheim Regensburg
Hildesheim and Regensburg are the work locations of that person
Hildesheim Regensburg
action filter_type
action find
entity Albertus Magnus
relation work location
type city
['EB-11 / Albertus Magnus', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { resource:Albertus_Magnus property:work_location ?k . ?k rdf:type ontology:city }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P206
Q1267889 Q515
USER
How many cities are located next to approximately the same number of waterways as that city ?
(c(Q515),P206,c(Q1267889))
[{'concept': 'Q515'}, 'P206', {'concept': 'Q1267889'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P206 ?y . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q1267889 }
[{'concept': 'city'}, 'located next to body of water', {'concept': 'waterway'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:located_next_to_body_of_water ?y . ?z rdf:type ontology:city . ?y rdf:type ontology:waterway }
[]
waterway city
Comparative|Count over More/Less|Single entity type|Clarification
Q3185
SYSTEM
Did you mean Hildesheim ?
(c(Q515),P206,c(Q1267889))
[ANSWER]
[{'concept': 'Q515'}, 'P206', {'concept': 'Q1267889'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P206 ?y . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q1267889 }
Did you mean Hildesheim ?
Hildesheim
[{'concept': 'city'}, 'located next to body of water', {'concept': 'waterway'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:located_next_to_body_of_water ?y . ?z rdf:type ontology:city . ?y rdf:type ontology:waterway }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Regensburg. Could you tell me the answer for that?
(c(Q515),P206,c(Q1267889))
Q2978
[{'concept': 'Q515'}, 'P206', {'concept': 'Q1267889'}]
[{'concept': 'city'}, 'located next to body of water', {'concept': 'waterway'}]
[]
SYSTEM
97
Q1410 Q3075 Q1794 Q1863 Q1865 Q1519 Q496499 Q3974 Q846877 Q19689 Q1486 Q2966 Q34217 Q496479 Q602903 Q3004 Q1461 Q488869 Q217432 Q827041 Q3572 Q623549 Q2865 Q4024 Q1711 Q2978 Q3806 Q2973 Q34261 Q3014 Q1773 Q1844 Q14821 Q819587 Q3958 Q3955 Q23430 Q633272 Q2773 Q612815 Q320943 Q1858 Q633935 Q320416 Q7473516 Q1761 Q890122 Q4007 Q2706 Q7070 Q653545 Q8684 Q270704 Q41474 Q2749 Q4174 Q4346 Q3838 Q2833 Q1209 Q3931 Q3751 Q3750 Q3200 Q3126 Q3042 Q157835 Q3046 Q847550 Q3936 Q2936 Q646780 Q3214 Q2100 Q1533 Q1530 Q1731 Q1953 Q5838 Q7027 Q3857 Q3994 Q19660 Q11194 Q3915 Q2119 Q3069 Q1720 Q1721 Q329996 Q3904 Q695920 Q2910 Q3861 Q1899 Q2999 Q2844
(c(Q515),P206,c(Q1267889))
[ANSWER]
[{'concept': 'Q515'}, 'P206', {'concept': 'Q1267889'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P206 ?y . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q1267889 }
Gibraltar Fürth Frankfurt Andorra la Vella Kuala Lumpur Abu Dhabi Kazuno Landshut Semboku Tirana Buenos Aires Heidelberg Oxford Yokote Yurihonjō Ingolstadt Manila Benalmádena Port Harcourt Beroun Tunis Puerto de la Cruz Kassel Frankfurt (Oder) Potsdam Regensburg Tübingen Darmstadt Port-au-Prince Wolfsburg Riga Vaduz Coburg Noshiro Neubrandenburg Weimar Ulaanbaatar Yuzawa Braunschweig Garachico Matsudo Hanoi Oga Tartessos Tokyo Dublin Bolhrad Rosenheim Bremerhaven Eisenach Kita-Akita Seoul Třebíč Kingstown Augsburg Emden Waren (Müritz) Kinshasa Freiburg im Breisgau Free Hanseatic City of Bremen Brandenburg an der Havel Praia Gera Salzgitter Erlangen Offenbach am Main Zaporizhzhya Pforzheim Nikaho Bamberg Oldenburg Katagami Cottbus Duisburg Caracas Baghdad Dresden Yerevan Kabul Straubing Wilhelmshaven Kempten Bucharest Sarajevo Antananarivo Mannheim Bottrop Mainz Wiesbaden Ōdate Mbabane Daisen Ludwigshafen Doha Kyiv Würzburg Brasília
97
[{'concept': 'city'}, 'located next to body of water', {'concept': 'waterway'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:located_next_to_body_of_water ?y . ?z rdf:type ontology:city . ?y rdf:type ontology:waterway }
[]