Simple Question (Direct)
Simple Question
Q3853112
P54
Q1194951
USER
Which national sports team is Maxime Surdez a member of ?
(Q3853112,P54,c(Q1194951))
action filter_type
action find
entity Q3853112
relation P54
type Q1194951
['Q3853112', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1194951 . resource:Q3853112 property:P54 ?p }
Maxime Surdez
action filter_type
action find
entity Maxime Surdez
relation member of sports team
type national sports team
['Maxime Surdez', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:national_sports_team . resource:Maxime_Surdez property:member_of_sports_team ?p }
[]
national sports team
Q165141
SYSTEM
Swiss national football team
Q165141
(Q3853112,P54,c(Q1194951))
action filter_type
action find
entity Q3853112
relation P54
type Q1194951
The [ANSWER] is Maxime Surdez a member of
['Q3853112', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1194951 . resource:Q3853112 property:P54 ?p }
Swiss national football team
The Swiss national football team is Maxime Surdez a member of
Swiss national football team
action filter_type
action find
entity Maxime Surdez
relation member of sports team
type national sports team
['Maxime Surdez', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:national_sports_team . resource:Maxime_Surdez property:member_of_sports_team ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3853112
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Maxime Surdez ?
(Q3853112,P27,c(Q15617994))
action filter_type
action find
entity Q3853112
relation P27
type Q15617994
['Q3853112', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q3853112 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Maxime Surdez
action filter_type
action find
entity Maxime Surdez
relation country of citizenship
type designation for an administrative territorial entity
['Maxime Surdez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Maxime_Surdez property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q3853112,P27,c(Q15617994))
action filter_type
action find
entity Q3853112
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Maxime Surdez
['Q3853112', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q3853112 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Switzerland
Switzerland is the country of citizenship of Maxime Surdez
Switzerland
action filter_type
action find
entity Maxime Surdez
relation country of citizenship
type designation for an administrative territorial entity
['Maxime Surdez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Maxime_Surdez property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q39101
Q15617994
USER
And also tell me about Mario Gallegos?
(Q39101,P27,c(Q15617994))
action filter_type
action find
entity Q39101
relation P27
type Q15617994
['Q39101', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q39101 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Mario Gallegos
action filter_type
action find
entity Mario Gallegos
relation country of citizenship
type designation for an administrative territorial entity
['Mario Gallegos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Mario_Gallegos property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
(Q39101,P27,c(Q15617994))
action filter_type
action find
entity Q39101
relation P27
type Q15617994
[ANSWER]
['Q39101', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q39101 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Mexico
Mexico
action filter_type
action find
entity Mario Gallegos
relation country of citizenship
type designation for an administrative territorial entity
['Mario Gallegos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Mario_Gallegos property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q96 Q23542623
P27
Q502895
USER
Is Denis Andriamandroso a civilian of that administrative territory ?
(Q23542623,P27,Q96)
action is_in
entity Q23542623
action find
entity Q96
relation P27
['Q23542623', 'P27', 'Q96']
ASK WHERE { resource:Q96 property:P27 resource:Q23542623 }
Mexico Denis Andriamandroso
action is_in
entity Denis Andriamandroso
action find
entity Mexico
relation country of citizenship
['Denis Andriamandroso', 'country of citizenship', 'Mexico']
ASK WHERE { resource:Mexico property:country_of_citizenship resource:Denis_Andriamandroso }
[]
common name
SYSTEM
NO
(Q23542623,P27,Q96)
action is_in
entity Q23542623
action find
entity Q96
relation P27
[ANSWER]
['Q23542623', 'P27', 'Q96']
ASK WHERE { resource:Q96 property:P27 resource:Q23542623 }
No
action is_in
entity Denis Andriamandroso
action find
entity Mexico
relation country of citizenship
['Denis Andriamandroso', 'country of citizenship', 'Mexico']
ASK WHERE { resource:Mexico property:country_of_citizenship resource:Denis_Andriamandroso }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q39 Q42262
P463
Q484652
USER
Was Switzerland a member of European Space Agency ?
(Q39,P463,Q42262)
action is_in
entity Q42262
action find
entity Q39
relation P463
['Q39', 'P463', 'Q42262']
ASK WHERE { resource:Q39 property:P463 resource:Q42262 }
Switzerland European Space Agency
action is_in
entity European Space Agency
action find
entity Switzerland
relation member of
['Switzerland', 'member of', 'European Space Agency']
ASK WHERE { resource:Switzerland property:member_of resource:European_Space_Agency }
[]
international organization
SYSTEM
YES
(Q39,P463,Q42262)
action is_in
entity Q42262
action find
entity Q39
relation P463
[ANSWER]
['Q39', 'P463', 'Q42262']
ASK WHERE { resource:Q39 property:P463 resource:Q42262 }
Yes
action is_in
entity European Space Agency
action find
entity Switzerland
relation member of
['Switzerland', 'member of', 'European Space Agency']
ASK WHERE { resource:Switzerland property:member_of resource:European_Space_Agency }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q96 Q1070086 Q61651
P530
Q15617994
USER
Does Mexico have diplomatic associations with Plášťovce and Erdmannhausen ?
(Q96,P530,Q1070086) (Q96,P530,Q61651)
action is_in
entity Q96
action intersection
action find_reverse
entity Q1070086
relation P530
action find_reverse
entity Q61651
relation P530
['Q96', 'P530', 'Q1070086'] ['Q96', 'P530', 'Q61651']
ASK WHERE { resource:Q96 property:P530 resource:Q1070086 . resource:Q96 property:P530 resource:Q61651 }
Mexico Plášťovce Erdmannhausen
action is_in
entity Mexico
action intersection
action find_reverse
entity Plášťovce
relation diplomatic relation
action find_reverse
entity Erdmannhausen
relation diplomatic relation
['Mexico', 'diplomatic relation', 'Plášťovce'] ['Mexico', 'diplomatic relation', 'Erdmannhausen']
ASK WHERE { resource:Mexico property:diplomatic_relation resource:Plášťovce . resource:Mexico property:diplomatic_relation resource:Erdmannhausen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q96,P530,Q1070086) (Q96,P530,Q61651)
action is_in
entity Q96
action intersection
action find_reverse
entity Q1070086
relation P530
action find_reverse
entity Q61651
relation P530
[ANSWER]
['Q96', 'P530', 'Q1070086'] ['Q96', 'P530', 'Q61651']
ASK WHERE { resource:Q96 property:P530 resource:Q1070086 . resource:Q96 property:P530 resource:Q61651 }
No
action is_in
entity Mexico
action intersection
action find_reverse
entity Plášťovce
relation diplomatic relation
action find_reverse
entity Erdmannhausen
relation diplomatic relation
['Mexico', 'diplomatic relation', 'Plášťovce'] ['Mexico', 'diplomatic relation', 'Erdmannhausen']
ASK WHERE { resource:Mexico property:diplomatic_relation resource:Plášťovce . resource:Mexico property:diplomatic_relation resource:Erdmannhausen }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q96
P17
Q12737077 Q33506
USER
How many occupations and museums are located in Mexico ?
(c(Q12737077),P17,Q96) (c(Q33506),P17,Q96)
action count
action union
action filter_type
action find_reverse
entity Q96
relation P17
type Q12737077
action filter_type
action find_reverse
entity Q96
relation P17
type Q33506
[{'concept': 'Q12737077'}, 'P17', 'Q96'] [{'concept': 'Q33506'}, 'P17', 'Q96']
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { ?r property:P17 resource:Q96 . ?r rdf:type ontology:Q12737077 } UNION { ?r property:P17 resource:Q96 . ?r rdf:type ontology:Q33506 } }
Mexico
action count
action union
action filter_type
action find_reverse
entity Mexico
relation country
type occupation
action filter_type
action find_reverse
entity Mexico
relation country
type museum
[{'concept': 'occupation'}, 'country', 'Mexico'] [{'concept': 'museum'}, 'country', 'Mexico']
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { ?r property:country resource:Mexico . ?r rdf:type ontology:occupation } UNION { ?r property:country resource:Mexico . ?r rdf:type ontology:museum } }
[]
occupation museum
SYSTEM
13 occupations and 28 museums
Q1744258 Q1138147 Q6940507 Q7419961 Q4723788 Q4694507 Q15961644 Q774021 Q7201217 Q628004 Q2893965 Q5039534 Q2663377 Q6940503 Q16242751 Q6940505 Q18534310 Q6936352 Q6936351 Q7241306 Q6936355 Q6940515 Q3330551 Q7194791 Q6940538 Q19971999 Q1142398 Q3328379 Q3032842 Q5597133 Q6719083 Q24063960 Q1148324 Q845947 Q1507504 Q2723096 Q7444306 Q5524081 Q6936362 Q6936363 Q6936360
(c(Q12737077),P17,Q96) (c(Q33506),P17,Q96)
action count
action union
action filter_type
action find_reverse
entity Q96
relation P17
type Q12737077
action filter_type
action find_reverse
entity Q96
relation P17
type Q33506
[ANSWER]
[{'concept': 'Q12737077'}, 'P17', 'Q96'] [{'concept': 'Q33506'}, 'P17', 'Q96']
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { ?r property:P17 resource:Q96 . ?r rdf:type ontology:Q12737077 } UNION { ?r property:P17 resource:Q96 . ?r rdf:type ontology:Q33506 } }
Museo Dolores Olmedo Museo Nacional de Arte Museo Nacional de San Carlos Santa Teresa la Antigua Alfredo Guati Rojo National Watercolor Museum Aguascalientes Museum Museo Nacional de la Máscara Templo Mayor Planetario Luis Enrique Erro President of Mexico Museo de la Estampa Caricature Museum, Mexico City Frida Kahlo Museum Museo Nacional de las Culturas Municipal president of Mérida, Yucatán Museo Nacional de las Intervenciones Member of the Chamber of Deputies of Mexico Municipal president of Chihuahua Municipal president of Cananea President of the Chamber of Deputies Directive Board Municipal president of Juárez Museo Rufino Tamayo Museo Rufino Tamayo, Mexico City Pinacoteca Diego Rivera Museo de Arte Contemporáneo de Monterrey member of the Senate of Mexico Museo de la Secretaría de Hacienda y Crédito Público Amparo Museum Museo de Arte Moderno Graphic Arts Institute of Oaxaca MUSA, El Museo subaquàtico de Arte Museum of José Guadalupe Posada Franz Mayer Museum Salón de la Plástica Mexicana Attorney General of Mexico Folk Art Museum Secretary of Foreign Affairs Garros Galería Municipal president of Monterrey Municipal president of Sabinas Hidalgo Municipal president of Puebla
13 occupations and 28 museums
action count
action union
action filter_type
action find_reverse
entity Mexico
relation country
type occupation
action filter_type
action find_reverse
entity Mexico
relation country
type museum
[{'concept': 'occupation'}, 'country', 'Mexico'] [{'concept': 'museum'}, 'country', 'Mexico']
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { ?r property:country resource:Mexico . ?r rdf:type ontology:occupation } UNION { ?r property:country resource:Mexico . ?r rdf:type ontology:museum } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q96
P30
Q2221906
USER
Where is that administrative territory located ?
action filter_type
action find
entity Q96
relation P30
type Q2221906
SELECT DISTINCT ?l WHERE { resource:Q96 property:P30 ?l . ?l rdf:type ontology:Q2221906 }
Mexico
action filter_type
action find
entity Mexico
relation continent
type geographic location
SELECT DISTINCT ?l WHERE { resource:Mexico property:continent ?l . ?l rdf:type ontology:geographic_location }
[]
geographic location
Q49
SYSTEM
North America
Q49
action filter_type
action find
entity Q96
relation P30
type Q2221906
That administrative territory is located in [ANSWER]
SELECT DISTINCT ?l WHERE { resource:Q96 property:P30 ?l . ?l rdf:type ontology:Q2221906 }
North America
That administrative territory is located in North America
North America
action filter_type
action find
entity Mexico
relation continent
type geographic location
SELECT DISTINCT ?l WHERE { resource:Mexico property:continent ?l . ?l rdf:type ontology:geographic_location }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q49 Q130018
P610
Q14524493
USER
Is Denali the highest point of that geographic location ?
(Q49,P610,Q130018)
action is_in
entity Q130018
action find
entity Q49
relation P610
['Q49', 'P610', 'Q130018']
ASK WHERE { resource:Q49 property:P610 resource:Q130018 }
North America Denali
action is_in
entity Denali
action find
entity North America
relation highest point
['North America', 'highest point', 'Denali']
ASK WHERE { resource:North_America property:highest_point resource:Denali }
[]
terrain
SYSTEM
YES
(Q49,P610,Q130018)
action is_in
entity Q130018
action find
entity Q49
relation P610
[ANSWER]
['Q49', 'P610', 'Q130018']
ASK WHERE { resource:Q49 property:P610 resource:Q130018 }
Yes
action is_in
entity Denali
action find
entity North America
relation highest point
['North America', 'highest point', 'Denali']
ASK WHERE { resource:North_America property:highest_point resource:Denali }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q23008187 Q96
P530 P27
Q1048835
USER
Which political territories holds diplomatic relationship with Mexico and are Nathan McAndrew a civilian of ?
AND((Q96,P530,c(Q1048835)), (Q23008187,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q96
relation P530
action find
entity Q23008187
relation P27
type Q1048835
{'AND': [['Q96', 'P530', {'concept': 'Q1048835'}], ['Q23008187', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1048835 . resource:Q96 property:P530 ?d . resource:Q23008187 property:P27 ?d }
Nathan McAndrew Mexico
action filter_type
action intersection
action find
entity Mexico
relation diplomatic relation
action find
entity Nathan McAndrew
relation country of citizenship
type political territorial entity
{'AND': [['Mexico', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Nathan McAndrew', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:political_territorial_entity . resource:Mexico property:diplomatic_relation ?d . resource:Nathan_McAndrew property:country_of_citizenship ?d }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
AND((Q96,P530,c(Q1048835)), (Q23008187,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q96
relation P530
action find
entity Q23008187
relation P27
type Q1048835
[ANSWER] holds diplomatic relationship with Mexico and are Nathan McAndrew a civilian of
{'AND': [['Q96', 'P530', {'concept': 'Q1048835'}], ['Q23008187', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1048835 . resource:Q96 property:P530 ?d . resource:Q23008187 property:P27 ?d }
Australia
Australia holds diplomatic relationship with Mexico and are Nathan McAndrew a civilian of
Australia
action filter_type
action intersection
action find
entity Mexico
relation diplomatic relation
action find
entity Nathan McAndrew
relation country of citizenship
type political territorial entity
{'AND': [['Mexico', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Nathan McAndrew', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:political_territorial_entity . resource:Mexico property:diplomatic_relation ?d . resource:Nathan_McAndrew property:country_of_citizenship ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q408
P921
Q191067
USER
Which article has that political territory as its principal topic ?
(c(Q191067),P921,Q408)
action filter_type
action find_reverse
entity Q408
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q408']
SELECT DISTINCT ?a WHERE { ?a property:P921 resource:Q408 . ?a rdf:type ontology:Q191067 }
Australia
action filter_type
action find_reverse
entity Australia
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Australia']
SELECT DISTINCT ?a WHERE { ?a property:main_subject resource:Australia . ?a rdf:type ontology:article }
[]
article
Q20081148
SYSTEM
EB-11 / Australia
Q20081148
(c(Q191067),P921,Q408)
action filter_type
action find_reverse
entity Q408
relation P921
type Q191067
[ANSWER] has that political territory as its principal topic
[{'concept': 'Q191067'}, 'P921', 'Q408']
SELECT DISTINCT ?a WHERE { ?a property:P921 resource:Q408 . ?a rdf:type ontology:Q191067 }
EB-11 / Australia
EB-11 / Australia has that political territory as its principal topic
EB-11 / Australia
action filter_type
action find_reverse
entity Australia
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Australia']
SELECT DISTINCT ?a WHERE { ?a property:main_subject resource:Australia . ?a rdf:type ontology:article }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3340759
P841
Q573 Q186081 Q502895
USER
Which people have lesser number of days and time intervals as principal feast day than Nicolas Roland ?
(c(Q502895),P841,c(Q573)|c(Q186081))
action less
action union
action find_tuple_counts
relation P841
type Q502895
type Q573
action find_tuple_counts
relation P841
type Q502895
type Q186081
action count
action filter_multi_types
action find
entity Q3340759
relation P841
type Q573
type Q186081
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:Q3340759 property:P841 ?n . { { ?n rdf:type ontology:Q573 } UNION { ?n rdf:type ontology:Q186081 } } } } . FILTER ( ?d < ?q ) . { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ?r . VALUES ( ?r ) { ( ontology:Q573 ) ( ontology:Q186081 ) } } GROUP BY ?i } }
Nicolas Roland
action less
action union
action find_tuple_counts
relation feast day
type common name
type day
action find_tuple_counts
relation feast day
type common name
type time interval
action count
action filter_multi_types
action find
entity Nicolas Roland
relation feast day
type day
type time interval
[{'concept': 'common name'}, 'feast day', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:Nicolas_Roland property:feast_day ?n . { { ?n rdf:type ontology:day } UNION { ?n rdf:type ontology:time_interval } } } } . FILTER ( ?d < ?q ) . { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ?r . VALUES ( ?r ) { ( ontology:day ) ( ontology:time_interval ) } } GROUP BY ?i } }
[]
day time interval common name
Q679784 Q3047912 Q167477
SYSTEM
Pier Giorgio Frassati, Seraphina Sforza, Anthony of Padua
Q384117 Q365797 Q3483257 Q679784 Q3483161 Q3483259 Q3483263 Q167477 Q3047912 Q269889 Q2701365
(c(Q502895),P841,c(Q573)|c(Q186081))
action less
action union
action find_tuple_counts
relation P841
type Q502895
type Q573
action find_tuple_counts
relation P841
type Q502895
type Q186081
action count
action filter_multi_types
action find
entity Q3340759
relation P841
type Q573
type Q186081
[ANSWERS] have lesser number of days and time intervals as principal feast day than Nicolas Roland
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:Q3340759 property:P841 ?n . { { ?n rdf:type ontology:Q573 } UNION { ?n rdf:type ontology:Q186081 } } } } . FILTER ( ?d < ?q ) . { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ?r . VALUES ( ?r ) { ( ontology:Q573 ) ( ontology:Q186081 ) } } GROUP BY ?i } }
Aignan of Orleans Ahmad al-Tijani Sidi M'hamed Bou Qobrine Pier Giorgio Frassati Sidi Abder Rahman El Thaelebi Sidi M'hand Oumalek Sidi Mansour Anthony of Padua Seraphina Sforza Joanna, wife of Chuza Thomas Percy, 7th Earl of Northumberland
Pier Giorgio Frassati, Seraphina Sforza and Anthony of Padua have lesser number of days and time intervals as principal feast day than Nicolas Roland
Pier Giorgio Frassati Seraphina Sforza Anthony of Padua
action less
action union
action find_tuple_counts
relation feast day
type common name
type day
action find_tuple_counts
relation feast day
type common name
type time interval
action count
action filter_multi_types
action find
entity Nicolas Roland
relation feast day
type day
type time interval
[{'concept': 'common name'}, 'feast day', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:Nicolas_Roland property:feast_day ?n . { { ?n rdf:type ontology:day } UNION { ?n rdf:type ontology:time_interval } } } } . FILTER ( ?d < ?q ) . { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ?r . VALUES ( ?r ) { ( ontology:day ) ( ontology:time_interval ) } } GROUP BY ?i } }
[]