Simple Question (Direct)
Simple Question
Q888443
P106
Q12737077
USER
What is the job of Eddie Calvo ?
(Q888443,P106,c(Q12737077))
action filter_type
action find
entity Q888443
relation P106
type Q12737077
['Q888443', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q888443 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Eddie Calvo
action filter_type
action find
entity Eddie Calvo
relation occupation
type occupation
['Eddie Calvo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Eddie_Calvo property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q888443,P106,c(Q12737077))
action filter_type
action find
entity Q888443
relation P106
type Q12737077
The job of Eddie Calvo is a [ANSWER]
['Q888443', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q888443 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
politician
The job of Eddie Calvo is a politician
politician
action filter_type
action find
entity Eddie Calvo
relation occupation
type occupation
['Eddie Calvo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Eddie_Calvo property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q888443
P19
Q56061
USER
Which administrative territory is the birthplace of Eddie Calvo ?
(Q888443,P19,c(Q56061))
action filter_type
action find
entity Q888443
relation P19
type Q56061
['Q888443', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q888443 property:P19 ?l }
Eddie Calvo
action filter_type
action find
entity Eddie Calvo
relation place of birth
type administrative territorial entity
['Eddie Calvo', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Eddie_Calvo property:place_of_birth ?l }
[]
administrative territorial entity
Q933714
SYSTEM
Tamuning
Q933714
(Q888443,P19,c(Q56061))
action filter_type
action find
entity Q888443
relation P19
type Q56061
[ANSWER] is the birthplace of Eddie Calvo
['Q888443', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q888443 property:P19 ?l }
Tamuning
Tamuning is the birthplace of Eddie Calvo
Tamuning
action filter_type
action find
entity Eddie Calvo
relation place of birth
type administrative territorial entity
['Eddie Calvo', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Eddie_Calvo property:place_of_birth ?l }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7441525
Q56061
USER
And how about Sean Welsh?
(Q7441525,P19,c(Q56061))
action filter_type
action find
entity Q7441525
relation P19
type Q56061
['Q7441525', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q7441525 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Sean Welsh
action filter_type
action find
entity Sean Welsh
relation place of birth
type administrative territorial entity
['Sean Welsh', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Sean_Welsh property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q23436
SYSTEM
Edinburgh
Q23436
(Q7441525,P19,c(Q56061))
action filter_type
action find
entity Q7441525
relation P19
type Q56061
[ANSWER]
['Q7441525', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q7441525 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Edinburgh
Edinburgh
action filter_type
action find
entity Sean Welsh
relation place of birth
type administrative territorial entity
['Sean Welsh', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Sean_Welsh property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q64 Q23436
P915
Q838948
USER
Which works of art were filmed at Edinburgh and Berlin ?
AND((c(Q838948),P915,Q23436), (c(Q838948),P915,Q64))
action filter_type
action intersection
action find_reverse
entity Q23436
relation P915
action find_reverse
entity Q64
relation P915
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P915', 'Q23436'], [{'concept': 'Q838948'}, 'P915', 'Q64']]}
SELECT DISTINCT ?z WHERE { ?z property:P915 resource:Q23436 . ?z property:P915 resource:Q64 . ?z rdf:type ontology:Q838948 }
Berlin Edinburgh
action filter_type
action intersection
action find_reverse
entity Edinburgh
relation filming location
action find_reverse
entity Berlin
relation filming location
type work of art
{'AND': [[{'concept': 'work of art'}, 'filming location', 'Edinburgh'], [{'concept': 'work of art'}, 'filming location', 'Berlin']]}
SELECT DISTINCT ?z WHERE { ?z property:filming_location resource:Edinburgh . ?z property:filming_location resource:Berlin . ?z rdf:type ontology:work_of_art }
[]
work of art
Q28936
SYSTEM
Cloud Atlas
Q28936
AND((c(Q838948),P915,Q23436), (c(Q838948),P915,Q64))
action filter_type
action intersection
action find_reverse
entity Q23436
relation P915
action find_reverse
entity Q64
relation P915
type Q838948
The [ANSWER] was filmed at Edinburgh and Berlin
{'AND': [[{'concept': 'Q838948'}, 'P915', 'Q23436'], [{'concept': 'Q838948'}, 'P915', 'Q64']]}
SELECT DISTINCT ?z WHERE { ?z property:P915 resource:Q23436 . ?z property:P915 resource:Q64 . ?z rdf:type ontology:Q838948 }
Cloud Atlas
The Cloud Atlas was filmed at Edinburgh and Berlin
Cloud Atlas
action filter_type
action intersection
action find_reverse
entity Edinburgh
relation filming location
action find_reverse
entity Berlin
relation filming location
type work of art
{'AND': [[{'concept': 'work of art'}, 'filming location', 'Edinburgh'], [{'concept': 'work of art'}, 'filming location', 'Berlin']]}
SELECT DISTINCT ?z WHERE { ?z property:filming_location resource:Edinburgh . ?z property:filming_location resource:Berlin . ?z rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q28936 Q21457944 Q6551461
P161
Q502895
USER
Does Cloud Atlas star Stephen Bullock and Linda Cheesman as actor ?
(Q28936,P161,Q21457944) (Q28936,P161,Q6551461)
action is_in
entity Q28936
action intersection
action find_reverse
entity Q21457944
relation P161
action find_reverse
entity Q6551461
relation P161
['Q28936', 'P161', 'Q21457944'] ['Q28936', 'P161', 'Q6551461']
ASK WHERE { resource:Q28936 property:P161 resource:Q6551461 . resource:Q28936 property:P161 resource:Q21457944 }
Cloud Atlas Stephen Bullock Linda Cheesman
action is_in
entity Cloud Atlas
action intersection
action find_reverse
entity Stephen Bullock
relation cast member
action find_reverse
entity Linda Cheesman
relation cast member
['Cloud Atlas', 'cast member', 'Stephen Bullock'] ['Cloud Atlas', 'cast member', 'Linda Cheesman']
ASK WHERE { resource:Cloud_Atlas property:cast_member resource:Linda_Cheesman . resource:Cloud_Atlas property:cast_member resource:Stephen_Bullock }
[]
common name
SYSTEM
NO
(Q28936,P161,Q21457944) (Q28936,P161,Q6551461)
action is_in
entity Q28936
action intersection
action find_reverse
entity Q21457944
relation P161
action find_reverse
entity Q6551461
relation P161
[ANSWER]
['Q28936', 'P161', 'Q21457944'] ['Q28936', 'P161', 'Q6551461']
ASK WHERE { resource:Q28936 property:P161 resource:Q6551461 . resource:Q28936 property:P161 resource:Q21457944 }
No
action is_in
entity Cloud Atlas
action intersection
action find_reverse
entity Stephen Bullock
relation cast member
action find_reverse
entity Linda Cheesman
relation cast member
['Cloud Atlas', 'cast member', 'Stephen Bullock'] ['Cloud Atlas', 'cast member', 'Linda Cheesman']
ASK WHERE { resource:Cloud_Atlas property:cast_member resource:Linda_Cheesman . resource:Cloud_Atlas property:cast_member resource:Stephen_Bullock }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q888443 Q3490138 Q29468
P102
Q7210356
USER
Does Eddie Calvo belong to the political party named Federation of The Greens–Green Left and Republican Party ?
(Q888443,P102,Q3490138) (Q888443,P102,Q29468)
action is_in
entity Q888443
action intersection
action find_reverse
entity Q3490138
relation P102
action find_reverse
entity Q29468
relation P102
['Q888443', 'P102', 'Q3490138'] ['Q888443', 'P102', 'Q29468']
ASK WHERE { resource:Q888443 property:P102 resource:Q3490138 . resource:Q888443 property:P102 resource:Q29468 }
Eddie Calvo Federation of The Greens–Green Left Republican Party
action is_in
entity Eddie Calvo
action intersection
action find_reverse
entity Federation of The Greens–Green Left
relation member of political party
action find_reverse
entity Republican Party
relation member of political party
['Eddie Calvo', 'member of political party', 'Federation of The Greens–Green Left'] ['Eddie Calvo', 'member of political party', 'Republican Party']
ASK WHERE { resource:Eddie_Calvo property:member_of_political_party resource:Federation_of_The_Greens–Green_Left . resource:Eddie_Calvo property:member_of_political_party resource:Republican_Party }
[]
political organization
SYSTEM
NO and YES respectively
(Q888443,P102,Q3490138) (Q888443,P102,Q29468)
action is_in
entity Q888443
action intersection
action find_reverse
entity Q3490138
relation P102
action find_reverse
entity Q29468
relation P102
[ANSWER]
['Q888443', 'P102', 'Q3490138'] ['Q888443', 'P102', 'Q29468']
ASK WHERE { resource:Q888443 property:P102 resource:Q3490138 . resource:Q888443 property:P102 resource:Q29468 }
NO and YES respectively
action is_in
entity Eddie Calvo
action intersection
action find_reverse
entity Federation of The Greens–Green Left
relation member of political party
action find_reverse
entity Republican Party
relation member of political party
['Eddie Calvo', 'member of political party', 'Federation of The Greens–Green Left'] ['Eddie Calvo', 'member of political party', 'Republican Party']
ASK WHERE { resource:Eddie_Calvo property:member_of_political_party resource:Federation_of_The_Greens–Green_Left . resource:Eddie_Calvo property:member_of_political_party resource:Republican_Party }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q23436 Q794351
P190
Q515
USER
How many cities are partner towns of Edinburgh or Beykoz ?
(Q23436,P190,c(Q515)) (Q794351,P190,c(Q515))
action count
action union
action filter_type
action find
entity Q23436
relation P190
type Q515
action filter_type
action find
entity Q794351
relation P190
type Q515
['Q23436', 'P190', {'concept': 'Q515'}] ['Q794351', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { VALUES ( ?x ) { ( resource:Q23436 ) ( resource:Q794351 ) } . ?x property:P190 ?s }
Edinburgh Beykoz
action count
action union
action filter_type
action find
entity Edinburgh
relation sister city
type city
action filter_type
action find
entity Beykoz
relation sister city
type city
['Edinburgh', 'sister city', {'concept': 'city'}] ['Beykoz', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { VALUES ( ?x ) { ( resource:Edinburgh ) ( resource:Beykoz ) } . ?x property:sister_city ?s }
[]
city
SYSTEM
2
Q1899 Q320798
(Q23436,P190,c(Q515)) (Q794351,P190,c(Q515))
action count
action union
action filter_type
action find
entity Q23436
relation P190
type Q515
action filter_type
action find
entity Q794351
relation P190
type Q515
[ANSWER]
['Q23436', 'P190', {'concept': 'Q515'}] ['Q794351', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { VALUES ( ?x ) { ( resource:Q23436 ) ( resource:Q794351 ) } . ?x property:P190 ?s }
Kyiv Mohács
2
action count
action union
action filter_type
action find
entity Edinburgh
relation sister city
type city
action filter_type
action find
entity Beykoz
relation sister city
type city
['Edinburgh', 'sister city', {'concept': 'city'}] ['Beykoz', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { VALUES ( ?x ) { ( resource:Edinburgh ) ( resource:Beykoz ) } . ?x property:sister_city ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q28936
P144
Q2342494
USER
Which collectable does Cloud Atlas extend upon ?
(Q28936,P144,c(Q2342494))
action filter_type
action find
entity Q28936
relation P144
type Q2342494
['Q28936', 'P144', {'concept': 'Q2342494'}]
SELECT DISTINCT ?a WHERE { resource:Q28936 property:P144 ?a . ?a rdf:type ontology:Q2342494 }
Cloud Atlas
action filter_type
action find
entity Cloud Atlas
relation based on
type collectable
['Cloud Atlas', 'based on', {'concept': 'collectable'}]
SELECT DISTINCT ?a WHERE { resource:Cloud_Atlas property:based_on ?a . ?a rdf:type ontology:collectable }
[]
collectable
Q40205
SYSTEM
Cloud Atlas
Q40205
(Q28936,P144,c(Q2342494))
action filter_type
action find
entity Q28936
relation P144
type Q2342494
[ANSWER] extends the [ANSWER]
['Q28936', 'P144', {'concept': 'Q2342494'}]
SELECT DISTINCT ?a WHERE { resource:Q28936 property:P144 ?a . ?a rdf:type ontology:Q2342494 }
Cloud Atlas
Cloud Atlas extends the Cloud Atlas
Cloud Atlas
action filter_type
action find
entity Cloud Atlas
relation based on
type collectable
['Cloud Atlas', 'based on', {'concept': 'collectable'}]
SELECT DISTINCT ?a WHERE { resource:Cloud_Atlas property:based_on ?a . ?a rdf:type ontology:collectable }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19476471
Q2342494
USER
And how about Gweledigaethau y Bardd Cwsc?
(Q19476471,P144,c(Q2342494))
action filter_type
action find
entity Q19476471
relation P144
type Q2342494
['Q19476471', 'P144', {'concept': 'Q2342494'}]
SELECT DISTINCT ?h WHERE { resource:Q19476471 property:P144 ?h . ?h rdf:type ontology:Q2342494 }
Gweledigaethau y Bardd Cwsc
action filter_type
action find
entity Gweledigaethau y Bardd Cwsc
relation based on
type collectable
['Gweledigaethau y Bardd Cwsc', 'based on', {'concept': 'collectable'}]
SELECT DISTINCT ?h WHERE { resource:Gweledigaethau_y_Bardd_Cwsc property:based_on ?h . ?h rdf:type ontology:collectable }
[]
collectable
Q6683272
SYSTEM
Los Sueños
Q6683272
(Q19476471,P144,c(Q2342494))
action filter_type
action find
entity Q19476471
relation P144
type Q2342494
[ANSWER]
['Q19476471', 'P144', {'concept': 'Q2342494'}]
SELECT DISTINCT ?h WHERE { resource:Q19476471 property:P144 ?h . ?h rdf:type ontology:Q2342494 }
Los Sueños
Los Sueños
action filter_type
action find
entity Gweledigaethau y Bardd Cwsc
relation based on
type collectable
['Gweledigaethau y Bardd Cwsc', 'based on', {'concept': 'collectable'}]
SELECT DISTINCT ?h WHERE { resource:Gweledigaethau_y_Bardd_Cwsc property:based_on ?h . ?h rdf:type ontology:collectable }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q838948 Q2342494
USER
Which occupations were discussed in around 10 works of art or collectables ?
(c(Q838948)|c(Q2342494),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
value 10
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?i ) WHERE { ?j rdf:type ?v . VALUES ( ?v ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } GROUP BY ?f } . FILTER ( ?i = 10 ) }
action approx
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
value 10
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?i ) WHERE { ?j rdf:type ?v . VALUES ( ?v ) { ( ontology:work_of_art ) ( ontology:collectable ) } } GROUP BY ?f } . FILTER ( ?i = 10 ) }
[]
occupation work of art collectable
Q316070 Q131512 Q182436
SYSTEM
Fletcher Christian, farmer, librarian
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q16746569 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q838948)|c(Q2342494),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
value 10
[ANSWERS] were discussed in around 10 works of art or collectables
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?i ) WHERE { ?j rdf:type ?v . VALUES ( ?v ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } GROUP BY ?f } . FILTER ( ?i = 10 ) }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate taxi driver businessperson gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny high school student caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
Fletcher Christian, farmer and librarian were discussed in around 10 works of art or collectables
Fletcher Christian farmer librarian
action approx
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
value 10
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?i ) WHERE { ?j rdf:type ?v . VALUES ( ?v ) { ( ontology:work_of_art ) ( ontology:collectable ) } } GROUP BY ?f } . FILTER ( ?i = 10 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saints of around 1 occupation ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 1
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P417 ?w . ?w rdf:type ontology:Q502895 . ?h rdf:type ontology:Q12737077 } GROUP BY ?w } }
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 1
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:patron_saint ?w . ?w rdf:type ontology:common_name . ?h rdf:type ontology:occupation } GROUP BY ?w } }
[]
common name occupation
Q9438 Q60059 Q44281
SYSTEM
Thomas Aquinas, Albertus Magnus, Ignatius of Loyola
Q453698 Q152457 Q43689 Q163900 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q508214 Q9200 Q193507 Q463600 Q43669 Q40662 Q332656 Q320171 Q137947 Q80513 Q324700 Q44015 Q149727 Q232427 Q60059 Q17590 Q271474 Q276148
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 1
[ANSWERS] are the patron saints of around 1 occupation
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P417 ?w . ?w rdf:type ontology:Q502895 . ?h rdf:type ontology:Q12737077 } GROUP BY ?w } }
Saint Amand Saint Roch Ambrose Saint Francis Xavier Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Urban of Langres John the Apostle Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Charalampus
Thomas Aquinas, Albertus Magnus and Ignatius of Loyola are the patron saints of around 1 occupation
Thomas Aquinas Albertus Magnus Ignatius of Loyola
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 1
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:patron_saint ?w . ?w rdf:type ontology:common_name . ?h rdf:type ontology:occupation } GROUP BY ?w } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q7380055
P840
Q15617994
USER
How many administrative territories are Running the Sahara set in ?
(Q7380055,P840,c(Q15617994))
action count
action filter_type
action find
entity Q7380055
relation P840
type Q15617994
['Q7380055', 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { resource:Q7380055 property:P840 ?h . ?h rdf:type ontology:Q15617994 }
Running the Sahara
action count
action filter_type
action find
entity Running the Sahara
relation narrative location
type designation for an administrative territorial entity
['Running the Sahara', 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { resource:Running_the_Sahara property:narrative_location ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q79
(Q7380055,P840,c(Q15617994))
action count
action filter_type
action find
entity Q7380055
relation P840
type Q15617994
[ANSWER]
['Q7380055', 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { resource:Q7380055 property:P840 ?h . ?h rdf:type ontology:Q15617994 }
Egypt
1
action count
action filter_type
action find
entity Running the Sahara
relation narrative location
type designation for an administrative territorial entity
['Running the Sahara', 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { resource:Running_the_Sahara property:narrative_location ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q1346495
P840
Q15617994
USER
And how about SuperClásico?
(Q1346495,P840,c(Q15617994))
action count
action filter_type
action find
entity Q1346495
relation P840
type Q15617994
['Q1346495', 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { resource:Q1346495 property:P840 ?b . ?b rdf:type ontology:Q15617994 }
SuperClásico
action count
action filter_type
action find
entity SuperClásico
relation narrative location
type designation for an administrative territorial entity
['SuperClásico', 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { resource:SuperClásico property:narrative_location ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q414
(Q1346495,P840,c(Q15617994))
action count
action filter_type
action find
entity Q1346495
relation P840
type Q15617994
[ANSWER]
['Q1346495', 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { resource:Q1346495 property:P840 ?b . ?b rdf:type ontology:Q15617994 }
Argentina
1
action count
action filter_type
action find
entity SuperClásico
relation narrative location
type designation for an administrative territorial entity
['SuperClásico', 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { resource:SuperClásico property:narrative_location ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q4901992
Q15617994
USER
And what about Bhopal: Prayer for Rain?
(Q4901992,P840,c(Q15617994))
action count
action filter_type
action find
entity Q4901992
relation P840
type Q15617994
['Q4901992', 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Q4901992 property:P840 ?n . ?n rdf:type ontology:Q15617994 }
Bhopal: Prayer for Rain
action count
action filter_type
action find
entity Bhopal: Prayer for Rain
relation narrative location
type designation for an administrative territorial entity
['Bhopal: Prayer for Rain', 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Bhopal:_Prayer_for_Rain property:narrative_location ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q4901992,P840,c(Q15617994))
action count
action filter_type
action find
entity Q4901992
relation P840
type Q15617994
[ANSWER]
['Q4901992', 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Q4901992 property:P840 ?n . ?n rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Bhopal: Prayer for Rain
relation narrative location
type designation for an administrative territorial entity
['Bhopal: Prayer for Rain', 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Bhopal:_Prayer_for_Rain property:narrative_location ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P144
Q502895 Q5398426 Q838948
USER
Which people do max number of television series and works of art extend upon ?
(c(Q5398426)|c(Q838948),P144,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q5398426
action find_reverse_tuple_counts
relation P144
type Q502895
type Q838948
[[{'concept': 'Q5398426'}, {'concept': 'Q838948'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?n ) { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?a ) WHERE { { ?b property:P144 ?i . ?i rdf:type ontology:Q502895 . ?b rdf:type ontology:Q5398426 } UNION { ?b property:P144 ?i . ?i rdf:type ontology:Q502895 . ?b rdf:type ontology:Q838948 } } GROUP BY ?i } } . FILTER ( ?s = ?n ) . { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?s ) WHERE { ?v rdf:type ?h . VALUES ( ?h ) { ( ontology:Q5398426 ) ( ontology:Q838948 ) } } GROUP BY ?x } }
action argmax
action union
action find_reverse_tuple_counts
relation based on
type common name
type television series
action find_reverse_tuple_counts
relation based on
type common name
type work of art
[[{'concept': 'television series'}, {'concept': 'work of art'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?n ) { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?a ) WHERE { { ?b property:based_on ?i . ?i rdf:type ontology:common_name . ?b rdf:type ontology:television_series } UNION { ?b property:based_on ?i . ?i rdf:type ontology:common_name . ?b rdf:type ontology:work_of_art } } GROUP BY ?i } } . FILTER ( ?s = ?n ) . { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?s ) WHERE { ?v rdf:type ?h . VALUES ( ?h ) { ( ontology:television_series ) ( ontology:work_of_art ) } } GROUP BY ?x } }
[]
common name television series work of art
Q12014160 Q5968600
SYSTEM
Huh Young-man, Jeffrey Reddick
Q12014160 Q5968600
(c(Q5398426)|c(Q838948),P144,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q5398426
action find_reverse_tuple_counts
relation P144
type Q502895
type Q838948
[ANSWERS]
[[{'concept': 'Q5398426'}, {'concept': 'Q838948'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?n ) { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?a ) WHERE { { ?b property:P144 ?i . ?i rdf:type ontology:Q502895 . ?b rdf:type ontology:Q5398426 } UNION { ?b property:P144 ?i . ?i rdf:type ontology:Q502895 . ?b rdf:type ontology:Q838948 } } GROUP BY ?i } } . FILTER ( ?s = ?n ) . { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?s ) WHERE { ?v rdf:type ?h . VALUES ( ?h ) { ( ontology:Q5398426 ) ( ontology:Q838948 ) } } GROUP BY ?x } }
Huh Young-man Jeffrey Reddick
Which people max number of television series and works of art extend upon
Huh Young-man Jeffrey Reddick
action argmax
action union
action find_reverse_tuple_counts
relation based on
type common name
type television series
action find_reverse_tuple_counts
relation based on
type common name
type work of art
[[{'concept': 'television series'}, {'concept': 'work of art'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?n ) { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?a ) WHERE { { ?b property:based_on ?i . ?i rdf:type ontology:common_name . ?b rdf:type ontology:television_series } UNION { ?b property:based_on ?i . ?i rdf:type ontology:common_name . ?b rdf:type ontology:work_of_art } } GROUP BY ?i } } . FILTER ( ?s = ?n ) . { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?s ) WHERE { ?v rdf:type ?h . VALUES ( ?h ) { ( ontology:television_series ) ( ontology:work_of_art ) } } GROUP BY ?x } }
[]