Simple Question (Direct)
Simple Question
Q658733
P1412
Q34770
USER
Which language is Christian Wolff capable of writing ?
(Q658733,P1412,c(Q34770))
action filter_type
action find
entity Q658733
relation P1412
type Q34770
['Q658733', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q658733 property:P1412 ?r . ?r rdf:type ontology:Q34770 }
Christian Wolff
action filter_type
action find
entity Christian Wolff
relation languages spoken, written or signed
type language
['Christian Wolff', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:Christian_Wolff property:languages_spoken,_written_or_signed ?r . ?r rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q658733,P1412,c(Q34770))
action filter_type
action find
entity Q658733
relation P1412
type Q34770
[ANSWER] is Christian Wolff capable of writing
['Q658733', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q658733 property:P1412 ?r . ?r rdf:type ontology:Q34770 }
English
English is Christian Wolff capable of writing
English
action filter_type
action find
entity Christian Wolff
relation languages spoken, written or signed
type language
['Christian Wolff', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:Christian_Wolff property:languages_spoken,_written_or_signed ?r . ?r rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q658733
P19
Q56061
USER
Which administrative territory is the birthplace of Christian Wolff ?
(Q658733,P19,c(Q56061))
action filter_type
action find
entity Q658733
relation P19
type Q56061
['Q658733', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q658733 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Christian Wolff
action filter_type
action find
entity Christian Wolff
relation place of birth
type administrative territorial entity
['Christian Wolff', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Christian_Wolff property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q33959
SYSTEM
Nice
Q33959
(Q658733,P19,c(Q56061))
action filter_type
action find
entity Q658733
relation P19
type Q56061
[ANSWER] is the birthplace of Christian Wolff
['Q658733', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q658733 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Nice
Nice is the birthplace of Christian Wolff
Nice
action filter_type
action find
entity Christian Wolff
relation place of birth
type administrative territorial entity
['Christian Wolff', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Christian_Wolff property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3485544
Q56061
USER
And how about Sivi Aberg?
(Q3485544,P19,c(Q56061))
action filter_type
action find
entity Q3485544
relation P19
type Q56061
['Q3485544', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q3485544 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Sivi Aberg
action filter_type
action find
entity Sivi Aberg
relation place of birth
type administrative territorial entity
['Sivi Aberg', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Sivi_Aberg property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q25748
SYSTEM
Gävle
Q25748
(Q3485544,P19,c(Q56061))
action filter_type
action find
entity Q3485544
relation P19
type Q56061
[ANSWER]
['Q3485544', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q3485544 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Gävle
Gävle
action filter_type
action find
entity Sivi Aberg
relation place of birth
type administrative territorial entity
['Sivi Aberg', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Sivi_Aberg property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q25748
P740
Q2088357
USER
Which musical ensembles were formed at that administrative territory ?
(c(Q2088357),P740,Q25748)
action filter_type
action find_reverse
entity Q25748
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q25748']
SELECT DISTINCT ?h WHERE { ?h property:P740 resource:Q25748 . ?h rdf:type ontology:Q2088357 }
Gävle
action filter_type
action find_reverse
entity Gävle
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Gävle']
SELECT DISTINCT ?h WHERE { ?h property:location_of_formation resource:Gävle . ?h rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q7629086 Q2093626 Q15053061
SYSTEM
Sturm Café, The Sound of Arrows, The Deer Tracks
Q7629086 Q2093626 Q15053061
(c(Q2088357),P740,Q25748)
action filter_type
action find_reverse
entity Q25748
relation P740
type Q2088357
[ANSWERS] were formed at that administrative territory
[{'concept': 'Q2088357'}, 'P740', 'Q25748']
SELECT DISTINCT ?h WHERE { ?h property:P740 resource:Q25748 . ?h rdf:type ontology:Q2088357 }
Sturm Café The Sound of Arrows The Deer Tracks
Sturm Café, The Sound of Arrows and The Deer Tracks were formed at that administrative territory
Sturm Café The Sound of Arrows The Deer Tracks
action filter_type
action find_reverse
entity Gävle
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Gävle']
SELECT DISTINCT ?h WHERE { ?h property:location_of_formation resource:Gävle . ?h rdf:type ontology:musical_ensemble }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P37
Q34770 Q15617994 Q56061
USER
Which languages are considered to be the official language of max number of administrative territories or administrative territories ?
(c(Q15617994)|c(Q56061),P37,c(Q34770))
action argmax
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
[[{'concept': 'Q15617994'}, {'concept': 'Q56061'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?o WHERE { { ?a rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q34770 . ?a property:P37 ?o } UNION { ?a property:P37 ?o . ?o rdf:type ontology:Q34770 . ?a rdf:type ontology:Q56061 } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) ?q WHERE { VALUES ( ?z ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } . ?y rdf:type ?z } GROUP BY ?q } . FILTER ( ?g = ?c ) }
action argmax
action union
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?o WHERE { { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:language . ?a property:official_language ?o } UNION { ?a property:official_language ?o . ?o rdf:type ontology:language . ?a rdf:type ontology:administrative_territorial_entity } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) ?q WHERE { VALUES ( ?z ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?y rdf:type ?z } GROUP BY ?q } . FILTER ( ?g = ?c ) }
[]
language designation for an administrative territorial entity administrative territorial entity
Q1860
SYSTEM
English
Q1860
(c(Q15617994)|c(Q56061),P37,c(Q34770))
action argmax
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
[ANSWER] is considered to be the official language of max number of administrative territories or administrative territories
[[{'concept': 'Q15617994'}, {'concept': 'Q56061'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?o WHERE { { ?a rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q34770 . ?a property:P37 ?o } UNION { ?a property:P37 ?o . ?o rdf:type ontology:Q34770 . ?a rdf:type ontology:Q56061 } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) ?q WHERE { VALUES ( ?z ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } . ?y rdf:type ?z } GROUP BY ?q } . FILTER ( ?g = ?c ) }
English
English is considered to be the official language of max number of administrative territories or administrative territories
English
action argmax
action union
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?o WHERE { { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:language . ?a property:official_language ?o } UNION { ?a property:official_language ?o . ?o rdf:type ontology:language . ?a rdf:type ontology:administrative_territorial_entity } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) ?q WHERE { VALUES ( ?z ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?y rdf:type ?z } GROUP BY ?q } . FILTER ( ?g = ?c ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1860 Q2424840
P1412
Q502895
USER
Does Thomas Hoßmang used that language ?
(Q2424840,P1412,Q1860)
action is_in
entity Q2424840
action find
entity Q1860
relation P1412
['Q2424840', 'P1412', 'Q1860']
ASK WHERE { resource:Q1860 property:P1412 resource:Q2424840 }
English Thomas Hoßmang
action is_in
entity Thomas Hoßmang
action find
entity English
relation languages spoken, written or signed
['Thomas Hoßmang', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:English property:languages_spoken,_written_or_signed resource:Thomas_Hoßmang }
[]
common name
SYSTEM
NO
(Q2424840,P1412,Q1860)
action is_in
entity Q2424840
action find
entity Q1860
relation P1412
[ANSWER]
['Q2424840', 'P1412', 'Q1860']
ASK WHERE { resource:Q1860 property:P1412 resource:Q2424840 }
No
action is_in
entity Thomas Hoßmang
action find
entity English
relation languages spoken, written or signed
['Thomas Hoßmang', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:English property:languages_spoken,_written_or_signed resource:Thomas_Hoßmang }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33959
P1376
Q15617994
USER
What has Nice as its capital ?
(Q33959,P1376,c(Q15617994))
action filter_type
action find
entity Q33959
relation P1376
type Q15617994
['Q33959', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q33959 property:P1376 ?z . ?z rdf:type ontology:Q15617994 }
Nice
action filter_type
action find
entity Nice
relation capital of
type designation for an administrative territorial entity
['Nice', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Nice property:capital_of ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q3139
SYSTEM
Alpes-Maritimes
Q3139
(Q33959,P1376,c(Q15617994))
action filter_type
action find
entity Q33959
relation P1376
type Q15617994
[ANSWER] has Nice as its capital
['Q33959', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q33959 property:P1376 ?z . ?z rdf:type ontology:Q15617994 }
Alpes-Maritimes
Alpes-Maritimes has Nice as its capital
Alpes-Maritimes
action filter_type
action find
entity Nice
relation capital of
type designation for an administrative territorial entity
['Nice', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Nice property:capital_of ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q837
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with more number of administrative territories than Nepal ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q837
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:P530 ?x . ?j rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Q837 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?q > ?s ) }
Nepal
action count
action greater
action find_reverse_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 Nepal
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 ( COUNT ( ?x ) AS ?u ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:diplomatic_relation ?x . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Nepal property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q > ?s ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
141
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q37 Q711 Q710 Q717 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q819 Q424 Q1013 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q34020 Q686 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q837
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:P530 ?x . ?j rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Q837 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?q > ?s ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Lithuania Mongolia Kiribati Venezuela Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Laos Cambodia Lesotho Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Niue Vanuatu East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
141
action count
action greater
action find_reverse_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 Nepal
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 ( COUNT ( ?x ) AS ?u ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:diplomatic_relation ?x . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Nepal property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q > ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q702
P530
Q15617994 Q15617994
USER
And what about Federated States of Micronesia?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q702
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?q ) WHERE { ?v rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 . ?l property:P530 ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Q702 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?q > ?u ) }
Federated States of Micronesia
action count
action greater
action find_reverse_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 Federated States of Micronesia
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 ( COUNT ( ?v ) AS ?f ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?q ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Federated_States_of_Micronesia property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q > ?u ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
141
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q37 Q711 Q710 Q717 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q819 Q424 Q1013 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q34020 Q686 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q702
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?q ) WHERE { ?v rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 . ?l property:P530 ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Q702 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?q > ?u ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Lithuania Mongolia Kiribati Venezuela Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Laos Cambodia Lesotho Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Niue Vanuatu East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
141
action count
action greater
action find_reverse_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 Federated States of Micronesia
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 ( COUNT ( ?v ) AS ?f ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?q ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Federated_States_of_Micronesia property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q > ?u ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q84 Q33959
P291
Q571
USER
Which books have Nice or London as their release location ?
OR((c(Q571),P291,Q33959), (c(Q571),P291,Q84))
action filter_type
action union
action find_reverse
entity Q33959
relation P291
action find_reverse
entity Q84
relation P291
type Q571
{'OR': [[{'concept': 'Q571'}, 'P291', 'Q33959'], [{'concept': 'Q571'}, 'P291', 'Q84']]}
SELECT DISTINCT ?y WHERE { { { ?y property:P291 resource:Q33959 } UNION { ?y property:P291 resource:Q84 } } . ?y rdf:type ontology:Q571 }
London Nice
action filter_type
action union
action find_reverse
entity Nice
relation place of publication
action find_reverse
entity London
relation place of publication
type book
{'OR': [[{'concept': 'book'}, 'place of publication', 'Nice'], [{'concept': 'book'}, 'place of publication', 'London']]}
SELECT DISTINCT ?y WHERE { { { ?y property:place_of_publication resource:Nice } UNION { ?y property:place_of_publication resource:London } } . ?y rdf:type ontology:book }
[]
book
Q20968204 Q26639467 Q14944007 Q19023174 Q19108393 Q24254986 Q23865060 Q20204431 Q19020236 Q18674591
SYSTEM
Some of them are On the Origin of Species (1859), Home rule, Treasure Island (1883, Cassell & Company), Female suffrage, Two expeditions into the interior of Southern Australia, Kings and Kingdoms of Early Anglo-Saxon England, The education of the farmer, Thoughts on the Education of Daughters, A brief summary, in plain language, of the most important laws concerning women, together with a few observations thereon, The Raven (Ingram)
Q16735825 Q22661569 Q15838969 Q20968204 Q19022466 Q19414318 Q19047891 Q24322342 Q14944007 Q21401229 Q24261490 Q26707103 Q18297799 Q19967013 Q21120391 Q19039967 Q15818404 Q21120338 Q19095046 Q19759638 Q19077630 Q16014697 Q26720834 Q18534534 Q20867236 Q25975807 Q16104374 Q15730805 Q19078690 Q20897627 Q26639467 Q26649661 Q15839163 Q27514509 Q19065023 Q23653084 Q21431170 Q24626325 Q19801078 Q19097732 Q24470363 Q20746142 Q6296280 Q19038764 Q2942999 Q21964269 Q19020236 Q19108393 Q21528373 Q19053628 Q19080128 Q19080121 Q26944936 Q26711935 Q21076074 Q24068256 Q18674591 Q19817058 Q25991709 Q19801080 Q21694339 Q20980589 Q15136486 Q22019136 Q22328309 Q24827880 Q19089777 Q19087889 Q20744372 Q22243617 Q19098200 Q14640734 Q19862367 Q26271693 Q23865060 Q19069354 Q19039311 Q21725209 Q20859410 Q19359194 Q24451333 Q22138410 Q19731358 Q22911398 Q24533267 Q24295216 Q23016299 Q19108438 Q22067780 Q21411058 Q20204431 Q20850489 Q24628737 Q19023181 Q3401858 Q19065902 Q22343347 Q14739029 Q20980484 Q16014700 Q19409861 Q19090157 Q22205298 Q24326926 Q19093034 Q26395493 Q19063894 Q15092113 Q19023174 Q24577368 Q21292579 Q22122681 Q26852666 Q19086199 Q23715121 Q5273960 Q19795175 Q19054723 Q23044103 Q21882139 Q23954363 Q19030267 Q22341614 Q15702070 Q17534320 Q24254986 Q19841651 Q20749426 Q623398 Q20872993
OR((c(Q571),P291,Q33959), (c(Q571),P291,Q84))
action filter_type
action union
action find_reverse
entity Q33959
relation P291
action find_reverse
entity Q84
relation P291
type Q571
[ANSWERS] have Nice or London as their release location
{'OR': [[{'concept': 'Q571'}, 'P291', 'Q33959'], [{'concept': 'Q571'}, 'P291', 'Q84']]}
SELECT DISTINCT ?y WHERE { { { ?y property:P291 resource:Q33959 } UNION { ?y property:P291 resource:Q84 } } . ?y rdf:type ontology:Q571 }
De finibus bonorum et malorum (English, 1914) Reconnoitering Voyages and Travels, with Adventures in the new colonies of South Australia Cathay On the Origin of Species (1859) A Journal of a Voyage to the South Seas in His Majesty's Ship the Endeavour Who's Who in Music (2nd edition) Victoria: with a description of its principal cities, Melbourne and Geelong Whole Works of Joseph Butler Treasure Island (1883, Cassell & Company) Popular Chess Variants (1st edition) The Mutiny of the Bengal Army Whether the minority of electors should be represented by a majority in the House of Commons? Electoral Disabilities of Women The Elements of Euclid for the Use of Schools and Colleges More Australian legendary tales An address to women The Europeans Australian Legendary Tales The New Forest: its history and its scenery The Parochial System The Agricultural Children Act Dictionary of National Biography, second supplement Poverty: its effects on the political condition of the people A Checklist of Painters c.1200-1994 Thirty years' progress in female education The George Inn, Southwark A People's Tragedy (original edition) Kidnapped in London, first edition The Australian Emigrant The Life of Samuel Johnson (3rd edition 1799) Home rule The land, the people, and the coming struggle The Kiss and Other Stories by Anton Tchekhoff England and Ireland Problems of Empire Asoka - the Buddhist Emperor of India Konrad Wallenrod The Highway Code, 1931 Ancient Ballads and Legends of Hindustan The Religion of Ancient Egypt A Lecture on the Study of History The Working and Management of an English Railway Journals of Expeditions of Discovery into Central Australia Men-at-the-Bar Dr. Chat Rose & Mister Strange Angelic Life in the Spiritual World, as Revealed by the Sacred Scriptures A brief summary, in plain language, of the most important laws concerning women, together with a few observations thereon Two expeditions into the interior of Southern Australia A checklist of painters c.1200-1976 Autobiography Workhouses and women's work Workhouse nursing The Channel Tunnel: Ought the Democracy to Oppose or Support It? Mr. John Stuart Mill and the ballot Chronicle of the law officers of Ireland‎ Remarks on the Law Regarding Marriage with the Sister of a Deceased Wife The Raven (Ingram) The Canal System of England The measure of value stated and illustrated Ancient Ballads and Legends of Hindustan Thoughts on Parliamentary Reform The present and general condition of sanitary science Italian Baroque Painting (1962) For remembrance: soldier poets who have fallen in the war Narrative of a Voyage to New Zealand A new flora of Northumberland and Durham with sketches of its climate and physical geography The History of the Decline and Fall of the Roman Empire, 1897 edition The future of democracy Admiral Phillip Notes on five years' experiments on hop manuring conducted at Golden Green, Hadlow, Tonbridge The Romance of Nature; or, The Flower-Seasons Illustrated The Gardeners Dictionary. (8th edition) Journal of a Voyage to Greenland, in the Year 1821 Reform or revolution The education of the farmer National Life and Character An account of a voyage to establish a colony at Port Philip in Bass's Strait on the south coast of New South Wales The three colonies of Australia Landholding in England The Japanese Fairy Book The New Latin Primer Hints for the improvement of village schools and the introduction of industrial work Le avventure d'Alice nel paese delle meraviglie The Future of the Women's Movement Three Lectures on the Vedanta Philosophy William Tell Told Again The pilgrimage of Etheria Two speeches of Robert R. Torrens Ballot The Works of Lord Byron (ed. Coleridge, Prothero)/Poetry/Volume 3/Parisina Thoughts on the Education of Daughters The Garden of Romance The Bishop's Candlesticks Female suffrage. A letter from the Right Hon. W.E. Gladstone, M.P. to Samuel Smith, M.P. Catsomy, le chat qui dérape My Life in Two Hemispheres The Settled Estates Act, 1882: a paper read before the Constitutional Union, 23rd October, 1882 The Abridgement of The Gardeners Dictionary. 4th edition On an annual census Dictionary of National Biography, first supplement Burke's Landed Gentry of Ireland (3rd Ed.) Dwellings of working-people in London The Cricket Field Vanity Fair Egotism in German Philosophy Why do men starve? Steam Locomotive Construction and Maintenance The Bourbons of Naples Female suffrage Discourses of Politics The Moral and Religious Bearings of the Corn Law The Lord of the Rings, 50th anniversary edition Football: The Association Game The Euahlayi Tribe Garden Cities of To-morrow Dictionary of Australasian Biography The Poison Tree St. Oswald and the Church of Worcester Wives of the prime ministers, 1844-1906 A charge delivered at the ordinary visitation of the archdeaconry of Chichester in July, 1843 The Innocence of Father Brown Address to an emigrant An address delivered by the Hon. Mrs. Welby to the married women of Newton on the first Thursday in Lent, 1872 The Last Dictatorship in Europe. Belarus under Lukashenko Kepler Kings and Kingdoms of Early Anglo-Saxon England Dictionary of National Biography Vol 1 Mr. Sidney Lee and the Baconians King James Version A Christmas Carol
On the Origin of Species (1859), Home rule, Treasure Island (1883, Cassell & Company), Female suffrage, Two expeditions into the interior of Southern Australia, Kings and Kingdoms of Early Anglo-Saxon England, The education of the farmer, Thoughts on the Education of Daughters, A brief summary, in plain language, of the most important laws concerning women, together with a few observations thereon and The Raven (Ingram) have Nice or London as their release location
On the Origin of Species (1859) Home rule Treasure Island (1883, Cassell & Company) Female suffrage Two expeditions into the interior of Southern Australia Kings and Kingdoms of Early Anglo-Saxon England The education of the farmer Thoughts on the Education of Daughters A brief summary, in plain language, of the most important laws concerning women, together with a few observations thereon The Raven (Ingram)
action filter_type
action union
action find_reverse
entity Nice
relation place of publication
action find_reverse
entity London
relation place of publication
type book
{'OR': [[{'concept': 'book'}, 'place of publication', 'Nice'], [{'concept': 'book'}, 'place of publication', 'London']]}
SELECT DISTINCT ?y WHERE { { { ?y property:place_of_publication resource:Nice } UNION { ?y property:place_of_publication resource:London } } . ?y rdf:type ontology:book }
[]
Clarification
Simple Question|Single Entity|Indirect
Q20204431
P629
Q2342494
USER
What is that book an edition or translation of ?
(Q20204431,P629,c(Q2342494))
action filter_type
action find
entity Q20204431
relation P629
type Q2342494
['Q20204431', 'P629', {'concept': 'Q2342494'}]
SELECT DISTINCT ?m WHERE { resource:Q20204431 property:P629 ?m . ?m rdf:type ontology:Q2342494 }
Thoughts on the Education of Daughters
action filter_type
action find
entity Thoughts on the Education of Daughters
relation edition or translation of
type collectable
['Thoughts on the Education of Daughters', 'edition or translation of', {'concept': 'collectable'}]
SELECT DISTINCT ?m WHERE { resource:Thoughts_on_the_Education_of_Daughters property:edition_or_translation_of ?m . ?m rdf:type ontology:collectable }
[]
collectable
Clarification for simple ques.
Q20968204
SYSTEM
Did you mean On the Origin of Species (1859) ?
Q20968204 Q26639467 Q14944007 Q19023174 Q19108393 Q24254986 Q23865060 Q20204431 Q19020236 Q18674591
(Q20968204,P629,c(Q2342494)) (Q26639467,P629,c(Q2342494)) (Q14944007,P629,c(Q2342494)) (Q19023174,P629,c(Q2342494)) (Q19108393,P629,c(Q2342494)) (Q24254986,P629,c(Q2342494)) (Q23865060,P629,c(Q2342494)) (Q20204431,P629,c(Q2342494)) (Q19020236,P629,c(Q2342494)) (Q18674591,P629,c(Q2342494))
[ANSWER]
['Q20968204', 'P629', {'concept': 'Q2342494'}] ['Q26639467', 'P629', {'concept': 'Q2342494'}] ['Q14944007', 'P629', {'concept': 'Q2342494'}] ['Q19023174', 'P629', {'concept': 'Q2342494'}] ['Q19108393', 'P629', {'concept': 'Q2342494'}] ['Q24254986', 'P629', {'concept': 'Q2342494'}] ['Q23865060', 'P629', {'concept': 'Q2342494'}] ['Q20204431', 'P629', {'concept': 'Q2342494'}] ['Q19020236', 'P629', {'concept': 'Q2342494'}] ['Q18674591', 'P629', {'concept': 'Q2342494'}]
SELECT DISTINCT ?m WHERE { resource:Q20204431 property:P629 ?m . ?m rdf:type ontology:Q2342494 }
On the Origin of Species (1859) Home rule Treasure Island (1883, Cassell & Company) Female suffrage Two expeditions into the interior of Southern Australia Kings and Kingdoms of Early Anglo-Saxon England The education of the farmer Thoughts on the Education of Daughters A brief summary, in plain language, of the most important laws concerning women, together with a few observations thereon The Raven (Ingram)
Did you mean On the Origin of Species (1859) ?
On the Origin of Species (1859)
['On the Origin of Species (1859)', 'edition or translation of', {'concept': 'collectable'}] ['Home rule', 'edition or translation of', {'concept': 'collectable'}] ['Treasure Island (1883, Cassell & Company)', 'edition or translation of', {'concept': 'collectable'}] ['Female suffrage', 'edition or translation of', {'concept': 'collectable'}] ['Two expeditions into the interior of Southern Australia', 'edition or translation of', {'concept': 'collectable'}] ['Kings and Kingdoms of Early Anglo-Saxon England', 'edition or translation of', {'concept': 'collectable'}] ['The education of the farmer', 'edition or translation of', {'concept': 'collectable'}] ['Thoughts on the Education of Daughters', 'edition or translation of', {'concept': 'collectable'}] ['A brief summary, in plain language, of the most important laws concerning women, together with a few observations thereon', 'edition or translation of', {'concept': 'collectable'}] ['The Raven (Ingram)', 'edition or translation of', {'concept': 'collectable'}]
SELECT DISTINCT ?m WHERE { resource:Thoughts_on_the_Education_of_Daughters property:edition_or_translation_of ?m . ?m rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
USER
No, I meant Thoughts on the Education of Daughters. Could you tell me the answer for that?
(Q20204431,P629,c(Q2342494))
Q20204431
['Q20204431', 'P629', {'concept': 'Q2342494'}]
['Thoughts on the Education of Daughters', 'edition or translation of', {'concept': 'collectable'}]
[]
Q3113189
SYSTEM
Thoughts on the Education of Daughters
Q3113189
(Q20204431,P629,c(Q2342494))
action filter_type
action find
entity Q20204431
relation P629
type Q2342494
That book an edition or translation of is a [ANSWER]
['Q20204431', 'P629', {'concept': 'Q2342494'}]
SELECT DISTINCT ?m WHERE { resource:Q20204431 property:P629 ?m . ?m rdf:type ontology:Q2342494 }
Thoughts on the Education of Daughters
That book an edition or translation of is a Thoughts on the Education of Daughters
Thoughts on the Education of Daughters
action filter_type
action find
entity Thoughts on the Education of Daughters
relation edition or translation of
type collectable
['Thoughts on the Education of Daughters', 'edition or translation of', {'concept': 'collectable'}]
SELECT DISTINCT ?m WHERE { resource:Thoughts_on_the_Education_of_Daughters property:edition_or_translation_of ?m . ?m rdf:type ontology:collectable }
[]