Simple Question (Direct)
Simple Question
Q1623994
P6
Q502895
USER
Which person does Ardales serve as the head of government for ?
(Q1623994,P6,c(Q502895))
action filter_type
action find
entity Q1623994
relation P6
type Q502895
['Q1623994', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q1623994 property:P6 ?s . ?s rdf:type ontology:Q502895 }
Ardales
action filter_type
action find
entity Ardales
relation head of government
type common name
['Ardales', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Ardales property:head_of_government ?s . ?s rdf:type ontology:common_name }
[]
common name
Q14089207
SYSTEM
Juan Calderon Ramos
Q14089207
(Q1623994,P6,c(Q502895))
action filter_type
action find
entity Q1623994
relation P6
type Q502895
[ANSWER] Ardales serves as the head of government
['Q1623994', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q1623994 property:P6 ?s . ?s rdf:type ontology:Q502895 }
Juan Calderon Ramos
Juan Calderon Ramos Ardales serves as the head of government
Juan Calderon Ramos
action filter_type
action find
entity Ardales
relation head of government
type common name
['Ardales', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Ardales property:head_of_government ?s . ?s rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q14089207 Q29 Q545747
P27
Q15617994
USER
Is that person a citizen of Spain and Esgrus ?
(Q14089207,P27,Q29) (Q14089207,P27,Q545747)
action is_in
entity Q14089207
action intersection
action find_reverse
entity Q29
relation P27
action find_reverse
entity Q545747
relation P27
['Q14089207', 'P27', 'Q29'] ['Q14089207', 'P27', 'Q545747']
ASK WHERE { resource:Q14089207 property:P27 resource:Q29 . resource:Q14089207 property:P27 resource:Q545747 }
Juan Calderon Ramos Spain Esgrus
action is_in
entity Juan Calderon Ramos
action intersection
action find_reverse
entity Spain
relation country of citizenship
action find_reverse
entity Esgrus
relation country of citizenship
['Juan Calderon Ramos', 'country of citizenship', 'Spain'] ['Juan Calderon Ramos', 'country of citizenship', 'Esgrus']
ASK WHERE { resource:Juan_Calderon_Ramos property:country_of_citizenship resource:Spain . resource:Juan_Calderon_Ramos property:country_of_citizenship resource:Esgrus }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q14089207,P27,Q29) (Q14089207,P27,Q545747)
action is_in
entity Q14089207
action intersection
action find_reverse
entity Q29
relation P27
action find_reverse
entity Q545747
relation P27
[ANSWER]
['Q14089207', 'P27', 'Q29'] ['Q14089207', 'P27', 'Q545747']
ASK WHERE { resource:Q14089207 property:P27 resource:Q29 . resource:Q14089207 property:P27 resource:Q545747 }
YES and NO respectively
action is_in
entity Juan Calderon Ramos
action intersection
action find_reverse
entity Spain
relation country of citizenship
action find_reverse
entity Esgrus
relation country of citizenship
['Juan Calderon Ramos', 'country of citizenship', 'Spain'] ['Juan Calderon Ramos', 'country of citizenship', 'Esgrus']
ASK WHERE { resource:Juan_Calderon_Ramos property:country_of_citizenship resource:Spain . resource:Juan_Calderon_Ramos property:country_of_citizenship resource:Esgrus }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14089207
P106
Q12737077
USER
What is the profession of that person ?
action filter_type
action find
entity Q14089207
relation P106
type Q12737077
SELECT DISTINCT ?z WHERE { resource:Q14089207 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Juan Calderon Ramos
action filter_type
action find
entity Juan Calderon Ramos
relation occupation
type occupation
SELECT DISTINCT ?z WHERE { resource:Juan_Calderon_Ramos property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
action filter_type
action find
entity Q14089207
relation P106
type Q12737077
The profession of that person is a [ANSWER]
SELECT DISTINCT ?z WHERE { resource:Q14089207 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
politician
The profession of that person is a politician
politician
action filter_type
action find
entity Juan Calderon Ramos
relation occupation
type occupation
SELECT DISTINCT ?z WHERE { resource:Juan_Calderon_Ramos property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1623994 Q81931
P1313
Q12737077
USER
How many occupations are fulfilled by Ardales or Confederate States of America ?
(Q1623994,P1313,c(Q12737077)) (Q81931,P1313,c(Q12737077))
action count
action union
action filter_type
action find
entity Q1623994
relation P1313
type Q12737077
action filter_type
action find
entity Q81931
relation P1313
type Q12737077
['Q1623994', 'P1313', {'concept': 'Q12737077'}] ['Q81931', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?d property:P1313 ?p . VALUES ( ?d ) { ( resource:Q1623994 ) ( resource:Q81931 ) } }
Ardales Confederate States of America
action count
action union
action filter_type
action find
entity Ardales
relation office held by head of government
type occupation
action filter_type
action find
entity Confederate States of America
relation office held by head of government
type occupation
['Ardales', 'office held by head of government', {'concept': 'occupation'}] ['Confederate States of America', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?d property:office_held_by_head_of_government ?p . VALUES ( ?d ) { ( resource:Ardales ) ( resource:Confederate_States_of_America ) } }
[]
occupation
SYSTEM
2
Q1999471 Q26692441
(Q1623994,P1313,c(Q12737077)) (Q81931,P1313,c(Q12737077))
action count
action union
action filter_type
action find
entity Q1623994
relation P1313
type Q12737077
action filter_type
action find
entity Q81931
relation P1313
type Q12737077
[ANSWER]
['Q1623994', 'P1313', {'concept': 'Q12737077'}] ['Q81931', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?d property:P1313 ?p . VALUES ( ?d ) { ( resource:Q1623994 ) ( resource:Q81931 ) } }
President of the Confederate States of America mayor of Ardales
2
action count
action union
action filter_type
action find
entity Ardales
relation office held by head of government
type occupation
action filter_type
action find
entity Confederate States of America
relation office held by head of government
type occupation
['Ardales', 'office held by head of government', {'concept': 'occupation'}] ['Confederate States of America', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?d property:office_held_by_head_of_government ?p . VALUES ( ?d ) { ( resource:Ardales ) ( resource:Confederate_States_of_America ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q47144
P417
Q502895 Q12737077
USER
How many people are the patron saint of greater number of occupations than Linus ?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q47144
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:P417 ?b . ?b rdf:type ontology:Q502895 . ?n rdf:type ontology:Q12737077 } GROUP BY ?b } . FILTER ( ?x > ?j ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ontology:Q502895 . resource:Q47144 property:P417 ?d } } }
Linus
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Linus
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:patron_saint ?b . ?b rdf:type ontology:common_name . ?n rdf:type ontology:occupation } GROUP BY ?b } . FILTER ( ?x > ?j ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ontology:common_name . resource:Linus property:patron_saint ?d } } }
[]
common name occupation
SYSTEM
54
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q47144
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:P417 ?b . ?b rdf:type ontology:Q502895 . ?n rdf:type ontology:Q12737077 } GROUP BY ?b } . FILTER ( ?x > ?j ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ontology:Q502895 . resource:Q47144 property:P417 ?d } } }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Linus
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:patron_saint ?b . ?b rdf:type ontology:common_name . ?n rdf:type ontology:occupation } GROUP BY ?b } . FILTER ( ?x > ?j ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ontology:common_name . resource:Linus property:patron_saint ?d } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q8018
P417
Q502895 Q12737077
USER
And also tell me about Augustine of Hippo?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q8018
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:P417 ?t . ?t rdf:type ontology:Q502895 . ?n rdf:type ontology:Q12737077 } GROUP BY ?t } . FILTER ( ?k > ?o ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { resource:Q8018 property:P417 ?l . ?l rdf:type ontology:Q502895 } } }
Augustine of Hippo
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Augustine of Hippo
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:patron_saint ?t . ?t rdf:type ontology:common_name . ?n rdf:type ontology:occupation } GROUP BY ?t } . FILTER ( ?k > ?o ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { resource:Augustine_of_Hippo property:patron_saint ?l . ?l rdf:type ontology:common_name } } }
[]
common name occupation
SYSTEM
54
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q8018
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:P417 ?t . ?t rdf:type ontology:Q502895 . ?n rdf:type ontology:Q12737077 } GROUP BY ?t } . FILTER ( ?k > ?o ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { resource:Q8018 property:P417 ?l . ?l rdf:type ontology:Q502895 } } }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Augustine of Hippo
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:patron_saint ?t . ?t rdf:type ontology:common_name . ?n rdf:type ontology:occupation } GROUP BY ?t } . FILTER ( ?k > ?o ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { resource:Augustine_of_Hippo property:patron_saint ?l . ?l rdf:type ontology:common_name } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q838811
P921
Q12737077 Q2342494 Q732577
USER
Which occupations were discussed in around the same number of collectables or publications as peasant ?
(c(Q2342494)|c(Q732577),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q838811
relation P921
type Q2342494
type Q732577
[[{'concept': 'Q2342494'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P921 resource:Q838811 . { ?h rdf:type ?j . VALUES ( ?j ) { ( ontology:Q2342494 ) ( ontology:Q732577 ) } } } } . FILTER ( ?l = ?f ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?l ) WHERE { { ?q property:P921 ?d . ?d rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q2342494 } UNION { ?d rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q732577 . ?q property:P921 ?d } } GROUP BY ?d } }
peasant
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action count
action filter_multi_types
action find_reverse
entity peasant
relation main subject
type collectable
type publication
[[{'concept': 'collectable'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:main_subject resource:peasant . { ?h rdf:type ?j . VALUES ( ?j ) { ( ontology:collectable ) ( ontology:publication ) } } } } . FILTER ( ?l = ?f ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?l ) WHERE { { ?q property:main_subject ?d . ?d rdf:type ontology:occupation . ?q rdf:type ontology:collectable } UNION { ?d rdf:type ontology:occupation . ?q rdf:type ontology:publication . ?q property:main_subject ?d } } GROUP BY ?d } }
[]
occupation collectable publication
Q316070 Q131512 Q182436
SYSTEM
Fletcher Christian, farmer, librarian
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q1124183 Q5185440 Q765778 Q33999 Q36180 Q3315094 Q622807 Q7358 Q131512 Q1708232 Q842782 Q378622 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q618536 Q2961580 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q486839 Q510373 Q899758 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q483501 Q152002 Q1114448 Q16533 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q133485 Q1477129 Q158852 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q732358 Q17143199 Q384593 Q2095549 Q372436 Q182436 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q2342494)|c(Q732577),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q838811
relation P921
type Q2342494
type Q732577
[ANSWERS] were discussed in around the same number of collectables or publications as peasant
[[{'concept': 'Q2342494'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P921 resource:Q838811 . { ?h rdf:type ?j . VALUES ( ?j ) { ( ontology:Q2342494 ) ( ontology:Q732577 ) } } } } . FILTER ( ?l = ?f ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?l ) WHERE { { ?q property:P921 ?d . ?d rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q2342494 } UNION { ?d rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q732577 . ?q property:P921 ?d } } GROUP BY ?d } }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve lumberjack Crime scene cleanup organist actor writer Prime Minister of Hungary seiyū clown farmer medallist detective racing driver 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 candidate taxi driver gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier member of parliament Lord High Steward violist Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil artist pastor cartoonist judge nanny caricaturist painter American football player legal profession composer rabbi völva conductor comedian photographer peasant missionary United States federal judge musician Nomarch medical examiner police officer aviator statesman librarian 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 the same number of collectables or publications as peasant
Fletcher Christian farmer librarian
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action count
action filter_multi_types
action find_reverse
entity peasant
relation main subject
type collectable
type publication
[[{'concept': 'collectable'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:main_subject resource:peasant . { ?h rdf:type ?j . VALUES ( ?j ) { ( ontology:collectable ) ( ontology:publication ) } } } } . FILTER ( ?l = ?f ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?l ) WHERE { { ?q property:main_subject ?d . ?d rdf:type ontology:occupation . ?q rdf:type ontology:collectable } UNION { ?d rdf:type ontology:occupation . ?q rdf:type ontology:publication . ?q property:main_subject ?d } } GROUP BY ?d } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q133485
P921
Q12737077 Q2342494 Q732577
USER
And how about rabbi?
(c(Q2342494)|c(Q732577),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q133485
relation P921
type Q2342494
type Q732577
[[{'concept': 'Q2342494'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?n ) WHERE { ?p rdf:type ?v . VALUES ( ?v ) { ( ontology:Q2342494 ) ( ontology:Q732577 ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { { ?x rdf:type ontology:Q2342494 } UNION { ?x rdf:type ontology:Q732577 } } . ?x property:P921 resource:Q133485 } } . FILTER ( ?n = ?b ) }
rabbi
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action count
action filter_multi_types
action find_reverse
entity rabbi
relation main subject
type collectable
type publication
[[{'concept': 'collectable'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?n ) WHERE { ?p rdf:type ?v . VALUES ( ?v ) { ( ontology:collectable ) ( ontology:publication ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { { ?x rdf:type ontology:collectable } UNION { ?x rdf:type ontology:publication } } . ?x property:main_subject resource:rabbi } } . FILTER ( ?n = ?b ) }
[]
occupation collectable publication
Q316070 Q131512 Q182436
SYSTEM
Fletcher Christian, farmer, librarian
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q1124183 Q5185440 Q765778 Q33999 Q36180 Q3315094 Q622807 Q7358 Q131512 Q1708232 Q842782 Q378622 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q618536 Q2961580 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q486839 Q510373 Q899758 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q483501 Q152002 Q1114448 Q16533 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q133485 Q1477129 Q158852 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q732358 Q17143199 Q384593 Q2095549 Q372436 Q182436 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q2342494)|c(Q732577),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q133485
relation P921
type Q2342494
type Q732577
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?n ) WHERE { ?p rdf:type ?v . VALUES ( ?v ) { ( ontology:Q2342494 ) ( ontology:Q732577 ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { { ?x rdf:type ontology:Q2342494 } UNION { ?x rdf:type ontology:Q732577 } } . ?x property:P921 resource:Q133485 } } . FILTER ( ?n = ?b ) }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve lumberjack Crime scene cleanup organist actor writer Prime Minister of Hungary seiyū clown farmer medallist detective racing driver 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 candidate taxi driver gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier member of parliament Lord High Steward violist Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil artist pastor cartoonist judge nanny caricaturist painter American football player legal profession composer rabbi völva conductor comedian photographer peasant missionary United States federal judge musician Nomarch medical examiner police officer aviator statesman librarian rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
Fletcher Christian farmer librarian
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action count
action filter_multi_types
action find_reverse
entity rabbi
relation main subject
type collectable
type publication
[[{'concept': 'collectable'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?n ) WHERE { ?p rdf:type ?v . VALUES ( ?v ) { ( ontology:collectable ) ( ontology:publication ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { { ?x rdf:type ontology:collectable } UNION { ?x rdf:type ontology:publication } } . ?x property:main_subject resource:rabbi } } . FILTER ( ?n = ?b ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P138
Q12737077 Q82799 Q376799
USER
Which occupations are around the same number of names or transport infrastructures named after as that occupation ?
(c(Q82799)|c(Q376799),P138,c(Q12737077))
[[{'concept': 'Q82799'}, {'concept': 'Q376799'}], 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P138 ?y } UNION { ?x property:P138 ?y } } . ?z rdf:type ontology:Q82799 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q376799 }
[[{'concept': 'name'}, {'concept': 'transport infrastructure'}], 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { { ?z property:named_after ?y } UNION { ?x property:named_after ?y } } . ?z rdf:type ontology:name . ?y rdf:type ontology:occupation . ?x rdf:type ontology:transport_infrastructure }
[]
occupation name transport infrastructure
Comparative|More/Less|Mult. entity type|Clarification
Q182436
SYSTEM
Did you mean librarian ?
(c(Q82799)|c(Q376799),P138,c(Q12737077))
[ANSWER]
[[{'concept': 'Q82799'}, {'concept': 'Q376799'}], 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P138 ?y } UNION { ?x property:P138 ?y } } . ?z rdf:type ontology:Q82799 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q376799 }
Did you mean librarian ?
librarian
[[{'concept': 'name'}, {'concept': 'transport infrastructure'}], 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { { ?z property:named_after ?y } UNION { ?x property:named_after ?y } } . ?z rdf:type ontology:name . ?y rdf:type ontology:occupation . ?x rdf:type ontology:transport_infrastructure }
[]
Comparative Reasoning (All)
USER
No, I meant Fletcher Christian. Could you tell me the answer for that?
(c(Q82799)|c(Q376799),P138,c(Q12737077))
Q316070
[[{'concept': 'Q82799'}, {'concept': 'Q376799'}], 'P138', {'concept': 'Q12737077'}]
[[{'concept': 'name'}, {'concept': 'transport infrastructure'}], 'named after', {'concept': 'occupation'}]
[]
Q316070 Q131512 Q3112727
SYSTEM
Fletcher Christian, farmer, Governor of Wisconsin
Q192711 Q2347975 Q131512 Q80687 Q152355 Q3506352 Q475604 Q20765963 Q16010345 Q16149111 Q4151335 Q154549 Q45199 Q878942 Q3181438 Q171692 Q30185 Q2550683 Q18576582 Q390776 Q215536 Q3112727 Q3112728 Q42973 Q81096 Q1542521 Q5589725 Q5589724 Q326330 Q208762 Q20846080 Q16147601 Q20765611 Q733786 Q20801667 Q44356 Q15442776 Q16202700 Q12097 Q694579 Q20801664 Q386854 Q20853586 Q20644070 Q5589655 Q21993602 Q577017 Q17089908 Q887010 Q2626318 Q201559 Q316070 Q474306 Q887220 Q326358 Q20801651 Q5589668 Q3455803 Q1104153 Q20804520 Q13393921 Q20801647 Q20801646 Q20801644 Q242468 Q1477129 Q693032 Q152002 Q2259451 Q3773745 Q3773741 Q1028181 Q20804530 Q170779 Q5420718 Q20804538 Q275102 Q758780 Q20801656 Q5589688 Q4991371 Q20801652 Q694116 Q5589687 Q5589680 Q20801659 Q5589682 Q20766109 Q19647220 Q3738699 Q7252932 Q2251335 Q3773752 Q20198851 Q49757 Q456951 Q1141526 Q3112719 Q26218416 Q1436517 Q193391 Q1294787 Q988618 Q1410101 Q2700922
(c(Q82799)|c(Q376799),P138,c(Q12737077))
[ANSWERS] are around the same number of names or transport infrastructures named after as that occupation
[[{'concept': 'Q82799'}, {'concept': 'Q376799'}], 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P138 ?y } UNION { ?x property:P138 ?y } } . ?z rdf:type ontology:Q82799 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q376799 }
Prime Minister of India Governor of New York farmer secretary cobbler Governor of Maine maritime pilot Governor of Arkansas performer Governor of Oregon Governor of Kentucky carpenter sailor Governor of Virginia Nagasaki bugyō Patriarch mayor Governor of Oklahoma metallurgist Governor General of Canada merchant Governor of Wisconsin Governor of New Jersey architect engineer Governor-General of the Philippines Governor of Texas Governor of Tennessee primate chaplain Senator of the Legislature of the United States Virgin Islands Governor of Indiana Governor of Rhode Island monk Governor of Missouri tsar cryptographer Governor of North Carolina king farrier Governor of Iowa drummer Delegate of the Virgin Islands to the United States House of Representatives Governor of Ohio Governor of Hawaii Greverade family ban Governor of New Mexico Governor of California Governor of South Dakota privateer Fletcher Christian bellfounder Governor of Utah joiner Governor of Nevada Governor of Kansas director canon Governor of the United States Virgin Islands pioneer Governor of Wyoming Governor of Montana Governor of Alaska tailor völva Governor of Maryland pastor stage actor Governor of Vermont Governor of North Dakota painter Governor of American Samoa Kassandra exotic dancer Governor of the Northern Mariana Islands voivode gardener Governor of Delaware Governor of Nebraska soldier Governor of West Virginia miller Governor of New Hampshire Governor of Michigan Governor of Pennsylvania Governor of Minnesota Governor of Louisiana Governor of Washington forester pro–am school teacher Governor of South Carolina Governor of Florida poet Governor of Puerto Rico stripper Governor of Illinois Chief Minister of Kerala Chief mate diplomat artisan Money changer pyrotechnist clockmaker
Fletcher Christian, farmer and Governor of Wisconsin are around the same number of names or transport infrastructures named after as that occupation
Fletcher Christian farmer Governor of Wisconsin
[[{'concept': 'name'}, {'concept': 'transport infrastructure'}], 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { { ?z property:named_after ?y } UNION { ?x property:named_after ?y } } . ?z rdf:type ontology:name . ?y rdf:type ontology:occupation . ?x rdf:type ontology:transport_infrastructure }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q132113
P417
Q502895 Q12737077
USER
Which people are the patron saint of around the same number of occupations as Pontian ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q132113
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:P417 ?w . ?w rdf:type ontology:Q502895 . ?y rdf:type ontology:Q12737077 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ontology:Q502895 . resource:Q132113 property:P417 ?h } } . FILTER ( ?p = ?a ) }
Pontian
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Pontian
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:patron_saint ?w . ?w rdf:type ontology:common_name . ?y rdf:type ontology:occupation } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ontology:common_name . resource:Pontian property:patron_saint ?h } } . FILTER ( ?p = ?a ) }
[]
common name occupation
Q9682 Q191479 Q346
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Louis IX of France
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q132113
relation P417
type Q502895
[ANSWERS] are the patron saint of around the same number of occupations as Pontian
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:P417 ?w . ?w rdf:type ontology:Q502895 . ?y rdf:type ontology:Q12737077 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ontology:Q502895 . resource:Q132113 property:P417 ?h } } . FILTER ( ?p = ?a ) }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II, Tadeusz Kościuszko and Louis IX of France are the patron saint of around the same number of occupations as Pontian
Elizabeth II Tadeusz Kościuszko Louis IX of France
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Pontian
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:patron_saint ?w . ?w rdf:type ontology:common_name . ?y rdf:type ontology:occupation } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ontology:common_name . resource:Pontian property:patron_saint ?h } } . FILTER ( ?p = ?a ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P825
Q502895 Q811979 Q207628
USER
Which people are greater number of architectural structures or musical compositions dedicated to than that person ?
(c(Q811979)|c(Q207628),P825,c(Q502895))
[[{'concept': 'Q811979'}, {'concept': 'Q207628'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?q ) { ( ?z ) ( ?x ) } . ?q property:P825 ?y } . ?z rdf:type ontology:Q811979 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q207628 }
[[{'concept': 'architectural structure'}, {'concept': 'musical composition'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?q ) { ( ?z ) ( ?x ) } . ?q property:dedicated_to ?y } . ?z rdf:type ontology:architectural_structure . ?y rdf:type ontology:common_name . ?x rdf:type ontology:musical_composition }
[]
common name architectural structure musical composition
Comparative|More/Less|Mult. entity type|Clarification
Q9682
SYSTEM
Did you mean Elizabeth II ?
(c(Q811979)|c(Q207628),P825,c(Q502895))
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q207628'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?q ) { ( ?z ) ( ?x ) } . ?q property:P825 ?y } . ?z rdf:type ontology:Q811979 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q207628 }
Did you mean Elizabeth II ?
Elizabeth II
[[{'concept': 'architectural structure'}, {'concept': 'musical composition'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?q ) { ( ?z ) ( ?x ) } . ?q property:dedicated_to ?y } . ?z rdf:type ontology:architectural_structure . ?y rdf:type ontology:common_name . ?x rdf:type ontology:musical_composition }
[]
Comparative Reasoning (All)
USER
No, I meant Louis IX of France. Could you tell me the answer for that?
(c(Q811979)|c(Q207628),P825,c(Q502895))
Q346
[[{'concept': 'Q811979'}, {'concept': 'Q207628'}], 'P825', {'concept': 'Q502895'}]
[[{'concept': 'architectural structure'}, {'concept': 'musical composition'}], 'dedicated to', {'concept': 'common name'}]
[]
Q41309 Q120180 Q935
SYSTEM
Franz Liszt, Alexander III of Russia, Isaac Newton
Q534049 Q85210 Q150767 Q935 Q1948037 Q44039 Q120180 Q443559 Q2594000 Q160257 Q66005 Q570845 Q502943 Q313196 Q51056 Q2853967 Q472635 Q92467 Q538335 Q374467 Q179858 Q123062 Q41309
(c(Q811979)|c(Q207628),P825,c(Q502895))
[ANSWERS] are greater number of architectural structures or musical compositions dedicated to than that person
[[{'concept': 'Q811979'}, {'concept': 'Q207628'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P825 ?y } UNION { ?x property:P825 ?y } } . ?z rdf:type ontology:Q811979 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q207628 }
Saint Petroc Karl Ritter von Stremayr Benjamin Britten Isaac Newton Moritz Reichsgraf von Fries Ludwig II of Bavaria Alexander III of Russia Elizabeth Sprague Coolidge Diego Brosset Wanda Landowska Margrave Christian Ludwig of Brandenburg-Schwedt Joseph Franz von Lobkowitz Andrey Razumovsky Louis Desaix Franz Joseph I of Austria Antoine Gailleton Gustav, Prince of Vasa Theodor Avé-Lallemant Marianne Kirchgessner Gabriel of Our Lady of Sorrows Urho Kekkonen Jacques Necker Franz Liszt
Franz Liszt, Alexander III of Russia and Isaac Newton are greater number of architectural structures or musical compositions dedicated to than that person
Franz Liszt Alexander III of Russia Isaac Newton
[[{'concept': 'architectural structure'}, {'concept': 'musical composition'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { { ?z property:dedicated_to ?y } UNION { ?x property:dedicated_to ?y } } . ?z rdf:type ontology:architectural_structure . ?y rdf:type ontology:common_name . ?x rdf:type ontology:musical_composition }
[]