Simple Question (Direct)
Simple Question
Q4376873
P27
Q15617994
USER
Which administrative territory is the native country of Bibi de Vries ?
(Q4376873,P27,c(Q15617994))
action filter_type
action find
entity Q4376873
relation P27
type Q15617994
['Q4376873', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q4376873 property:P27 ?m }
Bibi de Vries
action filter_type
action find
entity Bibi de Vries
relation country of citizenship
type designation for an administrative territorial entity
['Bibi de Vries', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bibi_de_Vries property:country_of_citizenship ?m }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
(Q4376873,P27,c(Q15617994))
action filter_type
action find
entity Q4376873
relation P27
type Q15617994
[ANSWER] is the native country of Bibi de Vries
['Q4376873', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q4376873 property:P27 ?m }
Kingdom of the Netherlands
Kingdom of the Netherlands is the native country of Bibi de Vries
Kingdom of the Netherlands
action filter_type
action find
entity Bibi de Vries
relation country of citizenship
type designation for an administrative territorial entity
['Bibi de Vries', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bibi_de_Vries property:country_of_citizenship ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4376873
P39
Q12737077
USER
What was the position held by Bibi de Vries ?
(Q4376873,P39,c(Q12737077))
action filter_type
action find
entity Q4376873
relation P39
type Q12737077
['Q4376873', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q4376873 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Bibi de Vries
action filter_type
action find
entity Bibi de Vries
relation position held
type occupation
['Bibi de Vries', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Bibi_de_Vries property:position_held ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q18887908
SYSTEM
member of the House of Representatives of the Netherlands
Q18887908
(Q4376873,P39,c(Q12737077))
action filter_type
action find
entity Q4376873
relation P39
type Q12737077
The position held by Bibi de Vries was a [ANSWER]
['Q4376873', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q4376873 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
member of the House of Representatives of the Netherlands
The position held by Bibi de Vries was a member of the House of Representatives of the Netherlands
member of the House of Representatives of the Netherlands
action filter_type
action find
entity Bibi de Vries
relation position held
type occupation
['Bibi de Vries', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Bibi_de_Vries property:position_held ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q22919960
Q12737077
USER
And also tell me about Almon Swan?
(Q22919960,P39,c(Q12737077))
action filter_type
action find
entity Q22919960
relation P39
type Q12737077
['Q22919960', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q22919960 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
Almon Swan
action filter_type
action find
entity Almon Swan
relation position held
type occupation
['Almon Swan', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Almon_Swan property:position_held ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q18526160
SYSTEM
member of the Wisconsin State Assembly
Q18526160
(Q22919960,P39,c(Q12737077))
action filter_type
action find
entity Q22919960
relation P39
type Q12737077
[ANSWER]
['Q22919960', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q22919960 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
member of the Wisconsin State Assembly
member of the Wisconsin State Assembly
action filter_type
action find
entity Almon Swan
relation position held
type occupation
['Almon Swan', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Almon_Swan property:position_held ?f . ?f rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3405148 Q4376873
P102
Q7210356
USER
Which political organizations are Bibi de Vries or Simon Thomas a member of ?
OR((Q4376873,P102,c(Q7210356)), (Q3405148,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q4376873
relation P102
action find
entity Q3405148
relation P102
type Q7210356
{'OR': [['Q4376873', 'P102', {'concept': 'Q7210356'}], ['Q3405148', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q4376873 property:P102 ?h } UNION { resource:Q3405148 property:P102 ?h } } . ?h rdf:type ontology:Q7210356 }
Simon Thomas Bibi de Vries
action filter_type
action union
action find
entity Bibi de Vries
relation member of political party
action find
entity Simon Thomas
relation member of political party
type political organization
{'OR': [['Bibi de Vries', 'member of political party', {'concept': 'political organization'}], ['Simon Thomas', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Bibi_de_Vries property:member_of_political_party ?h } UNION { resource:Simon_Thomas property:member_of_political_party ?h } } . ?h rdf:type ontology:political_organization }
[]
political organization
Q10691 Q239333
SYSTEM
Plaid Cymru, People's Party for Freedom and Democracy
Q10691 Q239333
OR((Q4376873,P102,c(Q7210356)), (Q3405148,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q4376873
relation P102
action find
entity Q3405148
relation P102
type Q7210356
[ANSWERS] are Bibi de Vries or Simon Thomas a member of
{'OR': [['Q4376873', 'P102', {'concept': 'Q7210356'}], ['Q3405148', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q4376873 property:P102 ?h } UNION { resource:Q3405148 property:P102 ?h } } . ?h rdf:type ontology:Q7210356 }
Plaid Cymru People's Party for Freedom and Democracy
Plaid Cymru and People's Party for Freedom and Democracy are Bibi de Vries or Simon Thomas a member of
Plaid Cymru People's Party for Freedom and Democracy
action filter_type
action union
action find
entity Bibi de Vries
relation member of political party
action find
entity Simon Thomas
relation member of political party
type political organization
{'OR': [['Bibi de Vries', 'member of political party', {'concept': 'political organization'}], ['Simon Thomas', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Bibi_de_Vries property:member_of_political_party ?h } UNION { resource:Simon_Thomas property:member_of_political_party ?h } } . ?h rdf:type ontology:political_organization }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q340169 Q3516658
USER
Which occupations are expressed in around 2 medias or heraldic symbols ?
(c(Q340169)|c(Q3516658),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
value 2
[[{'concept': 'Q340169'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?i ) WHERE { VALUES ( ?g ) { ( ontology:Q3516658 ) ( ontology:Q340169 ) } . ?s rdf:type ?g } GROUP BY ?n } . FILTER ( ?i = 2 ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
value 2
[[{'concept': 'media'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?i ) WHERE { VALUES ( ?g ) { ( ontology:heraldic_symbol ) ( ontology:media ) } . ?s rdf:type ?g } GROUP BY ?n } . FILTER ( ?i = 2 ) }
[]
occupation media heraldic symbol
Q4991371 Q639669
SYSTEM
soldier, musician
Q4991371 Q639669
(c(Q340169)|c(Q3516658),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
value 2
The [ANSWERS] are expressed in around 2 medias or heraldic symbols
[[{'concept': 'Q340169'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?i ) WHERE { VALUES ( ?g ) { ( ontology:Q3516658 ) ( ontology:Q340169 ) } . ?s rdf:type ?g } GROUP BY ?n } . FILTER ( ?i = 2 ) }
soldier musician
The soldier and musician are expressed in around 2 medias or heraldic symbols
soldier musician
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
value 2
[[{'concept': 'media'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?i ) WHERE { VALUES ( ?g ) { ( ontology:heraldic_symbol ) ( ontology:media ) } . ?s rdf:type ?g } GROUP BY ?n } . FILTER ( ?i = 2 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q4991371 Q639669
P180
Q3305213
USER
Which paintings express those occupations ?
(c(Q3305213),P180,Q4991371) (c(Q3305213),P180,Q639669)
action filter_type
action find_reverse
entity prev_answer
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q4991371'] [{'concept': 'Q3305213'}, 'P180', 'Q639669']
SELECT DISTINCT ?l WHERE { VALUES ( ?p ) { ( resource:Q4991371 ) ( resource:Q639669 ) } . ?l property:P180 ?p . ?l rdf:type ontology:Q3305213 }
soldier musician
action filter_type
action find_reverse
entity prev_answer
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'soldier'] [{'concept': 'painting'}, 'depicts', 'musician']
SELECT DISTINCT ?l WHERE { VALUES ( ?p ) { ( resource:soldier ) ( resource:musician ) } . ?l property:depicts ?p . ?l rdf:type ontology:painting }
[]
painting
Q27005745 Q22570045 Q20165836
SYSTEM
Chapelle Cardon, Picture clock with Alster panorama, Missed
Q20081287 Q22570045 Q20165836 Q27005745
(c(Q3305213),P180,Q4991371) (c(Q3305213),P180,Q639669)
action filter_type
action find_reverse
entity prev_answer
relation P180
type Q3305213
[ANSWERS] express those occupations
[{'concept': 'Q3305213'}, 'P180', 'Q4991371'] [{'concept': 'Q3305213'}, 'P180', 'Q639669']
SELECT DISTINCT ?l WHERE { VALUES ( ?p ) { ( resource:Q4991371 ) ( resource:Q639669 ) } . ?l property:P180 ?p . ?l rdf:type ontology:Q3305213 }
The Sideboard Picture clock with Alster panorama Missed Chapelle Cardon
Chapelle Cardon, Picture clock with Alster panorama and Missed express those occupations
Chapelle Cardon Picture clock with Alster panorama Missed
action filter_type
action find_reverse
entity prev_answer
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'soldier'] [{'concept': 'painting'}, 'depicts', 'musician']
SELECT DISTINCT ?l WHERE { VALUES ( ?p ) { ( resource:soldier ) ( resource:musician ) } . ?l property:depicts ?p . ?l rdf:type ontology:painting }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q27005745 Q22570045 Q20165836
P180
Q12737077
USER
Which occupations are depicted in Chapelle Cardon, Picture clock with Alster panorama and Missed ?
(Q27005745,P180,c(Q12737077)) (Q22570045,P180,c(Q12737077)) (Q20165836,P180,c(Q12737077))
action union
action filter_type
action find
entity Q27005745
relation P180
type Q12737077
action filter_type
action find
entity Q22570045
relation P180
type Q12737077
action filter_type
action find
entity Q20165836
relation P180
type Q12737077
['Q27005745', 'P180', {'concept': 'Q12737077'}] ['Q22570045', 'P180', {'concept': 'Q12737077'}] ['Q20165836', 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?k property:P180 ?u . VALUES ( ?k ) { ( resource:Q27005745 ) ( resource:Q22570045 ) } }
Chapelle Cardon Picture clock with Alster panorama Missed
action union
action filter_type
action find
entity Chapelle Cardon
relation depicts
type occupation
action filter_type
action find
entity Picture clock with Alster panorama
relation depicts
type occupation
action filter_type
action find
entity Missed
relation depicts
type occupation
['Chapelle Cardon', 'depicts', {'concept': 'occupation'}] ['Picture clock with Alster panorama', 'depicts', {'concept': 'occupation'}] ['Missed', 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?k property:depicts ?u . VALUES ( ?k ) { ( resource:Chapelle_Cardon ) ( resource:Picture_clock_with_Alster_panorama ) } }
[]
occupation
Q4991371 Q4991371 Q639669
SYSTEM
musician for 3rd, soldier for 1st, 2nd
Q639669 Q42603 Q2730732 Q4991371 Q4991371
(Q27005745,P180,c(Q12737077)) (Q22570045,P180,c(Q12737077)) (Q20165836,P180,c(Q12737077))
action union
action filter_type
action find
entity Q27005745
relation P180
type Q12737077
action filter_type
action find
entity Q22570045
relation P180
type Q12737077
action filter_type
action find
entity Q20165836
relation P180
type Q12737077
[ANSWERS]
['Q27005745', 'P180', {'concept': 'Q12737077'}] ['Q22570045', 'P180', {'concept': 'Q12737077'}] ['Q20165836', 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?k property:P180 ?u . VALUES ( ?k ) { ( resource:Q27005745 ) ( resource:Q22570045 ) } }
musician priest equestrian soldier soldier
Soldier, soldier and musician are depicted in Chapelle Cardon, Picture clock with Alster panorama and Missed
soldier soldier musician
action union
action filter_type
action find
entity Chapelle Cardon
relation depicts
type occupation
action filter_type
action find
entity Picture clock with Alster panorama
relation depicts
type occupation
action filter_type
action find
entity Missed
relation depicts
type occupation
['Chapelle Cardon', 'depicts', {'concept': 'occupation'}] ['Picture clock with Alster panorama', 'depicts', {'concept': 'occupation'}] ['Missed', 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?k property:depicts ?u . VALUES ( ?k ) { ( resource:Chapelle_Cardon ) ( resource:Picture_clock_with_Alster_panorama ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q27005745
P136
Q1792379
USER
What can be considered as category for that painting ?
(Q27005745,P136,c(Q1792379))
action filter_type
action find
entity Q27005745
relation P136
type Q1792379
['Q27005745', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1792379 . resource:Q27005745 property:P136 ?y }
Chapelle Cardon
action filter_type
action find
entity Chapelle Cardon
relation genre
type art genre
['Chapelle Cardon', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:art_genre . resource:Chapelle_Cardon property:genre ?y }
[]
art genre
Clarification for simple ques.
Q27005745
SYSTEM
Did you mean Chapelle Cardon ?
Q4991371 Q4991371 Q639669
(Q4991371,P136,c(Q1792379)) (Q4991371,P136,c(Q1792379)) (Q639669,P136,c(Q1792379))
[ANSWER]
['Q4991371', 'P136', {'concept': 'Q1792379'}] ['Q4991371', 'P136', {'concept': 'Q1792379'}] ['Q639669', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1792379 . resource:Q27005745 property:P136 ?y }
soldier soldier musician
Did you mean Chapelle Cardon ?
Chapelle Cardon
['soldier', 'genre', {'concept': 'art genre'}] ['soldier', 'genre', {'concept': 'art genre'}] ['musician', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:art_genre . resource:Chapelle_Cardon property:genre ?y }
[]
Simple Question (Coreferenced)
USER
Yes
(Q27005745,P136,c(Q1792379))
['Q27005745', 'P136', {'concept': 'Q1792379'}]
['Chapelle Cardon', 'genre', {'concept': 'art genre'}]
[]
Q2414609
SYSTEM
religious painting
Q2414609
(Q27005745,P136,c(Q1792379))
action filter_type
action find
entity Q27005745
relation P136
type Q1792379
[ANSWER] can be considered as category for that painting
['Q27005745', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1792379 . resource:Q27005745 property:P136 ?y }
religious painting
Religious painting can be considered as category for that painting
religious painting
action filter_type
action find
entity Chapelle Cardon
relation genre
type art genre
['Chapelle Cardon', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:art_genre . resource:Chapelle_Cardon property:genre ?y }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2414609 Q2936926
P136
Q838948
USER
Does Canyoneaustrate have that one as genre ?
(Q2936926,P136,Q2414609)
action is_in
entity Q2936926
action find
entity Q2414609
relation P136
['Q2936926', 'P136', 'Q2414609']
ASK WHERE { resource:Q2414609 property:P136 resource:Q2936926 }
religious painting Canyoneaustrate
action is_in
entity Canyoneaustrate
action find
entity religious painting
relation genre
['Canyoneaustrate', 'genre', 'religious painting']
ASK WHERE { resource:religious_painting property:genre resource:Canyoneaustrate }
[]
work of art
SYSTEM
NO
(Q2936926,P136,Q2414609)
action is_in
entity Q2936926
action find
entity Q2414609
relation P136
[ANSWER]
['Q2936926', 'P136', 'Q2414609']
ASK WHERE { resource:Q2414609 property:P136 resource:Q2936926 }
No
action is_in
entity Canyoneaustrate
action find
entity religious painting
relation genre
['Canyoneaustrate', 'genre', 'religious painting']
ASK WHERE { resource:religious_painting property:genre resource:Canyoneaustrate }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q4376873 Q20810793 Q239333
P102
Q7210356
USER
Is Bibi de Vries a member of Podemos Región de Murcia and People's Party for Freedom and Democracy ?
(Q4376873,P102,Q20810793) (Q4376873,P102,Q239333)
action is_in
entity Q4376873
action intersection
action find_reverse
entity Q20810793
relation P102
action find_reverse
entity Q239333
relation P102
['Q4376873', 'P102', 'Q20810793'] ['Q4376873', 'P102', 'Q239333']
ASK WHERE { resource:Q4376873 property:P102 resource:Q20810793 . resource:Q4376873 property:P102 resource:Q239333 }
Bibi de Vries Podemos Región de Murcia People's Party for Freedom and Democracy
action is_in
entity Bibi de Vries
action intersection
action find_reverse
entity Podemos Región de Murcia
relation member of political party
action find_reverse
entity People's Party for Freedom and Democracy
relation member of political party
['Bibi de Vries', 'member of political party', 'Podemos Región de Murcia'] ['Bibi de Vries', 'member of political party', "People's Party for Freedom and Democracy"]
ASK WHERE { resource:Bibi_de_Vries property:member_of_political_party resource:Podemos_Región_de_Murcia . resource:Bibi_de_Vries property:member_of_political_party resource:People's_Party_for_Freedom_and_Democracy }
[]
political organization
SYSTEM
NO and YES respectively
(Q4376873,P102,Q20810793) (Q4376873,P102,Q239333)
action is_in
entity Q4376873
action intersection
action find_reverse
entity Q20810793
relation P102
action find_reverse
entity Q239333
relation P102
[ANSWER]
['Q4376873', 'P102', 'Q20810793'] ['Q4376873', 'P102', 'Q239333']
ASK WHERE { resource:Q4376873 property:P102 resource:Q20810793 . resource:Q4376873 property:P102 resource:Q239333 }
NO and YES respectively
action is_in
entity Bibi de Vries
action intersection
action find_reverse
entity Podemos Región de Murcia
relation member of political party
action find_reverse
entity People's Party for Freedom and Democracy
relation member of political party
['Bibi de Vries', 'member of political party', 'Podemos Región de Murcia'] ['Bibi de Vries', 'member of political party', "People's Party for Freedom and Democracy"]
ASK WHERE { resource:Bibi_de_Vries property:member_of_political_party resource:Podemos_Región_de_Murcia . resource:Bibi_de_Vries property:member_of_political_party resource:People's_Party_for_Freedom_and_Democracy }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1337918 Q4376873
P106
Q12737077
USER
Which occupations do Bibi de Vries and Ernst Fock do for a living ?
AND((Q4376873,P106,c(Q12737077)), (Q1337918,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q4376873
relation P106
action find
entity Q1337918
relation P106
type Q12737077
{'AND': [['Q4376873', 'P106', {'concept': 'Q12737077'}], ['Q1337918', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { resource:Q4376873 property:P106 ?o . resource:Q1337918 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Ernst Fock Bibi de Vries
action filter_type
action intersection
action find
entity Bibi de Vries
relation occupation
action find
entity Ernst Fock
relation occupation
type occupation
{'AND': [['Bibi de Vries', 'occupation', {'concept': 'occupation'}], ['Ernst Fock', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { resource:Bibi_de_Vries property:occupation ?o . resource:Ernst_Fock property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q36180
SYSTEM
writer
Q36180
AND((Q4376873,P106,c(Q12737077)), (Q1337918,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q4376873
relation P106
action find
entity Q1337918
relation P106
type Q12737077
[ANSWER] Bibi de Vries and Ernst Fock do for a living
{'AND': [['Q4376873', 'P106', {'concept': 'Q12737077'}], ['Q1337918', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { resource:Q4376873 property:P106 ?o . resource:Q1337918 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
writer
Writer Bibi de Vries and Ernst Fock do for a living
writer
action filter_type
action intersection
action find
entity Bibi de Vries
relation occupation
action find
entity Ernst Fock
relation occupation
type occupation
{'AND': [['Bibi de Vries', 'occupation', {'concept': 'occupation'}], ['Ernst Fock', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { resource:Bibi_de_Vries property:occupation ?o . resource:Ernst_Fock property:occupation ?o . ?o rdf:type ontology:occupation }
[]