Simple Question (Direct)
Simple Question
Q14759609
P7
Q502895
USER
Which people are the brothers of Abu Muh I ?
(Q14759609,P7,c(Q502895))
action filter_type
action find
entity Q14759609
relation P7
type Q502895
['Q14759609', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q14759609 property:P7 ?r . ?r rdf:type ontology:Q502895 }
Abu Muh I
action filter_type
action find
entity Abu Muh I
relation brother
type common name
['Abu Muh I', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Abu_Muh_I property:brother ?r . ?r rdf:type ontology:common_name }
[]
common name
Q14759395 Q11903917 Q11903871
SYSTEM
Abu Thabid II, Abu Zayyan II, Abu Abdallah I
Q14759395 Q11903917 Q11903871 Q14760226 Q14760347 Q14761732
(Q14759609,P7,c(Q502895))
action filter_type
action find
entity Q14759609
relation P7
type Q502895
[ANSWERS] are the brothers of Abu Muh I
['Q14759609', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q14759609 property:P7 ?r . ?r rdf:type ontology:Q502895 }
Abu Thabid II Abu Zayyan II Abu Abdallah I Abul Hadjdjadj I Said I bin Abu Tashufin Abu Malek I
Abu Thabid II, Abu Zayyan II and Abu Abdallah I are the brothers of Abu Muh I
Abu Thabid II Abu Zayyan II Abu Abdallah I
action filter_type
action find
entity Abu Muh I
relation brother
type common name
['Abu Muh I', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Abu_Muh_I property:brother ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q14759395 Q11903917 Q11903871
P7
Q502895
USER
Who are Abu Thabid II, Abu Zayyan II and Abu Abdallah I a brother of ?
(c(Q502895),P7,Q14759395) (c(Q502895),P7,Q11903917) (c(Q502895),P7,Q11903871)
action union
action filter_type
action find
entity Q14759395
relation P7
type Q502895
action filter_type
action find
entity Q11903917
relation P7
type Q502895
action filter_type
action find
entity Q11903871
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q14759395'] [{'concept': 'Q502895'}, 'P7', 'Q11903917'] [{'concept': 'Q502895'}, 'P7', 'Q11903871']
SELECT DISTINCT ?s WHERE { VALUES ( ?p ) { ( resource:Q14759395 ) ( resource:Q11903917 ) } . ?p property:P7 ?s }
Abu Thabid II Abu Zayyan II Abu Abdallah I
action union
action filter_type
action find
entity Abu Thabid II
relation brother
type common name
action filter_type
action find
entity Abu Zayyan II
relation brother
type common name
action filter_type
action find
entity Abu Abdallah I
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Abu Thabid II'] [{'concept': 'common name'}, 'brother', 'Abu Zayyan II'] [{'concept': 'common name'}, 'brother', 'Abu Abdallah I']
SELECT DISTINCT ?s WHERE { VALUES ( ?p ) { ( resource:Abu_Thabid_II ) ( resource:Abu_Zayyan_II ) } . ?p property:brother ?s }
[]
common name
Q14759609 Q14759395 Q14759609
SYSTEM
Abu Thabid II for 2nd, Abu Muh I for 1st, 3rd
Q14760226 Q14761732 Q14759609 Q11903917 Q14760347 Q11903871 Q14760226 Q14761732 Q14759395 Q14759609 Q14760347 Q11903871 Q14760226 Q14761732 Q14759395 Q14759609 Q11903917 Q14760347
(c(Q502895),P7,Q14759395) (c(Q502895),P7,Q11903917) (c(Q502895),P7,Q11903871)
action union
action filter_type
action find
entity Q14759395
relation P7
type Q502895
action filter_type
action find
entity Q11903917
relation P7
type Q502895
action filter_type
action find
entity Q11903871
relation P7
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q14759395'] [{'concept': 'Q502895'}, 'P7', 'Q11903917'] [{'concept': 'Q502895'}, 'P7', 'Q11903871']
SELECT DISTINCT ?s WHERE { VALUES ( ?p ) { ( resource:Q14759395 ) ( resource:Q11903917 ) } . ?p property:P7 ?s }
Abul Hadjdjadj I Abu Malek I Abu Muh I Abu Zayyan II Said I bin Abu Tashufin Abu Abdallah I Abul Hadjdjadj I Abu Malek I Abu Thabid II Abu Muh I Said I bin Abu Tashufin Abu Abdallah I Abul Hadjdjadj I Abu Malek I Abu Thabid II Abu Muh I Abu Zayyan II Said I bin Abu Tashufin
Abu Muh I, Abu Thabid II and Abu Muh I Abu Thabid II, Abu Zayyan II and Abu Abdallah I a brother of
Abu Muh I Abu Thabid II Abu Muh I
action union
action filter_type
action find
entity Abu Thabid II
relation brother
type common name
action filter_type
action find
entity Abu Zayyan II
relation brother
type common name
action filter_type
action find
entity Abu Abdallah I
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Abu Thabid II'] [{'concept': 'common name'}, 'brother', 'Abu Zayyan II'] [{'concept': 'common name'}, 'brother', 'Abu Abdallah I']
SELECT DISTINCT ?s WHERE { VALUES ( ?p ) { ( resource:Abu_Thabid_II ) ( resource:Abu_Zayyan_II ) } . ?p property:brother ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14759395
P40
Q502895
USER
Who has Abu Thabid II as an offspring ?
(c(Q502895),P40,Q14759395)
action filter_type
action find_reverse
entity Q14759395
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q14759395']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P40 resource:Q14759395 }
Abu Thabid II
action filter_type
action find_reverse
entity Abu Thabid II
relation child
type common name
[{'concept': 'common name'}, 'child', 'Abu Thabid II']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:child resource:Abu_Thabid_II }
[]
common name
Q11903995
SYSTEM
Abu Tashufin II
Q11903995
(c(Q502895),P40,Q14759395)
action filter_type
action find_reverse
entity Q14759395
relation P40
type Q502895
[ANSWER] has Abu Thabid II as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q14759395']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P40 resource:Q14759395 }
Abu Tashufin II
Abu Tashufin II has Abu Thabid II as an offspring
Abu Tashufin II
action filter_type
action find_reverse
entity Abu Thabid II
relation child
type common name
[{'concept': 'common name'}, 'child', 'Abu Thabid II']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:child resource:Abu_Thabid_II }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14759395
P22
Q502895
USER
Which male person has a child named Abu Thabid II ?
(Q14759395,P22,c(Q502895))
action filter_type
action find
entity Q14759395
relation P22
type Q502895
['Q14759395', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q14759395 property:P22 ?w . ?w rdf:type ontology:Q502895 }
Abu Thabid II
action filter_type
action find
entity Abu Thabid II
relation father
type common name
['Abu Thabid II', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Abu_Thabid_II property:father ?w . ?w rdf:type ontology:common_name }
[]
common name
Q11903995
SYSTEM
Abu Tashufin II
Q11903995
(Q14759395,P22,c(Q502895))
action filter_type
action find
entity Q14759395
relation P22
type Q502895
[ANSWER] has a child named Abu Thabid II
['Q14759395', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q14759395 property:P22 ?w . ?w rdf:type ontology:Q502895 }
Abu Tashufin II
Abu Tashufin II has a child named Abu Thabid II
Abu Tashufin II
action filter_type
action find
entity Abu Thabid II
relation father
type common name
['Abu Thabid II', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Abu_Thabid_II property:father ?w . ?w rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3271640
P841
Q573 Q186081 Q502895
USER
Which people have more number of days and time intervals as principal feast day than Léonce de Tripoli ?
(c(Q502895),P841,c(Q573)|c(Q186081))
action greater
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 Q3271640
relation P841
type Q573
type Q186081
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) ?z WHERE { { ?z property:P841 ?n . ?z rdf:type ontology:Q502895 . ?n rdf:type ontology:Q573 } UNION { ?z property:P841 ?n . ?z rdf:type ontology:Q502895 . ?n rdf:type ontology:Q186081 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q3271640 property:P841 ?b . { { ?b rdf:type ontology:Q573 } UNION { ?b rdf:type ontology:Q186081 } } } } . FILTER ( ?g > ?a ) }
Léonce de Tripoli
action greater
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 Léonce de Tripoli
relation feast day
type day
type time interval
[{'concept': 'common name'}, 'feast day', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) ?z WHERE { { ?z property:feast_day ?n . ?z rdf:type ontology:common_name . ?n rdf:type ontology:day } UNION { ?z property:feast_day ?n . ?z rdf:type ontology:common_name . ?n rdf:type ontology:time_interval } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Léonce_de_Tripoli property:feast_day ?b . { { ?b rdf:type ontology:day } UNION { ?b rdf:type ontology:time_interval } } } } . FILTER ( ?g > ?a ) }
[]
day time interval common name
Q2332287 Q44265 Q158504
SYSTEM
Ingegerd Olofsdotter of Sweden, Benedict of Nursia, Clement of Ohrid
Q770633 Q724454 Q161775 Q44265 Q319319 Q37599 Q3189724 Q170164 Q158504 Q2332287 Q18691847
(c(Q502895),P841,c(Q573)|c(Q186081))
action greater
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 Q3271640
relation P841
type Q573
type Q186081
[ANSWERS] have more number of days and time intervals as principal feast day than Léonce de Tripoli
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) ?z WHERE { { ?z property:P841 ?n . ?z rdf:type ontology:Q502895 . ?n rdf:type ontology:Q573 } UNION { ?z property:P841 ?n . ?z rdf:type ontology:Q502895 . ?n rdf:type ontology:Q186081 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q3271640 property:P841 ?b . { { ?b rdf:type ontology:Q573 } UNION { ?b rdf:type ontology:Q186081 } } } } . FILTER ( ?g > ?a ) }
Padarn Julian of Antioch Stephen Benedict of Nursia Abercius of Hieropolis Theodore of Amasea Julienne de Vyazma Helena of Constantinople Clement of Ohrid Ingegerd Olofsdotter of Sweden Saint Ilar
Ingegerd Olofsdotter of Sweden, Benedict of Nursia and Clement of Ohrid have more number of days and time intervals as principal feast day than Léonce de Tripoli
Ingegerd Olofsdotter of Sweden Benedict of Nursia Clement of Ohrid
action greater
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 Léonce de Tripoli
relation feast day
type day
type time interval
[{'concept': 'common name'}, 'feast day', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) ?z WHERE { { ?z property:feast_day ?n . ?z rdf:type ontology:common_name . ?n rdf:type ontology:day } UNION { ?z property:feast_day ?n . ?z rdf:type ontology:common_name . ?n rdf:type ontology:time_interval } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Léonce_de_Tripoli property:feast_day ?b . { { ?b rdf:type ontology:day } UNION { ?b rdf:type ontology:time_interval } } } } . FILTER ( ?g > ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q185856
P841
Q573 Q186081 Q502895
USER
And also tell me about Barnabas?
(c(Q502895),P841,c(Q573)|c(Q186081))
action greater
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 Q185856
relation P841
type Q573
type Q186081
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?p ) WHERE { { ?v property:P841 ?k . ?v rdf:type ontology:Q502895 . ?k rdf:type ontology:Q573 } UNION { ?v property:P841 ?k . ?v rdf:type ontology:Q502895 . ?k rdf:type ontology:Q186081 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { resource:Q185856 property:P841 ?f . { ?f rdf:type ?u . VALUES ( ?u ) { ( ontology:Q186081 ) ( ontology:Q573 ) } } } } . FILTER ( ?p > ?s ) }
Barnabas
action greater
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 Barnabas
relation feast day
type day
type time interval
[{'concept': 'common name'}, 'feast day', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?p ) WHERE { { ?v property:feast_day ?k . ?v rdf:type ontology:common_name . ?k rdf:type ontology:day } UNION { ?v property:feast_day ?k . ?v rdf:type ontology:common_name . ?k rdf:type ontology:time_interval } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { resource:Barnabas property:feast_day ?f . { ?f rdf:type ?u . VALUES ( ?u ) { ( ontology:time_interval ) ( ontology:day ) } } } } . FILTER ( ?p > ?s ) }
[]
day time interval common name
Q2332287 Q44265 Q158504
SYSTEM
Ingegerd Olofsdotter of Sweden, Benedict of Nursia, Clement of Ohrid
Q770633 Q724454 Q161775 Q44265 Q319319 Q37599 Q3189724 Q170164 Q158504 Q2332287 Q18691847
(c(Q502895),P841,c(Q573)|c(Q186081))
action greater
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 Q185856
relation P841
type Q573
type Q186081
[ANSWERS]
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?p ) WHERE { { ?v property:P841 ?k . ?v rdf:type ontology:Q502895 . ?k rdf:type ontology:Q573 } UNION { ?v property:P841 ?k . ?v rdf:type ontology:Q502895 . ?k rdf:type ontology:Q186081 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { resource:Q185856 property:P841 ?f . { ?f rdf:type ?u . VALUES ( ?u ) { ( ontology:Q186081 ) ( ontology:Q573 ) } } } } . FILTER ( ?p > ?s ) }
Padarn Julian of Antioch Stephen Benedict of Nursia Abercius of Hieropolis Theodore of Amasea Julienne de Vyazma Helena of Constantinople Clement of Ohrid Ingegerd Olofsdotter of Sweden Saint Ilar
Ingegerd Olofsdotter of Sweden Benedict of Nursia Clement of Ohrid
action greater
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 Barnabas
relation feast day
type day
type time interval
[{'concept': 'common name'}, 'feast day', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?p ) WHERE { { ?v property:feast_day ?k . ?v rdf:type ontology:common_name . ?k rdf:type ontology:day } UNION { ?v property:feast_day ?k . ?v rdf:type ontology:common_name . ?k rdf:type ontology:time_interval } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { resource:Barnabas property:feast_day ?f . { ?f rdf:type ?u . VALUES ( ?u ) { ( ontology:time_interval ) ( ontology:day ) } } } } . FILTER ( ?p > ?s ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do around 2748 people know to play ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2748
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?z = 2748 ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?d } }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2748
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?z = 2748 ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?d } }
[]
musical instrument common name
Q46185 Q8338 Q1444
SYSTEM
bass guitar, trumpet, organ
Q46185 Q8338 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2748
Around 2748 people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?z = 2748 ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?d } }
bass guitar trumpet organ drum kit
Around 2748 people know about bass guitar, trumpet and organ
bass guitar trumpet organ
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2748
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?z = 2748 ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?d } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q44265
P674
Q223393
USER
Which literary genre has the character Benedict of Nursia ?
(c(Q223393),P674,Q44265)
action filter_type
action find_reverse
entity Q44265
relation P674
type Q223393
[{'concept': 'Q223393'}, 'P674', 'Q44265']
SELECT DISTINCT ?a WHERE { ?a property:P674 resource:Q44265 . ?a rdf:type ontology:Q223393 }
Benedict of Nursia
action filter_type
action find_reverse
entity Benedict of Nursia
relation characters
type literary genre
[{'concept': 'literary genre'}, 'characters', 'Benedict of Nursia']
SELECT DISTINCT ?a WHERE { ?a property:characters resource:Benedict_of_Nursia . ?a rdf:type ontology:literary_genre }
[]
literary genre
Q40185
SYSTEM
The Divine Comedy
Q40185
(c(Q223393),P674,Q44265)
action filter_type
action find_reverse
entity Q44265
relation P674
type Q223393
[ANSWER] has the character Benedict of Nursia
[{'concept': 'Q223393'}, 'P674', 'Q44265']
SELECT DISTINCT ?a WHERE { ?a property:P674 resource:Q44265 . ?a rdf:type ontology:Q223393 }
The Divine Comedy
The Divine Comedy has the character Benedict of Nursia
The Divine Comedy
action filter_type
action find_reverse
entity Benedict of Nursia
relation characters
type literary genre
[{'concept': 'literary genre'}, 'characters', 'Benedict of Nursia']
SELECT DISTINCT ?a WHERE { ?a property:characters resource:Benedict_of_Nursia . ?a rdf:type ontology:literary_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40185
P170
Q502895
USER
Which person is the creater of that literary genre ?
(Q40185,P170,c(Q502895))
action filter_type
action find
entity Q40185
relation P170
type Q502895
['Q40185', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q40185 property:P170 ?z . ?z rdf:type ontology:Q502895 }
The Divine Comedy
action filter_type
action find
entity The Divine Comedy
relation creator
type common name
['The Divine Comedy', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:The_Divine_Comedy property:creator ?z . ?z rdf:type ontology:common_name }
[]
common name
Q1067
SYSTEM
Dante Alighieri
Q1067
(Q40185,P170,c(Q502895))
action filter_type
action find
entity Q40185
relation P170
type Q502895
[ANSWER] is the creater of that literary genre
['Q40185', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q40185 property:P170 ?z . ?z rdf:type ontology:Q502895 }
Dante Alighieri
Dante Alighieri is the creater of that literary genre
Dante Alighieri
action filter_type
action find
entity The Divine Comedy
relation creator
type common name
['The Divine Comedy', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:The_Divine_Comedy property:creator ?z . ?z rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q14759609
P21 P22
Q502895
USER
Which people have Abu Muh I as dad and have male as the sex ?
AND((c(Q502895),P22,Q14759609), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q14759609
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q14759609'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P22 resource:Q14759609 . ?o property:P21 resource:Q6581097 }
male Abu Muh I
action filter_type
action intersection
action find_reverse
entity Abu Muh I
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Abu Muh I'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:father resource:Abu_Muh_I . ?o property:gender resource:male }
[]
common name
Q11903772
SYSTEM
Abd er Rahman I bin Abu Muh
Q11903772
AND((c(Q502895),P22,Q14759609), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q14759609
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Abu Muh I as dad and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q14759609'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P22 resource:Q14759609 . ?o property:P21 resource:Q6581097 }
Abd er Rahman I bin Abu Muh
Abd er Rahman I bin Abu Muh have Abu Muh I as dad and have male as the sex
Abd er Rahman I bin Abu Muh
action filter_type
action intersection
action find_reverse
entity Abu Muh I
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Abu Muh I'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:father resource:Abu_Muh_I . ?o property:gender resource:male }
[]