Simple Question (Direct)
Simple Question
Q2848176
P102
Q7210356
USER
Which political organization is André Lorgeré a member of ?
(Q2848176,P102,c(Q7210356))
action filter_type
action find
entity Q2848176
relation P102
type Q7210356
['Q2848176', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q7210356 . resource:Q2848176 property:P102 ?o }
André Lorgeré
action filter_type
action find
entity André Lorgeré
relation member of political party
type political organization
['André Lorgeré', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_organization . resource:André_Lorgeré property:member_of_political_party ?o }
[]
political organization
Q11502881
SYSTEM
Republican, Radical and Radical-Socialist Party
Q11502881
(Q2848176,P102,c(Q7210356))
action filter_type
action find
entity Q2848176
relation P102
type Q7210356
Party [ANSWER] is André Lorgeré a member of
['Q2848176', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q7210356 . resource:Q2848176 property:P102 ?o }
Republican, Radical and Radical-Socialist Party
Party Republican, Radical and Radical-Socialist Party is André Lorgeré a member of
Republican, Radical and Radical-Socialist Party
action filter_type
action find
entity André Lorgeré
relation member of political party
type political organization
['André Lorgeré', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_organization . resource:André_Lorgeré property:member_of_political_party ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11502881
P17
Q15617994
USER
Which administrative territory is that political organization located in ?
(Q11502881,P17,c(Q15617994))
action filter_type
action find
entity Q11502881
relation P17
type Q15617994
['Q11502881', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q11502881 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Republican, Radical and Radical-Socialist Party
action filter_type
action find
entity Republican, Radical and Radical-Socialist Party
relation country
type designation for an administrative territorial entity
['Republican, Radical and Radical-Socialist Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Republican,_Radical_and_Radical-Socialist_Party property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q11502881,P17,c(Q15617994))
action filter_type
action find
entity Q11502881
relation P17
type Q15617994
That political organization is located in [ANSWER]
['Q11502881', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q11502881 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
France
That political organization is located in France
France
action filter_type
action find
entity Republican, Radical and Radical-Socialist Party
relation country
type designation for an administrative territorial entity
['Republican, Radical and Radical-Socialist Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Republican,_Radical_and_Radical-Socialist_Party property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q14687321 Q11502881
P17
Q15617994
USER
Or St. Mary's Catholic Church (Boise, Idaho)?
OR((Q11502881,P17,c(Q15617994)), (Q14687321,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q11502881
relation P17
action find
entity Q14687321
relation P17
type Q15617994
{'OR': [['Q11502881', 'P17', {'concept': 'Q15617994'}], ['Q14687321', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . { VALUES ( ?i ) { ( resource:Q11502881 ) ( resource:Q14687321 ) } . ?i property:P17 ?l } }
St. Mary's Catholic Church (Boise, Idaho) Republican, Radical and Radical-Socialist Party
action filter_type
action union
action find
entity Republican, Radical and Radical-Socialist Party
relation country
action find
entity St. Mary's Catholic Church (Boise, Idaho)
relation country
type designation for an administrative territorial entity
{'OR': [['Republican, Radical and Radical-Socialist Party', 'country', {'concept': 'designation for an administrative territorial entity'}], ["St. Mary's Catholic Church (Boise, Idaho)", 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?i ) { ( resource:Republican,_Radical_and_Radical-Socialist_Party ) ( resource:St._Mary's_Catholic_Church_(Boise,_Idaho) ) } . ?i property:country ?l } }
[]
designation for an administrative territorial entity
Q142 Q30
SYSTEM
France, United States of America
Q142 Q30
OR((Q11502881,P17,c(Q15617994)), (Q14687321,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q11502881
relation P17
action find
entity Q14687321
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q11502881', 'P17', {'concept': 'Q15617994'}], ['Q14687321', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . { VALUES ( ?i ) { ( resource:Q11502881 ) ( resource:Q14687321 ) } . ?i property:P17 ?l } }
France United States of America
France United States of America
action filter_type
action union
action find
entity Republican, Radical and Radical-Socialist Party
relation country
action find
entity St. Mary's Catholic Church (Boise, Idaho)
relation country
type designation for an administrative territorial entity
{'OR': [['Republican, Radical and Radical-Socialist Party', 'country', {'concept': 'designation for an administrative territorial entity'}], ["St. Mary's Catholic Church (Boise, Idaho)", 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?i ) { ( resource:Republican,_Radical_and_Radical-Socialist_Party ) ( resource:St._Mary's_Catholic_Church_(Boise,_Idaho) ) } . ?i property:country ?l } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q142 Q30
P17
Q1048835
USER
Which political territories are present in those administrative territories ?
(c(Q1048835),P17,Q142) (c(Q1048835),P17,Q30)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q1048835
[{'concept': 'Q1048835'}, 'P17', 'Q142'] [{'concept': 'Q1048835'}, 'P17', 'Q30']
SELECT DISTINCT ?b WHERE { ?b property:P17 ?r . ?b rdf:type ontology:Q1048835 . VALUES ( ?r ) { ( resource:Q142 ) ( resource:Q30 ) } }
France United States of America
action filter_type
action find_reverse
entity prev_answer
relation country
type political territorial entity
[{'concept': 'political territorial entity'}, 'country', 'France'] [{'concept': 'political territorial entity'}, 'country', 'United States of America']
SELECT DISTINCT ?b WHERE { ?b property:country ?r . ?b rdf:type ontology:political_territorial_entity . VALUES ( ?r ) { ( resource:France ) ( resource:United_States_of_America ) } }
[]
political territorial entity
Q34617 Q1240516 Q4884662
SYSTEM
Saint Pierre and Miquelon, Quercitello, Belpre Township
Q1541772 Q2465074 Q1481436 Q1240516 Q3408484 Q706553 Q26385 Q34617 Q1947408 Q21778937 Q22923920 Q702842 Q1541666 Q778266 Q719487 Q1898492 Q9046039 Q5368435 Q1917383 Q965023 Q167239 Q1915795 Q19986933 Q7457275 Q17198545 Q17198620 Q1901611 Q2835036 Q925238 Q5645076 Q10834320 Q1895368 Q1073951 Q2425058 Q10834310 Q5397321 Q4862066 Q17205621 Q3470687 Q5099060 Q17198524 Q7661298 Q5799655 Q2154459 Q7999370 Q6030233 Q4884913 Q4724346 Q10937664 Q9035798 Q1914180 Q5953729 Q17205735 Q5390455 Q1897934 Q3710324 Q15219655 Q5043661 Q5840307 Q17351697 Q593250 Q1938102 Q10835884 Q922049 Q1420228 Q4979892 Q28111 Q5695442 Q670002 Q9036082 Q17205774 Q17201685 Q6542110 Q17557 Q18387491 Q9045895 Q4878233 Q4884662 Q7132722 Q6029949 Q1915692 Q2017330 Q1899729 Q1920082
(c(Q1048835),P17,Q142) (c(Q1048835),P17,Q30)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q1048835
[ANSWERS] are present in those administrative territories
[{'concept': 'Q1048835'}, 'P17', 'Q142'] [{'concept': 'Q1048835'}, 'P17', 'Q30']
SELECT DISTINCT ?b WHERE { ?b property:P17 ?r . ?b rdf:type ontology:Q1048835 . VALUES ( ?r ) { ( resource:Q142 ) ( resource:Q30 ) } }
Count of Orléans Ban de la Roche County of Foix Quercitello province of New Caledonia County of Nice Vermandois Saint Pierre and Miquelon County of Périgord Departmental service of fire and rescue (Nord, France) French territorial collectivity with special status municipal arrondissement County of Brienne County of Artois overseas collectivity Forest Township Washington Ely Township, Michigan Waasa Township, St. Louis County Barclay Township Cortlandt Stokes Township, Roseau County Marais Saline Township Seven Hickory Township township of Illinois township of Ohio Goodhue Township, Goodhue County Cortlandville Miami Township Dragoon township Walnut Township, Iowa Hamilton Township, Ohio Liberty Township Sanford Walhalla township Township 158-30, Lake of the Woods County, Minnesota Baroda Township, Michigan township of Iowa Dixville, New Hampshire Chillicothe Township civil township of South Dakota Symmes Township Loud Township New England town Oquawka Township Meredith Township, Wake County, North Carolina Belvidere Township Algonquin Township Washington Township township of Pennsylvania Splithand Township, Itasca County Hyde Park Township township of Kansas Scranton township Canton Township, Fillmore County Greenville town of Wisconsin Carmi Township, White County, Illinois Lincoln township township of New Hampshire Spencer Township St. James Township Hurricane Township Lambert Township, Red Lake County, Minnesota Oregon Territory Brutus Township, Michigan township in the United States Ithaca, New York Arizona Territory Arvonia township township of Michigan township of Indiana Liberty Township California Republic Penn Township, Madison County, Iowa Warren Township Beavercreek Township Belpre Township paper township of Ohio Locust Hill Township Stokes Township, Itasca County Oklahoma Territory Fillmore Township, Fillmore County Ferris Township
Saint Pierre and Miquelon, Quercitello and Belpre Township are present in those administrative territories
Saint Pierre and Miquelon Quercitello Belpre Township
action filter_type
action find_reverse
entity prev_answer
relation country
type political territorial entity
[{'concept': 'political territorial entity'}, 'country', 'France'] [{'concept': 'political territorial entity'}, 'country', 'United States of America']
SELECT DISTINCT ?b WHERE { ?b property:country ?r . ?b rdf:type ontology:political_territorial_entity . VALUES ( ?r ) { ( resource:France ) ( resource:United_States_of_America ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1240516
P47
Q20667921
USER
Which french administrative divisions share border with that political territory ?
(Q1240516,P47,c(Q20667921))
action filter_type
action find
entity Q1240516
relation P47
type Q20667921
['Q1240516', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?j WHERE { resource:Q1240516 property:P47 ?j . ?j rdf:type ontology:Q20667921 }
Quercitello
action filter_type
action find
entity Quercitello
relation shares border with
type type of french administrative division
['Quercitello', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?j WHERE { resource:Quercitello property:shares_border_with ?j . ?j rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q1240516
SYSTEM
Did you mean Quercitello ?
Q34617 Q1240516 Q4884662
(Q34617,P47,c(Q20667921)) (Q1240516,P47,c(Q20667921)) (Q4884662,P47,c(Q20667921))
[ANSWER]
['Q34617', 'P47', {'concept': 'Q20667921'}] ['Q1240516', 'P47', {'concept': 'Q20667921'}] ['Q4884662', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?j WHERE { resource:Q1240516 property:P47 ?j . ?j rdf:type ontology:Q20667921 }
Saint Pierre and Miquelon Quercitello Belpre Township
Did you mean Quercitello ?
Quercitello
['Saint Pierre and Miquelon', 'shares border with', {'concept': 'type of french administrative division'}] ['Quercitello', 'shares border with', {'concept': 'type of french administrative division'}] ['Belpre Township', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?j WHERE { resource:Quercitello property:shares_border_with ?j . ?j rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1240516,P47,c(Q20667921))
['Q1240516', 'P47', {'concept': 'Q20667921'}]
['Quercitello', 'shares border with', {'concept': 'type of french administrative division'}]
[]
Q1087810 Q270675 Q667520
SYSTEM
Casabianca, Morosaglia, La Porta
Q1087810 Q270675 Q667520 Q649633
(Q1240516,P47,c(Q20667921))
action filter_type
action find
entity Q1240516
relation P47
type Q20667921
[ANSWERS] share border with that political territory
['Q1240516', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?j WHERE { resource:Q1240516 property:P47 ?j . ?j rdf:type ontology:Q20667921 }
Casabianca Morosaglia La Porta Poggio-Marinaccio
Casabianca, Morosaglia and La Porta share border with that political territory
Casabianca Morosaglia La Porta
action filter_type
action find
entity Quercitello
relation shares border with
type type of french administrative division
['Quercitello', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?j WHERE { resource:Quercitello property:shares_border_with ?j . ?j rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5889526 Q14687321
P27 P17
Q15617994
USER
Which administrative territories are St. Mary's Catholic Church (Boise, Idaho) situated in or do Gustavo Bueno belong to ?
OR((Q14687321,P17,c(Q15617994)), (Q5889526,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q14687321
relation P17
action find
entity Q5889526
relation P27
type Q15617994
{'OR': [['Q14687321', 'P17', {'concept': 'Q15617994'}], ['Q5889526', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q5889526 property:P27 ?f } UNION { resource:Q14687321 property:P17 ?f } } . ?f rdf:type ontology:Q15617994 }
Gustavo Bueno St. Mary's Catholic Church (Boise, Idaho)
action filter_type
action union
action find
entity St. Mary's Catholic Church (Boise, Idaho)
relation country
action find
entity Gustavo Bueno
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [["St. Mary's Catholic Church (Boise, Idaho)", 'country', {'concept': 'designation for an administrative territorial entity'}], ['Gustavo Bueno', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Gustavo_Bueno property:country_of_citizenship ?f } UNION { resource:St._Mary's_Catholic_Church_(Boise,_Idaho) property:country ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q419 Q30
SYSTEM
Peru, United States of America
Q419 Q30
OR((Q14687321,P17,c(Q15617994)), (Q5889526,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q14687321
relation P17
action find
entity Q5889526
relation P27
type Q15617994
[ANSWERS] are St. Mary's Catholic Church (Boise, Idaho) situated in or do Gustavo Bueno belong to
{'OR': [['Q14687321', 'P17', {'concept': 'Q15617994'}], ['Q5889526', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q5889526 property:P27 ?f } UNION { resource:Q14687321 property:P17 ?f } } . ?f rdf:type ontology:Q15617994 }
Peru United States of America
Peru and United States of America are St. Mary's Catholic Church (Boise, Idaho) situated in or do Gustavo Bueno belong to
Peru United States of America
action filter_type
action union
action find
entity St. Mary's Catholic Church (Boise, Idaho)
relation country
action find
entity Gustavo Bueno
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [["St. Mary's Catholic Church (Boise, Idaho)", 'country', {'concept': 'designation for an administrative territorial entity'}], ['Gustavo Bueno', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Gustavo_Bueno property:country_of_citizenship ?f } UNION { resource:St._Mary's_Catholic_Church_(Boise,_Idaho) property:country ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q419 Q30
P163
Q14660
USER
Which flags are associated with those administrative territories ?
(Q419,P163,c(Q14660)) (Q30,P163,c(Q14660))
action filter_type
action find
entity prev_answer
relation P163
type Q14660
['Q419', 'P163', {'concept': 'Q14660'}] ['Q30', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?j ) { ( resource:Q419 ) ( resource:Q30 ) } . ?a rdf:type ontology:Q14660 . ?j property:P163 ?a }
Peru United States of America
action filter_type
action find
entity prev_answer
relation flag
type flag
['Peru', 'flag', {'concept': 'flag'}] ['United States of America', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?j ) { ( resource:Peru ) ( resource:United_States_of_America ) } . ?a rdf:type ontology:flag . ?j property:flag ?a }
[]
flag
Q160255 Q42537
SYSTEM
flag of Peru, flag of the United States of America
Q160255 Q42537
(Q419,P163,c(Q14660)) (Q30,P163,c(Q14660))
action filter_type
action find
entity prev_answer
relation P163
type Q14660
[ANSWERS] are associated with those administrative territories
['Q419', 'P163', {'concept': 'Q14660'}] ['Q30', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?j ) { ( resource:Q419 ) ( resource:Q30 ) } . ?a rdf:type ontology:Q14660 . ?j property:P163 ?a }
flag of Peru flag of the United States of America
Flag of Peru and flag of the United States of America are associated with those administrative territories
flag of Peru flag of the United States of America
action filter_type
action find
entity prev_answer
relation flag
type flag
['Peru', 'flag', {'concept': 'flag'}] ['United States of America', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?j ) { ( resource:Peru ) ( resource:United_States_of_America ) } . ?a rdf:type ontology:flag . ?j property:flag ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5889526
P106
Q12737077
USER
Which occupation is the profession of Gustavo Bueno ?
(Q5889526,P106,c(Q12737077))
action filter_type
action find
entity Q5889526
relation P106
type Q12737077
['Q5889526', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q5889526 property:P106 ?o }
Gustavo Bueno
action filter_type
action find
entity Gustavo Bueno
relation occupation
type occupation
['Gustavo Bueno', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Gustavo_Bueno property:occupation ?o }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q5889526,P106,c(Q12737077))
action filter_type
action find
entity Q5889526
relation P106
type Q12737077
The [ANSWER] is the profession of Gustavo Bueno
['Q5889526', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q5889526 property:P106 ?o }
actor
The actor is the profession of Gustavo Bueno
actor
action filter_type
action find
entity Gustavo Bueno
relation occupation
type occupation
['Gustavo Bueno', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Gustavo_Bueno property:occupation ?o }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q44015
P417
Q502895 Q12737077
USER
How many people are the patron saints of less number of occupations than John the Apostle ?
(c(Q12737077),P417,c(Q502895))
action count
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q44015
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:P417 ?i . ?i rdf:type ontology:Q502895 . ?d rdf:type ontology:Q12737077 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:P417 resource:Q44015 . ?m rdf:type ontology:Q12737077 } } . FILTER ( ?v < ?n ) }
John the Apostle
action count
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity John the Apostle
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:patron_saint ?i . ?i rdf:type ontology:common_name . ?d rdf:type ontology:occupation } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:patron_saint resource:John_the_Apostle . ?m rdf:type ontology:occupation } } . FILTER ( ?v < ?n ) }
[]
common name occupation
SYSTEM
266
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 count
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q44015
relation P417
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:P417 ?i . ?i rdf:type ontology:Q502895 . ?d rdf:type ontology:Q12737077 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:P417 resource:Q44015 . ?m rdf:type ontology:Q12737077 } } . FILTER ( ?v < ?n ) }
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
266
action count
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity John the Apostle
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:patron_saint ?i . ?i rdf:type ontology:common_name . ?d rdf:type ontology:occupation } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:patron_saint resource:John_the_Apostle . ?m rdf:type ontology:occupation } } . FILTER ( ?v < ?n ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q44015
P25
Q502895
USER
Which person was the mother of that one ?
action filter_type
action find
entity Q44015
relation P25
type Q502895
SELECT DISTINCT ?m WHERE { resource:Q44015 property:P25 ?m . ?m rdf:type ontology:Q502895 }
John the Apostle
action filter_type
action find
entity John the Apostle
relation mother
type common name
SELECT DISTINCT ?m WHERE { resource:John_the_Apostle property:mother ?m . ?m rdf:type ontology:common_name }
[]
common name
Q233067
SYSTEM
Salome
Q233067
action filter_type
action find
entity Q44015
relation P25
type Q502895
[ANSWER] was the mother of that one
SELECT DISTINCT ?m WHERE { resource:Q44015 property:P25 ?m . ?m rdf:type ontology:Q502895 }
Salome
Salome was the mother of that one
Salome
action filter_type
action find
entity John the Apostle
relation mother
type common name
SELECT DISTINCT ?m WHERE { resource:John_the_Apostle property:mother ?m . ?m rdf:type ontology:common_name }
[]