Simple Question (Direct)
Simple Question
Q329331
P102
Q7210356
USER
Which political organization is Theo Koritzinsky a member of ?
(Q329331,P102,c(Q7210356))
action filter_type
action find
entity Q329331
relation P102
type Q7210356
['Q329331', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { resource:Q329331 property:P102 ?b . ?b rdf:type ontology:Q7210356 }
Theo Koritzinsky
action filter_type
action find
entity Theo Koritzinsky
relation member of political party
type political organization
['Theo Koritzinsky', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { resource:Theo_Koritzinsky property:member_of_political_party ?b . ?b rdf:type ontology:political_organization }
[]
political organization
Q488418
SYSTEM
Socialist Left Party
Q488418
(Q329331,P102,c(Q7210356))
action filter_type
action find
entity Q329331
relation P102
type Q7210356
Party [ANSWER] is Theo Koritzinsky a member of
['Q329331', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { resource:Q329331 property:P102 ?b . ?b rdf:type ontology:Q7210356 }
Socialist Left Party
Party Socialist Left Party is Theo Koritzinsky a member of
Socialist Left Party
action filter_type
action find
entity Theo Koritzinsky
relation member of political party
type political organization
['Theo Koritzinsky', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { resource:Theo_Koritzinsky property:member_of_political_party ?b . ?b rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q329331
P937
Q56061
USER
Where did that person work ?
(Q488418,P937,c(Q56061))
action filter_type
action find
entity Q329331
relation P937
type Q56061
['Q488418', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q329331 property:P937 ?o . ?o rdf:type ontology:Q56061 }
Theo Koritzinsky
action filter_type
action find
entity Theo Koritzinsky
relation work location
type administrative territorial entity
['Socialist Left Party', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Theo_Koritzinsky property:work_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q585
SYSTEM
Oslo
Q585
(Q488418,P937,c(Q56061))
action filter_type
action find
entity Q329331
relation P937
type Q56061
That person worked in [ANSWER]
['Q488418', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q329331 property:P937 ?o . ?o rdf:type ontology:Q56061 }
Oslo
That person worked in Oslo
Oslo
action filter_type
action find
entity Theo Koritzinsky
relation work location
type administrative territorial entity
['Socialist Left Party', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Theo_Koritzinsky property:work_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q329331
P39
Q12737077
USER
What was the position held by that person ?
(Q585,P39,c(Q12737077))
action filter_type
action find
entity Q329331
relation P39
type Q12737077
['Q585', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q329331 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
Theo Koritzinsky
action filter_type
action find
entity Theo Koritzinsky
relation position held
type occupation
['Oslo', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Theo_Koritzinsky property:position_held ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q9045502
SYSTEM
member of the Parliament of Norway
Q9045502
(Q585,P39,c(Q12737077))
action filter_type
action find
entity Q329331
relation P39
type Q12737077
The position held by that person was a [ANSWER]
['Q585', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q329331 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
member of the Parliament of Norway
The position held by that person was a member of the Parliament of Norway
member of the Parliament of Norway
action filter_type
action find
entity Theo Koritzinsky
relation position held
type occupation
['Oslo', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Theo_Koritzinsky property:position_held ?u . ?u rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q488418
P159
Q56061
USER
How many administrative territories are the headquarters of Socialist Left Party located ?
(Q488418,P159,c(Q56061))
action count
action filter_type
action find
entity Q488418
relation P159
type Q56061
['Q488418', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Q488418 property:P159 ?t . ?t rdf:type ontology:Q56061 }
Socialist Left Party
action count
action filter_type
action find
entity Socialist Left Party
relation headquarters location
type administrative territorial entity
['Socialist Left Party', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Socialist_Left_Party property:headquarters_location ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q585
(Q488418,P159,c(Q56061))
action count
action filter_type
action find
entity Q488418
relation P159
type Q56061
[ANSWER]
['Q488418', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Q488418 property:P159 ?t . ?t rdf:type ontology:Q56061 }
Oslo
1
action count
action filter_type
action find
entity Socialist Left Party
relation headquarters location
type administrative territorial entity
['Socialist Left Party', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Socialist_Left_Party property:headquarters_location ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5192197
P159
Q56061
USER
Where is the headquarter of CubeCity Entertainment located ?
(Q5192197,P159,c(Q56061))
action filter_type
action find
entity Q5192197
relation P159
type Q56061
['Q5192197', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q5192197 property:P159 ?v . ?v rdf:type ontology:Q56061 }
CubeCity Entertainment
action filter_type
action find
entity CubeCity Entertainment
relation headquarters location
type administrative territorial entity
['CubeCity Entertainment', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:CubeCity_Entertainment property:headquarters_location ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q5192197,P159,c(Q56061))
action filter_type
action find
entity Q5192197
relation P159
type Q56061
The headquarter of CubeCity Entertainment is located in [ANSWER]
['Q5192197', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q5192197 property:P159 ?v . ?v rdf:type ontology:Q56061 }
New York City
The headquarter of CubeCity Entertainment is located in New York City
New York City
action filter_type
action find
entity CubeCity Entertainment
relation headquarters location
type administrative territorial entity
['CubeCity Entertainment', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:CubeCity_Entertainment property:headquarters_location ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q329331
P27
Q15617994
USER
Which administrative territory does Theo Koritzinsky belong to ?
(Q329331,P27,c(Q15617994))
action filter_type
action find
entity Q329331
relation P27
type Q15617994
['Q329331', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q329331 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Theo Koritzinsky
action filter_type
action find
entity Theo Koritzinsky
relation country of citizenship
type designation for an administrative territorial entity
['Theo Koritzinsky', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Theo_Koritzinsky property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q329331,P27,c(Q15617994))
action filter_type
action find
entity Q329331
relation P27
type Q15617994
Theo Koritzinsky belongs to [ANSWER]
['Q329331', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q329331 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Norway
Theo Koritzinsky belongs to Norway
Norway
action filter_type
action find
entity Theo Koritzinsky
relation country of citizenship
type designation for an administrative territorial entity
['Theo Koritzinsky', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Theo_Koritzinsky property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q329331
P463
Q484652
USER
Which international organization was Theo Koritzinsky a member of ?
(Q329331,P463,c(Q484652))
action filter_type
action find
entity Q329331
relation P463
type Q484652
['Q329331', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?s WHERE { resource:Q329331 property:P463 ?s . ?s rdf:type ontology:Q484652 }
Theo Koritzinsky
action filter_type
action find
entity Theo Koritzinsky
relation member of
type international organization
['Theo Koritzinsky', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?s WHERE { resource:Theo_Koritzinsky property:member_of ?s . ?s rdf:type ontology:international_organization }
[]
international organization
Q939743
SYSTEM
Parliamentary Assembly of the Council of Europe
Q939743
(Q329331,P463,c(Q484652))
action filter_type
action find
entity Q329331
relation P463
type Q484652
The [ANSWER] was Theo Koritzinsky a member of
['Q329331', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?s WHERE { resource:Q329331 property:P463 ?s . ?s rdf:type ontology:Q484652 }
Parliamentary Assembly of the Council of Europe
The Parliamentary Assembly of the Council of Europe was Theo Koritzinsky a member of
Parliamentary Assembly of the Council of Europe
action filter_type
action find
entity Theo Koritzinsky
relation member of
type international organization
['Theo Koritzinsky', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?s WHERE { resource:Theo_Koritzinsky property:member_of ?s . ?s rdf:type ontology:international_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q939743 Q2978384
P463
Q502895
USER
Does Claude Évin have a membership of that international organization ?
(Q2978384,P463,Q939743)
action is_in
entity Q939743
action find
entity Q2978384
relation P463
['Q2978384', 'P463', 'Q939743']
ASK WHERE { resource:Q2978384 property:P463 resource:Q939743 }
Parliamentary Assembly of the Council of Europe Claude Évin
action is_in
entity Parliamentary Assembly of the Council of Europe
action find
entity Claude Évin
relation member of
['Claude Évin', 'member of', 'Parliamentary Assembly of the Council of Europe']
ASK WHERE { resource:Claude_Évin property:member_of resource:Parliamentary_Assembly_of_the_Council_of_Europe }
[]
common name
SYSTEM
YES
(Q2978384,P463,Q939743)
action is_in
entity Q939743
action find
entity Q2978384
relation P463
[ANSWER]
['Q2978384', 'P463', 'Q939743']
ASK WHERE { resource:Q2978384 property:P463 resource:Q939743 }
Yes
action is_in
entity Parliamentary Assembly of the Council of Europe
action find
entity Claude Évin
relation member of
['Claude Évin', 'member of', 'Parliamentary Assembly of the Council of Europe']
ASK WHERE { resource:Claude_Évin property:member_of resource:Parliamentary_Assembly_of_the_Council_of_Europe }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q60 Q3362577 Q19975394
P6
Q502895
USER
Does New York City have Paola Marrati and Harry Weatherill as its administrative leader ?
(Q60,P6,Q3362577) (Q60,P6,Q19975394)
action is_in
entity Q60
action intersection
action find_reverse
entity Q3362577
relation P6
action find_reverse
entity Q19975394
relation P6
['Q60', 'P6', 'Q3362577'] ['Q60', 'P6', 'Q19975394']
ASK WHERE { resource:Q60 property:P6 resource:Q3362577 . resource:Q60 property:P6 resource:Q19975394 }
New York City Paola Marrati Harry Weatherill
action is_in
entity New York City
action intersection
action find_reverse
entity Paola Marrati
relation head of government
action find_reverse
entity Harry Weatherill
relation head of government
['New York City', 'head of government', 'Paola Marrati'] ['New York City', 'head of government', 'Harry Weatherill']
ASK WHERE { resource:New_York_City property:head_of_government resource:Paola_Marrati . resource:New_York_City property:head_of_government resource:Harry_Weatherill }
[]
common name
SYSTEM
NO
(Q60,P6,Q3362577) (Q60,P6,Q19975394)
action is_in
entity Q60
action intersection
action find_reverse
entity Q3362577
relation P6
action find_reverse
entity Q19975394
relation P6
[ANSWER]
['Q60', 'P6', 'Q3362577'] ['Q60', 'P6', 'Q19975394']
ASK WHERE { resource:Q60 property:P6 resource:Q3362577 . resource:Q60 property:P6 resource:Q19975394 }
No
action is_in
entity New York City
action intersection
action find_reverse
entity Paola Marrati
relation head of government
action find_reverse
entity Harry Weatherill
relation head of government
['New York City', 'head of government', 'Paola Marrati'] ['New York City', 'head of government', 'Harry Weatherill']
ASK WHERE { resource:New_York_City property:head_of_government resource:Paola_Marrati . resource:New_York_City property:head_of_government resource:Harry_Weatherill }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q29282
P180
Q12737077 Q18783400 Q386724
USER
Which occupations are depicted in greater number of genres of sculpture and works than Archbishop of Canterbury ?
(c(Q18783400)|c(Q386724),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q29282
relation P180
type Q18783400
type Q386724
[[{'concept': 'Q18783400'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) ?z WHERE { { ?j property:P180 ?z . ?z rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q18783400 } UNION { ?j rdf:type ontology:Q386724 . ?z rdf:type ontology:Q12737077 . ?j property:P180 ?z } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:P180 resource:Q29282 . { ?l rdf:type ?f . VALUES ( ?f ) { ( ontology:Q18783400 ) ( ontology:Q386724 ) } } } } . FILTER ( ?o > ?d ) }
Archbishop of Canterbury
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity Archbishop of Canterbury
relation depicts
type genre of sculpture
type work
[[{'concept': 'genre of sculpture'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) ?z WHERE { { ?j property:depicts ?z . ?z rdf:type ontology:occupation . ?j rdf:type ontology:genre_of_sculpture } UNION { ?j rdf:type ontology:work . ?z rdf:type ontology:occupation . ?j property:depicts ?z } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:depicts resource:Archbishop_of_Canterbury . { ?l rdf:type ?f . VALUES ( ?f ) { ( ontology:genre_of_sculpture ) ( ontology:work ) } } } } . FILTER ( ?o > ?d ) }
[]
occupation genre of sculpture work
Q131512 Q4991371 Q54128
SYSTEM
farmer, soldier, domestic worker
Q131512 Q4991371 Q54128 Q2730732 Q42603
(c(Q18783400)|c(Q386724),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q29282
relation P180
type Q18783400
type Q386724
[ANSWERS] are depicted in greater number of genres of sculpture and works than Archbishop of Canterbury
[[{'concept': 'Q18783400'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) ?z WHERE { { ?j property:P180 ?z . ?z rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q18783400 } UNION { ?j rdf:type ontology:Q386724 . ?z rdf:type ontology:Q12737077 . ?j property:P180 ?z } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:P180 resource:Q29282 . { ?l rdf:type ?f . VALUES ( ?f ) { ( ontology:Q18783400 ) ( ontology:Q386724 ) } } } } . FILTER ( ?o > ?d ) }
farmer soldier domestic worker equestrian priest
Farmer, soldier and domestic worker are depicted in greater number of genres of sculpture and works than Archbishop of Canterbury
farmer soldier domestic worker
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity Archbishop of Canterbury
relation depicts
type genre of sculpture
type work
[[{'concept': 'genre of sculpture'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) ?z WHERE { { ?j property:depicts ?z . ?z rdf:type ontology:occupation . ?j rdf:type ontology:genre_of_sculpture } UNION { ?j rdf:type ontology:work . ?z rdf:type ontology:occupation . ?j property:depicts ?z } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:depicts resource:Archbishop_of_Canterbury . { ?l rdf:type ?f . VALUES ( ?f ) { ( ontology:genre_of_sculpture ) ( ontology:work ) } } } } . FILTER ( ?o > ?d ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q131512 Q4991371 Q54128
P417
Q502895
USER
What are the names of person who are the patron saints of those occupations ?
(Q131512,P417,c(Q502895)) (Q4991371,P417,c(Q502895)) (Q54128,P417,c(Q502895))
action filter_type
action find
entity prev_answer
relation P417
type Q502895
['Q131512', 'P417', {'concept': 'Q502895'}] ['Q4991371', 'P417', {'concept': 'Q502895'}] ['Q54128', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?u property:P417 ?k . ?k rdf:type ontology:Q502895 . VALUES ( ?u ) { ( resource:Q131512 ) ( resource:Q4991371 ) ( resource:Q54128 ) } }
farmer soldier domestic worker
action filter_type
action find
entity prev_answer
relation patron saint
type common name
['farmer', 'patron saint', {'concept': 'common name'}] ['soldier', 'patron saint', {'concept': 'common name'}] ['domestic worker', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?u property:patron_saint ?k . ?k rdf:type ontology:common_name . VALUES ( ?u ) { ( resource:farmer ) ( resource:soldier ) ( resource:domestic_worker ) } }
[]
common name
Q166876 Q44281 Q44265
SYSTEM
Isidore of Seville, Ignatius of Loyola, Benedict of Nursia
Q119289 Q166876 Q151967 Q44265 Q43982 Q48438 Q192816 Q44281 Q744884
(Q131512,P417,c(Q502895)) (Q4991371,P417,c(Q502895)) (Q54128,P417,c(Q502895))
action filter_type
action find
entity prev_answer
relation P417
type Q502895
The names of person are the patron saints of those occupations are [ANSWERS]
['Q131512', 'P417', {'concept': 'Q502895'}] ['Q4991371', 'P417', {'concept': 'Q502895'}] ['Q54128', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?u property:P417 ?k . ?k rdf:type ontology:Q502895 . VALUES ( ?u ) { ( resource:Q131512 ) ( resource:Q4991371 ) ( resource:Q54128 ) } }
Leonard of Port Maurice Isidore of Seville Saint Blaise Benedict of Nursia Bartholomew the Apostle Saint George Saint Barbara Ignatius of Loyola Zita
The names of person are the patron saints of those occupations are Isidore of Seville, Ignatius of Loyola and Benedict of Nursia
Isidore of Seville Ignatius of Loyola Benedict of Nursia
action filter_type
action find
entity prev_answer
relation patron saint
type common name
['farmer', 'patron saint', {'concept': 'common name'}] ['soldier', 'patron saint', {'concept': 'common name'}] ['domestic worker', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?u property:patron_saint ?k . ?k rdf:type ontology:common_name . VALUES ( ?u ) { ( resource:farmer ) ( resource:soldier ) ( resource:domestic_worker ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q166876 Q44281 Q44265
P417
Q12737077
USER
Who have Isidore of Seville, Ignatius of Loyola and Benedict of Nursia as their patron saint ?
(c(Q12737077),P417,Q166876) (c(Q12737077),P417,Q44281) (c(Q12737077),P417,Q44265)
action union
action filter_type
action find_reverse
entity Q166876
relation P417
type Q12737077
action filter_type
action find_reverse
entity Q44281
relation P417
type Q12737077
action filter_type
action find_reverse
entity Q44265
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', 'Q166876'] [{'concept': 'Q12737077'}, 'P417', 'Q44281'] [{'concept': 'Q12737077'}, 'P417', 'Q44265']
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:Q12737077 . ?l property:P417 resource:Q166876 } UNION { ?l property:P417 resource:Q44281 . ?l rdf:type ontology:Q12737077 } }
Isidore of Seville Ignatius of Loyola Benedict of Nursia
action union
action filter_type
action find_reverse
entity Isidore of Seville
relation patron saint
type occupation
action filter_type
action find_reverse
entity Ignatius of Loyola
relation patron saint
type occupation
action filter_type
action find_reverse
entity Benedict of Nursia
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Isidore of Seville'] [{'concept': 'occupation'}, 'patron saint', 'Ignatius of Loyola'] [{'concept': 'occupation'}, 'patron saint', 'Benedict of Nursia']
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:occupation . ?l property:patron_saint resource:Isidore_of_Seville } UNION { ?l property:patron_saint resource:Ignatius_of_Loyola . ?l rdf:type ontology:occupation } }
[]
occupation
Q131512 Q131512 Q42973
SYSTEM
farmer for 1st, 2nd, architect for 3rd
Q131512 Q82594 Q4991371 Q131512 Q42973
(c(Q12737077),P417,Q166876) (c(Q12737077),P417,Q44281) (c(Q12737077),P417,Q44265)
action union
action filter_type
action find_reverse
entity Q166876
relation P417
type Q12737077
action filter_type
action find_reverse
entity Q44281
relation P417
type Q12737077
action filter_type
action find_reverse
entity Q44265
relation P417
type Q12737077
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', 'Q166876'] [{'concept': 'Q12737077'}, 'P417', 'Q44281'] [{'concept': 'Q12737077'}, 'P417', 'Q44265']
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:Q12737077 . ?l property:P417 resource:Q166876 } UNION { ?l property:P417 resource:Q44281 . ?l rdf:type ontology:Q12737077 } }
farmer computer scientist soldier farmer architect
Farmer, farmer and architect have Isidore of Seville, Ignatius of Loyola and Benedict of Nursia as their patron saint
farmer farmer architect
action union
action filter_type
action find_reverse
entity Isidore of Seville
relation patron saint
type occupation
action filter_type
action find_reverse
entity Ignatius of Loyola
relation patron saint
type occupation
action filter_type
action find_reverse
entity Benedict of Nursia
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Isidore of Seville'] [{'concept': 'occupation'}, 'patron saint', 'Ignatius of Loyola'] [{'concept': 'occupation'}, 'patron saint', 'Benedict of Nursia']
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:occupation . ?l property:patron_saint resource:Isidore_of_Seville } UNION { ?l property:patron_saint resource:Ignatius_of_Loyola . ?l rdf:type ontology:occupation } }
[]