Simple Question (Direct)
Simple Question
Q372728
P19
Q1048835
USER
Where was Flemming Rasmussen born ?
(Q372728,P19,c(Q1048835))
action filter_type
action find
entity Q372728
relation P19
type Q1048835
['Q372728', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q372728 property:P19 ?y . ?y rdf:type ontology:Q1048835 }
Flemming Rasmussen
action filter_type
action find
entity Flemming Rasmussen
relation place of birth
type political territorial entity
['Flemming Rasmussen', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Flemming_Rasmussen property:place_of_birth ?y . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q35
SYSTEM
Denmark
Q35
(Q372728,P19,c(Q1048835))
action filter_type
action find
entity Q372728
relation P19
type Q1048835
Flemming Rasmussen was born in [ANSWER]
['Q372728', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q372728 property:P19 ?y . ?y rdf:type ontology:Q1048835 }
Denmark
Flemming Rasmussen was born in Denmark
Denmark
action filter_type
action find
entity Flemming Rasmussen
relation place of birth
type political territorial entity
['Flemming Rasmussen', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Flemming_Rasmussen property:place_of_birth ?y . ?y rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q372728
P21
Q290
USER
Which sex does that person belong to ?
(Q35,P21,c(Q290))
action filter_type
action find
entity Q372728
relation P21
type Q290
['Q35', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q372728 property:P21 ?a . ?a rdf:type ontology:Q290 }
Flemming Rasmussen
action filter_type
action find
entity Flemming Rasmussen
relation gender
type sex
['Denmark', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Flemming_Rasmussen property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q35,P21,c(Q290))
action filter_type
action find
entity Q372728
relation P21
type Q290
That person belongs to [ANSWER]
['Q35', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q372728 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Flemming Rasmussen
relation gender
type sex
['Denmark', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Flemming_Rasmussen property:gender ?a . ?a rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1006
P530
Q15617994 Q1048835
USER
How many administrative territories have diplomatic relationships with more number of political territories than Guinea ?
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q1006
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { resource:Q1006 property:P530 ?s . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?l > ?b ) . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?l ) WHERE { ?d property:P530 ?z . ?d rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } GROUP BY ?d } }
Guinea
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Guinea
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { resource:Guinea property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l > ?b ) . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?l ) WHERE { ?d property:diplomatic_relation ?z . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } GROUP BY ?d } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
82
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q711 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q811 Q33 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q734 Q233 Q20 Q1041 Q27 Q843 Q1029 Q1028 Q736 Q786 Q225 Q224 Q96 Q229 Q347 Q17 Q902 Q1036 Q1033 Q1030 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q215 Q218 Q219 Q916 Q833 Q1009 Q79 Q77 Q878 Q774 Q810 Q29 Q869 Q953
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q1006
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { resource:Q1006 property:P530 ?s . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?l > ?b ) . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?l ) WHERE { ?d property:P530 ?z . ?d rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } GROUP BY ?d } }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Mongolia Indonesia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Nicaragua Finland Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Guyana Malta Norway Senegal Ireland Pakistan Mozambique Morocco Ecuador Dominican Republic Bosnia and Herzegovina Croatia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Nigeria Namibia Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Slovenia Romania Bulgaria Angola Malaysia Cameroon Egypt Uruguay United Arab Emirates Guatemala Jordan Spain Thailand Zambia
82
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Guinea
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { resource:Guinea property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l > ?b ) . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?l ) WHERE { ?d property:diplomatic_relation ?z . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } GROUP BY ?d } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q189
P530
Q15617994 Q1048835
USER
And what about Iceland?
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q189
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?f ) WHERE { ?q rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q1048835 . ?q property:P530 ?i } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { resource:Q189 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?f > ?v ) }
Iceland
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Iceland
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?f ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:political_territorial_entity . ?q property:diplomatic_relation ?i } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { resource:Iceland property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f > ?v ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
82
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q711 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q811 Q33 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q734 Q233 Q20 Q1041 Q27 Q843 Q1029 Q1028 Q736 Q786 Q225 Q224 Q96 Q229 Q347 Q17 Q902 Q1036 Q1033 Q1030 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q215 Q218 Q219 Q916 Q833 Q1009 Q79 Q77 Q878 Q774 Q810 Q29 Q869 Q953
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q189
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?f ) WHERE { ?q rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q1048835 . ?q property:P530 ?i } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { resource:Q189 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?f > ?v ) }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Mongolia Indonesia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Nicaragua Finland Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Guyana Malta Norway Senegal Ireland Pakistan Mozambique Morocco Ecuador Dominican Republic Bosnia and Herzegovina Croatia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Nigeria Namibia Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Slovenia Romania Bulgaria Angola Malaysia Cameroon Egypt Uruguay United Arab Emirates Guatemala Jordan Spain Thailand Zambia
82
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Iceland
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?f ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:political_territorial_entity . ?q property:diplomatic_relation ?i } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { resource:Iceland property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f > ?v ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q372728
P734
Q82799
USER
Which name is associated with Flemming Rasmussen ?
(Q372728,P734,c(Q82799))
action filter_type
action find
entity Q372728
relation P734
type Q82799
['Q372728', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q372728 property:P734 ?t . ?t rdf:type ontology:Q82799 }
Flemming Rasmussen
action filter_type
action find
entity Flemming Rasmussen
relation family name
type name
['Flemming Rasmussen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:Flemming_Rasmussen property:family_name ?t . ?t rdf:type ontology:name }
[]
name
Q1634177
SYSTEM
Rasmussen
Q1634177
(Q372728,P734,c(Q82799))
action filter_type
action find
entity Q372728
relation P734
type Q82799
S [ANSWER] is associated with Flemming [ANSWER]
['Q372728', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q372728 property:P734 ?t . ?t rdf:type ontology:Q82799 }
Rasmussen
S Rasmussen is associated with Flemming Rasmussen
Rasmussen
action filter_type
action find
entity Flemming Rasmussen
relation family name
type name
['Flemming Rasmussen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:Flemming_Rasmussen property:family_name ?t . ?t rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q372728
P106
Q12737077
USER
What do Flemming Rasmussen do for a living ?
(Q372728,P106,c(Q12737077))
action filter_type
action find
entity Q372728
relation P106
type Q12737077
['Q372728', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q372728 property:P106 ?v }
Flemming Rasmussen
action filter_type
action find
entity Flemming Rasmussen
relation occupation
type occupation
['Flemming Rasmussen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Flemming_Rasmussen property:occupation ?v }
[]
occupation
Q36834 Q183945 Q81096
SYSTEM
composer, record producer, engineer
Q183945 Q81096 Q128124 Q36834
(Q372728,P106,c(Q12737077))
action filter_type
action find
entity Q372728
relation P106
type Q12737077
Flemming Rasmussen do for a living as [ANSWERS]
['Q372728', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q372728 property:P106 ?v }
record producer engineer audio engineer composer
Flemming Rasmussen do for a living as composer, record producer and engineer
composer record producer engineer
action filter_type
action find
entity Flemming Rasmussen
relation occupation
type occupation
['Flemming Rasmussen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Flemming_Rasmussen property:occupation ?v }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P101
Q12737077 Q43229 Q502895
USER
Which occupations do lesser number of organizations or people belong to than that occupation ?
(c(Q43229)|c(Q502895),P101,c(Q12737077))
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { ?q property:Q627436 ?y . VALUES ( ?q ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q502895 }
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { ?q property:field_of_work ?y . VALUES ( ?q ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:occupation . ?x rdf:type ontology:common_name }
[]
occupation organization common name
Comparative|More/Less|Mult. entity type|Clarification
Q36834
SYSTEM
Did you mean composer ?
(c(Q43229)|c(Q502895),P101,c(Q12737077))
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { ?q property:Q627436 ?y . VALUES ( ?q ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q502895 }
Did you mean composer ?
composer
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { ?q property:field_of_work ?y . VALUES ( ?q ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:occupation . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q43229)|c(Q502895),P101,c(Q12737077))
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
[]
Q2855502 Q3621491 Q1051088
SYSTEM
chief of police, archaeologist, Commissioner of Baseball
Q4175034 Q911554 Q80687 Q37226 Q652122 Q765778 Q2995983 Q627325 Q1288557 Q14915627 Q13418253 Q1495660 Q774306 Q4853732 Q211423 Q1231865 Q622807 Q584301 Q6138343 Q4610556 Q1259917 Q2516866 Q2259451 Q947873 Q15949613 Q783906 Q1792450 Q11900058 Q3243461 Q5482740 Q3922505 Q1051088 Q138858 Q7888586 Q30185 Q15839135 Q14467526 Q6500773 Q11642 Q937857 Q157509 Q128124 Q1999841 Q2505739 Q1622272 Q653368 Q3455803 Q2707485 Q1402561 Q725440 Q2374149 Q17277248 Q2865798 Q326358 Q2599593 Q705908 Q4164507 Q2205972 Q899758 Q2855502 Q36180 Q15117302 Q17167049 Q1423891 Q3665646 Q11063 Q1392297 Q901 Q1881523 Q18524075 Q1235146 Q15995642 Q254651 Q3387717 Q354034 Q158852 Q2252262 Q8011071 Q219477 Q154549 Q1709010 Q191633 Q33231 Q2490358 Q644687 Q2732142 Q15980158 Q15954519 Q42603 Q3621491
(c(Q43229)|c(Q502895),P101,c(Q12737077))
[ANSWERS] lesser number of organizations or people belong to than that occupation
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q502895 }
legislator business magnate secretary teacher sewing organist double-bassist graphic designer hieromonk musicologist philologist food critic surgeon children's writer goldsmith educationist seiyū bassist wood carver model violinist publisher stage actor television presenter short story writer neurologist art historian explorer collector programmer music producer Commissioner of Baseball entertainer chemical engineer mayor developmental biologist linguist general practitioner pottery association football player legal guardian audio engineer faqih hispanist university teacher district attorney director scenographer military leader prelate botanist member of the National Assembly of Armenia glass artist joiner germanist agency agreement art critic stained-glass artist violist chief of police writer volleyball player specialist in literature minister basketball player astronomer Train dispatcher scientist STEM fields mining engineer documentary filmmaker religious leader navigator theatre director type designer conductor rapper animal trainer missionary carpenter software engineer mangaka photographer choreographer illustrator statistician non-fiction writer alchemist priest archaeologist
Chief of police, archaeologist and Commissioner of Baseball lesser number of organizations or people belong to than that occupation
chief of police archaeologist Commissioner of Baseball
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:occupation . ?x rdf:type ontology:common_name }
[]