Simple Question (Direct)
Simple Question
Q1212311
P641
Q349
USER
Which sport was Lajos Máriássy a part of ?
(Q1212311,P641,c(Q349))
action filter_type
action find
entity Q1212311
relation P641
type Q349
['Q1212311', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q349 . resource:Q1212311 property:P641 ?x }
Lajos Máriássy
action filter_type
action find
entity Lajos Máriássy
relation sport
type sport
['Lajos Máriássy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sport . resource:Lajos_Máriássy property:sport ?x }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1212311,P641,c(Q349))
action filter_type
action find
entity Q1212311
relation P641
type Q349
The [ANSWER] was Lajos Máriássy a part of
['Q1212311', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q349 . resource:Q1212311 property:P641 ?x }
association football
The association football was Lajos Máriássy a part of
association football
action filter_type
action find
entity Lajos Máriássy
relation sport
type sport
['Lajos Máriássy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sport . resource:Lajos_Máriássy property:sport ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1212311
P19
Q56061
USER
Where was that person born ?
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q1212311
relation P19
type Q56061
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q1212311 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Lajos Máriássy
action filter_type
action find
entity Lajos Máriássy
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Lajos_Máriássy property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q267888
SYSTEM
Rožňava
Q267888
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q1212311
relation P19
type Q56061
That person was born in [ANSWER]
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q1212311 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Rožňava
That person was born in Rožňava
Rožňava
action filter_type
action find
entity Lajos Máriássy
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Lajos_Máriássy property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q267888 Q468439
P19
Q502895
USER
Does Jana Velďáková have place of birth as that administrative territory ?
(Q468439,P19,Q267888)
action is_in
entity Q267888
action find
entity Q468439
relation P19
['Q468439', 'P19', 'Q267888']
ASK WHERE { resource:Q468439 property:P19 resource:Q267888 }
Rožňava Jana Velďáková
action is_in
entity Rožňava
action find
entity Jana Velďáková
relation place of birth
['Jana Velďáková', 'place of birth', 'Rožňava']
ASK WHERE { resource:Jana_Velďáková property:place_of_birth resource:Rožňava }
[]
common name
SYSTEM
YES
(Q468439,P19,Q267888)
action is_in
entity Q267888
action find
entity Q468439
relation P19
[ANSWER]
['Q468439', 'P19', 'Q267888']
ASK WHERE { resource:Q468439 property:P19 resource:Q267888 }
Yes
action is_in
entity Rožňava
action find
entity Jana Velďáková
relation place of birth
['Jana Velďáková', 'place of birth', 'Rožňava']
ASK WHERE { resource:Jana_Velďáková property:place_of_birth resource:Rožňava }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q267888
P20
Q502895
USER
Who died in that administrative territory ?
action filter_type
action find_reverse
entity Q267888
relation P20
type Q502895
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P20 resource:Q267888 }
Rožňava
action filter_type
action find_reverse
entity Rožňava
relation place of death
type common name
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:place_of_death resource:Rožňava }
[]
common name
Q12766542 Q20109778 Q867134
SYSTEM
Gustáv Staník, Gyula Tichy, András Cházár
Q20109778 Q867134 Q12766542 Q754763 Q12775551
action filter_type
action find_reverse
entity Q267888
relation P20
type Q502895
[ANSWERS] died in that administrative territory
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P20 resource:Q267888 }
Gyula Tichy András Cházár Gustáv Staník Andreas Jaszlinszky Rudolf Hažlinský
Gustáv Staník, Gyula Tichy and András Cházár died in that administrative territory
Gustáv Staník Gyula Tichy András Cházár
action filter_type
action find_reverse
entity Rožňava
relation place of death
type common name
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:place_of_death resource:Rožňava }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P110
Q502895 Q234460 Q2342494
USER
How many people did the illustration of atleast 30 texts and collectables ?
(c(Q234460)|c(Q2342494),P110,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
value 30
[[{'concept': 'Q234460'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?y ) WHERE { VALUES ( ?v ) { ( ontology:Q234460 ) ( ontology:Q2342494 ) } . ?f rdf:type ?v } GROUP BY ?j } . FILTER ( ?y >= 30 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type text
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
value 30
[[{'concept': 'text'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?y ) WHERE { VALUES ( ?v ) { ( ontology:text ) ( ontology:collectable ) } . ?f rdf:type ?v } GROUP BY ?j } . FILTER ( ?y >= 30 ) }
[]
common name text collectable
SYSTEM
3
Q2831042 Q239144 Q45111
(c(Q234460)|c(Q2342494),P110,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
value 30
[ANSWER]
[[{'concept': 'Q234460'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?y ) WHERE { VALUES ( ?v ) { ( ontology:Q234460 ) ( ontology:Q2342494 ) } . ?f rdf:type ?v } GROUP BY ?j } . FILTER ( ?y >= 30 ) }
Albert Chazelle Sidney Paget John R. Neill
3
action count
action atleast
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type text
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
value 30
[[{'concept': 'text'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?y ) WHERE { VALUES ( ?v ) { ( ontology:text ) ( ontology:collectable ) } . ?f rdf:type ?v } GROUP BY ?j } . FILTER ( ?y >= 30 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q267888
P17
Q15617994
USER
Which administrative territory is Rožňava a part of ?
(Q267888,P17,c(Q15617994))
action filter_type
action find
entity Q267888
relation P17
type Q15617994
['Q267888', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q267888 property:P17 ?v }
Rožňava
action filter_type
action find
entity Rožňava
relation country
type designation for an administrative territorial entity
['Rožňava', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Rožňava property:country ?v }
[]
designation for an administrative territorial entity
Q214
SYSTEM
Slovakia
Q214
(Q267888,P17,c(Q15617994))
action filter_type
action find
entity Q267888
relation P17
type Q15617994
[ANSWER] is Rožňava a part of
['Q267888', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q267888 property:P17 ?v }
Slovakia
Slovakia is Rožňava a part of
Slovakia
action filter_type
action find
entity Rožňava
relation country
type designation for an administrative territorial entity
['Rožňava', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Rožňava property:country ?v }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5242031
Q15617994
USER
And how about Davisville Historic District?
(Q5242031,P17,c(Q15617994))
action filter_type
action find
entity Q5242031
relation P17
type Q15617994
['Q5242031', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q5242031 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Davisville Historic District
action filter_type
action find
entity Davisville Historic District
relation country
type designation for an administrative territorial entity
['Davisville Historic District', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Davisville_Historic_District property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5242031,P17,c(Q15617994))
action filter_type
action find
entity Q5242031
relation P17
type Q15617994
[ANSWER]
['Q5242031', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q5242031 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Davisville Historic District
relation country
type designation for an administrative territorial entity
['Davisville Historic District', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Davisville_Historic_District property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q2926025
P1408
Q4830453
USER
How many business enterprises are licensed to broadcast to United States of America or Brompton, Quebec ?
(c(Q4830453),P1408,Q30) (c(Q4830453),P1408,Q2926025)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P1408
type Q4830453
action filter_type
action find_reverse
entity Q2926025
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q30'] [{'concept': 'Q4830453'}, 'P1408', 'Q2926025']
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { VALUES ( ?r ) { ( resource:Q30 ) ( resource:Q2926025 ) } . ?o property:P1408 ?r }
United States of America Brompton, Quebec
action count
action union
action filter_type
action find_reverse
entity United States of America
relation licensed to broadcast to
type business enterprise
action filter_type
action find_reverse
entity Brompton, Quebec
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'United States of America'] [{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Brompton, Quebec']
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { VALUES ( ?r ) { ( resource:United_States_of_America ) ( resource:Brompton,_Quebec ) } . ?o property:licensed_to_broadcast_to ?r }
[]
business enterprise
SYSTEM
2
Q5012179 Q43380
(c(Q4830453),P1408,Q30) (c(Q4830453),P1408,Q2926025)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P1408
type Q4830453
action filter_type
action find_reverse
entity Q2926025
relation P1408
type Q4830453
[ANSWER]
[{'concept': 'Q4830453'}, 'P1408', 'Q30'] [{'concept': 'Q4830453'}, 'P1408', 'Q2926025']
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { VALUES ( ?r ) { ( resource:Q30 ) ( resource:Q2926025 ) } . ?o property:P1408 ?r }
CJRF-FM CBS
2
action count
action union
action filter_type
action find_reverse
entity United States of America
relation licensed to broadcast to
type business enterprise
action filter_type
action find_reverse
entity Brompton, Quebec
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'United States of America'] [{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Brompton, Quebec']
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { VALUES ( ?r ) { ( resource:United_States_of_America ) ( resource:Brompton,_Quebec ) } . ?o property:licensed_to_broadcast_to ?r }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories holds diplomatic relationship with atmost 25 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 25
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?p ) WHERE { ?c property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1048835 } GROUP BY ?c } . FILTER ( ?p <= 25 ) }
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 25
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?p ) WHERE { ?c property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?c } . FILTER ( ?p <= 25 ) }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q40 Q664
SYSTEM
Denmark, Austria, New Zealand
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 25
[ANSWERS] hold diplomatic relationship with atmost 25 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?p ) WHERE { ?c property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1048835 } GROUP BY ?c } . FILTER ( ?p <= 25 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
Denmark, Austria and New Zealand hold diplomatic relationship with atmost 25 administrative territories
Denmark Austria New Zealand
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 25
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?p ) WHERE { ?c property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?c } . FILTER ( ?p <= 25 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1009
P530
Q15617994 Q1048835
USER
Which administrative territories holds diplomatic relationship with more number of political territories than Cameroon ?
(c(Q1048835),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q1009
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?l ) WHERE { ?y property:P530 ?z . ?y rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Q1009 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?l > ?u ) }
Cameroon
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 Cameroon
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 ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?l ) WHERE { ?y property:diplomatic_relation ?z . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Cameroon property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l > ?u ) }
[]
designation for an administrative territorial entity political territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q142 Q145 Q711 Q252 Q403 Q258 Q159 Q43 Q155 Q884 Q33 Q30 Q36 Q34 Q39 Q38 Q739 Q423 Q851 Q20 Q843 Q1029 Q229 Q1030 Q115 Q114 Q212 Q218 Q833 Q79 Q77 Q878 Q953
(c(Q1048835),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q1009
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with more number of political territories than Cameroon
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?l ) WHERE { ?y property:P530 ?z . ?y rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Q1009 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?l > ?u ) }
Israel France United Kingdom Mongolia Indonesia Serbia South Africa Russia Turkey Brazil South Korea Finland United States of America Poland Sweden Switzerland Italy Colombia North Korea Saudi Arabia Norway Pakistan Mozambique Cyprus Namibia Ethiopia Kenya Ukraine Romania Malaysia Egypt Uruguay United Arab Emirates Zambia
Italy, Brazil and United States of America hold diplomatic relationship with more number of political territories than Cameroon
Italy Brazil United States of America
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 Cameroon
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 ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?l ) WHERE { ?y property:diplomatic_relation ?z . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Cameroon property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l > ?u ) }
[]