Simple Question (Direct)
Simple Question
Q26262568
P19
Q20667921
USER
Where was Maximilien Xavier Képler born ?
(Q26262568,P19,c(Q20667921))
action filter_type
action find
entity Q26262568
relation P19
type Q20667921
['Q26262568', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q20667921 . resource:Q26262568 property:P19 ?c }
Maximilien Xavier Képler
action filter_type
action find
entity Maximilien Xavier Képler
relation place of birth
type type of french administrative division
['Maximilien Xavier Képler', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:type_of_french_administrative_division . resource:Maximilien_Xavier_Képler property:place_of_birth ?c }
[]
type of french administrative division
Q21433
SYSTEM
Andlau
Q21433
(Q26262568,P19,c(Q20667921))
action filter_type
action find
entity Q26262568
relation P19
type Q20667921
Maximilien Xavier Képler was born in [ANSWER]
['Q26262568', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q20667921 . resource:Q26262568 property:P19 ?c }
Andlau
Maximilien Xavier Képler was born in Andlau
Andlau
action filter_type
action find
entity Maximilien Xavier Képler
relation place of birth
type type of french administrative division
['Maximilien Xavier Képler', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:type_of_french_administrative_division . resource:Maximilien_Xavier_Képler property:place_of_birth ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26262568
P20
Q20667921
USER
Where did the demise of Maximilien Xavier Képler occur ?
(Q26262568,P20,c(Q20667921))
action filter_type
action find
entity Q26262568
relation P20
type Q20667921
['Q26262568', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q20667921 . resource:Q26262568 property:P20 ?l }
Maximilien Xavier Képler
action filter_type
action find
entity Maximilien Xavier Képler
relation place of death
type type of french administrative division
['Maximilien Xavier Képler', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:type_of_french_administrative_division . resource:Maximilien_Xavier_Képler property:place_of_death ?l }
[]
type of french administrative division
Q21433
SYSTEM
Andlau
Q21433
(Q26262568,P20,c(Q20667921))
action filter_type
action find
entity Q26262568
relation P20
type Q20667921
The demise of Maximilien Xavier Képler occurred in [ANSWER]
['Q26262568', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q20667921 . resource:Q26262568 property:P20 ?l }
Andlau
The demise of Maximilien Xavier Képler occurred in Andlau
Andlau
action filter_type
action find
entity Maximilien Xavier Képler
relation place of death
type type of french administrative division
['Maximilien Xavier Képler', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:type_of_french_administrative_division . resource:Maximilien_Xavier_Képler property:place_of_death ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26262568
P39
Q12737077
USER
What was the position held by Maximilien Xavier Képler ?
(Q26262568,P39,c(Q12737077))
action filter_type
action find
entity Q26262568
relation P39
type Q12737077
['Q26262568', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q26262568 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
Maximilien Xavier Képler
action filter_type
action find
entity Maximilien Xavier Képler
relation position held
type occupation
['Maximilien Xavier Képler', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Maximilien_Xavier_Képler property:position_held ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q26262568,P39,c(Q12737077))
action filter_type
action find
entity Q26262568
relation P39
type Q12737077
The position held by Maximilien Xavier Képler was a member of the French National Assembly
['Q26262568', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q26262568 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
member of the French National Assembly
The position held by Maximilien Xavier Képler was a member of the French National Assembly
member of the French National Assembly
action filter_type
action find
entity Maximilien Xavier Képler
relation position held
type occupation
['Maximilien Xavier Képler', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Maximilien_Xavier_Képler property:position_held ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26262568
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q3044918,P27,c(Q15617994))
action filter_type
action find
entity Q26262568
relation P27
type Q15617994
['Q3044918', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q26262568 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Maximilien Xavier Képler
action filter_type
action find
entity Maximilien Xavier Képler
relation country of citizenship
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Maximilien_Xavier_Képler property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3044918,P27,c(Q15617994))
action filter_type
action find
entity Q26262568
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q3044918', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q26262568 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
France
The France is that person an inhabitant of
France
action filter_type
action find
entity Maximilien Xavier Képler
relation country of citizenship
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Maximilien_Xavier_Képler property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q142
P530
Q15617994
USER
How many administrative territories have diplomatic relations with France ?
(Q142,P530,c(Q15617994))
action count
action filter_type
action find
entity Q142
relation P530
type Q15617994
['Q142', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:Q142 property:P530 ?n . ?n rdf:type ontology:Q15617994 }
France
action count
action filter_type
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:France property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
15
Q711 Q159 Q222 Q801 Q145 Q155 Q1011 Q228 Q32 Q17 Q30 Q399 Q27 Q403 Q38
(Q142,P530,c(Q15617994))
action count
action filter_type
action find
entity Q142
relation P530
type Q15617994
[ANSWER]
['Q142', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:Q142 property:P530 ?n . ?n rdf:type ontology:Q15617994 }
Mongolia Russia Albania Israel United Kingdom Brazil Cape Verde Andorra Luxembourg Japan United States of America Armenia Ireland Serbia Italy
15
action count
action filter_type
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:France property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q184
P530
Q15617994
USER
And how about Belarus?
(Q184,P530,c(Q15617994))
action count
action filter_type
action find
entity Q184
relation P530
type Q15617994
['Q184', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { ?p rdf:type ontology:Q15617994 . resource:Q184 property:P530 ?p }
Belarus
action count
action filter_type
action find
entity Belarus
relation diplomatic relation
type designation for an administrative territorial entity
['Belarus', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Belarus property:diplomatic_relation ?p }
[]
designation for an administrative territorial entity
SYSTEM
37
Q801 Q833 Q843 Q241 Q668 Q227 Q224 Q55 Q262 Q148 Q33 Q874 Q30 Q37 Q36 Q34 Q39 Q38 Q902 Q142 Q1016 Q414 Q298 Q215 Q403 Q230 Q212 Q213 Q211 Q159 Q217 Q214 Q41 Q155 Q233 Q794 Q27
(Q184,P530,c(Q15617994))
action count
action filter_type
action find
entity Q184
relation P530
type Q15617994
[ANSWER]
['Q184', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { ?p rdf:type ontology:Q15617994 . resource:Q184 property:P530 ?p }
Israel Malaysia Pakistan Cuba India Azerbaijan Croatia Netherlands Algeria People's Republic of China Finland Turkmenistan United States of America Lithuania Poland Sweden Switzerland Italy Bangladesh France Libya Argentina Chile Slovenia Serbia Georgia Ukraine Czech Republic Latvia Russia Republic of Moldova Slovakia Greece Brazil Malta Iran Ireland
37
action count
action filter_type
action find
entity Belarus
relation diplomatic relation
type designation for an administrative territorial entity
['Belarus', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Belarus property:diplomatic_relation ?p }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q225
Q15617994
USER
And how about Bosnia and Herzegovina?
(Q225,P530,c(Q15617994))
action count
action filter_type
action find
entity Q225
relation P530
type Q15617994
['Q225', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { ?k rdf:type ontology:Q15617994 . resource:Q225 property:P530 ?k }
Bosnia and Herzegovina
action count
action filter_type
action find
entity Bosnia and Herzegovina
relation diplomatic relation
type designation for an administrative territorial entity
['Bosnia and Herzegovina', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bosnia_and_Herzegovina property:diplomatic_relation ?k }
[]
designation for an administrative territorial entity
SYSTEM
8
(Q225,P530,c(Q15617994))
action count
action filter_type
action find
entity Q225
relation P530
type Q15617994
[ANSWER]
['Q225', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { ?k rdf:type ontology:Q15617994 . resource:Q225 property:P530 ?k }
8
action count
action filter_type
action find
entity Bosnia and Herzegovina
relation diplomatic relation
type designation for an administrative territorial entity
['Bosnia and Herzegovina', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bosnia_and_Herzegovina property:diplomatic_relation ?k }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11867241 Q26262568
P106
Q12737077
USER
Which occupations have Maximilien Xavier Képler or Jouni Nikula as his/her as a career ?
OR((Q26262568,P106,c(Q12737077)), (Q11867241,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q26262568
relation P106
action find
entity Q11867241
relation P106
type Q12737077
{'OR': [['Q26262568', 'P106', {'concept': 'Q12737077'}], ['Q11867241', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?o ) { ( resource:Q26262568 ) ( resource:Q11867241 ) } . ?o property:P106 ?h } . ?h rdf:type ontology:Q12737077 }
Jouni Nikula Maximilien Xavier Képler
action filter_type
action union
action find
entity Maximilien Xavier Képler
relation occupation
action find
entity Jouni Nikula
relation occupation
type occupation
{'OR': [['Maximilien Xavier Képler', 'occupation', {'concept': 'occupation'}], ['Jouni Nikula', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?o ) { ( resource:Maximilien_Xavier_Képler ) ( resource:Jouni_Nikula ) } . ?o property:occupation ?h } . ?h rdf:type ontology:occupation }
[]
occupation
Q1930187 Q82955
SYSTEM
journalist, politician
Q1930187 Q82955
OR((Q26262568,P106,c(Q12737077)), (Q11867241,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q26262568
relation P106
action find
entity Q11867241
relation P106
type Q12737077
The [ANSWERS] have Maximilien Xavier Képler or Jouni Nikula as his/her as a career
{'OR': [['Q26262568', 'P106', {'concept': 'Q12737077'}], ['Q11867241', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?o ) { ( resource:Q26262568 ) ( resource:Q11867241 ) } . ?o property:P106 ?h } . ?h rdf:type ontology:Q12737077 }
journalist politician
The journalist and politician have Maximilien Xavier Képler or Jouni Nikula as his/her as a career
journalist politician
action filter_type
action union
action find
entity Maximilien Xavier Képler
relation occupation
action find
entity Jouni Nikula
relation occupation
type occupation
{'OR': [['Maximilien Xavier Képler', 'occupation', {'concept': 'occupation'}], ['Jouni Nikula', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?o ) { ( resource:Maximilien_Xavier_Képler ) ( resource:Jouni_Nikula ) } . ?o property:occupation ?h } . ?h rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q11867241
P27
Q15617994
USER
How many administrative territories are the native countriesof Jouni Nikula ?
(Q11867241,P27,c(Q15617994))
action count
action filter_type
action find
entity Q11867241
relation P27
type Q15617994
['Q11867241', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { resource:Q11867241 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Jouni Nikula
action count
action filter_type
action find
entity Jouni Nikula
relation country of citizenship
type designation for an administrative territorial entity
['Jouni Nikula', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { resource:Jouni_Nikula property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q33
(Q11867241,P27,c(Q15617994))
action count
action filter_type
action find
entity Q11867241
relation P27
type Q15617994
[ANSWER]
['Q11867241', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { resource:Q11867241 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Finland
1
action count
action filter_type
action find
entity Jouni Nikula
relation country of citizenship
type designation for an administrative territorial entity
['Jouni Nikula', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { resource:Jouni_Nikula property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q1811860
P27
Q15617994
USER
And what about Lee Joo Hyun?
(Q1811860,P27,c(Q15617994))
action count
action filter_type
action find
entity Q1811860
relation P27
type Q15617994
['Q1811860', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Q1811860 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Lee Joo Hyun
action count
action filter_type
action find
entity Lee Joo Hyun
relation country of citizenship
type designation for an administrative territorial entity
['Lee Joo Hyun', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Lee_Joo_Hyun property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q1811860,P27,c(Q15617994))
action count
action filter_type
action find
entity Q1811860
relation P27
type Q15617994
[ANSWER]
['Q1811860', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Q1811860 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Lee Joo Hyun
relation country of citizenship
type designation for an administrative territorial entity
['Lee Joo Hyun', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Lee_Joo_Hyun property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q17120526
Q15617994
USER
And also tell me about Ingeborg Vibe?
(Q17120526,P27,c(Q15617994))
action count
action filter_type
action find
entity Q17120526
relation P27
type Q15617994
['Q17120526', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:Q17120526 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Ingeborg Vibe
action count
action filter_type
action find
entity Ingeborg Vibe
relation country of citizenship
type designation for an administrative territorial entity
['Ingeborg Vibe', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:Ingeborg_Vibe property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q17120526,P27,c(Q15617994))
action count
action filter_type
action find
entity Q17120526
relation P27
type Q15617994
[ANSWER]
['Q17120526', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:Q17120526 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Ingeborg Vibe
relation country of citizenship
type designation for an administrative territorial entity
['Ingeborg Vibe', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:Ingeborg_Vibe property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the names of the patron saint of atmost 5 occupations ?
(c(Q12737077),P417,c(Q502895))
action atmost
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 5
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:P417 ?m . ?m rdf:type ontology:Q502895 . ?x rdf:type ontology:Q12737077 } GROUP BY ?m } . FILTER ( ?y <= 5 ) }
action atmost
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 5
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:patron_saint ?m . ?m rdf:type ontology:common_name . ?x rdf:type ontology:occupation } GROUP BY ?m } . FILTER ( ?y <= 5 ) }
[]
common name occupation
Q9682 Q9438 Q191479
SYSTEM
Elizabeth II, Thomas Aquinas, Tadeusz Kościuszko
Q2366998 Q453698 Q561838 Q380092 Q129674 Q133704 Q229190 Q43945 Q3922154 Q152457 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q43689 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q328804 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q166876 Q163900 Q31966 Q170547 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q212850 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q374822 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q9438 Q1502088 Q8413 Q558148 Q160373 Q130997 Q515953 Q1274242 Q312758 Q443392 Q5575577 Q379685 Q191479 Q42887 Q3745904 Q191107 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q128538 Q37599 Q316599 Q232975 Q183240 Q122376 Q119289 Q145746 Q15284282 Q360798 Q298845 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q48438 Q159834 Q119512 Q44281 Q63070 Q134666 Q170164 Q43399 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q196653 Q560531 Q4161703 Q508214 Q9200 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q193507 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q463600 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q43669 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q44265 Q232453 Q192816 Q43982 Q58559 Q445357 Q40662 Q359878 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q43600 Q283447 Q26486 Q324700 Q158504 Q744884 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q151967 Q312314 Q149727 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q17590 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q200895 Q523662 Q284323 Q59071 Q1383532 Q160445 Q44248 Q1269112 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action atmost
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 5
[ANSWERS] are the names of the patron saint of atmost 5 occupations
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:P417 ?m . ?m rdf:type ontology:Q502895 . ?x rdf:type ontology:Q12737077 } GROUP BY ?m } . FILTER ( ?y <= 5 ) }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Catherine of Siena Jude the Apostle Prisco di Nocera Saint Roch 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 Ambrose Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus John the Evangelist Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Isidore of Seville Saint Francis Xavier Mark the Evangelist Anthony the Great 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 Vitus 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 Adrian of Nicomedia Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Thomas Aquinas Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Damasus I Maximilian of Lorch Romanus of Caesarea Jean-Baptiste de La Salle Saint Bibiana Gobnait Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Clare of Assisi 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 Dorothea of Caesarea Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Luke the Evangelist Theodore of Amasea Saint Maurice Anastasia of Sirmium Saint Lucy Callixtus I Leonard of Port Maurice Joseph Adolphus Saint Eligius Saint Florian Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Saint George Hubertus William of Maleval Ignatius of Loyola Mary Magdalene Stephen I Helena of Constantinople Andrew 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 Saint Veronica Suitbert of Kaiserswerdt Dimitry Prilutsky Cyriacus Paul Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Christopher Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Saint Petronilla 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 Thomas the Apostle 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 Benedict of Nursia Martha Saint Barbara Bartholomew the Apostle Leo IX Henry John the Baptist Erasmus of Formiae Cyprian Camillus de Lellis Agnes of Rome Gaudentius of Novara John of God Emilianus of Trevi Ephysius Castrese di Sessa Alexius of Rome Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Saint Cecilia Matthew the Apostle Lambert of Maastricht Ladislaus I of Hungary Urban of Langres Clement of Ohrid Zita Edward the Confessor Barbatus of Benevento John the Apostle Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Saint Blaise Bruno of Cologne Saint Giles Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Apollonia Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Albertus Magnus Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Lawrence of Rome Sigismund of Burgundy Joseph of Arimathea Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Agatha of Sicily Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Jerome Saint Ninian Anthony of Apamea Elizabeth Ann Seton Charalampus Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II, Thomas Aquinas and Tadeusz Kościuszko are the names of the patron saint of atmost 5 occupations
Elizabeth II Thomas Aquinas Tadeusz Kościuszko
action atmost
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 5
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:patron_saint ?m . ?m rdf:type ontology:common_name . ?x rdf:type ontology:occupation } GROUP BY ?m } . FILTER ( ?y <= 5 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q5004840 Q17120526
P106
Q12737077
USER
Which occupations do Ingeborg Vibe and Bárbara Torrez do for a living ?
AND((Q17120526,P106,c(Q12737077)), (Q5004840,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q17120526
relation P106
action find
entity Q5004840
relation P106
type Q12737077
{'AND': [['Q17120526', 'P106', {'concept': 'Q12737077'}], ['Q5004840', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?m WHERE { resource:Q17120526 property:P106 ?m . resource:Q5004840 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Bárbara Torrez Ingeborg Vibe
action filter_type
action intersection
action find
entity Ingeborg Vibe
relation occupation
action find
entity Bárbara Torrez
relation occupation
type occupation
{'AND': [['Ingeborg Vibe', 'occupation', {'concept': 'occupation'}], ['Bárbara Torrez', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?m WHERE { resource:Ingeborg_Vibe property:occupation ?m . resource:Bárbara_Torrez property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
AND((Q17120526,P106,c(Q12737077)), (Q5004840,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q17120526
relation P106
action find
entity Q5004840
relation P106
type Q12737077
[ANSWER] Ingeborg Vibe and Bárbara Torrez do for a living
{'AND': [['Q17120526', 'P106', {'concept': 'Q12737077'}], ['Q5004840', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?m WHERE { resource:Q17120526 property:P106 ?m . resource:Q5004840 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
actor
Actor Ingeborg Vibe and Bárbara Torrez do for a living
actor
action filter_type
action intersection
action find
entity Ingeborg Vibe
relation occupation
action find
entity Bárbara Torrez
relation occupation
type occupation
{'AND': [['Ingeborg Vibe', 'occupation', {'concept': 'occupation'}], ['Bárbara Torrez', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?m WHERE { resource:Ingeborg_Vibe property:occupation ?m . resource:Bárbara_Torrez property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q16970 Q44539
USER
Which people are the patron saint of approximately 82 churches and temples ?
(c(Q16970)|c(Q44539),P417,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
value 82
[[{'concept': 'Q16970'}, {'concept': 'Q44539'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?w ) WHERE { { ?l rdf:type ontology:Q502895 . ?u rdf:type ontology:Q16970 . ?u property:P417 ?l } UNION { ?u property:P417 ?l . ?l rdf:type ontology:Q502895 . ?u rdf:type ontology:Q44539 } } GROUP BY ?l } . FILTER ( ?w = 82 ) }
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
value 82
[[{'concept': 'church'}, {'concept': 'temple'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?w ) WHERE { { ?l rdf:type ontology:common_name . ?u rdf:type ontology:church . ?u property:patron_saint ?l } UNION { ?u property:patron_saint ?l . ?l rdf:type ontology:common_name . ?u rdf:type ontology:temple } } GROUP BY ?l } . FILTER ( ?w = 82 ) }
[]
common name church temple
Q33923 Q9200
SYSTEM
Peter, Paul
Q33923 Q9200
(c(Q16970)|c(Q44539),P417,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
value 82
[ANSWERS] are the patron saint of approximately 82 churches and temples
[[{'concept': 'Q16970'}, {'concept': 'Q44539'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?w ) WHERE { { ?l rdf:type ontology:Q502895 . ?u rdf:type ontology:Q16970 . ?u property:P417 ?l } UNION { ?u property:P417 ?l . ?l rdf:type ontology:Q502895 . ?u rdf:type ontology:Q44539 } } GROUP BY ?l } . FILTER ( ?w = 82 ) }
Peter Paul
Peter and Paul are the patron saint of approximately 82 churches and temples
Peter Paul
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
value 82
[[{'concept': 'church'}, {'concept': 'temple'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?w ) WHERE { { ?l rdf:type ontology:common_name . ?u rdf:type ontology:church . ?u property:patron_saint ?l } UNION { ?u property:patron_saint ?l . ?l rdf:type ontology:common_name . ?u rdf:type ontology:temple } } GROUP BY ?l } . FILTER ( ?w = 82 ) }
[]