Simple Question (Direct)
Simple Question
Q16582473
P54
Q1194951
USER
What is Josep Palau Busquet a member of ?
(Q16582473,P54,c(Q1194951))
action filter_type
action find
entity Q16582473
relation P54
type Q1194951
['Q16582473', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?u WHERE { resource:Q16582473 property:P54 ?u . ?u rdf:type ontology:Q1194951 }
Josep Palau Busquet
action filter_type
action find
entity Josep Palau Busquet
relation member of sports team
type national sports team
['Josep Palau Busquet', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?u WHERE { resource:Josep_Palau_Busquet property:member_of_sports_team ?u . ?u rdf:type ontology:national_sports_team }
[]
national sports team
Q17228
SYSTEM
Catalonia national football team
Q17228
(Q16582473,P54,c(Q1194951))
action filter_type
action find
entity Q16582473
relation P54
type Q1194951
Josep Palau Busquet a member of is the [ANSWER]
['Q16582473', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?u WHERE { resource:Q16582473 property:P54 ?u . ?u rdf:type ontology:Q1194951 }
Catalonia national football team
Josep Palau Busquet a member of is the Catalonia national football team
Catalonia national football team
action filter_type
action find
entity Josep Palau Busquet
relation member of sports team
type national sports team
['Josep Palau Busquet', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?u WHERE { resource:Josep_Palau_Busquet property:member_of_sports_team ?u . ?u rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16582473
P1412
Q34770
USER
Which language does Josep Palau Busquet speak in ?
(Q16582473,P1412,c(Q34770))
action filter_type
action find
entity Q16582473
relation P1412
type Q34770
['Q16582473', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q16582473 property:P1412 ?y . ?y rdf:type ontology:Q34770 }
Josep Palau Busquet
action filter_type
action find
entity Josep Palau Busquet
relation languages spoken, written or signed
type language
['Josep Palau Busquet', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Josep_Palau_Busquet property:languages_spoken,_written_or_signed ?y . ?y rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q16582473,P1412,c(Q34770))
action filter_type
action find
entity Q16582473
relation P1412
type Q34770
Josep Palau Busquet speaks in [ANSWER]
['Q16582473', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q16582473 property:P1412 ?y . ?y rdf:type ontology:Q34770 }
Spanish
Josep Palau Busquet speaks in Spanish
Spanish
action filter_type
action find
entity Josep Palau Busquet
relation languages spoken, written or signed
type language
['Josep Palau Busquet', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Josep_Palau_Busquet property:languages_spoken,_written_or_signed ?y . ?y rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16582473
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q1321,P106,c(Q12737077))
action filter_type
action find
entity Q16582473
relation P106
type Q12737077
['Q1321', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q16582473 property:P106 ?t }
Josep Palau Busquet
action filter_type
action find
entity Josep Palau Busquet
relation occupation
type occupation
['Spanish', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Josep_Palau_Busquet property:occupation ?t }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1321,P106,c(Q12737077))
action filter_type
action find
entity Q16582473
relation P106
type Q12737077
Player [ANSWER] is the profession of that person
['Q1321', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q16582473 property:P106 ?t }
association football player
Player association football player is the profession of that person
association football player
action filter_type
action find
entity Josep Palau Busquet
relation occupation
type occupation
['Spanish', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Josep_Palau_Busquet property:occupation ?t }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q12737077 Q2342494 Q43229
USER
How many occupations do around the same number of collectables and organizations belong to as that occupation ?
(c(Q2342494)|c(Q43229),P101,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q937857
relation P101
type Q2342494
type Q43229
[[{'concept': 'Q2342494'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:P101 resource:Q937857 . { ?r rdf:type ?q . VALUES ( ?q ) { ( ontology:Q2342494 ) ( ontology:Q43229 ) } } } } . FILTER ( ?y = ?w ) . { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?y ) WHERE { { ?t property:P101 ?e . ?e rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q2342494 } UNION { ?t property:P101 ?e . ?e rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q43229 } } GROUP BY ?e } }
action count
action approx
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action find_reverse_tuple_counts
relation field of work
type occupation
type organization
action count
action filter_multi_types
action find_reverse
entity association football player
relation field of work
type collectable
type organization
[[{'concept': 'collectable'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:field_of_work resource:association_football_player . { ?r rdf:type ?q . VALUES ( ?q ) { ( ontology:collectable ) ( ontology:organization ) } } } } . FILTER ( ?y = ?w ) . { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?y ) WHERE { { ?t property:field_of_work ?e . ?e rdf:type ontology:occupation . ?t rdf:type ontology:collectable } UNION { ?t property:field_of_work ?e . ?e rdf:type ontology:occupation . ?t rdf:type ontology:organization } } GROUP BY ?e } }
[]
occupation collectable organization
SYSTEM
116
Q6625963 Q4175034 Q177220 Q911554 Q80687 Q37226 Q39631 Q652122 Q765778 Q2995983 Q627325 Q33999 Q1288557 Q14915627 Q13418253 Q1495660 Q774306 Q4853732 Q706364 Q1231865 Q622807 Q584301 Q6138343 Q4610556 Q1259917 Q17156912 Q2516866 Q2259451 Q947873 Q333634 Q15949613 Q783906 Q1792450 Q11900058 Q3243461 Q5482740 Q3922505 Q1051088 Q138858 Q183888 Q593644 Q7888586 Q81096 Q170790 Q30185 Q15839135 Q2405480 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 Q16009483 Q1607826 Q154549 Q1709010 Q639669 Q191633 Q33231 Q2490358 Q644687 Q2732142 Q15980158 Q42603 Q3621491 Q11774891 Q6981670
(c(Q2342494)|c(Q43229),P101,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q937857
relation P101
type Q2342494
type Q43229
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:P101 resource:Q937857 . { ?r rdf:type ?q . VALUES ( ?q ) { ( ontology:Q2342494 ) ( ontology:Q43229 ) } } } } . FILTER ( ?y = ?w ) . { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?y ) WHERE { { ?t property:P101 ?e . ?e rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q2342494 } UNION { ?t property:P101 ?e . ?e rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q43229 } } GROUP BY ?e } }
novelist legislator singer business magnate secretary teacher physician sewing organist double-bassist graphic designer actor hieromonk musicologist philologist food critic surgeon children's writer art director educationist seiyū bassist wood carver model violinist malariologist 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 voice actor 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 sideshow performer editor carpenter software engineer musician mangaka photographer choreographer illustrator statistician non-fiction writer priest archaeologist ice hockey player Navajo weaving
116
action count
action approx
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action find_reverse_tuple_counts
relation field of work
type occupation
type organization
action count
action filter_multi_types
action find_reverse
entity association football player
relation field of work
type collectable
type organization
[[{'concept': 'collectable'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:field_of_work resource:association_football_player . { ?r rdf:type ?q . VALUES ( ?q ) { ( ontology:collectable ) ( ontology:organization ) } } } } . FILTER ( ?y = ?w ) . { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?y ) WHERE { { ?t property:field_of_work ?e . ?e rdf:type ontology:occupation . ?t rdf:type ontology:collectable } UNION { ?t property:field_of_work ?e . ?e rdf:type ontology:occupation . ?t rdf:type ontology:organization } } GROUP BY ?e } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16582473
P641
Q349
USER
Which sport was Josep Palau Busquet a part of ?
(Q16582473,P641,c(Q349))
action filter_type
action find
entity Q16582473
relation P641
type Q349
['Q16582473', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { resource:Q16582473 property:P641 ?v . ?v rdf:type ontology:Q349 }
Josep Palau Busquet
action filter_type
action find
entity Josep Palau Busquet
relation sport
type sport
['Josep Palau Busquet', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { resource:Josep_Palau_Busquet property:sport ?v . ?v rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q16582473,P641,c(Q349))
action filter_type
action find
entity Q16582473
relation P641
type Q349
The [ANSWER] was Josep Palau Busquet a part of
['Q16582473', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { resource:Q16582473 property:P641 ?v . ?v rdf:type ontology:Q349 }
association football
The association football was Josep Palau Busquet a part of
association football
action filter_type
action find
entity Josep Palau Busquet
relation sport
type sport
['Josep Palau Busquet', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { resource:Josep_Palau_Busquet property:sport ?v . ?v rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16582473
P19
Q1048835
USER
Which political territory is the birthplace of that person ?
(Q2736,P19,c(Q1048835))
action filter_type
action find
entity Q16582473
relation P19
type Q1048835
['Q2736', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q16582473 property:P19 ?h . ?h rdf:type ontology:Q1048835 }
Josep Palau Busquet
action filter_type
action find
entity Josep Palau Busquet
relation place of birth
type political territorial entity
['association football', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Josep_Palau_Busquet property:place_of_birth ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q15952
SYSTEM
La Llacuna
Q15952
(Q2736,P19,c(Q1048835))
action filter_type
action find
entity Q16582473
relation P19
type Q1048835
[ANSWER] is the birthplace of that person
['Q2736', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q16582473 property:P19 ?h . ?h rdf:type ontology:Q1048835 }
La Llacuna
La Llacuna is the birthplace of that person
La Llacuna
action filter_type
action find
entity Josep Palau Busquet
relation place of birth
type political territorial entity
['association football', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Josep_Palau_Busquet property:place_of_birth ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q15952 Q14040146
P6
Q502895
USER
Does that political territory serve as the head of government for Jose Parera Tort ?
(Q15952,P6,Q14040146)
action is_in
entity Q14040146
action find
entity Q15952
relation P6
['Q15952', 'P6', 'Q14040146']
ASK WHERE { resource:Q15952 property:P6 resource:Q14040146 }
La Llacuna Jose Parera Tort
action is_in
entity Jose Parera Tort
action find
entity La Llacuna
relation head of government
['La Llacuna', 'head of government', 'Jose Parera Tort']
ASK WHERE { resource:La_Llacuna property:head_of_government resource:Jose_Parera_Tort }
[]
common name
SYSTEM
YES
(Q15952,P6,Q14040146)
action is_in
entity Q14040146
action find
entity Q15952
relation P6
[ANSWER]
['Q15952', 'P6', 'Q14040146']
ASK WHERE { resource:Q15952 property:P6 resource:Q14040146 }
Yes
action is_in
entity Jose Parera Tort
action find
entity La Llacuna
relation head of government
['La Llacuna', 'head of government', 'Jose Parera Tort']
ASK WHERE { resource:La_Llacuna property:head_of_government resource:Jose_Parera_Tort }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15952
P1313
Q12737077
USER
Which occupation is fulfilled by that political territory ?
action filter_type
action find
entity Q15952
relation P1313
type Q12737077
SELECT DISTINCT ?b WHERE { resource:Q15952 property:P1313 ?b . ?b rdf:type ontology:Q12737077 }
La Llacuna
action filter_type
action find
entity La Llacuna
relation office held by head of government
type occupation
SELECT DISTINCT ?b WHERE { resource:La_Llacuna property:office_held_by_head_of_government ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q26691772
SYSTEM
mayor of La Llacuna
Q26691772
action filter_type
action find
entity Q15952
relation P1313
type Q12737077
The [ANSWER] is fulfilled by that political territory
SELECT DISTINCT ?b WHERE { resource:Q15952 property:P1313 ?b . ?b rdf:type ontology:Q12737077 }
mayor of La Llacuna
The mayor of La Llacuna is fulfilled by that political territory
mayor of La Llacuna
action filter_type
action find
entity La Llacuna
relation office held by head of government
type occupation
SELECT DISTINCT ?b WHERE { resource:La_Llacuna property:office_held_by_head_of_government ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15952
P47
Q1048835
USER
Which political territories are bordered by La Llacuna ?
(Q15952,P47,c(Q1048835))
action filter_type
action find
entity Q15952
relation P47
type Q1048835
['Q15952', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q15952 property:P47 ?o . ?o rdf:type ontology:Q1048835 }
La Llacuna
action filter_type
action find
entity La Llacuna
relation shares border with
type political territorial entity
['La Llacuna', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:La_Llacuna property:shares_border_with ?o . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q984398 Q686790 Q15970
SYSTEM
Font-rubí, Mediona, Santa María de Miralles
Q15958 Q15943 Q686790 Q984398 Q15970 Q984393 Q927992 Q1229275
(Q15952,P47,c(Q1048835))
action filter_type
action find
entity Q15952
relation P47
type Q1048835
[ANSWERS] are bordered by La Llacuna
['Q15952', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q15952 property:P47 ?o . ?o rdf:type ontology:Q1048835 }
Orpí Carme, Barcelona Mediona Font-rubí Santa María de Miralles Torrelles de Foix Querol Pontons
Font-rubí, Mediona and Santa María de Miralles are bordered by La Llacuna
Font-rubí Mediona Santa María de Miralles
action filter_type
action find
entity La Llacuna
relation shares border with
type political territorial entity
['La Llacuna', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:La_Llacuna property:shares_border_with ?o . ?o rdf:type ontology:political_territorial_entity }
[]