Simple Question (Direct)
Simple Question
Q1646170
P6
Q502895
USER
Which person has Vilanova d'Alcolea as its head of government ?
(Q1646170,P6,c(Q502895))
action filter_type
action find
entity Q1646170
relation P6
type Q502895
['Q1646170', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q1646170 property:P6 ?n . ?n rdf:type ontology:Q502895 }
Vilanova d'Alcolea
action filter_type
action find
entity Vilanova d'Alcolea
relation head of government
type common name
["Vilanova d'Alcolea", 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Vilanova_d'Alcolea property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
common name
Q14066679
SYSTEM
Francisco Jose Oller Capdevila
Q14066679
(Q1646170,P6,c(Q502895))
action filter_type
action find
entity Q1646170
relation P6
type Q502895
[ANSWER] has Vilanova d'Alcolea as its head of government
['Q1646170', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q1646170 property:P6 ?n . ?n rdf:type ontology:Q502895 }
Francisco Jose Oller Capdevila
Francisco Jose Oller Capdevila has Vilanova d'Alcolea as its head of government
Francisco Jose Oller Capdevila
action filter_type
action find
entity Vilanova d'Alcolea
relation head of government
type common name
["Vilanova d'Alcolea", 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Vilanova_d'Alcolea property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14066679
P39
Q12737077
USER
Which occupation was a position held by that person ?
(Q14066679,P39,c(Q12737077))
action filter_type
action find
entity Q14066679
relation P39
type Q12737077
['Q14066679', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q14066679 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Francisco Jose Oller Capdevila
action filter_type
action find
entity Francisco Jose Oller Capdevila
relation position held
type occupation
['Francisco Jose Oller Capdevila', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Francisco_Jose_Oller_Capdevila property:position_held ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q30185
SYSTEM
mayor
Q30185
(Q14066679,P39,c(Q12737077))
action filter_type
action find
entity Q14066679
relation P39
type Q12737077
The [ANSWER] was a position held by that person
['Q14066679', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q14066679 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
mayor
The mayor was a position held by that person
mayor
action filter_type
action find
entity Francisco Jose Oller Capdevila
relation position held
type occupation
['Francisco Jose Oller Capdevila', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Francisco_Jose_Oller_Capdevila property:position_held ?q . ?q rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q12737077 Q43229 Q502895
USER
How many occupations are the field of work of around the same number of organizations or people as that occupation ?
(c(Q43229)|c(Q502895),P101,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q43229
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q30185
relation P101
type Q43229
type Q502895
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { { VALUES ( ?g ) { ( ontology:Q43229 ) ( ontology:Q502895 ) } . ?h rdf:type ?g } . ?h property:P101 resource:Q30185 } } . FILTER ( ?k = ?c ) . { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?k ) WHERE { { ?i property:P101 ?y . ?y rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q43229 } UNION { ?i rdf:type ontology:Q502895 . ?y rdf:type ontology:Q12737077 . ?i property:P101 ?y } } GROUP BY ?y } }
action count
action approx
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type organization
action find_reverse_tuple_counts
relation field of work
type occupation
type common name
action count
action filter_multi_types
action find_reverse
entity mayor
relation field of work
type organization
type common name
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { { VALUES ( ?g ) { ( ontology:organization ) ( ontology:common_name ) } . ?h rdf:type ?g } . ?h property:field_of_work resource:mayor } } . FILTER ( ?k = ?c ) . { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?k ) WHERE { { ?i property:field_of_work ?y . ?y rdf:type ontology:occupation . ?i rdf:type ontology:organization } UNION { ?i rdf:type ontology:common_name . ?y rdf:type ontology:occupation . ?i property:field_of_work ?y } } GROUP BY ?y } }
[]
occupation organization common name
SYSTEM
114
Q6625963 Q4175034 Q177220 Q911554 Q80687 Q37226 Q652122 Q765778 Q2995983 Q627325 Q33999 Q1288557 Q14915627 Q13418253 Q1495660 Q774306 Q4853732 Q211423 Q706364 Q1231865 Q622807 Q584301 Q6138343 Q4610556 Q1259917 Q2516866 Q2259451 Q947873 Q333634 Q15949613 Q783906 Q1792450 Q11900058 Q3243461 Q5482740 Q3922505 Q1051088 Q138858 Q183888 Q593644 Q7888586 Q81096 Q170790 Q30185 Q15839135 Q1930187 Q14467526 Q6500773 Q212238 Q11642 Q937857 Q157509 Q128124 Q1999841 Q131524 Q1172458 Q2505739 Q1622272 Q653368 Q3455803 Q2707485 Q1402561 Q725440 Q2374149 Q17277248 Q2865798 Q326358 Q2599593 Q705908 Q4164507 Q2205972 Q899758 Q2855502 Q169470 Q36180 Q201788 Q15117302 Q483501 Q1114448 Q17167049 Q1423891 Q3665646 Q11063 Q1028181 Q1392297 Q901 Q1881523 Q18524075 Q1235146 Q36834 Q15995642 Q254651 Q3387717 Q354034 Q158852 Q2252262 Q245068 Q8011071 Q219477 Q1607826 Q154549 Q1709010 Q639669 Q191633 Q33231 Q2490358 Q644687 Q2732142 Q15980158 Q15954519 Q42603 Q3621491 Q11774891 Q6981670
(c(Q43229)|c(Q502895),P101,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q43229
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q30185
relation P101
type Q43229
type Q502895
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { { VALUES ( ?g ) { ( ontology:Q43229 ) ( ontology:Q502895 ) } . ?h rdf:type ?g } . ?h property:P101 resource:Q30185 } } . FILTER ( ?k = ?c ) . { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?k ) WHERE { { ?i property:P101 ?y . ?y rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q43229 } UNION { ?i rdf:type ontology:Q502895 . ?y rdf:type ontology:Q12737077 . ?i property:P101 ?y } } GROUP BY ?y } }
novelist legislator singer business magnate secretary teacher sewing organist double-bassist graphic designer actor hieromonk musicologist philologist food critic surgeon children's writer goldsmith art director educationist seiyū bassist wood carver model violinist publisher stage actor television presenter translator short story writer neurologist art historian explorer collector programmer music producer Commissioner of Baseball entertainer software developer chemist chemical engineer engineer mathematician mayor developmental biologist journalist linguist general practitioner civil servant pottery association football player legal guardian audio engineer faqih entrepreneur muhaddith hispanist university teacher district attorney director scenographer military leader prelate botanist member of the National Assembly of Armenia glass artist joiner germanist agency agreement art critic stained-glass artist violist chief of police physicist writer historian volleyball player artist cartoonist specialist in literature minister basketball player astronomer painter Train dispatcher scientist STEM fields mining engineer documentary filmmaker composer religious leader navigator theatre director type designer conductor rapper comedian animal trainer missionary editor carpenter software engineer musician mangaka photographer choreographer illustrator statistician non-fiction writer alchemist priest archaeologist ice hockey player Navajo weaving
114
action count
action approx
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type organization
action find_reverse_tuple_counts
relation field of work
type occupation
type common name
action count
action filter_multi_types
action find_reverse
entity mayor
relation field of work
type organization
type common name
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { { VALUES ( ?g ) { ( ontology:organization ) ( ontology:common_name ) } . ?h rdf:type ?g } . ?h property:field_of_work resource:mayor } } . FILTER ( ?k = ?c ) . { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?k ) WHERE { { ?i property:field_of_work ?y . ?y rdf:type ontology:occupation . ?i rdf:type ontology:organization } UNION { ?i rdf:type ontology:common_name . ?y rdf:type ontology:occupation . ?i property:field_of_work ?y } } GROUP BY ?y } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1646170
P1001
Q12737077
USER
Which occupation applies to jurisdiction over Vilanova d'Alcolea ?
(c(Q12737077),P1001,Q1646170)
action filter_type
action find_reverse
entity Q1646170
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q1646170']
SELECT DISTINCT ?d WHERE { ?d property:P1001 resource:Q1646170 . ?d rdf:type ontology:Q12737077 }
Vilanova d'Alcolea
action filter_type
action find_reverse
entity Vilanova d'Alcolea
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', "Vilanova d'Alcolea"]
SELECT DISTINCT ?d WHERE { ?d property:applies_to_jurisdiction resource:Vilanova_d'Alcolea . ?d rdf:type ontology:occupation }
[]
occupation
Q26694275
SYSTEM
mayor of Villanueva de Alcolea
Q26694275
(c(Q12737077),P1001,Q1646170)
action filter_type
action find_reverse
entity Q1646170
relation P1001
type Q12737077
The [ANSWER] applies to jurisdiction over Vilanova d'Alcolea
[{'concept': 'Q12737077'}, 'P1001', 'Q1646170']
SELECT DISTINCT ?d WHERE { ?d property:P1001 resource:Q1646170 . ?d rdf:type ontology:Q12737077 }
mayor of Villanueva de Alcolea
The mayor of Villanueva de Alcolea applies to jurisdiction over Vilanova d'Alcolea
mayor of Villanueva de Alcolea
action filter_type
action find_reverse
entity Vilanova d'Alcolea
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', "Vilanova d'Alcolea"]
SELECT DISTINCT ?d WHERE { ?d property:applies_to_jurisdiction resource:Vilanova_d'Alcolea . ?d rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1646170
P47
Q1048835
USER
Which political territories share border with Vilanova d'Alcolea ?
(c(Q1048835),P47,Q1646170)
action filter_type
action find
entity Q1646170
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q1646170']
SELECT DISTINCT ?e WHERE { resource:Q1646170 property:P47 ?e . ?e rdf:type ontology:Q1048835 }
Vilanova d'Alcolea
action filter_type
action find
entity Vilanova d'Alcolea
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', "Vilanova d'Alcolea"]
SELECT DISTINCT ?e WHERE { resource:Vilanova_d'Alcolea property:shares_border_with ?e . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1635361 Q1635204 Q1646761
SYSTEM
La Serra d'en Galceran, Alcalà de Xivert, les Coves de Vinromà
Q1635703 Q1635361 Q1635204 Q1646184 Q1646761
(c(Q1048835),P47,Q1646170)
action filter_type
action find
entity Q1646170
relation P47
type Q1048835
[ANSWERS] share border with Vilanova d'Alcolea
[{'concept': 'Q1048835'}, 'P47', 'Q1646170']
SELECT DISTINCT ?e WHERE { resource:Q1646170 property:P47 ?e . ?e rdf:type ontology:Q1048835 }
Benlloch La Serra d'en Galceran Alcalà de Xivert la Torre d'en Doménec les Coves de Vinromà
La Serra d'en Galceran, Alcalà de Xivert and les Coves de Vinromà share border with Vilanova d'Alcolea
La Serra d'en Galceran Alcalà de Xivert les Coves de Vinromà
action filter_type
action find
entity Vilanova d'Alcolea
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', "Vilanova d'Alcolea"]
SELECT DISTINCT ?e WHERE { resource:Vilanova_d'Alcolea property:shares_border_with ?e . ?e rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1635361 Q1635204 Q1646761
P1001
Q12737077
USER
Which occupations have jurisdiction over those political territories ?
(c(Q12737077),P1001,Q1635361) (c(Q12737077),P1001,Q1635204) (c(Q12737077),P1001,Q1646761)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q1635361'] [{'concept': 'Q12737077'}, 'P1001', 'Q1635204'] [{'concept': 'Q12737077'}, 'P1001', 'Q1646761']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . ?d property:P1001 ?o . VALUES ( ?o ) { ( resource:Q1635703 ) ( resource:Q1635361 ) ( resource:Q1635204 ) } }
La Serra d'en Galceran Alcalà de Xivert les Coves de Vinromà
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', "La Serra d'en Galceran"] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Alcalà de Xivert'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'les Coves de Vinromà']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . ?d property:applies_to_jurisdiction ?o . VALUES ( ?o ) { ( resource:Benlloch ) ( resource:La_Serra_d'en_Galceran ) ( resource:Alcalà_de_Xivert ) } }
[]
occupation
Q26693057 Q26693032 Q26694348
SYSTEM
mayor of Sierra Engarcerán, mayor of Alcalá de Chivert, mayor of Cuevas de Vinromá
Q26693057 Q26693032 Q26694348
(c(Q12737077),P1001,Q1635361) (c(Q12737077),P1001,Q1635204) (c(Q12737077),P1001,Q1646761)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q12737077
[ANSWERS] have jurisdiction over those political territories
[{'concept': 'Q12737077'}, 'P1001', 'Q1635361'] [{'concept': 'Q12737077'}, 'P1001', 'Q1635204'] [{'concept': 'Q12737077'}, 'P1001', 'Q1646761']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . ?d property:P1001 ?o . VALUES ( ?o ) { ( resource:Q1635703 ) ( resource:Q1635361 ) ( resource:Q1635204 ) } }
mayor of Sierra Engarcerán mayor of Alcalá de Chivert mayor of Cuevas de Vinromá
Mayor of Sierra Engarcerán, mayor of Alcalá de Chivert and mayor of Cuevas de Vinromá have jurisdiction over those political territories
mayor of Sierra Engarcerán mayor of Alcalá de Chivert mayor of Cuevas de Vinromá
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', "La Serra d'en Galceran"] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Alcalà de Xivert'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'les Coves de Vinromà']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . ?d property:applies_to_jurisdiction ?o . VALUES ( ?o ) { ( resource:Benlloch ) ( resource:La_Serra_d'en_Galceran ) ( resource:Alcalà_de_Xivert ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q26693057 Q26693032 Q26694348
P17
Q15617994
USER
Which administrative territories are those occupations a part of ?
(Q26693057,P17,c(Q15617994)) (Q26693032,P17,c(Q15617994)) (Q26694348,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q26693057', 'P17', {'concept': 'Q15617994'}] ['Q26693032', 'P17', {'concept': 'Q15617994'}] ['Q26694348', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?y ) { ( resource:Q26693057 ) ( resource:Q26693032 ) ( resource:Q26694348 ) } . ?w rdf:type ontology:Q15617994 . ?y property:P17 ?w }
mayor of Sierra Engarcerán mayor of Alcalá de Chivert mayor of Cuevas de Vinromá
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['mayor of Sierra Engarcerán', 'country', {'concept': 'designation for an administrative territorial entity'}] ['mayor of Alcalá de Chivert', 'country', {'concept': 'designation for an administrative territorial entity'}] ['mayor of Cuevas de Vinromá', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?y ) { ( resource:mayor_of_Sierra_Engarcerán ) ( resource:mayor_of_Alcalá_de_Chivert ) ( resource:mayor_of_Cuevas_de_Vinromá ) } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:country ?w }
[]
designation for an administrative territorial entity
Q29 Q29 Q29
SYSTEM
Spain
Q29 Q29 Q29
(Q26693057,P17,c(Q15617994)) (Q26693032,P17,c(Q15617994)) (Q26694348,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Are [ANSWER], [ANSWER] and [ANSWER] are those occupations a part of
['Q26693057', 'P17', {'concept': 'Q15617994'}] ['Q26693032', 'P17', {'concept': 'Q15617994'}] ['Q26694348', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?y ) { ( resource:Q26693057 ) ( resource:Q26693032 ) ( resource:Q26694348 ) } . ?w rdf:type ontology:Q15617994 . ?y property:P17 ?w }
Spain Spain Spain
Are Spain, Spain and Spain are those occupations a part of
Spain Spain Spain
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['mayor of Sierra Engarcerán', 'country', {'concept': 'designation for an administrative territorial entity'}] ['mayor of Alcalá de Chivert', 'country', {'concept': 'designation for an administrative territorial entity'}] ['mayor of Cuevas de Vinromá', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?y ) { ( resource:mayor_of_Sierra_Engarcerán ) ( resource:mayor_of_Alcalá_de_Chivert ) ( resource:mayor_of_Cuevas_de_Vinromá ) } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:country ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1635204
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of Alcalà de Xivert ?
(Q1635204,P1313,c(Q12737077))
action filter_type
action find
entity Q1635204
relation P1313
type Q12737077
['Q1635204', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1635204 property:P1313 ?u . ?u rdf:type ontology:Q12737077 }
Alcalà de Xivert
action filter_type
action find
entity Alcalà de Xivert
relation office held by head of government
type occupation
['Alcalà de Xivert', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Alcalà_de_Xivert property:office_held_by_head_of_government ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q26693032
SYSTEM
mayor of Alcalá de Chivert
Q26693032
(Q1635204,P1313,c(Q12737077))
action filter_type
action find
entity Q1635204
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of Alcalà de Xivert
['Q1635204', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q1635204 property:P1313 ?u . ?u rdf:type ontology:Q12737077 }
mayor of Alcalá de Chivert
The mayor of Alcalá de Chivert serves as the political office that is fulfilled by the head of the government of Alcalà de Xivert
mayor of Alcalá de Chivert
action filter_type
action find
entity Alcalà de Xivert
relation office held by head of government
type occupation
['Alcalà de Xivert', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Alcalà_de_Xivert property:office_held_by_head_of_government ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1646761
P19
Q502895
USER
Who were born at les Coves de Vinromà ?
(c(Q502895),P19,Q1646761)
action filter_type
action find_reverse
entity Q1646761
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q1646761']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P19 resource:Q1646761 }
les Coves de Vinromà
action filter_type
action find_reverse
entity les Coves de Vinromà
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'les Coves de Vinromà']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:place_of_birth resource:les_Coves_de_Vinromà }
[]
common name
Q2384980 Q21001583 Q19998010
SYSTEM
Luis Lucia Lucia, Gema Torres Zaragoza, Avel·lí Roca Albert
Q21001583 Q19998010 Q2384980 Q9010562
(c(Q502895),P19,Q1646761)
action filter_type
action find_reverse
entity Q1646761
relation P19
type Q502895
[ANSWERS] were born at les Coves de Vinromà
[{'concept': 'Q502895'}, 'P19', 'Q1646761']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P19 resource:Q1646761 }
Gema Torres Zaragoza Avel·lí Roca Albert Luis Lucia Lucia Jaume Bort i Melià
Luis Lucia Lucia, Gema Torres Zaragoza and Avel·lí Roca Albert were born at les Coves de Vinromà
Luis Lucia Lucia Gema Torres Zaragoza Avel·lí Roca Albert
action filter_type
action find_reverse
entity les Coves de Vinromà
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'les Coves de Vinromà']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:place_of_birth resource:les_Coves_de_Vinromà }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1646761
P19 P21
Q502895
USER
Which people were born at les Coves de Vinromà and are a male ?
AND((c(Q502895),P19,Q1646761), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1646761
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q1646761'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P19 resource:Q1646761 . ?n property:P21 resource:Q6581097 }
male les Coves de Vinromà
action filter_type
action intersection
action find_reverse
entity les Coves de Vinromà
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'les Coves de Vinromà'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:place_of_birth resource:les_Coves_de_Vinromà . ?n property:gender resource:male }
[]
common name
Q19998010 Q2384980 Q9010562
SYSTEM
Avel·lí Roca Albert, Luis Lucia Lucia, Jaume Bort i Melià
Q19998010 Q2384980 Q9010562
AND((c(Q502895),P19,Q1646761), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1646761
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q1646761'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P19 resource:Q1646761 . ?n property:P21 resource:Q6581097 }
Avel·lí Roca Albert Luis Lucia Lucia Jaume Bort i Melià
Avel·lí Roca Albert, Luis Lucia and Jaume Bort i Melià were born at les Coves de Vinromà and are a male
Avel·lí Roca Albert Luis Lucia Lucia Jaume Bort i Melià
action filter_type
action intersection
action find_reverse
entity les Coves de Vinromà
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'les Coves de Vinromà'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:place_of_birth resource:les_Coves_de_Vinromà . ?n property:gender resource:male }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q10395794 Q2384980
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Luis Lucia Lucia or Álvaro Morais Filho ?
OR((Q2384980,P27,c(Q15617994)), (Q10395794,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2384980
relation P27
action find
entity Q10395794
relation P27
type Q15617994
{'OR': [['Q2384980', 'P27', {'concept': 'Q15617994'}], ['Q10395794', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { VALUES ( ?u ) { ( resource:Q2384980 ) ( resource:Q10395794 ) } . ?u property:P27 ?k } }
Álvaro Morais Filho Luis Lucia Lucia
action filter_type
action union
action find
entity Luis Lucia Lucia
relation country of citizenship
action find
entity Álvaro Morais Filho
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Luis Lucia Lucia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Álvaro Morais Filho', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?u ) { ( resource:Luis_Lucia_Lucia ) ( resource:Álvaro_Morais_Filho ) } . ?u property:country_of_citizenship ?k } }
[]
designation for an administrative territorial entity
Q155 Q29
SYSTEM
Brazil, Spain
Q155 Q29
OR((Q2384980,P27,c(Q15617994)), (Q10395794,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2384980
relation P27
action find
entity Q10395794
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Luis Lucia or Álvaro Morais Filho
{'OR': [['Q2384980', 'P27', {'concept': 'Q15617994'}], ['Q10395794', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { VALUES ( ?u ) { ( resource:Q2384980 ) ( resource:Q10395794 ) } . ?u property:P27 ?k } }
Brazil Spain
Brazil and Spain are the countries of citizenship of Luis Lucia or Álvaro Morais Filho
Brazil Spain
action filter_type
action union
action find
entity Luis Lucia Lucia
relation country of citizenship
action find
entity Álvaro Morais Filho
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Luis Lucia Lucia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Álvaro Morais Filho', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?u ) { ( resource:Luis_Lucia_Lucia ) ( resource:Álvaro_Morais_Filho ) } . ?u property:country_of_citizenship ?k } }
[]