Simple Question (Direct)
Simple Question
Q966542
P551
Q56061
USER
Which administrative territory was the place of residence of Roberto Bautista Agut ?
(Q966542,P551,c(Q56061))
action filter_type
action find
entity Q966542
relation P551
type Q56061
['Q966542', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q966542 property:P551 ?y . ?y rdf:type ontology:Q56061 }
Roberto Bautista Agut
action filter_type
action find
entity Roberto Bautista Agut
relation residence
type administrative territorial entity
['Roberto Bautista Agut', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Roberto_Bautista_Agut property:residence ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q15092
SYSTEM
Castelló de la Plana
Q15092
(Q966542,P551,c(Q56061))
action filter_type
action find
entity Q966542
relation P551
type Q56061
[ANSWER] was the place of residence of Roberto Bautista Agut
['Q966542', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q966542 property:P551 ?y . ?y rdf:type ontology:Q56061 }
Castelló de la Plana
Castelló de la Plana was the place of residence of Roberto Bautista Agut
Castelló de la Plana
action filter_type
action find
entity Roberto Bautista Agut
relation residence
type administrative territorial entity
['Roberto Bautista Agut', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Roberto_Bautista_Agut property:residence ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q966542
P106
Q12737077
USER
Which occupation is the profession of Roberto Bautista Agut ?
(Q966542,P106,c(Q12737077))
action filter_type
action find
entity Q966542
relation P106
type Q12737077
['Q966542', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q966542 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Roberto Bautista Agut
action filter_type
action find
entity Roberto Bautista Agut
relation occupation
type occupation
['Roberto Bautista Agut', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Roberto_Bautista_Agut property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q10833314
SYSTEM
tennis player
Q10833314
(Q966542,P106,c(Q12737077))
action filter_type
action find
entity Q966542
relation P106
type Q12737077
[ANSWER] is the profession of Roberto Bautista Agut
['Q966542', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q966542 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
tennis player
Tennis player is the profession of Roberto Bautista Agut
tennis player
action filter_type
action find
entity Roberto Bautista Agut
relation occupation
type occupation
['Roberto Bautista Agut', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Roberto_Bautista_Agut property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q966542
P1344
Q500834
USER
Which tournament did Roberto Bautista Agut participate in ?
(Q966542,P1344,c(Q500834))
action filter_type
action find
entity Q966542
relation P1344
type Q500834
['Q966542', 'P1344', {'concept': 'Q500834'}]
SELECT DISTINCT ?n WHERE { resource:Q966542 property:P1344 ?n . ?n rdf:type ontology:Q500834 }
Roberto Bautista Agut
action filter_type
action find
entity Roberto Bautista Agut
relation participant of
type tournament
['Roberto Bautista Agut', 'participant of', {'concept': 'tournament'}]
SELECT DISTINCT ?n WHERE { resource:Roberto_Bautista_Agut property:participant_of ?n . ?n rdf:type ontology:tournament }
[]
tournament
Q5377427
SYSTEM
tennis at the 2016 Summer Olympics
Q5377427
(Q966542,P1344,c(Q500834))
action filter_type
action find
entity Q966542
relation P1344
type Q500834
Roberto Bautista Agut participated in [ANSWER]
['Q966542', 'P1344', {'concept': 'Q500834'}]
SELECT DISTINCT ?n WHERE { resource:Q966542 property:P1344 ?n . ?n rdf:type ontology:Q500834 }
tennis at the 2016 Summer Olympics
Roberto Bautista Agut participated in tennis at the 2016 Summer Olympics
tennis at the 2016 Summer Olympics
action filter_type
action find
entity Roberto Bautista Agut
relation participant of
type tournament
['Roberto Bautista Agut', 'participant of', {'concept': 'tournament'}]
SELECT DISTINCT ?n WHERE { resource:Roberto_Bautista_Agut property:participant_of ?n . ?n rdf:type ontology:tournament }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q77149
Q500834
USER
And how about Philipp Kohlschreiber?
(Q77149,P1344,c(Q500834))
action filter_type
action find
entity Q77149
relation P1344
type Q500834
['Q77149', 'P1344', {'concept': 'Q500834'}]
SELECT DISTINCT ?b WHERE { resource:Q77149 property:P1344 ?b . ?b rdf:type ontology:Q500834 }
Philipp Kohlschreiber
action filter_type
action find
entity Philipp Kohlschreiber
relation participant of
type tournament
['Philipp Kohlschreiber', 'participant of', {'concept': 'tournament'}]
SELECT DISTINCT ?b WHERE { resource:Philipp_Kohlschreiber property:participant_of ?b . ?b rdf:type ontology:tournament }
[]
tournament
Q5377427
SYSTEM
tennis at the 2016 Summer Olympics
Q5377427
(Q77149,P1344,c(Q500834))
action filter_type
action find
entity Q77149
relation P1344
type Q500834
[ANSWER]
['Q77149', 'P1344', {'concept': 'Q500834'}]
SELECT DISTINCT ?b WHERE { resource:Q77149 property:P1344 ?b . ?b rdf:type ontology:Q500834 }
tennis at the 2016 Summer Olympics
tennis at the 2016 Summer Olympics
action filter_type
action find
entity Philipp Kohlschreiber
relation participant of
type tournament
['Philipp Kohlschreiber', 'participant of', {'concept': 'tournament'}]
SELECT DISTINCT ?b WHERE { resource:Philipp_Kohlschreiber property:participant_of ?b . ?b rdf:type ontology:tournament }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q15092
P47
Q486972 Q1048835
USER
How many human settlements and political territories are next to the border of Castelló de la Plana ?
(c(Q486972),P47,Q15092) (c(Q1048835),P47,Q15092)
action count
action union
action filter_type
action find_reverse
entity Q15092
relation P47
type Q486972
action filter_type
action find_reverse
entity Q15092
relation P47
type Q1048835
[{'concept': 'Q486972'}, 'P47', 'Q15092'] [{'concept': 'Q1048835'}, 'P47', 'Q15092']
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { ?f property:P47 resource:Q15092 . ?f rdf:type ontology:Q486972 } UNION { ?f rdf:type ontology:Q1048835 . ?f property:P47 resource:Q15092 } }
Castelló de la Plana
action count
action union
action filter_type
action find_reverse
entity Castelló de la Plana
relation shares border with
type human settlement
action filter_type
action find_reverse
entity Castelló de la Plana
relation shares border with
type political territorial entity
[{'concept': 'human settlement'}, 'shares border with', 'Castelló de la Plana'] [{'concept': 'political territorial entity'}, 'shares border with', 'Castelló de la Plana']
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { ?f property:shares_border_with resource:Castelló_de_la_Plana . ?f rdf:type ontology:human_settlement } UNION { ?f rdf:type ontology:political_territorial_entity . ?f property:shares_border_with resource:Castelló_de_la_Plana } }
[]
human settlement political territorial entity
SYSTEM
1 human settlements and 4 political territories
Q636467 Q978356 Q1635385 Q1373919 Q984821
(c(Q486972),P47,Q15092) (c(Q1048835),P47,Q15092)
action count
action union
action filter_type
action find_reverse
entity Q15092
relation P47
type Q486972
action filter_type
action find_reverse
entity Q15092
relation P47
type Q1048835
[ANSWER]
[{'concept': 'Q486972'}, 'P47', 'Q15092'] [{'concept': 'Q1048835'}, 'P47', 'Q15092']
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { ?f property:P47 resource:Q15092 . ?f rdf:type ontology:Q486972 } UNION { ?f rdf:type ontology:Q1048835 . ?f property:P47 resource:Q15092 } }
Benicàssim Borriol L'Alcora Almassora Onda
1 human settlements and 4 political territories
action count
action union
action filter_type
action find_reverse
entity Castelló de la Plana
relation shares border with
type human settlement
action filter_type
action find_reverse
entity Castelló de la Plana
relation shares border with
type political territorial entity
[{'concept': 'human settlement'}, 'shares border with', 'Castelló de la Plana'] [{'concept': 'political territorial entity'}, 'shares border with', 'Castelló de la Plana']
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { ?f property:shares_border_with resource:Castelló_de_la_Plana . ?f rdf:type ontology:human_settlement } UNION { ?f rdf:type ontology:political_territorial_entity . ?f property:shares_border_with resource:Castelló_de_la_Plana } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q26694164 Q966542
P27 P17
Q15617994
USER
Which administrative territories do Roberto Bautista Agut belong to and are mayor of La Lama present in ?
AND((Q966542,P27,c(Q15617994)), (Q26694164,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q966542
relation P27
action find
entity Q26694164
relation P17
type Q15617994
{'AND': [['Q966542', 'P27', {'concept': 'Q15617994'}], ['Q26694164', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { resource:Q966542 property:P27 ?o . resource:Q26694164 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
mayor of La Lama Roberto Bautista Agut
action filter_type
action intersection
action find
entity Roberto Bautista Agut
relation country of citizenship
action find
entity mayor of La Lama
relation country
type designation for an administrative territorial entity
{'AND': [['Roberto Bautista Agut', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['mayor of La Lama', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { resource:Roberto_Bautista_Agut property:country_of_citizenship ?o . resource:mayor_of_La_Lama property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
AND((Q966542,P27,c(Q15617994)), (Q26694164,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q966542
relation P27
action find
entity Q26694164
relation P17
type Q15617994
Roberto Bautista Agut belong to Bautista [ANSWER] and are mayor of La Lama present in
{'AND': [['Q966542', 'P27', {'concept': 'Q15617994'}], ['Q26694164', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { resource:Q966542 property:P27 ?o . resource:Q26694164 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Spain
Roberto Bautista Agut belong to Bautista Spain and are mayor of La Lama present in
Spain
action filter_type
action intersection
action find
entity Roberto Bautista Agut
relation country of citizenship
action find
entity mayor of La Lama
relation country
type designation for an administrative territorial entity
{'AND': [['Roberto Bautista Agut', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['mayor of La Lama', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { resource:Roberto_Bautista_Agut property:country_of_citizenship ?o . resource:mayor_of_La_Lama property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q29 Q4503820 Q408
P530
Q1048835
USER
Is that administrative territory known to have diplomatic connections with Tsiluikove and Australia ?
(Q29,P530,Q4503820) (Q29,P530,Q408)
action is_in
entity Q29
action intersection
action find_reverse
entity Q4503820
relation P530
action find_reverse
entity Q408
relation P530
['Q29', 'P530', 'Q4503820'] ['Q29', 'P530', 'Q408']
ASK WHERE { resource:Q29 property:P530 resource:Q4503820 . resource:Q29 property:P530 resource:Q408 }
Spain Tsiluikove Australia
action is_in
entity Spain
action intersection
action find_reverse
entity Tsiluikove
relation diplomatic relation
action find_reverse
entity Australia
relation diplomatic relation
['Spain', 'diplomatic relation', 'Tsiluikove'] ['Spain', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Spain property:diplomatic_relation resource:Tsiluikove . resource:Spain property:diplomatic_relation resource:Australia }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q29,P530,Q4503820) (Q29,P530,Q408)
action is_in
entity Q29
action intersection
action find_reverse
entity Q4503820
relation P530
action find_reverse
entity Q408
relation P530
[ANSWER]
['Q29', 'P530', 'Q4503820'] ['Q29', 'P530', 'Q408']
ASK WHERE { resource:Q29 property:P530 resource:Q4503820 . resource:Q29 property:P530 resource:Q408 }
NO and YES respectively
action is_in
entity Spain
action intersection
action find_reverse
entity Tsiluikove
relation diplomatic relation
action find_reverse
entity Australia
relation diplomatic relation
['Spain', 'diplomatic relation', 'Tsiluikove'] ['Spain', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Spain property:diplomatic_relation resource:Tsiluikove . resource:Spain property:diplomatic_relation resource:Australia }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q10833314 Q847
P425
Q349
USER
Is tennis associated with the field of occupation tennis player ?
(Q10833314,P425,Q847)
action is_in
entity Q847
action find
entity Q10833314
relation P425
['Q10833314', 'P425', 'Q847']
ASK WHERE { resource:Q10833314 property:P425 resource:Q847 }
tennis player tennis
action is_in
entity tennis
action find
entity tennis player
relation field of this occupation
['tennis player', 'field of this occupation', 'tennis']
ASK WHERE { resource:tennis_player property:field_of_this_occupation resource:tennis }
[]
sport
SYSTEM
YES
(Q10833314,P425,Q847)
action is_in
entity Q847
action find
entity Q10833314
relation P425
[ANSWER]
['Q10833314', 'P425', 'Q847']
ASK WHERE { resource:Q10833314 property:P425 resource:Q847 }
Yes
action is_in
entity tennis
action find
entity tennis player
relation field of this occupation
['tennis player', 'field of this occupation', 'tennis']
ASK WHERE { resource:tennis_player property:field_of_this_occupation resource:tennis }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3545434 Q966542
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Roberto Bautista Agut or Hinano Yoshikawa ?
OR((Q966542,P27,c(Q15617994)), (Q3545434,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q966542
relation P27
action find
entity Q3545434
relation P27
type Q15617994
{'OR': [['Q966542', 'P27', {'concept': 'Q15617994'}], ['Q3545434', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q966542 property:P27 ?r } UNION { resource:Q3545434 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Hinano Yoshikawa Roberto Bautista Agut
action filter_type
action union
action find
entity Roberto Bautista Agut
relation country of citizenship
action find
entity Hinano Yoshikawa
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Roberto Bautista Agut', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Hinano Yoshikawa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Roberto_Bautista_Agut property:country_of_citizenship ?r } UNION { resource:Hinano_Yoshikawa property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q17
SYSTEM
Spain, Japan
Q29 Q17
OR((Q966542,P27,c(Q15617994)), (Q3545434,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q966542
relation P27
action find
entity Q3545434
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Roberto Bautista Agut or Hinano Yoshikawa
{'OR': [['Q966542', 'P27', {'concept': 'Q15617994'}], ['Q3545434', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q966542 property:P27 ?r } UNION { resource:Q3545434 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Spain Japan
Spain and Japan are the countries of citizenship of Roberto Bautista Agut or Hinano Yoshikawa
Spain Japan
action filter_type
action union
action find
entity Roberto Bautista Agut
relation country of citizenship
action find
entity Hinano Yoshikawa
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Roberto Bautista Agut', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Hinano Yoshikawa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Roberto_Bautista_Agut property:country_of_citizenship ?r } UNION { resource:Hinano_Yoshikawa property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1800896
P530
Q1048835
USER
Do Pindorama do Tocantins have diplomatic relations with those administrative territories ?
(Q1800896,P530,Q29) (Q1800896,P530,Q17)
action is_in
entity prev_answer
action find
entity Q1800896
relation P530
['Q1800896', 'P530', 'Q29'] ['Q1800896', 'P530', 'Q17']
ASK WHERE { VALUES ( ?h ) { ( resource:Q29 ) ( resource:Q17 ) } . resource:Q1800896 property:P530 ?h }
Pindorama do Tocantins
action is_in
entity prev_answer
action find
entity Pindorama do Tocantins
relation diplomatic relation
['Pindorama do Tocantins', 'diplomatic relation', 'Spain'] ['Pindorama do Tocantins', 'diplomatic relation', 'Japan']
ASK WHERE { VALUES ( ?h ) { ( resource:Spain ) ( resource:Japan ) } . resource:Pindorama_do_Tocantins property:diplomatic_relation ?h }
[]
political territorial entity
SYSTEM
NO
(Q1800896,P530,Q29) (Q1800896,P530,Q17)
action is_in
entity prev_answer
action find
entity Q1800896
relation P530
[ANSWER]
['Q1800896', 'P530', 'Q29'] ['Q1800896', 'P530', 'Q17']
ASK WHERE { VALUES ( ?h ) { ( resource:Q29 ) ( resource:Q17 ) } . resource:Q1800896 property:P530 ?h }
No
action is_in
entity prev_answer
action find
entity Pindorama do Tocantins
relation diplomatic relation
['Pindorama do Tocantins', 'diplomatic relation', 'Spain'] ['Pindorama do Tocantins', 'diplomatic relation', 'Japan']
ASK WHERE { VALUES ( ?h ) { ( resource:Spain ) ( resource:Japan ) } . resource:Pindorama_do_Tocantins property:diplomatic_relation ?h }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P291
Q56061 Q1002697 Q21114848
USER
How many administrative territories are the locations of publication of atmost 416 periodical literatures or magazine genres ?
(c(Q1002697)|c(Q21114848),P291,c(Q56061))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
value 416
[[{'concept': 'Q1002697'}, {'concept': 'Q21114848'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { FILTER ( ?s <= 416 ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?z WHERE { ?i rdf:type ?h . VALUES ( ?h ) { ( ontology:Q1002697 ) ( ontology:Q21114848 ) } } GROUP BY ?z } }
action count
action atmost
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
value 416
[[{'concept': 'periodical literature'}, {'concept': 'magazine genre'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { FILTER ( ?s <= 416 ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?z WHERE { ?i rdf:type ?h . VALUES ( ?h ) { ( ontology:periodical_literature ) ( ontology:magazine_genre ) } } GROUP BY ?z } }
[]
administrative territorial entity periodical literature magazine genre
SYSTEM
350
Q807 Q909146 Q2536016 Q2512312 Q190583 Q27918 Q736775 Q2035368 Q3897 Q38511 Q3711 Q130191 Q203619 Q393 Q80670 Q25286 Q1544563 Q490595 Q3808 Q501661 Q982367 Q3150 Q484678 Q11974 Q151920 Q13375 Q36378 Q4093 Q2560090 Q10305 Q3404679 Q23337 Q33959 Q987 Q8692 Q23051 Q586 Q2656 Q1289 Q4581188 Q8851 Q10690 Q25748 Q9920 Q15688 Q12155 Q323801 Q15682 Q15684 Q170497 Q1757 Q41876 Q1754 Q1022 Q749 Q99151 Q90 Q39561 Q48329 Q3992 Q2132 Q7880 Q1930 Q949651 Q3846 Q81046 Q597 Q5831 Q22889 Q12892 Q365 Q5836 Q132572 Q6157 Q12411 Q1718 Q43631 Q8818 Q11125 Q8810 Q15283655 Q4713350 Q428829 Q1335 Q1895 Q1034159 Q1155 Q103717 Q28911 Q3400328 Q14323 Q186237 Q14325 Q180233 Q484799 Q14328 Q576110 Q5083 Q1524 Q1489 Q209055 Q2020203 Q3561 Q40347 Q406 Q234178 Q739452 Q8678 Q15468 Q490 Q6346 Q495 Q2044 Q887 Q576165 Q5465 Q2141 Q54217 Q23436 Q1679567 Q2814 Q15093 Q2280 Q162279 Q3141 Q671288 Q72 Q17151 Q1490 Q1191195 Q102217 Q237 Q334 Q239 Q16559 Q16554 Q16555 Q16557 Q486306 Q621 Q8686 Q994 Q1513 Q3130 Q192517 Q1296 Q1297 Q3033 Q936183 Q1563 Q170263 Q35381 Q1748 Q45412 Q87 Q84 Q40269 Q2081145 Q1024911 Q193478 Q5112 Q2103 Q1741 Q178093 Q191133 Q11959 Q35493 Q538915 Q78 Q49111 Q71 Q2617448 Q37100 Q38022 Q36405 Q270 Q286048 Q1235510 Q15678 Q1931927 Q49241 Q3183 Q172157 Q1781 Q33935 Q582121 Q16567 Q1861 Q14318 Q14314 Q5092 Q15090 Q134620 Q956 Q15095 Q15098 Q1492 Q437 Q8745 Q1479 Q13580 Q2766547 Q18419 Q2941325 Q12258 Q202158 Q1017331 Q2090 Q2807 Q49145 Q42735 Q242478 Q327022 Q12225 Q23154 Q220 Q340 Q342 Q10282 Q26421 Q429676 Q672545 Q188304 Q617 Q634054 Q472 Q37995 Q6576 Q6761 Q28249 Q13666 Q761 Q9580 Q569661 Q2634 Q8356 Q3584 Q49179 Q735583 Q1726 Q1724 Q11967 Q1729 Q8717 Q3519 Q64 Q65 Q159232 Q207891 Q2028 Q61 Q62 Q3395358 Q683512 Q18125 Q3889 Q9125 Q5818 Q1867 Q204382 Q12439 Q269 Q27393 Q470445 Q126148 Q1352 Q771986 Q49229 Q33405 Q79990 Q8385 Q493794 Q6537 Q6106 Q2391194 Q10313 Q72259 Q1295 Q19785 Q647 Q641 Q193367 Q727 Q649 Q59169 Q669171 Q204720 Q206988 Q3012 Q24826 Q15699 Q485329 Q15696 Q15695 Q985271 Q28848 Q128306 Q15088 Q3366952 Q997170 Q203263 Q580 Q213898 Q193180 Q585 Q8757 Q34370 Q47048 Q178277 Q192155 Q883 Q207639 Q41262 Q6441 Q125080 Q2066 Q12303 Q100 Q156990 Q3834 Q81137 Q40840 Q955640 Q281839 Q485172 Q26793 Q3426 Q10686 Q211020 Q181854 Q648 Q487786 Q12233 Q172 Q216 Q646620 Q350 Q720627 Q13972 Q215277 Q8826 Q129610 Q179385 Q1348 Q29303 Q628667 Q127159 Q14336 Q34647 Q1085
(c(Q1002697)|c(Q21114848),P291,c(Q56061))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
value 416
[ANSWER]
[[{'concept': 'Q1002697'}, {'concept': 'Q21114848'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { FILTER ( ?s <= 416 ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?z WHERE { ?i rdf:type ?h . VALUES ( ?h ) { ( ontology:Q1002697 ) ( ontology:Q21114848 ) } } GROUP BY ?z } }
Lausanne Godalming Crickhowell Eppegem Mikkeli Bad Rappenau Toronto Tremadog Luanda Turku Belgrade Norwich Kemi Szczecin Mühlacker Uppsala Hellerup Daytona Beach Yaoundé Schleswig Mineola Jena Berkeley Las Palmas de Gran Canaria Tiberias Pisa Fribourg Glasgow Athol Zaragoza Crumlin Salt Lake City Nice New Delhi Bilbao Swansea Bonn Palermo Grenoble Straume Málaga Cardiff Gävle Haarlem Ávila Soria Nampula Cádiz Segovia Gloucester Helsinki Reims Stockholm Stuttgart Groningen Ourense Paris Burbank Mariehamn Liège Victoria Toulouse Ottawa Wilmington Minden Charleroi Lisbon Melilla Bath Antwerp Cologne Toledo Tiraspol Seinäjoki Pontevedra Düsseldorf Leiden Valencia Lugo Granada Elverum Alcones Caernarfon Montevideo Petrozavodsk Harstad Busto Arsizio Rovaniemi Lahti St Athan Mérida Joensuu Logroño Pori Marbella Santa Cruz de Tenerife Nauvoo Seattle Athens Mexico City Torquay Rhyl Algiers Norman Istanbul Bangor Garden City Rio de Janeiro Badalona Milan Indianapolis Turin Florence Yekaterinburg Warsaw Cape Town Halifax Norwalk Edinburgh Jakobstad Halle (Saale) Ciudad Real Minsk Kuopio Melbourne Bend Zürich Thessaloniki Tokyo Mold Vitebsk Vatican City Singapore Brussels Austin Denver Houston Dallas Pensacola Versailles Shanghai Tbilisi Nagpur Sydney Boulder Ghent Chicago Göttingen Tonbridge Havana Chester Colombo Copenhagen Coimbra Alexandria London Porto Alegre Milborne Port Welshpool Buda Adelaide Bochum Vienna Poughkeepsie Fátima Alicante Almaty Mjölby Basel Cambridge Geneva Edinburgh Auckland St. Louis Aberdeen Warsaw New Glasgow, Nova Scotia Dolgellau Cáceres Bracon Ash Lexington Perth Winchester Budapest Tel Aviv Bradenton Columbus Bangkok Vitoria-Gasteiz Santiago de Compostela Baltimore Lleida Jyväskylä Beijing Albacete Cuenca Barcelona Ljubljana Vigo Bordeaux Metro Manila 's-Hertogenbosch Brooklyn Corbin Sabadell Hämeenlinna Westport, County Mayo Nuremberg Madrid New Haven Olympia Levoča Rockville Murcia Bristol Rome Montreal Quimper Pamplona Dordrecht Sereď Barmouth Sunderland Padua Conwy Sofia Yangon Irkutsk Livorno Concord Messina Białystok Burgos Königstein im Taunus Naples Valladolid Nový Jičín Worcester Ylivieska Munich Saarbrücken Huesca Erfurt Seville Bari Berlin Los Angeles Santa Cruz Kokkola Verona Washington, D.C. San Francisco Kidwelly Savonlinna Manchester Maputo Winterthur Córdoba Taipei Kouvola Detroit Tashkent Herning Prostějov Tangier Chennai Chepstow Durham Little Rock Christchurch Ostrava Dubuque Vicenza Portland Saint-Idesbald Donostia/San Sebastián Portsmouth Dortmund Harpenden Rennes Venice Porvoo Amsterdam Moscow Mo i Rana Newtown Hereford Cheltenham Ulm Liverpool León Ferrol Zamora Salamanca The Dalles Saint Paul Denton Tarragona Alta Waterville Athens Łódź Preveza Kajaani Oslo A Coruña Rotterdam Oulu Montvale Kotka Novosibirsk Chichester Nottingham Montpellier Vaasa Essen Jerez de la Frontera Boston Monmouth Konstanz Olomouc Tampere Glasgow Englewood Cliffs, New Jersey Ann Arbor Bergen Voronezh Belfast Imatra Lappeenranta Lille Orihuela Santander Toronto Vilnius Estella-Lizarra Cambridge Kanhangad Tartu Jaffna Palma Galway Greenwich Kolkata Canterbury Spangenberg Bletchley Teruel Johannesburg Prague
350
action count
action atmost
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
value 416
[[{'concept': 'periodical literature'}, {'concept': 'magazine genre'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { FILTER ( ?s <= 416 ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?z WHERE { ?i rdf:type ?h . VALUES ( ?h ) { ( ontology:periodical_literature ) ( ontology:magazine_genre ) } } GROUP BY ?z } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q54545 Q966542
P1346
Q2312410
USER
Which sport disciplines were Roberto Bautista Agut or Martina Navratilova decalred as a champion of ?
OR((c(Q2312410),P1346,Q966542), (c(Q2312410),P1346,Q54545))
action filter_type
action union
action find_reverse
entity Q966542
relation P1346
action find_reverse
entity Q54545
relation P1346
type Q2312410
{'OR': [[{'concept': 'Q2312410'}, 'P1346', 'Q966542'], [{'concept': 'Q2312410'}, 'P1346', 'Q54545']]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?d ) { ( resource:Q966542 ) ( resource:Q54545 ) } . ?s property:P1346 ?d } . ?s rdf:type ontology:Q2312410 }
Martina Navratilova Roberto Bautista Agut
action filter_type
action union
action find_reverse
entity Roberto Bautista Agut
relation winner
action find_reverse
entity Martina Navratilova
relation winner
type sport discipline
{'OR': [[{'concept': 'sport discipline'}, 'winner', 'Roberto Bautista Agut'], [{'concept': 'sport discipline'}, 'winner', 'Martina Navratilova']]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?d ) { ( resource:Roberto_Bautista_Agut ) ( resource:Martina_Navratilova ) } . ?s property:winner ?d } . ?s rdf:type ontology:sport_discipline }
[]
sport discipline
Q1150062 Q1774657 Q1189916 Q592563 Q1419232 Q1191092 Q385554 Q1191076 Q944770 Q369181
SYSTEM
Some of them are 1995 Wimbledon Championships – Mixed Doubles, 1984 US Open – Women's Singles, 1983 Wimbledon Championships – Women's Singles, 1981 Australian Open – Women's Singles, 1983 US Open – Women's Singles, 1982 Wimbledon Championships – Women's Singles, 1984 French Open – Women's Singles, 1979 Wimbledon Championships – Women's Singles, 1986 Wimbledon Championships – Women's Singles, 1987 Wimbledon Championships – Women's Singles
Q1191076 Q937546 Q592563 Q1191040 Q17183630 Q1189916 Q1150062 Q1419232 Q385554 Q781853 Q1774657 Q1669913 Q1455363 Q944770 Q1191036 Q221630 Q1191092 Q1189922 Q600534 Q369181 Q2300052
OR((c(Q2312410),P1346,Q966542), (c(Q2312410),P1346,Q54545))
action filter_type
action union
action find_reverse
entity Q966542
relation P1346
action find_reverse
entity Q54545
relation P1346
type Q2312410
[ANSWERS] were Roberto Bautista Agut or Martina Navratilova decalred as a champion of
{'OR': [[{'concept': 'Q2312410'}, 'P1346', 'Q966542'], [{'concept': 'Q2312410'}, 'P1346', 'Q54545']]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?d ) { ( resource:Q966542 ) ( resource:Q54545 ) } . ?s property:P1346 ?d } . ?s rdf:type ontology:Q2312410 }
1979 Wimbledon Championships – Women's Singles 1985 Wimbledon Championships – Women's Singles 1981 Australian Open – Women's Singles 1990 Wimbledon Championships – Women's Singles 2014 Topshelf Open – Men's Singles 1983 Wimbledon Championships – Women's Singles 1995 Wimbledon Championships – Mixed Doubles 1983 US Open – Women's Singles 1984 French Open – Women's Singles 1983 Australian Open – Women's Singles 1984 US Open – Women's Singles 1986 US Open – Women's Singles 1984 French Open – Women's Doubles 1986 Wimbledon Championships – Women's Singles 1984 Wimbledon Championships – Women's Singles 1985 Australian Open – Women's Singles 1982 Wimbledon Championships – Women's Singles 1978 Wimbledon Championships – Women's Singles 1982 French Open – Women's Singles 1987 Wimbledon Championships – Women's Singles 1987 US Open – Women's Singles
1995 Wimbledon Championships – Mixed Doubles, 1984 US Open – Women's Singles, 1983 Wimbledon Championships – Women's Singles, 1981 Australian Open – Women's Singles, 1983 US Open – Women's Singles, 1982 Wimbledon Championships – Women's Singles, 1984 French Open – Women's Singles, 1979 Wimbledon Championships – Women's Singles, 1986 Wimbledon Championships – Women's Singles and 1987 Wimbledon Championships – Women's Singles were Roberto Bautista Agut or Martina Navratilova decalred as a champion of
1995 Wimbledon Championships – Mixed Doubles 1984 US Open – Women's Singles 1983 Wimbledon Championships – Women's Singles 1981 Australian Open – Women's Singles 1983 US Open – Women's Singles 1982 Wimbledon Championships – Women's Singles 1984 French Open – Women's Singles 1979 Wimbledon Championships – Women's Singles 1986 Wimbledon Championships – Women's Singles 1987 Wimbledon Championships – Women's Singles
action filter_type
action union
action find_reverse
entity Roberto Bautista Agut
relation winner
action find_reverse
entity Martina Navratilova
relation winner
type sport discipline
{'OR': [[{'concept': 'sport discipline'}, 'winner', 'Roberto Bautista Agut'], [{'concept': 'sport discipline'}, 'winner', 'Martina Navratilova']]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?d ) { ( resource:Roberto_Bautista_Agut ) ( resource:Martina_Navratilova ) } . ?s property:winner ?d } . ?s rdf:type ontology:sport_discipline }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3703722
P361
Q15259995 Q2312410
USER
Which recurring tournaments are greater number of sport disciplines a component of than 1999 Davidoff Swiss Indoors ?
(c(Q2312410),P361,c(Q15259995))
action greater
action find_reverse_tuple_counts
relation P361
type Q15259995
type Q2312410
action count
action filter_type
action find
entity Q3703722
relation P361
type Q15259995
[{'concept': 'Q2312410'}, 'P361', {'concept': 'Q15259995'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:P361 ?h . ?h rdf:type ontology:Q15259995 . ?n rdf:type ontology:Q2312410 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { ?f rdf:type ontology:Q15259995 . resource:Q3703722 property:P361 ?f } } . FILTER ( ?i > ?g ) }
1999 Davidoff Swiss Indoors
action greater
action find_reverse_tuple_counts
relation part of
type recurring tournament
type sport discipline
action count
action filter_type
action find
entity 1999 Davidoff Swiss Indoors
relation part of
type recurring tournament
[{'concept': 'sport discipline'}, 'part of', {'concept': 'recurring tournament'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:part_of ?h . ?h rdf:type ontology:recurring_tournament . ?n rdf:type ontology:sport_discipline } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { ?f rdf:type ontology:recurring_tournament . resource:1999_Davidoff_Swiss_Indoors property:part_of ?f } } . FILTER ( ?i > ?g ) }
[]
recurring tournament sport discipline
Q18702354 Q23766564 Q18702244
SYSTEM
2015 Grand Prix SAR La Princesse Lalla Meryem, 2016 İstanbul Cup, 2015 Internationaux de Strasbourg
Q23899624 Q18702354 Q661505 Q23766564 Q19826723 Q18702244 Q18589152 Q3114174 Q23899355 Q8275886 Q18129372 Q15991343 Q23039323 Q18639798 Q17319203 Q22924403
(c(Q2312410),P361,c(Q15259995))
action greater
action find_reverse_tuple_counts
relation P361
type Q15259995
type Q2312410
action count
action filter_type
action find
entity Q3703722
relation P361
type Q15259995
[ANSWERS] are greater number of sport disciplines a component of than 1999 Davidoff Swiss Indoors
[{'concept': 'Q2312410'}, 'P361', {'concept': 'Q15259995'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:P361 ?h . ?h rdf:type ontology:Q15259995 . ?n rdf:type ontology:Q2312410 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { ?f rdf:type ontology:Q15259995 . resource:Q3703722 property:P361 ?f } } . FILTER ( ?i > ?g ) }
2016 J&T Banka Prague Open 2015 Grand Prix SAR La Princesse Lalla Meryem 2008 BNP Paribas Masters 2016 İstanbul Cup 2015 J&T Banka Prague Open 2015 Internationaux de Strasbourg 2015 Monterrey Open 1996 Porsche Tennis Grand Prix 2016 Grand Prix SAR La Princesse Lalla Meryem 2013 BNP Paribas Katowice Open 2015 WTA Finals 2014 BNP Paribas Katowice Open 2016 Katowice Open 2015 Katowice Open 2014 Swedish Open (men) 2016 Monterrey Open
2015 Grand Prix SAR La Princesse Lalla Meryem, 2016 İstanbul Cup and 2015 Internationaux de Strasbourg are greater number of sport disciplines a component of than 1999 Davidoff Swiss Indoors
2015 Grand Prix SAR La Princesse Lalla Meryem 2016 İstanbul Cup 2015 Internationaux de Strasbourg
action greater
action find_reverse_tuple_counts
relation part of
type recurring tournament
type sport discipline
action count
action filter_type
action find
entity 1999 Davidoff Swiss Indoors
relation part of
type recurring tournament
[{'concept': 'sport discipline'}, 'part of', {'concept': 'recurring tournament'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:part_of ?h . ?h rdf:type ontology:recurring_tournament . ?n rdf:type ontology:sport_discipline } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { ?f rdf:type ontology:recurring_tournament . resource:1999_Davidoff_Swiss_Indoors property:part_of ?f } } . FILTER ( ?i > ?g ) }
[]