Simple Question (Direct)
Simple Question
Q1957104
P106
Q12737077
USER
What is the profession of Egbert van Drielst ?
(Q1957104,P106,c(Q12737077))
action filter_type
action find
entity Q1957104
relation P106
type Q12737077
['Q1957104', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1957104 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Egbert van Drielst
action filter_type
action find
entity Egbert van Drielst
relation occupation
type occupation
['Egbert van Drielst', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Egbert_van_Drielst property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q1028181
SYSTEM
painter
Q1028181
(Q1957104,P106,c(Q12737077))
action filter_type
action find
entity Q1957104
relation P106
type Q12737077
The profession of Egbert van Drielst is a [ANSWER]
['Q1957104', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1957104 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
painter
The profession of Egbert van Drielst is a painter
painter
action filter_type
action find
entity Egbert van Drielst
relation occupation
type occupation
['Egbert van Drielst', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Egbert_van_Drielst property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1957104
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q1028181,P27,c(Q15617994))
action filter_type
action find
entity Q1957104
relation P27
type Q15617994
['Q1028181', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q1957104 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Egbert van Drielst
action filter_type
action find
entity Egbert van Drielst
relation country of citizenship
type designation for an administrative territorial entity
['painter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Egbert_van_Drielst property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q1028181,P27,c(Q15617994))
action filter_type
action find
entity Q1957104
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q1028181', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q1957104 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Netherlands
Netherlands is the native country of that person
Netherlands
action filter_type
action find
entity Egbert van Drielst
relation country of citizenship
type designation for an administrative territorial entity
['painter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Egbert_van_Drielst property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2031291 Q7725634
USER
How many administrative territories are the countries of origin of around the same number of releases and literary works as that administrative territory ?
(c(Q2031291)|c(Q7725634),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q55
relation P495
type Q2031291
type Q7725634
[[{'concept': 'Q2031291'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?z WHERE { ?f rdf:type ?x . VALUES ( ?x ) { ( ontology:Q2031291 ) ( ontology:Q7725634 ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:P495 resource:Q55 . { { ?e rdf:type ontology:Q2031291 } UNION { ?e rdf:type ontology:Q7725634 } } } } . FILTER ( ?t = ?c ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find_reverse
entity Netherlands
relation country of origin
type release
type literary work
[[{'concept': 'release'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?z WHERE { ?f rdf:type ?x . VALUES ( ?x ) { ( ontology:release ) ( ontology:literary_work ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:country_of_origin resource:Netherlands . { { ?e rdf:type ontology:release } UNION { ?e rdf:type ontology:literary_work } } } } . FILTER ( ?t = ?c ) }
[]
designation for an administrative territorial entity release literary work
SYSTEM
168
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2031291)|c(Q7725634),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q55
relation P495
type Q2031291
type Q7725634
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?z WHERE { ?f rdf:type ?x . VALUES ( ?x ) { ( ontology:Q2031291 ) ( ontology:Q7725634 ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:P495 resource:Q55 . { { ?e rdf:type ontology:Q2031291 } UNION { ?e rdf:type ontology:Q7725634 } } } } . FILTER ( ?t = ?c ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
168
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find_reverse
entity Netherlands
relation country of origin
type release
type literary work
[[{'concept': 'release'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?z WHERE { ?f rdf:type ?x . VALUES ( ?x ) { ( ontology:release ) ( ontology:literary_work ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:country_of_origin resource:Netherlands . { { ?e rdf:type ontology:release } UNION { ?e rdf:type ontology:literary_work } } } } . FILTER ( ?t = ?c ) }
[]