Simple Question (Direct)
Simple Question
Q11944597
P39
Q12737077
USER
Which occupations were the positions for which Ramon Guardiola i Rovira were appointed ?
(Q11944597,P39,c(Q12737077))
action filter_type
action find
entity Q11944597
relation P39
type Q12737077
['Q11944597', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q11944597 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Ramon Guardiola i Rovira
action filter_type
action find
entity Ramon Guardiola i Rovira
relation position held
type occupation
['Ramon Guardiola i Rovira', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Ramon_Guardiola_i_Rovira property:position_held ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q30185 Q708492
SYSTEM
mayor, councillor
Q30185 Q708492
(Q11944597,P39,c(Q12737077))
action filter_type
action find
entity Q11944597
relation P39
type Q12737077
The [ANSWERS] were the positions for which Ramon Guardiola i Rovira were appointed
['Q11944597', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q11944597 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
mayor councillor
The mayor and councillor were the positions for which Ramon Guardiola i Rovira were appointed
mayor councillor
action filter_type
action find
entity Ramon Guardiola i Rovira
relation position held
type occupation
['Ramon Guardiola i Rovira', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Ramon_Guardiola_i_Rovira property:position_held ?t . ?t rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q708492
P361
Q1752346
USER
Which assembly is that occupation a component of ?
(Q708492,P361,c(Q1752346))
action filter_type
action find
entity Q708492
relation P361
type Q1752346
['Q708492', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?o WHERE { resource:Q708492 property:P361 ?o . ?o rdf:type ontology:Q1752346 }
councillor
action filter_type
action find
entity councillor
relation part of
type assembly
['councillor', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?o WHERE { resource:councillor property:part_of ?o . ?o rdf:type ontology:assembly }
[]
assembly
Clarification for simple ques.
Q708492
SYSTEM
Did you mean councillor ?
Q30185 Q708492
(Q30185,P361,c(Q1752346)) (Q708492,P361,c(Q1752346))
[ANSWER]
['Q30185', 'P361', {'concept': 'Q1752346'}] ['Q708492', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?o WHERE { resource:Q708492 property:P361 ?o . ?o rdf:type ontology:Q1752346 }
mayor councillor
Did you mean councillor ?
councillor
['mayor', 'part of', {'concept': 'assembly'}] ['councillor', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?o WHERE { resource:councillor property:part_of ?o . ?o rdf:type ontology:assembly }
[]
Simple Question (Coreferenced)
USER
Yes
(Q708492,P361,c(Q1752346))
['Q708492', 'P361', {'concept': 'Q1752346'}]
['councillor', 'part of', {'concept': 'assembly'}]
[]
Q3154693
SYSTEM
city council
Q3154693
(Q708492,P361,c(Q1752346))
action filter_type
action find
entity Q708492
relation P361
type Q1752346
The [ANSWER] is that occupation a component of
['Q708492', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?o WHERE { resource:Q708492 property:P361 ?o . ?o rdf:type ontology:Q1752346 }
city council
The city council is that occupation a component of
city council
action filter_type
action find
entity councillor
relation part of
type assembly
['councillor', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?o WHERE { resource:councillor property:part_of ?o . ?o rdf:type ontology:assembly }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P361
Q1752346 Q7210356
USER
How many assemblies are approximately the same number of political organizations a component of as that assembly ?
(c(Q7210356),P361,c(Q1752346))
action count
action approx
action find_reverse_tuple_counts
relation P361
type Q1752346
type Q7210356
action count
action filter_type
action find
entity Q3154693
relation P361
type Q1752346
[{'concept': 'Q7210356'}, 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?a ) WHERE { ?c property:P361 ?v . ?v rdf:type ontology:Q1752346 . ?c rdf:type ontology:Q7210356 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Q3154693 property:P361 ?j . ?j rdf:type ontology:Q1752346 } } . FILTER ( ?a = ?f ) }
action count
action approx
action find_reverse_tuple_counts
relation part of
type assembly
type political organization
action count
action filter_type
action find
entity city council
relation part of
type assembly
[{'concept': 'political organization'}, 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?a ) WHERE { ?c property:part_of ?v . ?v rdf:type ontology:assembly . ?c rdf:type ontology:political_organization } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:city_council property:part_of ?j . ?j rdf:type ontology:assembly } } . FILTER ( ?a = ?f ) }
[]
assembly political organization
SYSTEM
159
Q3154693 Q1253647 Q109016 Q896075 Q2511660 Q949699 Q1422275 Q3365524 Q715641 Q2635070 Q2584535 Q676484 Q1258164 Q14759322 Q1368318 Q648716 Q502026 Q1572486 Q206171 Q636377 Q4345413 Q1813360 Q6518214 Q510511 Q650248 Q314690 Q1599346 Q1398920 Q3251036 Q1969527 Q641439 Q1817866 Q319994 Q1450753 Q2994116 Q3564203 Q2097101 Q2647159 Q884824 Q1577158 Q1585014 Q154797 Q19758733 Q1969591 Q1368588 Q382118 Q11010 Q1112381 Q7252745 Q1807513 Q1798607 Q1371388 Q640859 Q1188525 Q230003 Q371576 Q7285832 Q2185780 Q1969585 Q1117578 Q1969587 Q2016884 Q1139204 Q2011165 Q4345419 Q1968458 Q1415847 Q1848595 Q2119357 Q740564 Q1517231 Q2347172 Q3365530 Q1972029 Q1417210 Q643412 Q2739604 Q820697 Q378605 Q1130737 Q583157 Q1292 Q571436 Q35749 Q521764 Q720753 Q1484825 Q12041660 Q1542985 Q209151 Q1520966 Q1284236 Q157638 Q5531805 Q219825 Q1138299 Q884829 Q1357543 Q1288169 Q882738 Q1077701 Q321246 Q2665089 Q1280751 Q3365552 Q1135960 Q775767 Q7063612 Q1650523 Q3896143 Q817979 Q326465 Q1969569 Q714698 Q14552853 Q339033 Q697775 Q20992117 Q684719 Q3365546 Q160208 Q1968468 Q260372 Q742110 Q7138943 Q1501988 Q317147 Q878525 Q1853235 Q859658 Q449304 Q17014622 Q6682043 Q654504 Q646190 Q639704 Q1320418 Q475689 Q1973075 Q15150880 Q822919 Q455697 Q2053647 Q219692 Q9300937 Q637829 Q5339025 Q133396 Q122635 Q3246027 Q2444341 Q477089 Q1760847 Q667464 Q15304628 Q632552 Q555809 Q1769673 Q189445
(c(Q7210356),P361,c(Q1752346))
action count
action approx
action find_reverse_tuple_counts
relation P361
type Q1752346
type Q7210356
action count
action filter_type
action find
entity Q3154693
relation P361
type Q1752346
[ANSWER]
[{'concept': 'Q7210356'}, 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?a ) WHERE { ?c property:P361 ?v . ?v rdf:type ontology:Q1752346 . ?c rdf:type ontology:Q7210356 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Q3154693 property:P361 ?j . ?j rdf:type ontology:Q1752346 } } . FILTER ( ?a = ?f ) }
city council Parliament of Grenada Parliament of Norway Landtag of Thuringia Congress of Paraguay National Congress of Brasil Parliament of Lebanon Parliament of Tasmania State Duma National Assembly Parliament of Egypt National Assembly Assembly of the Republic of Macedonia Senate (Equatorial Guinea) National Assembly National Assembly National Assembly Parliament of The Bahamas Scottish Parliament Hamburg Parliament Parliament of Gabon Parliament of Romania Legislative Assembly of Queensland Landtag of Hesse Landtag of Prussia Landtag of Rhineland-Palatinate National Assembly General council Legislature of New Brunswick National Assembly Landtag of Bavaria Parliament of Malta Landtag of Lower Saxony Parliament of Sri Lanka Queensland Legislative Council Federal Assembly States-Provincial municipal council (France) Landtag of Saxony National Assembly National Assembly of Venezuela Bundestag of Germany departmental council National Assembly National Assembly of Panama Parliament of Australia Parliament of the United Kingdom House of Representatives Provisional Legislative Council Parliament of Ghana National Assembly of Belarus States General Abgeordnetenhaus of Berlin National Assembly Lok Sabha Parliament of Croatia Rajasthan Legislative Assembly Parliament of South Africa National Assembly Italian Parliament National Assembly Oireachtas of the Irish Free State National Council of Slovakia Supreme Assembly Parliament of Lesotho Plurinational Legislative Assembly National Congress of Honduras Assembly of the Republic House of Nationalities Assembly of the Republic Parliament of Singapore Parliament of the Czech Republic Parliament of the Province of Canada Parliament of Nauru Parliament of Georgia Parliament of Finland Parliament of Great Britain Parliament of Jordan Islamic Consultative Assembly Parliament of England regional council Flemish Parliament Landtag of North Rhine-Westphalia parliament Landtag of Brandenburg National Assembly of People's Power Congress of the Union National Assembly of the Czechoslovak Republic Congress of the Philippines Folketing New Zealand Parliament Congress of Colombia Frankfurt Parliament General Council of Bucharest National Convention National Assembly Landtag of Saxony-Anhalt Congress of the Republic of Peru Slovenian Parliament Landtag of Mecklenburg-Vorpommern Regional Council in Italy Reichstag Parliament of Pakistan Parliament of Antigua and Barbuda Parliament of the Kingdom of Sardinia Parliament of Albania Chamber of People's Representatives Nottingham City Council Parliament of Scotland Parliament of Nepal Grand and General Council Supreme Soviet of the Soviet Union National Assembly Supreme People's Assembly Shiga prefectural assembly Palestinian Legislative Council Imperial Council Union Parliament Federal Assembly Parliament of the Kingdom of Italy Reichstag National Congress of Chile Landtag of Saarland Parliament of Haiti Parliament of Trinidad and Tobago General Assembly of Uruguay Bürgerschaft of Bremen Reichstag National Assembly National Assembly Landtag of Schleswig-Holstein municipal council Los Angeles Common Council National Assembly Argentine National Congress National Assembly Parliament of Cambodia Parliament of Canada Council of Representatives of Iraq Legislature of Quebec Saeima Landtag of Baden-Württemberg Parliament of Southern Ireland Cortes Generales Parliament of Northern Ireland Reichstag Edmonton City Council Knesset Parliament of Jamaica General Assembly of Nova Scotia Toronto City Council Hellenic Parliament National Assembly Diet of Galicia and Lodomeria parliament of a Canadian province or territory French Parliament Parliament of the Republic of Moldova National Assembly bicameral legislature
159
action count
action approx
action find_reverse_tuple_counts
relation part of
type assembly
type political organization
action count
action filter_type
action find
entity city council
relation part of
type assembly
[{'concept': 'political organization'}, 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?a ) WHERE { ?c property:part_of ?v . ?v rdf:type ontology:assembly . ?c rdf:type ontology:political_organization } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:city_council property:part_of ?j . ?j rdf:type ontology:assembly } } . FILTER ( ?a = ?f ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q732577 Q2342494
USER
How many occupations were the main subjects of approximately 1 publications and collectables 's work ?
(c(Q732577)|c(Q2342494),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
value 1
[[{'concept': 'Q732577'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?x ) WHERE { VALUES ( ?d ) { ( ontology:Q732577 ) ( ontology:Q2342494 ) } . ?o rdf:type ?d } GROUP BY ?e } . FILTER ( ?x = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
value 1
[[{'concept': 'publication'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?x ) WHERE { VALUES ( ?d ) { ( ontology:publication ) ( ontology:collectable ) } . ?o rdf:type ?d } GROUP BY ?e } . FILTER ( ?x = 1 ) }
[]
occupation publication collectable
SYSTEM
20
Q774306 Q3809586 Q83307 Q4610556 Q18145518 Q2094335 Q82955 Q730242 Q42973 Q9402 Q43845 Q29182 Q131524 Q14373094 Q18220900 Q15320003 Q16003605 Q49757 Q1238570 Q2259532
(c(Q732577)|c(Q2342494),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
value 1
[ANSWER]
[[{'concept': 'Q732577'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?x ) WHERE { VALUES ( ?d ) { ( ontology:Q732577 ) ( ontology:Q2342494 ) } . ?o rdf:type ?d } GROUP BY ?e } . FILTER ( ?x = 1 ) }
surgeon Wikipedian in Residence minister model Member of the New Zealand House of Representatives United States Attorney politician test pilot architect ninja businessperson bishop entrepreneur rugby league player Member of the South Australian House of Assembly migrant worker elementary school student poet political scientist cleric
20
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
value 1
[[{'concept': 'publication'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?x ) WHERE { VALUES ( ?d ) { ( ontology:publication ) ( ontology:collectable ) } . ?o rdf:type ?d } GROUP BY ?e } . FILTER ( ?x = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q49757
P921
Q12737077 Q838948 Q2342494
USER
Which occupations were the main subjects of greater number of works of art and collectables 's work than poet ?
(c(Q838948)|c(Q2342494),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q49757
relation P921
type Q838948
type Q2342494
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?r ) WHERE { { ?a property:P921 ?y . ?y rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q838948 } UNION { ?a property:P921 ?y . ?y rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q2342494 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { ?c property:P921 resource:Q49757 . { ?c rdf:type ?h . VALUES ( ?h ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } } } . FILTER ( ?r > ?e ) }
poet
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity poet
relation main subject
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?r ) WHERE { { ?a property:main_subject ?y . ?y rdf:type ontology:occupation . ?a rdf:type ontology:work_of_art } UNION { ?a property:main_subject ?y . ?y rdf:type ontology:occupation . ?a rdf:type ontology:collectable } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { ?c property:main_subject resource:poet . { ?c rdf:type ?h . VALUES ( ?h ) { ( ontology:collectable ) ( ontology:work_of_art ) } } } } . FILTER ( ?r > ?e ) }
[]
occupation work of art collectable
Q1930187 Q937857 Q16746569
SYSTEM
journalist, association football player, high school student
Q39631 Q11631 Q33999 Q1930187 Q937857 Q9402 Q101539 Q164236 Q16746569 Q16003605 Q33231 Q16003532
(c(Q838948)|c(Q2342494),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q49757
relation P921
type Q838948
type Q2342494
The [ANSWERS] were the main subjects of greater number of works of art and collectables 's work than poet
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?r ) WHERE { { ?a property:P921 ?y . ?y rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q838948 } UNION { ?a property:P921 ?y . ?y rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q2342494 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { ?c property:P921 resource:Q49757 . { ?c rdf:type ?h . VALUES ( ?h ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } } } . FILTER ( ?r > ?e ) }
physician astronaut actor journalist association football player ninja flight attendant war correspondent high school student elementary school student photographer middle school student
The journalist, association football player and high school student were the main subjects of greater number of works of art and collectables 's work than poet
journalist association football player high school student
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity poet
relation main subject
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?r ) WHERE { { ?a property:main_subject ?y . ?y rdf:type ontology:occupation . ?a rdf:type ontology:work_of_art } UNION { ?a property:main_subject ?y . ?y rdf:type ontology:occupation . ?a rdf:type ontology:collectable } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { ?c property:main_subject resource:poet . { ?c rdf:type ?h . VALUES ( ?h ) { ( ontology:collectable ) ( ontology:work_of_art ) } } } } . FILTER ( ?r > ?e ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P101
Q12737077 Q502895 Q43229
USER
Which occupations are the field of work of around the same number of people and organizations as that occupation ?
(c(Q502895)|c(Q43229),P101,c(Q12737077))
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q43229 }
[[{'concept': 'common name'}, {'concept': 'organization'}], '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:common_name . ?y rdf:type ontology:occupation . ?x rdf:type ontology:organization }
[]
occupation common name organization
Comparative|More/Less|Mult. entity type|Clarification
Q16746569
SYSTEM
Did you mean high school student ?
(c(Q502895)|c(Q43229),P101,c(Q12737077))
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q43229 }
Did you mean high school student ?
high school student
[[{'concept': 'common name'}, {'concept': 'organization'}], '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:common_name . ?y rdf:type ontology:occupation . ?x rdf:type ontology:organization }
[]
Comparative Reasoning (All)
USER
No, I meant journalist. Could you tell me the answer for that?
(c(Q502895)|c(Q43229),P101,c(Q12737077))
Q1930187
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
[]
Q2855502 Q3621491 Q1051088
SYSTEM
chief of police, archaeologist, Commissioner of Baseball
Q6625963 Q4175034 Q177220 Q911554 Q80687 Q37226 Q652122 Q765778 Q2995983 Q627325 Q33999 Q1288557 Q14915627 Q13418253 Q1495660 Q774306 Q4853732 Q211423 Q706364 Q1231865 Q622807 Q584301 Q6138343 Q4610556 Q1259917 Q2516866 Q2259451 Q947873 Q333634 Q15949613 Q783906 Q1792450 Q11900058 Q3243461 Q5482740 Q3922505 Q1051088 Q138858 Q183888 Q593644 Q7888586 Q81096 Q170790 Q30185 Q15839135 Q1930187 Q14467526 Q6500773 Q212238 Q11642 Q937857 Q157509 Q128124 Q1999841 Q131524 Q1172458 Q2505739 Q1622272 Q653368 Q3455803 Q2707485 Q1402561 Q725440 Q2374149 Q17277248 Q2865798 Q326358 Q2599593 Q705908 Q4164507 Q2205972 Q899758 Q2855502 Q169470 Q36180 Q201788 Q15117302 Q483501 Q1114448 Q17167049 Q1423891 Q3665646 Q11063 Q1028181 Q1392297 Q901 Q1881523 Q18524075 Q1235146 Q36834 Q15995642 Q254651 Q3387717 Q354034 Q158852 Q2252262 Q245068 Q8011071 Q219477 Q1607826 Q154549 Q1709010 Q639669 Q191633 Q33231 Q2490358 Q644687 Q2732142 Q15980158 Q15954519 Q42603 Q3621491 Q11774891 Q6981670
(c(Q502895)|c(Q43229),P101,c(Q12737077))
[ANSWERS] are the field of work of around the same number of people and organizations as that occupation
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q43229 }
novelist legislator singer business magnate secretary teacher sewing organist double-bassist graphic designer actor hieromonk musicologist philologist food critic surgeon children's writer goldsmith art director educationist seiyū bassist wood carver model violinist publisher stage actor television presenter translator short story writer neurologist art historian explorer collector programmer music producer Commissioner of Baseball entertainer software developer chemist chemical engineer engineer mathematician mayor developmental biologist journalist linguist general practitioner civil servant pottery association football player legal guardian audio engineer faqih entrepreneur muhaddith 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 physicist writer historian volleyball player artist cartoonist specialist in literature minister basketball player astronomer painter Train dispatcher scientist STEM fields mining engineer documentary filmmaker composer religious leader navigator theatre director type designer conductor rapper comedian animal trainer missionary editor carpenter software engineer musician mangaka photographer choreographer illustrator statistician non-fiction writer alchemist priest archaeologist ice hockey player Navajo weaving
Chief of police, archaeologist and Commissioner of Baseball are the field of work of around the same number of people and organizations as that occupation
chief of police archaeologist Commissioner of Baseball
[[{'concept': 'common name'}, {'concept': 'organization'}], '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:common_name . ?y rdf:type ontology:occupation . ?x rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1051088
P641
Q349
USER
What was the sport that Commissioner of Baseball was a part of ?
(Q1051088,P641,c(Q349))
action filter_type
action find
entity Q1051088
relation P641
type Q349
['Q1051088', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q1051088 property:P641 ?b . ?b rdf:type ontology:Q349 }
Commissioner of Baseball
action filter_type
action find
entity Commissioner of Baseball
relation sport
type sport
['Commissioner of Baseball', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Commissioner_of_Baseball property:sport ?b . ?b rdf:type ontology:sport }
[]
sport
Q5369
SYSTEM
baseball
Q5369
(Q1051088,P641,c(Q349))
action filter_type
action find
entity Q1051088
relation P641
type Q349
The sport that Commissioner of [ANSWER] was a part of was h [ANSWER]
['Q1051088', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q1051088 property:P641 ?b . ?b rdf:type ontology:Q349 }
baseball
The sport that Commissioner of Baseball was a part of was h baseball
baseball
action filter_type
action find
entity Commissioner of Baseball
relation sport
type sport
['Commissioner of Baseball', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Commissioner_of_Baseball property:sport ?b . ?b rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P425
Q349 Q151885
USER
Which sports are associated with the field of occupation approximately the same number of concepts as that sport ?
(c(Q151885),P425,c(Q349))
action approx
action find_reverse_tuple_counts
relation P425
type Q349
type Q151885
action count
action filter_type
action find
entity Q5369
relation P425
type Q349
[{'concept': 'Q151885'}, 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?k ) WHERE { ?w rdf:type ontology:Q349 . ?c rdf:type ontology:Q151885 . ?c property:P425 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Q5369 property:P425 ?r . ?r rdf:type ontology:Q349 } } . FILTER ( ?k = ?e ) }
action approx
action find_reverse_tuple_counts
relation field of this occupation
type sport
type concept
action count
action filter_type
action find
entity baseball
relation field of this occupation
type sport
[{'concept': 'concept'}, 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?k ) WHERE { ?w rdf:type ontology:sport . ?c rdf:type ontology:concept . ?c property:field_of_this_occupation ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:baseball property:field_of_this_occupation ?r . ?r rdf:type ontology:sport } } . FILTER ( ?k = ?e ) }
[]
sport concept
Q809831 Q1295867 Q105674
SYSTEM
BASE jumping, pesäpallo, running
Q31920 Q5369 Q183018 Q500050 Q102843 Q809831 Q133201 Q1295867 Q7076154 Q83462 Q328716 Q204686 Q12100 Q124100 Q105674 Q215862 Q204632
(c(Q151885),P425,c(Q349))
action approx
action find_reverse_tuple_counts
relation P425
type Q349
type Q151885
action count
action filter_type
action find
entity Q5369
relation P425
type Q349
[ANSWERS] are associated with the field of occupation approximately the same number of concepts as that sport
[{'concept': 'Q151885'}, 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?k ) WHERE { ?w rdf:type ontology:Q349 . ?c rdf:type ontology:Q151885 . ?c property:P425 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Q5369 property:P425 ?r . ?r rdf:type ontology:Q349 } } . FILTER ( ?k = ?e ) }
swimming baseball bandy cross country running tug of war BASE jumping squash pesäpallo ocean rowing weightlifting motorcycle sport winter sport fencing bodybuilding running motocross Gaelic football
BASE jumping, pesäpallo and running are associated with the field of occupation approximately the same number of concepts as that sport
BASE jumping pesäpallo running
action approx
action find_reverse_tuple_counts
relation field of this occupation
type sport
type concept
action count
action filter_type
action find
entity baseball
relation field of this occupation
type sport
[{'concept': 'concept'}, 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?k ) WHERE { ?w rdf:type ontology:sport . ?c rdf:type ontology:concept . ?c property:field_of_this_occupation ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:baseball property:field_of_this_occupation ?r . ?r rdf:type ontology:sport } } . FILTER ( ?k = ?e ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q809831 Q1295867 Q105674
P425
Q151885
USER
Which concepts have BASE jumping, pesäpallo and running as thier field of occupation ?
(c(Q151885),P425,Q809831) (c(Q151885),P425,Q1295867) (c(Q151885),P425,Q105674)
action union
action filter_type
action find_reverse
entity Q809831
relation P425
type Q151885
action filter_type
action find_reverse
entity Q1295867
relation P425
type Q151885
action filter_type
action find_reverse
entity Q105674
relation P425
type Q151885
[{'concept': 'Q151885'}, 'P425', 'Q809831'] [{'concept': 'Q151885'}, 'P425', 'Q1295867'] [{'concept': 'Q151885'}, 'P425', 'Q105674']
SELECT DISTINCT ?f WHERE { { ?f property:P425 resource:Q1295867 . ?f rdf:type ontology:Q151885 } UNION { ?f property:P425 resource:Q809831 . ?f rdf:type ontology:Q151885 } }
BASE jumping pesäpallo running
action union
action filter_type
action find_reverse
entity BASE jumping
relation field of this occupation
type concept
action filter_type
action find_reverse
entity pesäpallo
relation field of this occupation
type concept
action filter_type
action find_reverse
entity running
relation field of this occupation
type concept
[{'concept': 'concept'}, 'field of this occupation', 'BASE jumping'] [{'concept': 'concept'}, 'field of this occupation', 'pesäpallo'] [{'concept': 'concept'}, 'field of this occupation', 'running']
SELECT DISTINCT ?f WHERE { { ?f property:field_of_this_occupation resource:pesäpallo . ?f rdf:type ontology:concept } UNION { ?f property:field_of_this_occupation resource:BASE_jumping . ?f rdf:type ontology:concept } }
[]
concept
Q20740414 Q18667447 Q14616728
SYSTEM
base jumper, pesäpallo player, runner
Q20740414 Q18667447 Q14616728
(c(Q151885),P425,Q809831) (c(Q151885),P425,Q1295867) (c(Q151885),P425,Q105674)
action union
action filter_type
action find_reverse
entity Q809831
relation P425
type Q151885
action filter_type
action find_reverse
entity Q1295867
relation P425
type Q151885
action filter_type
action find_reverse
entity Q105674
relation P425
type Q151885
[ANSWERS] have BASE jumping, pesäpallo and running as thier field of occupation
[{'concept': 'Q151885'}, 'P425', 'Q809831'] [{'concept': 'Q151885'}, 'P425', 'Q1295867'] [{'concept': 'Q151885'}, 'P425', 'Q105674']
SELECT DISTINCT ?f WHERE { { ?f property:P425 resource:Q1295867 . ?f rdf:type ontology:Q151885 } UNION { ?f property:P425 resource:Q809831 . ?f rdf:type ontology:Q151885 } }
base jumper pesäpallo player runner
Base jumper, pesäpallo player and runner have BASE jumping, pesäpallo and running as thier field of occupation
base jumper pesäpallo player runner
action union
action filter_type
action find_reverse
entity BASE jumping
relation field of this occupation
type concept
action filter_type
action find_reverse
entity pesäpallo
relation field of this occupation
type concept
action filter_type
action find_reverse
entity running
relation field of this occupation
type concept
[{'concept': 'concept'}, 'field of this occupation', 'BASE jumping'] [{'concept': 'concept'}, 'field of this occupation', 'pesäpallo'] [{'concept': 'concept'}, 'field of this occupation', 'running']
SELECT DISTINCT ?f WHERE { { ?f property:field_of_this_occupation resource:pesäpallo . ?f rdf:type ontology:concept } UNION { ?f property:field_of_this_occupation resource:BASE_jumping . ?f rdf:type ontology:concept } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q809831
P101
Q502895
USER
Which person has specialisation in BASE jumping ?
(c(Q502895),P101,Q20740414) (c(Q502895),P101,Q18667447) (c(Q502895),P101,Q14616728)
action filter_type
action find_reverse
entity Q809831
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q20740414'] [{'concept': 'Q502895'}, 'P101', 'Q18667447'] [{'concept': 'Q502895'}, 'P101', 'Q14616728']
SELECT DISTINCT ?h WHERE { ?h property:P101 resource:Q809831 . ?h rdf:type ontology:Q502895 }
BASE jumping
action filter_type
action find_reverse
entity BASE jumping
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'base jumper'] [{'concept': 'common name'}, 'field of work', 'pesäpallo player'] [{'concept': 'common name'}, 'field of work', 'runner']
SELECT DISTINCT ?h WHERE { ?h property:field_of_work resource:BASE_jumping . ?h rdf:type ontology:common_name }
[]
common name
Q15294474
SYSTEM
Fred Fugen
Q15294474
(c(Q502895),P101,Q20740414) (c(Q502895),P101,Q18667447) (c(Q502895),P101,Q14616728)
action filter_type
action find_reverse
entity Q809831
relation P101
type Q502895
[ANSWER] has specialisation in BASE jumping
[{'concept': 'Q502895'}, 'P101', 'Q20740414'] [{'concept': 'Q502895'}, 'P101', 'Q18667447'] [{'concept': 'Q502895'}, 'P101', 'Q14616728']
SELECT DISTINCT ?h WHERE { ?h property:P101 resource:Q809831 . ?h rdf:type ontology:Q502895 }
Fred Fugen
Fred Fugen has specialisation in BASE jumping
Fred Fugen
action filter_type
action find_reverse
entity BASE jumping
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'base jumper'] [{'concept': 'common name'}, 'field of work', 'pesäpallo player'] [{'concept': 'common name'}, 'field of work', 'runner']
SELECT DISTINCT ?h WHERE { ?h property:field_of_work resource:BASE_jumping . ?h rdf:type ontology:common_name }
[]