Simple Question (Direct)
Simple Question
Q24188412
P20
Q56061
USER
Where did Auguste Morisot die ?
(Q24188412,P20,c(Q56061))
action filter_type
action find
entity Q24188412
relation P20
type Q56061
['Q24188412', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q24188412 property:P20 ?z . ?z rdf:type ontology:Q56061 }
Auguste Morisot
action filter_type
action find
entity Auguste Morisot
relation place of death
type administrative territorial entity
['Auguste Morisot', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Auguste_Morisot property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q239
SYSTEM
Brussels
Q239
(Q24188412,P20,c(Q56061))
action filter_type
action find
entity Q24188412
relation P20
type Q56061
Auguste Morisot died in [ANSWER]
['Q24188412', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q24188412 property:P20 ?z . ?z rdf:type ontology:Q56061 }
Brussels
Auguste Morisot died in Brussels
Brussels
action filter_type
action find
entity Auguste Morisot
relation place of death
type administrative territorial entity
['Auguste Morisot', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Auguste_Morisot property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24188412
P21
Q290
USER
Which sex does Auguste Morisot possess ?
(Q24188412,P21,c(Q290))
action filter_type
action find
entity Q24188412
relation P21
type Q290
['Q24188412', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q24188412 property:P21 ?q . ?q rdf:type ontology:Q290 }
Auguste Morisot
action filter_type
action find
entity Auguste Morisot
relation gender
type sex
['Auguste Morisot', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Auguste_Morisot property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q24188412,P21,c(Q290))
action filter_type
action find
entity Q24188412
relation P21
type Q290
Auguste Morisot possesses un [ANSWER]
['Q24188412', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q24188412 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
Auguste Morisot possesses un male
male
action filter_type
action find
entity Auguste Morisot
relation gender
type sex
['Auguste Morisot', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Auguste_Morisot property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24188412
P106
Q12737077
USER
What are the job of Auguste Morisot ?
(Q24188412,P106,c(Q12737077))
action filter_type
action find
entity Q24188412
relation P106
type Q12737077
['Q24188412', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q24188412 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Auguste Morisot
action filter_type
action find
entity Auguste Morisot
relation occupation
type occupation
['Auguste Morisot', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Auguste_Morisot property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q1028181 Q2205972 Q22811707
SYSTEM
painter, stained-glass artist, decorator
Q1028181 Q2205972 Q22811707
(Q24188412,P106,c(Q12737077))
action filter_type
action find
entity Q24188412
relation P106
type Q12737077
The job of Auguste Morisot are [ANSWERS]
['Q24188412', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q24188412 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
painter stained-glass artist decorator
The job of Auguste Morisot are painter, stained-glass artist and decorator
painter stained-glass artist decorator
action filter_type
action find
entity Auguste Morisot
relation occupation
type occupation
['Auguste Morisot', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Auguste_Morisot property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3523713
Q12737077
USER
And also tell me about Theodorus Aaninck?
(Q3523713,P106,c(Q12737077))
action filter_type
action find
entity Q3523713
relation P106
type Q12737077
['Q3523713', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q12737077 . resource:Q3523713 property:P106 ?k }
Theodorus Aaninck
action filter_type
action find
entity Theodorus Aaninck
relation occupation
type occupation
['Theodorus Aaninck', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:occupation . resource:Theodorus_Aaninck property:occupation ?k }
[]
occupation
Q39631 Q82955
SYSTEM
physician, politician
Q39631 Q82955
(Q3523713,P106,c(Q12737077))
action filter_type
action find
entity Q3523713
relation P106
type Q12737077
[ANSWERS]
['Q3523713', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q12737077 . resource:Q3523713 property:P106 ?k }
physician politician
physician politician
action filter_type
action find
entity Theodorus Aaninck
relation occupation
type occupation
['Theodorus Aaninck', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:occupation . resource:Theodorus_Aaninck property:occupation ?k }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6969480
P106
Q502895
USER
Do Nathaniel B. Shurtleff have the profession as those occupations ?
(Q6969480,P106,Q39631) (Q6969480,P106,Q82955)
action is_in
entity prev_answer
action find
entity Q6969480
relation P106
['Q6969480', 'P106', 'Q39631'] ['Q6969480', 'P106', 'Q82955']
ASK WHERE { resource:Q6969480 property:P106 ?n . VALUES ( ?n ) { ( resource:Q39631 ) ( resource:Q82955 ) } }
Nathaniel B. Shurtleff
action is_in
entity prev_answer
action find
entity Nathaniel B. Shurtleff
relation occupation
['Nathaniel B. Shurtleff', 'occupation', 'physician'] ['Nathaniel B. Shurtleff', 'occupation', 'politician']
ASK WHERE { resource:Nathaniel_B._Shurtleff property:occupation ?n . VALUES ( ?n ) { ( resource:physician ) ( resource:politician ) } }
[]
common name
SYSTEM
YES
(Q6969480,P106,Q39631) (Q6969480,P106,Q82955)
action is_in
entity prev_answer
action find
entity Q6969480
relation P106
[ANSWER]
['Q6969480', 'P106', 'Q39631'] ['Q6969480', 'P106', 'Q82955']
ASK WHERE { resource:Q6969480 property:P106 ?n . VALUES ( ?n ) { ( resource:Q39631 ) ( resource:Q82955 ) } }
Yes
action is_in
entity prev_answer
action find
entity Nathaniel B. Shurtleff
relation occupation
['Nathaniel B. Shurtleff', 'occupation', 'physician'] ['Nathaniel B. Shurtleff', 'occupation', 'politician']
ASK WHERE { resource:Nathaniel_B._Shurtleff property:occupation ?n . VALUES ( ?n ) { ( resource:physician ) ( resource:politician ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q189776
P417
Q502895 Q12737077
USER
Which people are the patron saints of greater number of occupations than Zeno of Verona ?
(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 Q189776
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:P417 ?c . ?c rdf:type ontology:Q502895 . ?e rdf:type ontology:Q12737077 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m rdf:type ontology:Q502895 . resource:Q189776 property:P417 ?m } } . FILTER ( ?d > ?w ) }
Zeno of Verona
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Zeno of Verona
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:patron_saint ?c . ?c rdf:type ontology:common_name . ?e rdf:type ontology:occupation } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m rdf:type ontology:common_name . resource:Zeno_of_Verona property:patron_saint ?m } } . FILTER ( ?d > ?w ) }
[]
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 Q189776
relation P417
type Q502895
[ANSWERS] are the patron saints of greater number of occupations than Zeno of Verona
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:P417 ?c . ?c rdf:type ontology:Q502895 . ?e rdf:type ontology:Q12737077 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m rdf:type ontology:Q502895 . resource:Q189776 property:P417 ?m } } . FILTER ( ?d > ?w ) }
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 patron saints of greater number of occupations than Zeno of Verona
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 Zeno of Verona
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:patron_saint ?c . ?c rdf:type ontology:common_name . ?e rdf:type ontology:occupation } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m rdf:type ontology:common_name . resource:Zeno_of_Verona property:patron_saint ?m } } . FILTER ( ?d > ?w ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3731216 Q6969480
P27 P20
Q15617994
USER
Which administrative territories are the countries of citizenship of Nathaniel B. Shurtleff or did the expiration of Ercole Vidari occur ?
OR((Q6969480,P27,c(Q15617994)), (Q3731216,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q6969480
relation P27
action find
entity Q3731216
relation P20
type Q15617994
{'OR': [['Q6969480', 'P27', {'concept': 'Q15617994'}], ['Q3731216', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q6969480 property:P27 ?f } UNION { resource:Q3731216 property:P20 ?f } } . ?f rdf:type ontology:Q15617994 }
Ercole Vidari Nathaniel B. Shurtleff
action filter_type
action union
action find
entity Nathaniel B. Shurtleff
relation country of citizenship
action find
entity Ercole Vidari
relation place of death
type designation for an administrative territorial entity
{'OR': [['Nathaniel B. Shurtleff', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ercole Vidari', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Nathaniel_B._Shurtleff property:country_of_citizenship ?f } UNION { resource:Ercole_Vidari property:place_of_death ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q33962
SYSTEM
United States of America, Sanremo
Q30 Q33962
OR((Q6969480,P27,c(Q15617994)), (Q3731216,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q6969480
relation P27
action find
entity Q3731216
relation P20
type Q15617994
[ANSWERS] are the countries of citizenship of Nathaniel B. Shurtleff or did the expiration of Ercole Vidari occur
{'OR': [['Q6969480', 'P27', {'concept': 'Q15617994'}], ['Q3731216', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q6969480 property:P27 ?f } UNION { resource:Q3731216 property:P20 ?f } } . ?f rdf:type ontology:Q15617994 }
United States of America Sanremo
United States of America and Sanremo are the countries of citizenship of Nathaniel B. Shurtleff or did the expiration of Ercole Vidari occur
United States of America Sanremo
action filter_type
action union
action find
entity Nathaniel B. Shurtleff
relation country of citizenship
action find
entity Ercole Vidari
relation place of death
type designation for an administrative territorial entity
{'OR': [['Nathaniel B. Shurtleff', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ercole Vidari', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Nathaniel_B._Shurtleff property:country_of_citizenship ?f } UNION { resource:Ercole_Vidari property:place_of_death ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q236
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with lesser number of administrative territories than Montenegro ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q236
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?o ) WHERE { ?k property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?k } . FILTER ( ?o < ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p rdf:type ontology:Q15617994 . resource:Q236 property:P530 ?p } } }
Montenegro
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Montenegro
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?o ) WHERE { ?k property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . FILTER ( ?o < ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Montenegro property:diplomatic_relation ?p } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q29999 Q786 Q924
SYSTEM
Kingdom of the Netherlands, Dominican Republic, Tanzania
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q236
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with lesser number of administrative territories than Montenegro
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?o ) WHERE { ?k property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?k } . FILTER ( ?o < ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p rdf:type ontology:Q15617994 . resource:Q236 property:P530 ?p } } }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
Kingdom of the Netherlands, Dominican Republic and Tanzania have diplomatic relations with lesser number of administrative territories than Montenegro
Kingdom of the Netherlands Dominican Republic Tanzania
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Montenegro
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?o ) WHERE { ?k property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . FILTER ( ?o < ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Montenegro property:diplomatic_relation ?p } } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q201658 Q2088357
USER
How many administrative territories are the countries of origin of lesser number of film genres or musical ensembles than that administrative territory ?
(c(Q201658)|c(Q2088357),P495,c(Q15617994))
[[{'concept': 'Q201658'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?s ) { ( ?z ) ( ?x ) } . ?s property:P495 ?y } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
[[{'concept': 'film genre'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?s ) { ( ?z ) ( ?x ) } . ?s property:country_of_origin ?y } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]
designation for an administrative territorial entity film genre musical ensemble
Comparative|Count over More/Less|Mult. entity type|Clarification
Q786
SYSTEM
Did you mean Dominican Republic ?
(c(Q201658)|c(Q2088357),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?s ) { ( ?z ) ( ?x ) } . ?s property:P495 ?y } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
Did you mean Dominican Republic ?
Dominican Republic
[[{'concept': 'film genre'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?s ) { ( ?z ) ( ?x ) } . ?s property:country_of_origin ?y } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Kingdom of the Netherlands. Could you tell me the answer for that?
(c(Q201658)|c(Q2088357),P495,c(Q15617994))
Q29999
[[{'concept': 'Q201658'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'film genre'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
88
Q805 Q804 Q1462 Q12536 Q783 Q265 Q36678 Q712 Q711 Q837 Q1460 Q657 Q792 Q796 Q954 Q889 Q958 Q881 Q986 Q826 Q242 Q244 Q811 Q153136 Q924 Q423 Q851 Q733 Q854 Q819 Q424 Q730 Q1013 Q159626 Q232 Q238 Q1045 Q1044 Q921 Q1049 Q1025 Q1020 Q736 Q786 Q225 Q223 Q222 Q221 Q347 Q1036 Q1037 Q1030 Q967 Q962 Q963 Q114 Q117 Q754 Q217 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q858 Q878 Q774 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q953
(c(Q201658)|c(Q2088357),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
Yemen Panama Sardinia Abbasid caliphate Honduras Uzbekistan West Bank Fiji Mongolia Nepal Sicily Chad El Salvador Iraq Zimbabwe Afghanistan South Sudan Vietnam Eritrea Maldives Belize Barbados Nicaragua Habsburg Empire Tanzania North Korea Saudi Arabia Paraguay Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Kazakhstan San Marino Somalia Sierra Leone Brunei Sudan Mauritania Malawi Ecuador Dominican Republic Bosnia and Herzegovina Greenland Albania Republic of Macedonia Liechtenstein Uganda Rwanda Namibia Burundi Benin Botswana Kenya Ghana Trinidad and Tobago Republic of Moldova Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Syria United Arab Emirates Guatemala Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Zambia
88
[[{'concept': 'film genre'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39631
P180
Q838948
USER
Which works of art demonstrate physician ?
(c(Q838948),P180,Q39631)
action filter_type
action find_reverse
entity Q39631
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q39631']
SELECT DISTINCT ?j WHERE { ?j property:P180 resource:Q39631 . ?j rdf:type ontology:Q838948 }
physician
action filter_type
action find_reverse
entity physician
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'physician']
SELECT DISTINCT ?j WHERE { ?j property:depicts resource:physician . ?j rdf:type ontology:work_of_art }
[]
work of art
Q17023940 Q18917908
SYSTEM
Portrait of Dr. Gachet, The Testament of Eudamidas
Q17023940 Q18917908
(c(Q838948),P180,Q39631)
action filter_type
action find_reverse
entity Q39631
relation P180
type Q838948
The [ANSWERS] demonstrate physician
[{'concept': 'Q838948'}, 'P180', 'Q39631']
SELECT DISTINCT ?j WHERE { ?j property:P180 resource:Q39631 . ?j rdf:type ontology:Q838948 }
Portrait of Dr. Gachet The Testament of Eudamidas
The Portrait of Dr. Gachet and The Testament of Eudamidas demonstrate physician
Portrait of Dr. Gachet The Testament of Eudamidas
action filter_type
action find_reverse
entity physician
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'physician']
SELECT DISTINCT ?j WHERE { ?j property:depicts resource:physician . ?j rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17023940
P127
Q502895
USER
Which people owned that work of art ?
(Q17023940,P127,c(Q502895))
action filter_type
action find
entity Q17023940
relation P127
type Q502895
['Q17023940', 'P127', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q17023940 property:P127 ?i . ?i rdf:type ontology:Q502895 }
Portrait of Dr. Gachet
action filter_type
action find
entity Portrait of Dr. Gachet
relation owned by
type common name
['Portrait of Dr. Gachet', 'owned by', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Portrait_of_Dr._Gachet property:owned_by ?i . ?i rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q18917908
SYSTEM
Did you mean The Testament of Eudamidas ?
Q17023940 Q18917908
(Q17023940,P127,c(Q502895)) (Q18917908,P127,c(Q502895))
[ANSWER]
['Q17023940', 'P127', {'concept': 'Q502895'}] ['Q18917908', 'P127', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q17023940 property:P127 ?i . ?i rdf:type ontology:Q502895 }
Portrait of Dr. Gachet The Testament of Eudamidas
Did you mean The Testament of Eudamidas ?
The Testament of Eudamidas
['Portrait of Dr. Gachet', 'owned by', {'concept': 'common name'}] ['The Testament of Eudamidas', 'owned by', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Portrait_of_Dr._Gachet property:owned_by ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Portrait of Dr. Gachet. Could you tell me the answer for that?
(Q17023940,P127,c(Q502895))
Q17023940
['Q17023940', 'P127', {'concept': 'Q502895'}]
['Portrait of Dr. Gachet', 'owned by', {'concept': 'common name'}]
[]
Q65351 Q3059832 Q47906
SYSTEM
Paul Cassirer, Eugène Druet, Hermann Göring
Q65351 Q3059832 Q47906
(Q17023940,P127,c(Q502895))
action filter_type
action find
entity Q17023940
relation P127
type Q502895
[ANSWERS] owned that work of art
['Q17023940', 'P127', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q17023940 property:P127 ?i . ?i rdf:type ontology:Q502895 }
Paul Cassirer Eugène Druet Hermann Göring
Paul Cassirer, Eugène Druet and Hermann Göring owned that work of art
Paul Cassirer Eugène Druet Hermann Göring
action filter_type
action find
entity Portrait of Dr. Gachet
relation owned by
type common name
['Portrait of Dr. Gachet', 'owned by', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Portrait_of_Dr._Gachet property:owned_by ?i . ?i rdf:type ontology:common_name }
[]