Simple Question (Direct)
Simple Question
Q3164306
P734
Q82799
USER
Who has the surname Jean-Baptiste Moulin ?
(Q3164306,P734,c(Q82799))
action filter_type
action find
entity Q3164306
relation P734
type Q82799
['Q3164306', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { resource:Q3164306 property:P734 ?u . ?u rdf:type ontology:Q82799 }
Jean-Baptiste Moulin
action filter_type
action find
entity Jean-Baptiste Moulin
relation family name
type name
['Jean-Baptiste Moulin', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { resource:Jean-Baptiste_Moulin property:family_name ?u . ?u rdf:type ontology:name }
[]
name
Q20997408
SYSTEM
Moulin
Q20997408
(Q3164306,P734,c(Q82799))
action filter_type
action find
entity Q3164306
relation P734
type Q82799
[ANSWER] has the surname Jean-Baptiste [ANSWER]
['Q3164306', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { resource:Q3164306 property:P734 ?u . ?u rdf:type ontology:Q82799 }
Moulin
Moulin has the surname Jean-Baptiste Moulin
Moulin
action filter_type
action find
entity Jean-Baptiste Moulin
relation family name
type name
['Jean-Baptiste Moulin', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { resource:Jean-Baptiste_Moulin property:family_name ?u . ?u rdf:type ontology:name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q168304
P841
Q573 Q186081 Q502895
USER
Which people have lesser number of days and time intervals as their principal feast day than Teresa Margaret of the Sacred Heart ?
(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 Q168304
relation P841
type Q573
type Q186081
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { resource:Q168304 property:P841 ?n . { VALUES ( ?v ) { ( ontology:Q186081 ) ( ontology:Q573 ) } . ?n rdf:type ?v } } } . FILTER ( ?e < ?o ) . { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?e ) WHERE { { ?f property:P841 ?m . ?m rdf:type ontology:Q573 . ?f rdf:type ontology:Q502895 } UNION { ?f rdf:type ontology:Q502895 . ?m rdf:type ontology:Q186081 . ?f property:P841 ?m } } GROUP BY ?f } }
Teresa Margaret of the Sacred Heart
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 Teresa Margaret of the Sacred Heart
relation feast day
type day
type time interval
[{'concept': 'common name'}, 'feast day', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { resource:Teresa_Margaret_of_the_Sacred_Heart property:feast_day ?n . { VALUES ( ?v ) { ( ontology:time_interval ) ( ontology:day ) } . ?n rdf:type ?v } } } . FILTER ( ?e < ?o ) . { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?e ) WHERE { { ?f property:feast_day ?m . ?m rdf:type ontology:day . ?f rdf:type ontology:common_name } UNION { ?f rdf:type ontology:common_name . ?m rdf:type ontology:time_interval . ?f property:feast_day ?m } } GROUP BY ?f } }
[]
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 Q168304
relation P841
type Q573
type Q186081
[ANSWERS] have lesser number of days and time intervals as their principal feast day than Teresa Margaret of the Sacred Heart
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { resource:Q168304 property:P841 ?n . { VALUES ( ?v ) { ( ontology:Q186081 ) ( ontology:Q573 ) } . ?n rdf:type ?v } } } . FILTER ( ?e < ?o ) . { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?e ) WHERE { { ?f property:P841 ?m . ?m rdf:type ontology:Q573 . ?f rdf:type ontology:Q502895 } UNION { ?f rdf:type ontology:Q502895 . ?m rdf:type ontology:Q186081 . ?f property:P841 ?m } } GROUP BY ?f } }
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 their principal feast day than Teresa Margaret of the Sacred Heart
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 Teresa Margaret of the Sacred Heart
relation feast day
type day
type time interval
[{'concept': 'common name'}, 'feast day', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { resource:Teresa_Margaret_of_the_Sacred_Heart property:feast_day ?n . { VALUES ( ?v ) { ( ontology:time_interval ) ( ontology:day ) } . ?n rdf:type ?v } } } . FILTER ( ?e < ?o ) . { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?e ) WHERE { { ?f property:feast_day ?m . ?m rdf:type ontology:day . ?f rdf:type ontology:common_name } UNION { ?f rdf:type ontology:common_name . ?m rdf:type ontology:time_interval . ?f property:feast_day ?m } } GROUP BY ?f } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q3046005
P841
Q573 Q186081 Q502895
USER
And also tell me about Austregisilus?
(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 Q3046005
relation P841
type Q573
type Q186081
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { resource:Q3046005 property:P841 ?m . { VALUES ( ?q ) { ( ontology:Q573 ) ( ontology:Q186081 ) } . ?m rdf:type ?q } } } . FILTER ( ?b < ?h ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) ?o WHERE { ?d rdf:type ?k . VALUES ( ?k ) { ( ontology:Q186081 ) ( ontology:Q573 ) } } GROUP BY ?o } }
Austregisilus
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 Austregisilus
relation feast day
type day
type time interval
[{'concept': 'common name'}, 'feast day', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { resource:Austregisilus property:feast_day ?m . { VALUES ( ?q ) { ( ontology:day ) ( ontology:time_interval ) } . ?m rdf:type ?q } } } . FILTER ( ?b < ?h ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) ?o WHERE { ?d rdf:type ?k . VALUES ( ?k ) { ( ontology:time_interval ) ( ontology:day ) } } GROUP BY ?o } }
[]
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 Q3046005
relation P841
type Q573
type Q186081
[ANSWERS]
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { resource:Q3046005 property:P841 ?m . { VALUES ( ?q ) { ( ontology:Q573 ) ( ontology:Q186081 ) } . ?m rdf:type ?q } } } . FILTER ( ?b < ?h ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) ?o WHERE { ?d rdf:type ?k . VALUES ( ?k ) { ( ontology:Q186081 ) ( ontology:Q573 ) } } GROUP BY ?o } }
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 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 Austregisilus
relation feast day
type day
type time interval
[{'concept': 'common name'}, 'feast day', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { resource:Austregisilus property:feast_day ?m . { VALUES ( ?q ) { ( ontology:day ) ( ontology:time_interval ) } . ?m rdf:type ?q } } } . FILTER ( ?b < ?h ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) ?o WHERE { ?d rdf:type ?k . VALUES ( ?k ) { ( ontology:time_interval ) ( ontology:day ) } } GROUP BY ?o } }
[]