Simple Question (Direct)
Simple Question
Q3280678
P462
Q1075
USER
Which color is associated with Journey to the Center of Time ?
(Q3280678,P462,c(Q1075))
action filter_type
action find
entity Q3280678
relation P462
type Q1075
['Q3280678', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?l WHERE { resource:Q3280678 property:P462 ?l . ?l rdf:type ontology:Q1075 }
Journey to the Center of Time
action filter_type
action find
entity Journey to the Center of Time
relation color
type color
['Journey to the Center of Time', 'color', {'concept': 'color'}]
SELECT DISTINCT ?l WHERE { resource:Journey_to_the_Center_of_Time property:color ?l . ?l rdf:type ontology:color }
[]
color
Q22006653
SYSTEM
color
Q22006653
(Q3280678,P462,c(Q1075))
action filter_type
action find
entity Q3280678
relation P462
type Q1075
[ANSWER] is associated with Journey to the Center of Time
['Q3280678', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?l WHERE { resource:Q3280678 property:P462 ?l . ?l rdf:type ontology:Q1075 }
color
Color is associated with Journey to the Center of Time
color
action filter_type
action find
entity Journey to the Center of Time
relation color
type color
['Journey to the Center of Time', 'color', {'concept': 'color'}]
SELECT DISTINCT ?l WHERE { resource:Journey_to_the_Center_of_Time property:color ?l . ?l rdf:type ontology:color }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1884
Q1075 Q502895 Q95074
USER
Which colors describes hair of min number of people and fictional characters ?
(c(Q502895)|c(Q95074),P1884,c(Q1075))
action argmin
action union
action find_reverse_tuple_counts
relation P1884
type Q1075
type Q502895
action find_reverse_tuple_counts
relation P1884
type Q1075
type Q95074
[[{'concept': 'Q502895'}, {'concept': 'Q95074'}], 'P1884', {'concept': 'Q1075'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) ?h WHERE { { ?c property:P1884 ?h . ?h rdf:type ontology:Q1075 . ?c rdf:type ontology:Q502895 } UNION { ?h rdf:type ontology:Q1075 . ?c rdf:type ontology:Q95074 . ?c property:P1884 ?h } } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) ?m WHERE { { ?y property:P1884 ?m . ?m rdf:type ontology:Q1075 . ?y rdf:type ontology:Q502895 } UNION { ?y property:P1884 ?m . ?m rdf:type ontology:Q1075 . ?y rdf:type ontology:Q95074 } } GROUP BY ?m } . FILTER ( ?b = ?n ) }
action argmin
action union
action find_reverse_tuple_counts
relation hair color
type color
type common name
action find_reverse_tuple_counts
relation hair color
type color
type fictional character
[[{'concept': 'common name'}, {'concept': 'fictional character'}], 'hair color', {'concept': 'color'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) ?h WHERE { { ?c property:hair_color ?h . ?h rdf:type ontology:color . ?c rdf:type ontology:common_name } UNION { ?h rdf:type ontology:color . ?c rdf:type ontology:fictional_character . ?c property:hair_color ?h } } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) ?m WHERE { { ?y property:hair_color ?m . ?m rdf:type ontology:color . ?y rdf:type ontology:common_name } UNION { ?y property:hair_color ?m . ?m rdf:type ontology:color . ?y rdf:type ontology:fictional_character } } GROUP BY ?m } . FILTER ( ?b = ?n ) }
[]
color common name fictional character
Q19916539 Q4930092 Q3142
SYSTEM
orange hair, blue hair, red
Q3142 Q19916539 Q4930092 Q1088
(c(Q502895)|c(Q95074),P1884,c(Q1075))
action argmin
action union
action find_reverse_tuple_counts
relation P1884
type Q1075
type Q502895
action find_reverse_tuple_counts
relation P1884
type Q1075
type Q95074
[ANSWERS] describe hair of min number of people and fictional characters
[[{'concept': 'Q502895'}, {'concept': 'Q95074'}], 'P1884', {'concept': 'Q1075'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) ?h WHERE { { ?c property:P1884 ?h . ?h rdf:type ontology:Q1075 . ?c rdf:type ontology:Q502895 } UNION { ?h rdf:type ontology:Q1075 . ?c rdf:type ontology:Q95074 . ?c property:P1884 ?h } } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) ?m WHERE { { ?y property:P1884 ?m . ?m rdf:type ontology:Q1075 . ?y rdf:type ontology:Q502895 } UNION { ?y property:P1884 ?m . ?m rdf:type ontology:Q1075 . ?y rdf:type ontology:Q95074 } } GROUP BY ?m } . FILTER ( ?b = ?n ) }
red orange hair blue hair blue
Orange hair, blue hair and red describe hair of min number of people and fictional characters
orange hair blue hair red
action argmin
action union
action find_reverse_tuple_counts
relation hair color
type color
type common name
action find_reverse_tuple_counts
relation hair color
type color
type fictional character
[[{'concept': 'common name'}, {'concept': 'fictional character'}], 'hair color', {'concept': 'color'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) ?h WHERE { { ?c property:hair_color ?h . ?h rdf:type ontology:color . ?c rdf:type ontology:common_name } UNION { ?h rdf:type ontology:color . ?c rdf:type ontology:fictional_character . ?c property:hair_color ?h } } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) ?m WHERE { { ?y property:hair_color ?m . ?m rdf:type ontology:color . ?y rdf:type ontology:common_name } UNION { ?y property:hair_color ?m . ?m rdf:type ontology:color . ?y rdf:type ontology:fictional_character } } GROUP BY ?m } . FILTER ( ?b = ?n ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P180
Q1075 Q11060274
USER
How many prints express approximately 1 color ?
(c(Q11060274),P180,c(Q1075))
action count
action approx
action find_tuple_counts
relation P180
type Q11060274
type Q1075
value 1
[{'concept': 'Q11060274'}, 'P180', {'concept': 'Q1075'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?h ) WHERE { ?j property:P180 ?c . ?c rdf:type ontology:Q1075 . ?j rdf:type ontology:Q11060274 } GROUP BY ?j } . FILTER ( ?h = 1 ) }
action count
action approx
action find_tuple_counts
relation depicts
type print
type color
value 1
[{'concept': 'print'}, 'depicts', {'concept': 'color'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?h ) WHERE { ?j property:depicts ?c . ?c rdf:type ontology:color . ?j rdf:type ontology:print } GROUP BY ?j } . FILTER ( ?h = 1 ) }
[]
color print
SYSTEM
1
Q17480865
(c(Q11060274),P180,c(Q1075))
action count
action approx
action find_tuple_counts
relation P180
type Q11060274
type Q1075
value 1
[ANSWER]
[{'concept': 'Q11060274'}, 'P180', {'concept': 'Q1075'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?h ) WHERE { ?j property:P180 ?c . ?c rdf:type ontology:Q1075 . ?j rdf:type ontology:Q11060274 } GROUP BY ?j } . FILTER ( ?h = 1 ) }
Brita as Iduna
1
action count
action approx
action find_tuple_counts
relation depicts
type print
type color
value 1
[{'concept': 'print'}, 'depicts', {'concept': 'color'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?h ) WHERE { ?j property:depicts ?c . ?c rdf:type ontology:color . ?j rdf:type ontology:print } GROUP BY ?j } . FILTER ( ?h = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3280678
P364
Q34770
USER
Which language was used originally for the creation of Journey to the Center of Time ?
(Q3280678,P364,c(Q34770))
action filter_type
action find
entity Q3280678
relation P364
type Q34770
['Q3280678', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q34770 . resource:Q3280678 property:P364 ?q }
Journey to the Center of Time
action filter_type
action find
entity Journey to the Center of Time
relation original language of work
type language
['Journey to the Center of Time', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:language . resource:Journey_to_the_Center_of_Time property:original_language_of_work ?q }
[]
language
Q1860
SYSTEM
English
Q1860
(Q3280678,P364,c(Q34770))
action filter_type
action find
entity Q3280678
relation P364
type Q34770
In [ANSWER] was used originally for the creation of Journey to the Center of Time
['Q3280678', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q34770 . resource:Q3280678 property:P364 ?q }
English
In English was used originally for the creation of Journey to the Center of Time
English
action filter_type
action find
entity Journey to the Center of Time
relation original language of work
type language
['Journey to the Center of Time', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:language . resource:Journey_to_the_Center_of_Time property:original_language_of_work ?q }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1860 Q19875745
P1412
Q502895
USER
Does George Morphett used that language ?
(Q19875745,P1412,Q1860)
action is_in
entity Q1860
action find
entity Q19875745
relation P1412
['Q19875745', 'P1412', 'Q1860']
ASK WHERE { resource:Q19875745 property:P1412 resource:Q1860 }
English George Morphett
action is_in
entity English
action find
entity George Morphett
relation languages spoken, written or signed
['George Morphett', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:George_Morphett property:languages_spoken,_written_or_signed resource:English }
[]
common name
SYSTEM
YES
(Q19875745,P1412,Q1860)
action is_in
entity Q1860
action find
entity Q19875745
relation P1412
[ANSWER]
['Q19875745', 'P1412', 'Q1860']
ASK WHERE { resource:Q19875745 property:P1412 resource:Q1860 }
Yes
action is_in
entity English
action find
entity George Morphett
relation languages spoken, written or signed
['George Morphett', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:George_Morphett property:languages_spoken,_written_or_signed resource:English }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q710
P37
Q34770 Q15617994
USER
How many administrative territories designates lesser number of languages as their official language than Kiribati ?
(c(Q15617994),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q710
relation P37
type Q34770
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?n ) WHERE { ?m property:P37 ?v . ?v rdf:type ontology:Q34770 . ?m rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Q710 property:P37 ?w . ?w rdf:type ontology:Q34770 } } . FILTER ( ?n < ?t ) }
Kiribati
action count
action less
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Kiribati
relation official language
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?n ) WHERE { ?m property:official_language ?v . ?v rdf:type ontology:language . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Kiribati property:official_language ?w . ?w rdf:type ontology:language } } . FILTER ( ?n < ?t ) }
[]
language designation for an administrative territorial entity
SYSTEM
132
Q805 Q801 Q473259 Q398 Q142 Q1039 Q21671144 Q32 Q12536 Q262 Q148 Q265 Q30 Q37 Q16006 Q711 Q837 Q252 Q2068764 Q21850324 Q403 Q657 Q45 Q159 Q43 Q41 Q155 Q673813 Q790 Q4628 Q796 Q794 Q669945 Q884 Q881 Q503181 Q219 Q826 Q247613 Q603392 Q33 Q921 Q31 Q36 Q34 Q929 Q165934 Q423 Q889 Q851 Q29999 Q854 Q819 Q253445 Q424 Q730 Q236 Q230 Q232 Q20 Q1045 Q1041 Q28 Q21853467 Q189 Q842 Q184 Q1029 Q1028 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q17 Q10957559 Q902 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q115 Q59118 Q212 Q211 Q217 Q214 Q215 Q218 Q160307 Q1483510 Q912 Q917 Q916 Q1007 Q1006 Q977 Q1008 Q971 Q970 Q836 Q574 Q637451 Q874 Q3365904 Q79 Q858 Q199688 Q878 Q948 Q817 Q810 Q770 Q813 Q1016 Q1011 Q945 Q8575586 Q21848848 Q176 Q61698 Q822 Q863 Q869 Q1230929
(c(Q15617994),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q710
relation P37
type Q34770
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?n ) WHERE { ?m property:P37 ?v . ?v rdf:type ontology:Q34770 . ?m rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Q710 property:P37 ?w . ?w rdf:type ontology:Q34770 } } . FILTER ( ?n < ?t ) }
Yemen Israel Ammerthal Bahrain France Sao Tomé and Príncipe Mezhetchina Luxembourg Abbasid caliphate Algeria People's Republic of China Uzbekistan United States of America Lithuania Goch Mongolia Nepal Indonesia Archa Darugha Gireyevo Serbia Chad Portugal Russia Turkey Greece Brazil Euratsfeld Haiti Faroe Islands Iraq Iran Vorau South Korea Vietnam Herzberg am Harz Bulgaria Maldives Bernese Jura Schönwalde Finland Brunei Belgium Poland Sweden Central African Republic Bokensdorf North Korea Afghanistan Saudi Arabia Kingdom of the Netherlands Sri Lanka Laos Kolbermoor Cambodia Suriname Montenegro Georgia Kazakhstan Norway Somalia Senegal Hungary Romanovo Iceland Oman Belarus Mozambique Morocco Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Japan Moldavia Bangladesh Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Ethiopia Aappilattoq Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Principality of Wales Mali Bhutan Angola Guinea-Bissau Guinea Djibouti Côte d'Ivoire Republic of the Congo Comoros Myanmar East Timor Rohrbach Turkmenistan Saint-Léonard Parish, New Brunswick Egypt Syria Almohad United Arab Emirates Tunisia Kuwait Jordan Friesland Kyrgyzstan Libya Cape Verde Togo Umayyad Caliphate Lyskovo Quebec Büsingen Lebanon Tajikistan Thailand Kesklinn
132
action count
action less
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Kiribati
relation official language
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?n ) WHERE { ?m property:official_language ?v . ?v rdf:type ontology:language . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Kiribati property:official_language ?w . ?w rdf:type ontology:language } } . FILTER ( ?n < ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q928
P37
Q34770 Q15617994
USER
And what about Philippines?
(c(Q15617994),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q928
relation P37
type Q34770
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?k ) WHERE { ?d rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q34770 . ?d property:P37 ?m } GROUP BY ?d } . FILTER ( ?k < ?f ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Q928 property:P37 ?s . ?s rdf:type ontology:Q34770 } } }
Philippines
action count
action less
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Philippines
relation official language
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?k ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:language . ?d property:official_language ?m } GROUP BY ?d } . FILTER ( ?k < ?f ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Philippines property:official_language ?s . ?s rdf:type ontology:language } } }
[]
language designation for an administrative territorial entity
SYSTEM
132
Q805 Q801 Q473259 Q398 Q142 Q1039 Q21671144 Q32 Q12536 Q262 Q148 Q265 Q30 Q37 Q16006 Q711 Q837 Q252 Q2068764 Q21850324 Q403 Q657 Q45 Q159 Q43 Q41 Q155 Q673813 Q790 Q4628 Q796 Q794 Q669945 Q884 Q881 Q503181 Q219 Q826 Q247613 Q603392 Q33 Q921 Q31 Q36 Q34 Q929 Q165934 Q423 Q889 Q851 Q29999 Q854 Q819 Q253445 Q424 Q730 Q236 Q230 Q232 Q20 Q1045 Q1041 Q28 Q21853467 Q189 Q842 Q184 Q1029 Q1028 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q17 Q10957559 Q902 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q115 Q59118 Q212 Q211 Q217 Q214 Q215 Q218 Q160307 Q1483510 Q912 Q917 Q916 Q1007 Q1006 Q977 Q1008 Q971 Q970 Q836 Q574 Q637451 Q874 Q3365904 Q79 Q858 Q199688 Q878 Q948 Q817 Q810 Q770 Q813 Q1016 Q1011 Q945 Q8575586 Q21848848 Q176 Q61698 Q822 Q863 Q869 Q1230929
(c(Q15617994),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q928
relation P37
type Q34770
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?k ) WHERE { ?d rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q34770 . ?d property:P37 ?m } GROUP BY ?d } . FILTER ( ?k < ?f ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Q928 property:P37 ?s . ?s rdf:type ontology:Q34770 } } }
Yemen Israel Ammerthal Bahrain France Sao Tomé and Príncipe Mezhetchina Luxembourg Abbasid caliphate Algeria People's Republic of China Uzbekistan United States of America Lithuania Goch Mongolia Nepal Indonesia Archa Darugha Gireyevo Serbia Chad Portugal Russia Turkey Greece Brazil Euratsfeld Haiti Faroe Islands Iraq Iran Vorau South Korea Vietnam Herzberg am Harz Bulgaria Maldives Bernese Jura Schönwalde Finland Brunei Belgium Poland Sweden Central African Republic Bokensdorf North Korea Afghanistan Saudi Arabia Kingdom of the Netherlands Sri Lanka Laos Kolbermoor Cambodia Suriname Montenegro Georgia Kazakhstan Norway Somalia Senegal Hungary Romanovo Iceland Oman Belarus Mozambique Morocco Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Japan Moldavia Bangladesh Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Ethiopia Aappilattoq Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Principality of Wales Mali Bhutan Angola Guinea-Bissau Guinea Djibouti Côte d'Ivoire Republic of the Congo Comoros Myanmar East Timor Rohrbach Turkmenistan Saint-Léonard Parish, New Brunswick Egypt Syria Almohad United Arab Emirates Tunisia Kuwait Jordan Friesland Kyrgyzstan Libya Cape Verde Togo Umayyad Caliphate Lyskovo Quebec Büsingen Lebanon Tajikistan Thailand Kesklinn
132
action count
action less
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Philippines
relation official language
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?k ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:language . ?d property:official_language ?m } GROUP BY ?d } . FILTER ( ?k < ?f ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Philippines property:official_language ?s . ?s rdf:type ontology:language } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1927418 Q3280678
P19 P495
Q15617994
USER
Which administrative territories are the origins of Journey to the Center of Time or were Michael Fisch born at ?
OR((Q3280678,P495,c(Q15617994)), (Q1927418,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q3280678
relation P495
action find
entity Q1927418
relation P19
type Q15617994
{'OR': [['Q3280678', 'P495', {'concept': 'Q15617994'}], ['Q1927418', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . { { resource:Q3280678 property:P495 ?j } UNION { resource:Q1927418 property:P19 ?j } } }
Michael Fisch Journey to the Center of Time
action filter_type
action union
action find
entity Journey to the Center of Time
relation country of origin
action find
entity Michael Fisch
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Journey to the Center of Time', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Michael Fisch', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Journey_to_the_Center_of_Time property:country_of_origin ?j } UNION { resource:Michael_Fisch property:place_of_birth ?j } } }
[]
designation for an administrative territorial entity
Q389985 Q30
SYSTEM
Gerolstein, United States of America
Q389985 Q30
OR((Q3280678,P495,c(Q15617994)), (Q1927418,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q3280678
relation P495
action find
entity Q1927418
relation P19
type Q15617994
[ANSWERS] are the origins of Journey to the Center of Time or were Michael Fisch born at
{'OR': [['Q3280678', 'P495', {'concept': 'Q15617994'}], ['Q1927418', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . { { resource:Q3280678 property:P495 ?j } UNION { resource:Q1927418 property:P19 ?j } } }
Gerolstein United States of America
Gerolstein and United States of America are the origins of Journey to the Center of Time or were Michael Fisch born at
Gerolstein United States of America
action filter_type
action union
action find
entity Journey to the Center of Time
relation country of origin
action find
entity Michael Fisch
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Journey to the Center of Time', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Michael Fisch', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Journey_to_the_Center_of_Time property:country_of_origin ?j } UNION { resource:Michael_Fisch property:place_of_birth ?j } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P19
Q502895
USER
How many people were born at that administrative territory ?
(c(Q502895),P19,Q389985)
[{'concept': 'Q502895'}, 'P19', 'Q389985']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q516840 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'place of birth', 'Gerolstein']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Gerolstein . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q30
SYSTEM
Did you mean United States of America ?
(c(Q502895),P19,Q389985) (c(Q502895),P19,Q30)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q389985'] [{'concept': 'Q502895'}, 'P19', 'Q30']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q516840 . ?z rdf:type ontology:Q502895 }
Did you mean United States of America ?
United States of America
[{'concept': 'common name'}, 'place of birth', 'Gerolstein'] [{'concept': 'common name'}, 'place of birth', 'United States of America']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Gerolstein . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Gerolstein. Could you tell me the answer for that?
(c(Q502895),P19,Q389985)
Q389985
[{'concept': 'Q502895'}, 'P19', 'Q389985']
[{'concept': 'common name'}, 'place of birth', 'Gerolstein']
[]
SYSTEM
13
Q1733303 Q15819294 Q1927418 Q1086976 Q2650355 Q1388996 Q1474317 Q89087 Q61908 Q15694932 Q372928 Q704703 Q1080375
(c(Q502895),P19,Q389985)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q389985']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q516840 . ?z rdf:type ontology:Q502895 }
Karl Wand Hans-Josef Endres Michael Fisch Christopher Stehr Alois Mertes Maria Reese Michael Baales Rolf Huisgen Christian Vietoris Klaus Klaeren Rudi Gores Johannes Fröhlinger Christian Humberg
13
[{'concept': 'common name'}, 'place of birth', 'Gerolstein']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Gerolstein . ?z rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q23445
P180
Q1075 Q838948 Q15709879
USER
Which colors are depicted in around the same number of works of art and artwork series as black ?
(c(Q838948)|c(Q15709879),P180,c(Q1075))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q1075
type Q838948
action find_reverse_tuple_counts
relation P180
type Q1075
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q23445
relation P180
type Q838948
type Q15709879
[[{'concept': 'Q838948'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q1075'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?n WHERE { { ?v property:P180 ?n . ?v rdf:type ontology:Q838948 . ?n rdf:type ontology:Q1075 } UNION { ?v property:P180 ?n . ?n rdf:type ontology:Q1075 . ?v rdf:type ontology:Q15709879 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { ?x property:P180 resource:Q23445 . { ?x rdf:type ?z . VALUES ( ?z ) { ( ontology:Q15709879 ) ( ontology:Q838948 ) } } } } . FILTER ( ?l = ?s ) }
black
action approx
action union
action find_reverse_tuple_counts
relation depicts
type color
type work of art
action find_reverse_tuple_counts
relation depicts
type color
type artwork series
action count
action filter_multi_types
action find_reverse
entity black
relation depicts
type work of art
type artwork series
[[{'concept': 'work of art'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'color'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?n WHERE { { ?v property:depicts ?n . ?v rdf:type ontology:work_of_art . ?n rdf:type ontology:color } UNION { ?v property:depicts ?n . ?n rdf:type ontology:color . ?v rdf:type ontology:artwork_series } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { ?x property:depicts resource:black . { ?x rdf:type ?z . VALUES ( ?z ) { ( ontology:artwork_series ) ( ontology:work_of_art ) } } } } . FILTER ( ?l = ?s ) }
[]
color work of art artwork series
Q6933946 Q4930092 Q5094009
SYSTEM
white hair, blue hair, chestnut hair
Q3142 Q6933946 Q18661358 Q4930092 Q2419551 Q943 Q5094009 Q1088 Q3133 Q23445
(c(Q838948)|c(Q15709879),P180,c(Q1075))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q1075
type Q838948
action find_reverse_tuple_counts
relation P180
type Q1075
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q23445
relation P180
type Q838948
type Q15709879
[ANSWERS] are depicted in around the same number of works of art and artwork series as black
[[{'concept': 'Q838948'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q1075'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?n WHERE { { ?v property:P180 ?n . ?v rdf:type ontology:Q838948 . ?n rdf:type ontology:Q1075 } UNION { ?v property:P180 ?n . ?n rdf:type ontology:Q1075 . ?v rdf:type ontology:Q15709879 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { ?x property:P180 resource:Q23445 . { ?x rdf:type ?z . VALUES ( ?z ) { ( ontology:Q15709879 ) ( ontology:Q838948 ) } } } } . FILTER ( ?l = ?s ) }
red white hair strawberry blond hair blue hair auburn yellow chestnut hair blue green black
White hair, blue hair and chestnut hair are depicted in around the same number of works of art and artwork series as black
white hair blue hair chestnut hair
action approx
action union
action find_reverse_tuple_counts
relation depicts
type color
type work of art
action find_reverse_tuple_counts
relation depicts
type color
type artwork series
action count
action filter_multi_types
action find_reverse
entity black
relation depicts
type work of art
type artwork series
[[{'concept': 'work of art'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'color'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) ?n WHERE { { ?v property:depicts ?n . ?v rdf:type ontology:work_of_art . ?n rdf:type ontology:color } UNION { ?v property:depicts ?n . ?n rdf:type ontology:color . ?v rdf:type ontology:artwork_series } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { ?x property:depicts resource:black . { ?x rdf:type ?z . VALUES ( ?z ) { ( ontology:artwork_series ) ( ontology:work_of_art ) } } } } . FILTER ( ?l = ?s ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1145422
P180
Q1075 Q838948 Q15709879
USER
And also tell me about gray?
(c(Q838948)|c(Q15709879),P180,c(Q1075))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q1075
type Q838948
action find_reverse_tuple_counts
relation P180
type Q1075
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q1145422
relation P180
type Q838948
type Q15709879
[[{'concept': 'Q838948'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q1075'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) ?m WHERE { { ?y property:P180 ?m . ?m rdf:type ontology:Q1075 . ?y rdf:type ontology:Q838948 } UNION { ?y property:P180 ?m . ?m rdf:type ontology:Q1075 . ?y rdf:type ontology:Q15709879 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:P180 resource:Q1145422 . { VALUES ( ?z ) { ( ontology:Q838948 ) ( ontology:Q15709879 ) } . ?p rdf:type ?z } } } . FILTER ( ?w = ?h ) }
gray
action approx
action union
action find_reverse_tuple_counts
relation depicts
type color
type work of art
action find_reverse_tuple_counts
relation depicts
type color
type artwork series
action count
action filter_multi_types
action find_reverse
entity gray
relation depicts
type work of art
type artwork series
[[{'concept': 'work of art'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'color'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) ?m WHERE { { ?y property:depicts ?m . ?m rdf:type ontology:color . ?y rdf:type ontology:work_of_art } UNION { ?y property:depicts ?m . ?m rdf:type ontology:color . ?y rdf:type ontology:artwork_series } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:depicts resource:gray . { VALUES ( ?z ) { ( ontology:work_of_art ) ( ontology:artwork_series ) } . ?p rdf:type ?z } } } . FILTER ( ?w = ?h ) }
[]
color work of art artwork series
Q152357 Q2367101 Q2906904
SYSTEM
red hair, brown hair, Titian hair
Q2367101 Q2906904 Q152357 Q1145422
(c(Q838948)|c(Q15709879),P180,c(Q1075))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q1075
type Q838948
action find_reverse_tuple_counts
relation P180
type Q1075
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q1145422
relation P180
type Q838948
type Q15709879
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q1075'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) ?m WHERE { { ?y property:P180 ?m . ?m rdf:type ontology:Q1075 . ?y rdf:type ontology:Q838948 } UNION { ?y property:P180 ?m . ?m rdf:type ontology:Q1075 . ?y rdf:type ontology:Q15709879 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:P180 resource:Q1145422 . { VALUES ( ?z ) { ( ontology:Q838948 ) ( ontology:Q15709879 ) } . ?p rdf:type ?z } } } . FILTER ( ?w = ?h ) }
brown hair Titian hair red hair gray
red hair brown hair Titian hair
action approx
action union
action find_reverse_tuple_counts
relation depicts
type color
type work of art
action find_reverse_tuple_counts
relation depicts
type color
type artwork series
action count
action filter_multi_types
action find_reverse
entity gray
relation depicts
type work of art
type artwork series
[[{'concept': 'work of art'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'color'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) ?m WHERE { { ?y property:depicts ?m . ?m rdf:type ontology:color . ?y rdf:type ontology:work_of_art } UNION { ?y property:depicts ?m . ?m rdf:type ontology:color . ?y rdf:type ontology:artwork_series } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:depicts resource:gray . { VALUES ( ?z ) { ( ontology:work_of_art ) ( ontology:artwork_series ) } . ?p rdf:type ?z } } } . FILTER ( ?w = ?h ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q152357 Q2367101 Q2906904
P180
Q838948
USER
Which works of art express those colors ?
(c(Q838948),P180,Q152357) (c(Q838948),P180,Q2367101) (c(Q838948),P180,Q2906904)
action filter_type
action find_reverse
entity prev_answer
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q152357'] [{'concept': 'Q838948'}, 'P180', 'Q2367101'] [{'concept': 'Q838948'}, 'P180', 'Q2906904']
SELECT DISTINCT ?b WHERE { ?b property:P180 ?s . ?b rdf:type ontology:Q838948 . VALUES ( ?s ) { ( resource:Q2367101 ) ( resource:Q2906904 ) ( resource:Q152357 ) } }
red hair brown hair Titian hair
action filter_type
action find_reverse
entity prev_answer
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'red hair'] [{'concept': 'work of art'}, 'depicts', 'brown hair'] [{'concept': 'work of art'}, 'depicts', 'Titian hair']
SELECT DISTINCT ?b WHERE { ?b property:depicts ?s . ?b rdf:type ontology:work_of_art . VALUES ( ?s ) { ( resource:brown_hair ) ( resource:Titian_hair ) ( resource:red_hair ) } }
[]
work of art
Q17023940 Q2914912 Q3047015
SYSTEM
Portrait of Dr. Gachet, The Stone Breakers, Odalisque with Slave
Q17023940 Q2914912 Q3047015
(c(Q838948),P180,Q152357) (c(Q838948),P180,Q2367101) (c(Q838948),P180,Q2906904)
action filter_type
action find_reverse
entity prev_answer
relation P180
type Q838948
[ANSWERS] express those colors
[{'concept': 'Q838948'}, 'P180', 'Q152357'] [{'concept': 'Q838948'}, 'P180', 'Q2367101'] [{'concept': 'Q838948'}, 'P180', 'Q2906904']
SELECT DISTINCT ?b WHERE { ?b property:P180 ?s . ?b rdf:type ontology:Q838948 . VALUES ( ?s ) { ( resource:Q2367101 ) ( resource:Q2906904 ) ( resource:Q152357 ) } }
Portrait of Dr. Gachet The Stone Breakers Odalisque with Slave
Portrait of Dr. Gachet, The Stone Breakers and Odalisque with Slave express those colors
Portrait of Dr. Gachet The Stone Breakers Odalisque with Slave
action filter_type
action find_reverse
entity prev_answer
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'red hair'] [{'concept': 'work of art'}, 'depicts', 'brown hair'] [{'concept': 'work of art'}, 'depicts', 'Titian hair']
SELECT DISTINCT ?b WHERE { ?b property:depicts ?s . ?b rdf:type ontology:work_of_art . VALUES ( ?s ) { ( resource:brown_hair ) ( resource:Titian_hair ) ( resource:red_hair ) } }
[]