Simple Question (Direct)
Simple Question
Q5497072
P20
Q123705
USER
Where did the expiration of Frederic Jones occur ?
(Q5497072,P20,c(Q123705))
action filter_type
action find
entity Q5497072
relation P20
type Q123705
['Q5497072', 'P20', {'concept': 'Q123705'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q123705 . resource:Q5497072 property:P20 ?u }
Frederic Jones
action filter_type
action find
entity Frederic Jones
relation place of death
type neighborhood
['Frederic Jones', 'place of death', {'concept': 'neighborhood'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:neighborhood . resource:Frederic_Jones property:place_of_death ?u }
[]
neighborhood
Q4237491
SYSTEM
Christchurch Central City
Q4237491
(Q5497072,P20,c(Q123705))
action filter_type
action find
entity Q5497072
relation P20
type Q123705
The expiration of Frederic Jones occurred in [ANSWER]
['Q5497072', 'P20', {'concept': 'Q123705'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q123705 . resource:Q5497072 property:P20 ?u }
Christchurch Central City
The expiration of Frederic Jones occurred in Christchurch Central City
Christchurch Central City
action filter_type
action find
entity Frederic Jones
relation place of death
type neighborhood
['Frederic Jones', 'place of death', {'concept': 'neighborhood'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:neighborhood . resource:Frederic_Jones property:place_of_death ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5497072
P734
Q82799
USER
Which name is associated with Frederic Jones ?
(Q5497072,P734,c(Q82799))
action filter_type
action find
entity Q5497072
relation P734
type Q82799
['Q5497072', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q5497072 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Frederic Jones
action filter_type
action find
entity Frederic Jones
relation family name
type name
['Frederic Jones', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Frederic_Jones property:family_name ?w . ?w rdf:type ontology:name }
[]
name
Q59853
SYSTEM
Jones
Q59853
(Q5497072,P734,c(Q82799))
action filter_type
action find
entity Q5497072
relation P734
type Q82799
[ANSWER] is associated with Frederic [ANSWER]
['Q5497072', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q5497072 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Jones
Jones is associated with Frederic Jones
Jones
action filter_type
action find
entity Frederic Jones
relation family name
type name
['Frederic Jones', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Frederic_Jones property:family_name ?w . ?w rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q59853 Q1860
P407
Q34770
USER
Is English the language of work for Jones ?
(Q59853,P407,Q1860)
action is_in
entity Q1860
action find
entity Q59853
relation P407
['Q59853', 'P407', 'Q1860']
ASK WHERE { resource:Q59853 property:P407 resource:Q1860 }
Jones English
action is_in
entity English
action find
entity Jones
relation language of work or name
['Jones', 'language of work or name', 'English']
ASK WHERE { resource:Jones property:language_of_work_or_name resource:English }
[]
language
SYSTEM
YES
(Q59853,P407,Q1860)
action is_in
entity Q1860
action find
entity Q59853
relation P407
[ANSWER]
['Q59853', 'P407', 'Q1860']
ASK WHERE { resource:Q59853 property:P407 resource:Q1860 }
Yes
action is_in
entity English
action find
entity Jones
relation language of work or name
['Jones', 'language of work or name', 'English']
ASK WHERE { resource:Jones property:language_of_work_or_name resource:English }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q4237491 Q664 Q1785797
P17
Q1048835
USER
Is Christchurch Central City present in New Zealand and Quevedos ?
(Q4237491,P17,Q664) (Q4237491,P17,Q1785797)
action is_in
entity Q4237491
action intersection
action find_reverse
entity Q664
relation P17
action find_reverse
entity Q1785797
relation P17
['Q4237491', 'P17', 'Q664'] ['Q4237491', 'P17', 'Q1785797']
ASK WHERE { resource:Q4237491 property:P17 resource:Q664 . resource:Q4237491 property:P17 resource:Q1785797 }
Christchurch Central City New Zealand Quevedos
action is_in
entity Christchurch Central City
action intersection
action find_reverse
entity New Zealand
relation country
action find_reverse
entity Quevedos
relation country
['Christchurch Central City', 'country', 'New Zealand'] ['Christchurch Central City', 'country', 'Quevedos']
ASK WHERE { resource:Christchurch_Central_City property:country resource:New_Zealand . resource:Christchurch_Central_City property:country resource:Quevedos }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q4237491,P17,Q664) (Q4237491,P17,Q1785797)
action is_in
entity Q4237491
action intersection
action find_reverse
entity Q664
relation P17
action find_reverse
entity Q1785797
relation P17
[ANSWER]
['Q4237491', 'P17', 'Q664'] ['Q4237491', 'P17', 'Q1785797']
ASK WHERE { resource:Q4237491 property:P17 resource:Q664 . resource:Q4237491 property:P17 resource:Q1785797 }
YES and NO respectively
action is_in
entity Christchurch Central City
action intersection
action find_reverse
entity New Zealand
relation country
action find_reverse
entity Quevedos
relation country
['Christchurch Central City', 'country', 'New Zealand'] ['Christchurch Central City', 'country', 'Quevedos']
ASK WHERE { resource:Christchurch_Central_City property:country resource:New_Zealand . resource:Christchurch_Central_City property:country resource:Quevedos }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P609
Q123705 Q83620 Q34442
USER
How many neighborhoods are the terminus locations of approximately 1 thoroughfares and roads ?
(c(Q83620)|c(Q34442),P609,c(Q123705))
action count
action approx
action union
action find_reverse_tuple_counts
relation P609
type Q123705
type Q83620
action find_reverse_tuple_counts
relation P609
type Q123705
type Q34442
value 1
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q123705'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?e ) WHERE { ?l rdf:type ?q . VALUES ( ?q ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } } GROUP BY ?y } . FILTER ( ?e = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation terminus location
type neighborhood
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type neighborhood
type road
value 1
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus location', {'concept': 'neighborhood'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?e ) WHERE { ?l rdf:type ?q . VALUES ( ?q ) { ( ontology:thoroughfare ) ( ontology:road ) } } GROUP BY ?y } . FILTER ( ?e = 1 ) }
[]
neighborhood thoroughfare road
SYSTEM
16
Q3417728 Q3469 Q2246577 Q7568961 Q11898461 Q18658619 Q11864401 Q6811747 Q1006232 Q1772186 Q3815354 Q11886866 Q21319 Q123369 Q122527 Q15030864
(c(Q83620)|c(Q34442),P609,c(Q123705))
action count
action approx
action union
action find_reverse_tuple_counts
relation P609
type Q123705
type Q83620
action find_reverse_tuple_counts
relation P609
type Q123705
type Q34442
value 1
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P609', {'concept': 'Q123705'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?e ) WHERE { ?l rdf:type ?q . VALUES ( ?q ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } } GROUP BY ?y } . FILTER ( ?e = 1 ) }
Beckton Eißendorf North Woolwich South Woodford Tuira Korvensuora Iinatti Melbourne Woolwich Kruununhaka Pokkinen Pateniemi Parramatta Archway Angel Ladbroke Grove
16
action count
action approx
action union
action find_reverse_tuple_counts
relation terminus location
type neighborhood
type thoroughfare
action find_reverse_tuple_counts
relation terminus location
type neighborhood
type road
value 1
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'terminus location', {'concept': 'neighborhood'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?e ) WHERE { ?l rdf:type ?q . VALUES ( ?q ) { ( ontology:thoroughfare ) ( ontology:road ) } } GROUP BY ?y } . FILTER ( ?e = 1 ) }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18679137
Q1048835
USER
And how about European route E30 in the Netherlands?
(Q18679137,P609,c(Q1048835))
action filter_type
action find
entity Q18679137
relation P609
type Q1048835
['Q18679137', 'P609', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q18679137 property:P609 ?z . ?z rdf:type ontology:Q1048835 }
European route E30 in the Netherlands
action filter_type
action find
entity European route E30 in the Netherlands
relation terminus location
type political territorial entity
['European route E30 in the Netherlands', 'terminus location', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:European_route_E30_in_the_Netherlands property:terminus_location ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q18679137,P609,c(Q1048835))
action filter_type
action find
entity Q18679137
relation P609
type Q1048835
[ANSWER]
['Q18679137', 'P609', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q18679137 property:P609 ?z . ?z rdf:type ontology:Q1048835 }
Germany
Germany
action filter_type
action find
entity European route E30 in the Netherlands
relation terminus location
type political territorial entity
['European route E30 in the Netherlands', 'terminus location', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:European_route_E30_in_the_Netherlands property:terminus_location ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P17
Q22731 Q362482
USER
How many stones and operations are located in Germany ?
(c(Q22731),P17,Q183) (c(Q362482),P17,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P17
type Q22731
action filter_type
action find_reverse
entity Q183
relation P17
type Q362482
[{'concept': 'Q22731'}, 'P17', 'Q183'] [{'concept': 'Q362482'}, 'P17', 'Q183']
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { ?e property:P17 resource:Q183 . ?e rdf:type ontology:Q362482 } UNION { ?e rdf:type ontology:Q22731 . ?e property:P17 resource:Q183 } }
Germany
action count
action union
action filter_type
action find_reverse
entity Germany
relation country
type stone
action filter_type
action find_reverse
entity Germany
relation country
type operation
[{'concept': 'stone'}, 'country', 'Germany'] [{'concept': 'operation'}, 'country', 'Germany']
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { ?e property:country resource:Germany . ?e rdf:type ontology:operation } UNION { ?e rdf:type ontology:stone . ?e property:country resource:Germany } }
[]
stone operation
SYSTEM
19 stones and 18 operations
Q685476 Q8870 Q1722970 Q607837 Q2025324 Q1573201 Q204795 Q14622994 Q896804 Q2393609 Q3552590 Q1361428 Q2539146 Q2532338 Q1603185 Q2041387 Q2147682 Q153918 Q2233803 Q1821579 Q864541 Q1498302 Q2456149 Q1576276 Q2512643 Q1795484 Q787879 Q22845 Q1409725 Q1796139 Q1801747 Q1736922 Q1268655 Q1548468 Q1020105 Q1620457 Q16777452
(c(Q22731),P17,Q183) (c(Q362482),P17,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P17
type Q22731
action filter_type
action find_reverse
entity Q183
relation P17
type Q362482
[ANSWER]
[{'concept': 'Q22731'}, 'P17', 'Q183'] [{'concept': 'Q362482'}, 'P17', 'Q183']
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { ?e property:P17 resource:Q183 . ?e rdf:type ontology:Q362482 } UNION { ?e rdf:type ontology:Q22731 . ?e property:P17 resource:Q183 } }
Fagus Factory Langenscheidt Kamera-Werkstätten Antonshütte Opelwerk Brandenburg Hamburger Wappen Zinkhütte Harlingerode Habichtswand Lange Anna Tapetenwerk Saarlouis Body & Assembly Erpeler Ley Hansa Waggonbau Volkswagenwerk Zwickau Schnarcherklippen Ottofelsen Rheingrafenstein Kupferhof Scherstorklippen Leuna works Biomalz Teltow Gegensteine Trudenstein Hannoversche Kaliwerke Veltak Kästeklippen Industriewerke Ludwigsfelde Bride and Groom Feuersteinklippe Volkswagenwerk Hanover Riesenstein (Wolfershausen) Katzensteine Dyes & Co. Große Teufelsmühle Böser Kleef Hirschhorn Crags Kleine Wurmbergklippe
19 stones and 18 operations
action count
action union
action filter_type
action find_reverse
entity Germany
relation country
type stone
action filter_type
action find_reverse
entity Germany
relation country
type operation
[{'concept': 'stone'}, 'country', 'Germany'] [{'concept': 'operation'}, 'country', 'Germany']
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { ?e property:country resource:Germany . ?e rdf:type ontology:operation } UNION { ?e rdf:type ontology:stone . ?e property:country resource:Germany } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q738717 Q5497072
P47 P27
Q1048835
USER
Which political territories are the native countriesof Frederic Jones or are adjacent to Galdames ?
OR((Q5497072,P27,c(Q1048835)), (Q738717,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q5497072
relation P27
action find
entity Q738717
relation P47
type Q1048835
{'OR': [['Q5497072', 'P27', {'concept': 'Q1048835'}], ['Q738717', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q5497072 property:P27 ?z } UNION { resource:Q738717 property:P47 ?z } } . ?z rdf:type ontology:Q1048835 }
Galdames Frederic Jones
action filter_type
action union
action find
entity Frederic Jones
relation country of citizenship
action find
entity Galdames
relation shares border with
type political territorial entity
{'OR': [['Frederic Jones', 'country of citizenship', {'concept': 'political territorial entity'}], ['Galdames', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Frederic_Jones property:country_of_citizenship ?z } UNION { resource:Galdames property:shares_border_with ?z } } . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q596305 Q607474 Q4474 Q1228787 Q4476 Q1228749 Q487801 Q1242411 Q664
SYSTEM
Güeñes, Muskiz, Ortuella, Valle de Trápaga-Trapagaran, Zalla, Sopuerta, Barakaldo, Abanto y Ciérbana-Abanto Zierbena, New Zealand
Q596305 Q607474 Q4474 Q1228787 Q4476 Q1228749 Q487801 Q1242411 Q664
OR((Q5497072,P27,c(Q1048835)), (Q738717,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q5497072
relation P27
action find
entity Q738717
relation P47
type Q1048835
[ANSWERS] are the native countriesof Frederic Jones or are adjacent to Galdames
{'OR': [['Q5497072', 'P27', {'concept': 'Q1048835'}], ['Q738717', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q5497072 property:P27 ?z } UNION { resource:Q738717 property:P47 ?z } } . ?z rdf:type ontology:Q1048835 }
Güeñes Muskiz Ortuella Valle de Trápaga-Trapagaran Zalla Sopuerta Barakaldo Abanto y Ciérbana-Abanto Zierbena New Zealand
Güeñes, Muskiz, Ortuella, Valle de Trápaga-Trapagaran, Zalla, Sopuerta, Barakaldo, Abanto y Ciérbana-Abanto Zierbena and New Zealand are the native countriesof Frederic Jones or are adjacent to Galdames
Güeñes Muskiz Ortuella Valle de Trápaga-Trapagaran Zalla Sopuerta Barakaldo Abanto y Ciérbana-Abanto Zierbena New Zealand
action filter_type
action union
action find
entity Frederic Jones
relation country of citizenship
action find
entity Galdames
relation shares border with
type political territorial entity
{'OR': [['Frederic Jones', 'country of citizenship', {'concept': 'political territorial entity'}], ['Galdames', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Frederic_Jones property:country_of_citizenship ?z } UNION { resource:Galdames property:shares_border_with ?z } } . ?z rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
How many political territories have tactful political relations with atleast 2 political territories ?
(c(Q1048835),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 2
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?f ) WHERE { ?t property:P530 ?e . ?e rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q1048835 } GROUP BY ?t } . FILTER ( ?f >= 2 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 2
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?f ) WHERE { ?t property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:political_territorial_entity } GROUP BY ?t } . FILTER ( ?f >= 2 ) }
[]
political territorial entity political territorial entity
SYSTEM
6
Q40 Q183 Q408 Q35 Q16 Q664
(c(Q1048835),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 2
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?f ) WHERE { ?t property:P530 ?e . ?e rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q1048835 } GROUP BY ?t } . FILTER ( ?f >= 2 ) }
Austria Germany Australia Denmark Canada New Zealand
6
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 2
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?f ) WHERE { ?t property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:political_territorial_entity } GROUP BY ?t } . FILTER ( ?f >= 2 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q16495352 Q1785797
P27 P17
Q15617994
USER
Which administrative territories are Quevedos a part of and are the countries of citizenship of Aurélio Veríssimo de Bittencourt ?
AND((Q1785797,P17,c(Q15617994)), (Q16495352,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1785797
relation P17
action find
entity Q16495352
relation P27
type Q15617994
{'AND': [['Q1785797', 'P17', {'concept': 'Q15617994'}], ['Q16495352', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q1785797 property:P17 ?x . resource:Q16495352 property:P27 ?x }
Aurélio Veríssimo de Bittencourt Quevedos
action filter_type
action intersection
action find
entity Quevedos
relation country
action find
entity Aurélio Veríssimo de Bittencourt
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Quevedos', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Aurélio Veríssimo de Bittencourt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Quevedos property:country ?x . resource:Aurélio_Veríssimo_de_Bittencourt property:country_of_citizenship ?x }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
AND((Q1785797,P17,c(Q15617994)), (Q16495352,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1785797
relation P17
action find
entity Q16495352
relation P27
type Q15617994
[ANSWER] is Quevedos a part of and is the countries of citizenship of Aurélio Veríssimo de Bittencourt
{'AND': [['Q1785797', 'P17', {'concept': 'Q15617994'}], ['Q16495352', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q1785797 property:P17 ?x . resource:Q16495352 property:P27 ?x }
Brazil
Brazil is Quevedos a part of and is the countries of citizenship of Aurélio Veríssimo de Bittencourt
Brazil
action filter_type
action intersection
action find
entity Quevedos
relation country
action find
entity Aurélio Veríssimo de Bittencourt
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Quevedos', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Aurélio Veríssimo de Bittencourt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Quevedos property:country ?x . resource:Aurélio_Veríssimo_de_Bittencourt property:country_of_citizenship ?x }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q738717
P19 P21
Q502895
USER
Which people have location of birth at Galdames and have the gender as male ?
AND((c(Q502895),P19,Q738717), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q738717
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q738717'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?h WHERE { ?h property:P21 resource:Q6581097 . ?h property:P19 resource:Q738717 . ?h rdf:type ontology:Q502895 }
male Galdames
action filter_type
action intersection
action find_reverse
entity Galdames
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Galdames'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?h WHERE { ?h property:gender resource:male . ?h property:place_of_birth resource:Galdames . ?h rdf:type ontology:common_name }
[]
common name
Q605530
SYSTEM
Antonio de Trueba
Q605530
AND((c(Q502895),P19,Q738717), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q738717
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have location of birth at Galdames and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q738717'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?h WHERE { ?h property:P21 resource:Q6581097 . ?h property:P19 resource:Q738717 . ?h rdf:type ontology:Q502895 }
Antonio de Trueba
Antonio de Trueba have location of birth at Galdames and have the gender as male
Antonio de Trueba
action filter_type
action intersection
action find_reverse
entity Galdames
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Galdames'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?h WHERE { ?h property:gender resource:male . ?h property:place_of_birth resource:Galdames . ?h rdf:type ontology:common_name }
[]