Simple Question (Direct)
Simple Question
Q3121828
P641
Q349
USER
Which sport was Guy Hatchi a part of ?
(Q3121828,P641,c(Q349))
action filter_type
action find
entity Q3121828
relation P641
type Q349
['Q3121828', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q3121828 property:P641 ?o . ?o rdf:type ontology:Q349 }
Guy Hatchi
action filter_type
action find
entity Guy Hatchi
relation sport
type sport
['Guy Hatchi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Guy_Hatchi property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3121828,P641,c(Q349))
action filter_type
action find
entity Q3121828
relation P641
type Q349
Which sport was Guy Hatchi a part of
['Q3121828', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q3121828 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
Which sport was Guy Hatchi a part of
association football
action filter_type
action find
entity Guy Hatchi
relation sport
type sport
['Guy Hatchi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Guy_Hatchi property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3121828
P106
Q12737077
USER
What is the job of that person ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q3121828
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q3121828 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Guy Hatchi
action filter_type
action find
entity Guy Hatchi
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Guy_Hatchi property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q3121828
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q3121828 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
association football player
The job of that person is an association football player
association football player
action filter_type
action find
entity Guy Hatchi
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Guy_Hatchi property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3121828
P27
Q15617994
USER
Which administrative territory is Guy Hatchi a civilian of ?
(Q3121828,P27,c(Q15617994))
action filter_type
action find
entity Q3121828
relation P27
type Q15617994
['Q3121828', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q3121828 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Guy Hatchi
action filter_type
action find
entity Guy Hatchi
relation country of citizenship
type designation for an administrative territorial entity
['Guy Hatchi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Guy_Hatchi property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3121828,P27,c(Q15617994))
action filter_type
action find
entity Q3121828
relation P27
type Q15617994
Which administrative territory is Guy Hatchi a civilian of
['Q3121828', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q3121828 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
France
Which administrative territory is Guy Hatchi a civilian of
France
action filter_type
action find
entity Guy Hatchi
relation country of citizenship
type designation for an administrative territorial entity
['Guy Hatchi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Guy_Hatchi property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3121828
P21
Q290
USER
What is the sex of Guy Hatchi ?
(Q3121828,P21,c(Q290))
action filter_type
action find
entity Q3121828
relation P21
type Q290
['Q3121828', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q3121828 property:P21 ?r . ?r rdf:type ontology:Q290 }
Guy Hatchi
action filter_type
action find
entity Guy Hatchi
relation gender
type sex
['Guy Hatchi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Guy_Hatchi property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3121828,P21,c(Q290))
action filter_type
action find
entity Q3121828
relation P21
type Q290
The sex of Guy Hatchi is the [ANSWER]
['Q3121828', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q3121828 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
The sex of Guy Hatchi is the male
male
action filter_type
action find
entity Guy Hatchi
relation gender
type sex
['Guy Hatchi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Guy_Hatchi property:gender ?r . ?r rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q902
P194
Q35749 Q701632 Q15617994
USER
How many administrative territories have approximately the same number of parliaments and municipal councils as their legislative body as Bangladesh ?
(c(Q15617994),P194,c(Q35749)|c(Q701632))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action count
action filter_multi_types
action find
entity Q902
relation P194
type Q35749
type Q701632
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q35749'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) ?p WHERE { { ?p property:P194 ?k . ?p rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q35749 } UNION { ?p rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q701632 . ?p property:P194 ?k } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { { ?s rdf:type ontology:Q35749 } UNION { ?s rdf:type ontology:Q701632 } } . resource:Q902 property:P194 ?s } } . FILTER ( ?c = ?j ) }
Bangladesh
action count
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action count
action filter_multi_types
action find
entity Bangladesh
relation legislative body
type parliament
type municipal council
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'parliament'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) ?p WHERE { { ?p property:legislative_body ?k . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:parliament } UNION { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:municipal_council . ?p property:legislative_body ?k } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { { ?s rdf:type ontology:parliament } UNION { ?s rdf:type ontology:municipal_council } } . resource:Bangladesh property:legislative_body ?s } } . FILTER ( ?c = ?j ) }
[]
parliament municipal council designation for an administrative territorial entity
SYSTEM
130
Q805 Q804 Q801 Q800 Q1462 Q1250 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q189 Q786 Q710 Q717 Q252320 Q187035 Q1460 Q3361 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q4628 Q779011 Q794 Q889 Q884 Q958 Q12574 Q153529 Q1965 Q12761 Q242 Q244 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q929 Q39 Q38 Q739 Q3685392 Q733 Q29999 Q854 Q153091 Q1447 Q104192 Q603676 Q1282 Q1284 Q3389 Q236 Q747074 Q72449 Q233 Q238 Q12661 Q20 Q1273 Q28 Q29 Q1279 Q1049 Q783 Q184 Q1458 Q228 Q227 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q347 Q17 Q902 Q191 Q697 Q298 Q114 Q754 Q750 Q213 Q211 Q6465 Q214 Q215 Q218 Q219 Q1210 Q917 Q16110 Q736 Q34020 Q686 Q760 Q574 Q694594 Q79 Q77 Q1222 Q774 Q948 Q811 Q1016 Q27 Q1011 Q1243 Q1013 Q12620 Q12626 Q672 Q176 Q1952 Q869 Q1237
(c(Q15617994),P194,c(Q35749)|c(Q701632))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action count
action filter_multi_types
action find
entity Q902
relation P194
type Q35749
type Q701632
[ANSWER]
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q35749'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) ?p WHERE { { ?p property:P194 ?k . ?p rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q35749 } UNION { ?p rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q701632 . ?p property:P194 ?k } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { { ?s rdf:type ontology:Q35749 } UNION { ?s rdf:type ontology:Q701632 } } . resource:Q902 property:P194 ?s } } . FILTER ( ?c = ?j ) }
Yemen Panama Israel Costa Rica Sardinia Friuli–Venezia Giulia Peru India Argentina France Netherlands United Kingdom People's Republic of China Iceland Dominican Republic Kiribati Venezuela Pleinfeld Principality of Albania Sicily Doubs Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Faroe Islands Principality of Montenegro Iran Afghanistan South Korea South Sudan Loiret Duchy of Milan New Brunswick Seine-Saint-Denis Belize Barbados Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Central African Republic Switzerland Italy Colombia Municipality of Monaco Paraguay Kingdom of the Netherlands Sri Lanka Duchy of Prussia Apulia Kleinmachnow District of Keewatin Lazio Abruzzo Finistère Montenegro comune of Italy Roccarainola Malta San Marino Nord Norway Tuscany Hungary Spain Marche Sudan Honduras Belarus Calabria Andorra Azerbaijan Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Liechtenstein Japan Bangladesh Estonia Nauru Chile Kenya Trinidad and Tobago Bolivia Czech Republic Latvia department of France Slovakia Slovenia Romania Bulgaria Lombardy Bhutan region of Italy Ecuador Niue Vanuatu Saint Lucia East Timor Bremen-Verden Egypt Uruguay Aosta Valley Guatemala Tunisia Nicaragua Libya Ireland Cape Verde Veneto Lesotho Mayenne Meurthe-et-Moselle Tuvalu Quebec Nova Scotia Thailand Trentino-South Tyrol
130
action count
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action count
action filter_multi_types
action find
entity Bangladesh
relation legislative body
type parliament
type municipal council
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'parliament'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) ?p WHERE { { ?p property:legislative_body ?k . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:parliament } UNION { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:municipal_council . ?p property:legislative_body ?k } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { { ?s rdf:type ontology:parliament } UNION { ?s rdf:type ontology:municipal_council } } . resource:Bangladesh property:legislative_body ?s } } . FILTER ( ?c = ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1013
P194
Q35749 Q701632 Q15617994
USER
And also tell me about Lesotho?
(c(Q15617994),P194,c(Q35749)|c(Q701632))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action count
action filter_multi_types
action find
entity Q1013
relation P194
type Q35749
type Q701632
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q35749'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?t ) WHERE { VALUES ( ?j ) { ( ontology:Q35749 ) ( ontology:Q701632 ) } . ?d rdf:type ?j } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Q1013 property:P194 ?h . { { ?h rdf:type ontology:Q35749 } UNION { ?h rdf:type ontology:Q701632 } } } } . FILTER ( ?t = ?x ) }
Lesotho
action count
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action count
action filter_multi_types
action find
entity Lesotho
relation legislative body
type parliament
type municipal council
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'parliament'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?t ) WHERE { VALUES ( ?j ) { ( ontology:parliament ) ( ontology:municipal_council ) } . ?d rdf:type ?j } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Lesotho property:legislative_body ?h . { { ?h rdf:type ontology:parliament } UNION { ?h rdf:type ontology:municipal_council } } } } . FILTER ( ?t = ?x ) }
[]
parliament municipal council designation for an administrative territorial entity
SYSTEM
130
Q805 Q804 Q801 Q800 Q1462 Q1250 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q189 Q786 Q710 Q717 Q252320 Q187035 Q1460 Q3361 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q4628 Q779011 Q794 Q889 Q884 Q958 Q12574 Q153529 Q1965 Q12761 Q242 Q244 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q929 Q39 Q38 Q739 Q3685392 Q733 Q29999 Q854 Q153091 Q1447 Q104192 Q603676 Q1282 Q1284 Q3389 Q236 Q747074 Q72449 Q233 Q238 Q12661 Q20 Q1273 Q28 Q29 Q1279 Q1049 Q783 Q184 Q1458 Q228 Q227 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q347 Q17 Q902 Q191 Q697 Q298 Q114 Q754 Q750 Q213 Q211 Q6465 Q214 Q215 Q218 Q219 Q1210 Q917 Q16110 Q736 Q34020 Q686 Q760 Q574 Q694594 Q79 Q77 Q1222 Q774 Q948 Q811 Q1016 Q27 Q1011 Q1243 Q1013 Q12620 Q12626 Q672 Q176 Q1952 Q869 Q1237
(c(Q15617994),P194,c(Q35749)|c(Q701632))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action count
action filter_multi_types
action find
entity Q1013
relation P194
type Q35749
type Q701632
[ANSWER]
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q35749'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?t ) WHERE { VALUES ( ?j ) { ( ontology:Q35749 ) ( ontology:Q701632 ) } . ?d rdf:type ?j } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Q1013 property:P194 ?h . { { ?h rdf:type ontology:Q35749 } UNION { ?h rdf:type ontology:Q701632 } } } } . FILTER ( ?t = ?x ) }
Yemen Panama Israel Costa Rica Sardinia Friuli–Venezia Giulia Peru India Argentina France Netherlands United Kingdom People's Republic of China Iceland Dominican Republic Kiribati Venezuela Pleinfeld Principality of Albania Sicily Doubs Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Faroe Islands Principality of Montenegro Iran Afghanistan South Korea South Sudan Loiret Duchy of Milan New Brunswick Seine-Saint-Denis Belize Barbados Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Central African Republic Switzerland Italy Colombia Municipality of Monaco Paraguay Kingdom of the Netherlands Sri Lanka Duchy of Prussia Apulia Kleinmachnow District of Keewatin Lazio Abruzzo Finistère Montenegro comune of Italy Roccarainola Malta San Marino Nord Norway Tuscany Hungary Spain Marche Sudan Honduras Belarus Calabria Andorra Azerbaijan Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Liechtenstein Japan Bangladesh Estonia Nauru Chile Kenya Trinidad and Tobago Bolivia Czech Republic Latvia department of France Slovakia Slovenia Romania Bulgaria Lombardy Bhutan region of Italy Ecuador Niue Vanuatu Saint Lucia East Timor Bremen-Verden Egypt Uruguay Aosta Valley Guatemala Tunisia Nicaragua Libya Ireland Cape Verde Veneto Lesotho Mayenne Meurthe-et-Moselle Tuvalu Quebec Nova Scotia Thailand Trentino-South Tyrol
130
action count
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action count
action filter_multi_types
action find
entity Lesotho
relation legislative body
type parliament
type municipal council
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'parliament'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?t ) WHERE { VALUES ( ?j ) { ( ontology:parliament ) ( ontology:municipal_council ) } . ?d rdf:type ?j } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Lesotho property:legislative_body ?h . { { ?h rdf:type ontology:parliament } UNION { ?h rdf:type ontology:municipal_council } } } } . FILTER ( ?t = ?x ) }
[]