Simple Question (Direct)
Simple Question
Q6247061
P106
Q12737077
USER
What is the profession of John Mason ?
(Q6247061,P106,c(Q12737077))
action filter_type
action find
entity Q6247061
relation P106
type Q12737077
['Q6247061', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q6247061 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
John Mason
action filter_type
action find
entity John Mason
relation occupation
type occupation
['John Mason', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:John_Mason property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q6247061,P106,c(Q12737077))
action filter_type
action find
entity Q6247061
relation P106
type Q12737077
The profession of John Mason is a [ANSWER]
['Q6247061', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q6247061 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
politician
The profession of John Mason is a politician
politician
action filter_type
action find
entity John Mason
relation occupation
type occupation
['John Mason', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:John_Mason property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6247061
P69
Q1055028
USER
Where was John Mason educated ?
(Q6247061,P69,c(Q1055028))
action filter_type
action find
entity Q6247061
relation P69
type Q1055028
['Q6247061', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?z WHERE { resource:Q6247061 property:P69 ?z . ?z rdf:type ontology:Q1055028 }
John Mason
action filter_type
action find
entity John Mason
relation educated at
type college of the University of Cambridge
['John Mason', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?z WHERE { resource:John_Mason property:educated_at ?z . ?z rdf:type ontology:college_of_the_University_of_Cambridge }
[]
college of the University of Cambridge
Q650068
SYSTEM
Peterhouse
Q650068
(Q6247061,P69,c(Q1055028))
action filter_type
action find
entity Q6247061
relation P69
type Q1055028
John Mason was educated at [ANSWER]
['Q6247061', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?z WHERE { resource:Q6247061 property:P69 ?z . ?z rdf:type ontology:Q1055028 }
Peterhouse
John Mason was educated at Peterhouse
Peterhouse
action filter_type
action find
entity John Mason
relation educated at
type college of the University of Cambridge
['John Mason', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?z WHERE { resource:John_Mason property:educated_at ?z . ?z rdf:type ontology:college_of_the_University_of_Cambridge }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6820863
Q1055028
USER
And how about Mervyn Banting?
(Q6820863,P69,c(Q1055028))
action filter_type
action find
entity Q6820863
relation P69
type Q1055028
['Q6820863', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?d WHERE { resource:Q6820863 property:P69 ?d . ?d rdf:type ontology:Q1055028 }
Mervyn Banting
action filter_type
action find
entity Mervyn Banting
relation educated at
type college of the University of Cambridge
['Mervyn Banting', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?d WHERE { resource:Mervyn_Banting property:educated_at ?d . ?d rdf:type ontology:college_of_the_University_of_Cambridge }
[]
college of the University of Cambridge
Q956501
SYSTEM
Pembroke College
Q956501
(Q6820863,P69,c(Q1055028))
action filter_type
action find
entity Q6820863
relation P69
type Q1055028
[ANSWER]
['Q6820863', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?d WHERE { resource:Q6820863 property:P69 ?d . ?d rdf:type ontology:Q1055028 }
Pembroke College
Pembroke College
action filter_type
action find
entity Mervyn Banting
relation educated at
type college of the University of Cambridge
['Mervyn Banting', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?d WHERE { resource:Mervyn_Banting property:educated_at ?d . ?d rdf:type ontology:college_of_the_University_of_Cambridge }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3610009 Q6247061
P20
Q56061
USER
Which administrative territories are the places of death of John Mason or Alessandro Ferri ?
OR((Q6247061,P20,c(Q56061)), (Q3610009,P20,c(Q56061)))
action filter_type
action union
action find
entity Q6247061
relation P20
action find
entity Q3610009
relation P20
type Q56061
{'OR': [['Q6247061', 'P20', {'concept': 'Q56061'}], ['Q3610009', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { { ?e property:P20 ?y . VALUES ( ?e ) { ( resource:Q6247061 ) ( resource:Q3610009 ) } } . ?y rdf:type ontology:Q56061 }
Alessandro Ferri John Mason
action filter_type
action union
action find
entity John Mason
relation place of death
action find
entity Alessandro Ferri
relation place of death
type administrative territorial entity
{'OR': [['John Mason', 'place of death', {'concept': 'administrative territorial entity'}], ['Alessandro Ferri', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { ?e property:place_of_death ?y . VALUES ( ?e ) { ( resource:John_Mason ) ( resource:Alessandro_Ferri ) } } . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84 Q220
SYSTEM
London, Rome
Q84 Q220
OR((Q6247061,P20,c(Q56061)), (Q3610009,P20,c(Q56061)))
action filter_type
action union
action find
entity Q6247061
relation P20
action find
entity Q3610009
relation P20
type Q56061
[ANSWERS] are the places of death of John Mason or Alessandro Ferri
{'OR': [['Q6247061', 'P20', {'concept': 'Q56061'}], ['Q3610009', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { { ?e property:P20 ?y . VALUES ( ?e ) { ( resource:Q6247061 ) ( resource:Q3610009 ) } } . ?y rdf:type ontology:Q56061 }
London Rome
London and Rome are the places of death of John Mason or Alessandro Ferri
London Rome
action filter_type
action union
action find
entity John Mason
relation place of death
action find
entity Alessandro Ferri
relation place of death
type administrative territorial entity
{'OR': [['John Mason', 'place of death', {'concept': 'administrative territorial entity'}], ['Alessandro Ferri', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { ?e property:place_of_death ?y . VALUES ( ?e ) { ( resource:John_Mason ) ( resource:Alessandro_Ferri ) } } . ?y rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P609
Q56061 Q12280 Q83620
USER
How many administrative territories serves as the terminus locations of exactly 2 bridges and thoroughfares ?
(c(Q12280)|c(Q83620),P609,c(Q56061))
action count
action equal
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q12280
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
value 2
[[{'concept': 'Q12280'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?s WHERE { { ?n property:P609 ?s . ?n rdf:type ontology:Q12280 . ?s rdf:type ontology:Q56061 } UNION { ?s rdf:type ontology:Q56061 . ?n rdf:type ontology:Q83620 . ?n property:P609 ?s } } GROUP BY ?s } . FILTER ( ?i = 2 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type bridge
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
value 2
[[{'concept': 'bridge'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?s WHERE { { ?n property:terminus_location ?s . ?n rdf:type ontology:bridge . ?s rdf:type ontology:administrative_territorial_entity } UNION { ?s rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:thoroughfare . ?n property:terminus_location ?s } } GROUP BY ?s } . FILTER ( ?i = 2 ) }
[]
administrative territorial entity bridge thoroughfare
SYSTEM
45
Q180139 Q23311 Q4093 Q488924 Q748747 Q131335 Q923799 Q960454 Q675049 Q79889 Q1948672 Q828753 Q192896 Q992 Q756103 Q1589316 Q2523431 Q472 Q34863 Q780785 Q3355046 Q2056925 Q780532 Q184587 Q179224 Q631666 Q58900 Q49225 Q2549819 Q937736 Q2278965 Q8385 Q18681973 Q989919 Q990130 Q34370 Q28237 Q24454 Q49267 Q369947 Q755773 Q4411341 Q975 Q1782100 Q2659606
(c(Q12280)|c(Q83620),P609,c(Q56061))
action count
action equal
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q12280
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
value 2
[ANSWER]
[[{'concept': 'Q12280'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?s WHERE { { ?n property:P609 ?s . ?n rdf:type ontology:Q12280 . ?s rdf:type ontology:Q56061 } UNION { ?s rdf:type ontology:Q56061 . ?n rdf:type ontology:Q83620 . ?n property:P609 ?s } } GROUP BY ?s } . FILTER ( ?i = 2 ) }
Hradec Králové City of London Glasgow Oceanside New Buffalo Sioux Falls Santee Holyport Flandreau Casa Grande Carlin Coronado Carlisle Amersfoort Lewes Traneberg Stadshagen Sofia Oklahoma City Långholmen Marieberg Tripp Negaunee Grand Rapids Dover Holtville Doncaster Reno Seaton Burn Hot Springs Henryetta Ostrava Kedonperä Farmington Hills Hook of Holland Rotterdam Lansing Troisvierges Henderson El Cajon Harrington Södra Hammarbyhamnen San Antonio Farsta strand Caldwell
45
action count
action equal
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type bridge
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
value 2
[[{'concept': 'bridge'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?s WHERE { { ?n property:terminus_location ?s . ?n rdf:type ontology:bridge . ?s rdf:type ontology:administrative_territorial_entity } UNION { ?s rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:thoroughfare . ?n property:terminus_location ?s } } GROUP BY ?s } . FILTER ( ?i = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q84 Q1753590
P915
Q838948
USER
How many works of art were filmed in the location London and Old Royal Naval College ?
(c(Q838948),P915,Q84) (c(Q838948),P915,Q1753590)
action count
action intersection
action filter_type
action find_reverse
entity Q84
relation P915
type Q838948
action filter_type
action find_reverse
entity Q1753590
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q84'] [{'concept': 'Q838948'}, 'P915', 'Q1753590']
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:P915 resource:Q84 . ?q rdf:type ontology:Q838948 . ?q property:P915 resource:Q1753590 . ?q rdf:type ontology:Q838948 }
London Old Royal Naval College
action count
action intersection
action filter_type
action find_reverse
entity London
relation filming location
type work of art
action filter_type
action find_reverse
entity Old Royal Naval College
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'London'] [{'concept': 'work of art'}, 'filming location', 'Old Royal Naval College']
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:filming_location resource:London . ?q rdf:type ontology:work_of_art . ?q property:filming_location resource:Old_Royal_Naval_College . ?q rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
4
Q4941 Q17018891 Q28234 Q160060
(c(Q838948),P915,Q84) (c(Q838948),P915,Q1753590)
action count
action intersection
action filter_type
action find_reverse
entity Q84
relation P915
type Q838948
action filter_type
action find_reverse
entity Q1753590
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q84'] [{'concept': 'Q838948'}, 'P915', 'Q1753590']
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:P915 resource:Q84 . ?q rdf:type ontology:Q838948 . ?q property:P915 resource:Q1753590 . ?q rdf:type ontology:Q838948 }
Skyfall Testament of Youth Les Misérables The King's Speech
4
action count
action intersection
action filter_type
action find_reverse
entity London
relation filming location
type work of art
action filter_type
action find_reverse
entity Old Royal Naval College
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'London'] [{'concept': 'work of art'}, 'filming location', 'Old Royal Naval College']
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:filming_location resource:London . ?q rdf:type ontology:work_of_art . ?q property:filming_location resource:Old_Royal_Naval_College . ?q rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26695275 Q956501
P17
Q15617994
USER
Which administrative territories are Pembroke College or mayor of Villanueva del Pardillo located in ?
OR((Q956501,P17,c(Q15617994)), (Q26695275,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q956501
relation P17
action find
entity Q26695275
relation P17
type Q15617994
{'OR': [['Q956501', 'P17', {'concept': 'Q15617994'}], ['Q26695275', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . { VALUES ( ?j ) { ( resource:Q956501 ) ( resource:Q26695275 ) } . ?j property:P17 ?c } }
mayor of Villanueva del Pardillo Pembroke College
action filter_type
action union
action find
entity Pembroke College
relation country
action find
entity mayor of Villanueva del Pardillo
relation country
type designation for an administrative territorial entity
{'OR': [['Pembroke College', 'country', {'concept': 'designation for an administrative territorial entity'}], ['mayor of Villanueva del Pardillo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?j ) { ( resource:Pembroke_College ) ( resource:mayor_of_Villanueva_del_Pardillo ) } . ?j property:country ?c } }
[]
designation for an administrative territorial entity
Q29 Q145
SYSTEM
Spain, United Kingdom
Q29 Q145
OR((Q956501,P17,c(Q15617994)), (Q26695275,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q956501
relation P17
action find
entity Q26695275
relation P17
type Q15617994
Pembroke College or mayor of Villanueva del Pardillo are located in [ANSWERS]
{'OR': [['Q956501', 'P17', {'concept': 'Q15617994'}], ['Q26695275', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . { VALUES ( ?j ) { ( resource:Q956501 ) ( resource:Q26695275 ) } . ?j property:P17 ?c } }
Spain United Kingdom
Pembroke College or mayor of Villanueva del Pardillo are located in Spain and United Kingdom
Spain United Kingdom
action filter_type
action union
action find
entity Pembroke College
relation country
action find
entity mayor of Villanueva del Pardillo
relation country
type designation for an administrative territorial entity
{'OR': [['Pembroke College', 'country', {'concept': 'designation for an administrative territorial entity'}], ['mayor of Villanueva del Pardillo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?j ) { ( resource:Pembroke_College ) ( resource:mayor_of_Villanueva_del_Pardillo ) } . ?j property:country ?c } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q26695275
P1313
Q1048835
USER
How many political territories have mayor of Villanueva del Pardillo as office of head of government ?
(c(Q1048835),P1313,Q26695275)
action count
action filter_type
action find_reverse
entity Q26695275
relation P1313
type Q1048835
[{'concept': 'Q1048835'}, 'P1313', 'Q26695275']
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:P1313 resource:Q26695275 . ?l rdf:type ontology:Q1048835 }
mayor of Villanueva del Pardillo
action count
action filter_type
action find_reverse
entity mayor of Villanueva del Pardillo
relation office held by head of government
type political territorial entity
[{'concept': 'political territorial entity'}, 'office held by head of government', 'mayor of Villanueva del Pardillo']
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:office_held_by_head_of_government resource:mayor_of_Villanueva_del_Pardillo . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q1751916
(c(Q1048835),P1313,Q26695275)
action count
action filter_type
action find_reverse
entity Q26695275
relation P1313
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P1313', 'Q26695275']
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:P1313 resource:Q26695275 . ?l rdf:type ontology:Q1048835 }
Villanueva del Pardillo
1
action count
action filter_type
action find_reverse
entity mayor of Villanueva del Pardillo
relation office held by head of government
type political territorial entity
[{'concept': 'political territorial entity'}, 'office held by head of government', 'mayor of Villanueva del Pardillo']
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:office_held_by_head_of_government resource:mayor_of_Villanueva_del_Pardillo . ?l rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q26698669
P1313
Q1048835
USER
And what about mayor of Herrera de Pisuerga?
(c(Q1048835),P1313,Q26698669)
action count
action filter_type
action find_reverse
entity Q26698669
relation P1313
type Q1048835
[{'concept': 'Q1048835'}, 'P1313', 'Q26698669']
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { ?w rdf:type ontology:Q1048835 . ?w property:P1313 resource:Q26698669 }
mayor of Herrera de Pisuerga
action count
action filter_type
action find_reverse
entity mayor of Herrera de Pisuerga
relation office held by head of government
type political territorial entity
[{'concept': 'political territorial entity'}, 'office held by head of government', 'mayor of Herrera de Pisuerga']
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { ?w rdf:type ontology:political_territorial_entity . ?w property:office_held_by_head_of_government resource:mayor_of_Herrera_de_Pisuerga }
[]
political territorial entity
SYSTEM
1
Q567563
(c(Q1048835),P1313,Q26698669)
action count
action filter_type
action find_reverse
entity Q26698669
relation P1313
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P1313', 'Q26698669']
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { ?w rdf:type ontology:Q1048835 . ?w property:P1313 resource:Q26698669 }
Herrera de Pisuerga
1
action count
action filter_type
action find_reverse
entity mayor of Herrera de Pisuerga
relation office held by head of government
type political territorial entity
[{'concept': 'political territorial entity'}, 'office held by head of government', 'mayor of Herrera de Pisuerga']
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { ?w rdf:type ontology:political_territorial_entity . ?w property:office_held_by_head_of_government resource:mayor_of_Herrera_de_Pisuerga }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with atleast 62 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 62
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { FILTER ( ?t >= 62 ) . { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?t ) WHERE { ?n property:P530 ?s . ?n rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?n } }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 62
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { FILTER ( ?t >= 62 ) . { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?t ) WHERE { ?n property:diplomatic_relation ?s . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
2
Q38 Q230
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 62
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { FILTER ( ?t >= 62 ) . { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?t ) WHERE { ?n property:P530 ?s . ?n rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?n } }
Italy Georgia
2
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 62
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { FILTER ( ?t >= 62 ) . { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?t ) WHERE { ?n property:diplomatic_relation ?s . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q220
P47
Q15617994 Q56061
USER
How many administrative territories or administrative territories have an adjacent border with Rome ?
(c(Q15617994),P47,Q220) (c(Q56061),P47,Q220)
action count
action union
action filter_type
action find_reverse
entity Q220
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q220
relation P47
type Q56061
[{'concept': 'Q15617994'}, 'P47', 'Q220'] [{'concept': 'Q56061'}, 'P47', 'Q220']
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } }
Rome
action count
action union
action filter_type
action find_reverse
entity Rome
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Rome
relation shares border with
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Rome'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Rome']
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o rdf:type ?r . VALUES ( ?r ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } }
[]
designation for an administrative territorial entity administrative territorial entity
SYSTEM
29
Q242954 Q241693 Q242710 Q242703 Q243497 Q243172 Q243133 Q241911 Q241733 Q242637 Q242558 Q242998 Q242513 Q191115 Q243188 Q243311 Q242926 Q159605 Q243364 Q140255 Q190963 Q243168 Q242965 Q242942 Q242105 Q19326 Q242661 Q242120 Q242645
(c(Q15617994),P47,Q220) (c(Q56061),P47,Q220)
action count
action union
action filter_type
action find_reverse
entity Q220
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q220
relation P47
type Q56061
[ANSWER]
[{'concept': 'Q15617994'}, 'P47', 'Q220'] [{'concept': 'Q56061'}, 'P47', 'Q220']
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } }
Monte Compatri Anguillara Sabazia Guidonia Montecelio Grottaferrata Trevignano Romano Pomezia Palestrina Campagnano di Roma Ardea Fonte Nuova Colonna, Lazio Monterotondo Ciampino Albano Laziale Riano, Lazio Sacrofano Marino, Lazio Tivoli San Gregorio da Sassola Zagarolo Frascati Poli, Lazio Monte Porzio Catone Mentana Castel Gandolfo Fiumicino Gallicano nel Lazio Castel San Pietro Romano Formello
29
action count
action union
action filter_type
action find_reverse
entity Rome
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Rome
relation shares border with
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Rome'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Rome']
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o rdf:type ?r . VALUES ( ?r ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220
P190
Q56061
USER
Which administrative territories are the sister cities of that one ?
action filter_type
action find
entity Q220
relation P190
type Q56061
SELECT DISTINCT ?f WHERE { resource:Q220 property:P190 ?f . ?f rdf:type ontology:Q56061 }
Rome
action filter_type
action find
entity Rome
relation sister city
type administrative territorial entity
SELECT DISTINCT ?f WHERE { resource:Rome property:sister_city ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90 Q8717 Q1490
SYSTEM
Paris, Seville, Tokyo
Q484799 Q8717 Q90 Q34647 Q1490 Q132830
action filter_type
action find
entity Q220
relation P190
type Q56061
[ANSWERS] are the sister cities of that one
SELECT DISTINCT ?f WHERE { resource:Q220 property:P190 ?f . ?f rdf:type ontology:Q56061 }
Marbella Seville Paris Johannesburg Tokyo Douala
Paris, Seville and Tokyo are the sister cities of that one
Paris Seville Tokyo
action filter_type
action find
entity Rome
relation sister city
type administrative territorial entity
SELECT DISTINCT ?f WHERE { resource:Rome property:sister_city ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q90 Q8717 Q1490
P291
Q2342494
USER
Which collectables have those administrative territories as their publication location ?
(c(Q2342494),P291,Q90) (c(Q2342494),P291,Q8717) (c(Q2342494),P291,Q1490)
action filter_type
action find_reverse
entity prev_answer
relation P291
type Q2342494
[{'concept': 'Q2342494'}, 'P291', 'Q90'] [{'concept': 'Q2342494'}, 'P291', 'Q8717'] [{'concept': 'Q2342494'}, 'P291', 'Q1490']
SELECT DISTINCT ?g WHERE { VALUES ( ?o ) { ( resource:Q484799 ) ( resource:Q8717 ) ( resource:Q90 ) } . ?g rdf:type ontology:Q2342494 . ?g property:P291 ?o }
Paris Seville Tokyo
action filter_type
action find_reverse
entity prev_answer
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Paris'] [{'concept': 'collectable'}, 'place of publication', 'Seville'] [{'concept': 'collectable'}, 'place of publication', 'Tokyo']
SELECT DISTINCT ?g WHERE { VALUES ( ?o ) { ( resource:Marbella ) ( resource:Seville ) ( resource:Paris ) } . ?g rdf:type ontology:collectable . ?g property:place_of_publication ?o }
[]
collectable
Q1339346 Q20724591 Q22284289
SYSTEM
Pan Tadeusz, Faith, Choix des plus belles fleurs et de quelques branches des plus beaux fruits
Q2563786 Q22083340 Q13415358 Q22084678 Q21684221 Q26791231 Q1339346 Q3538640 Q3273619 Q26706966 Q22284289 Q3203042 Q21175917 Q3057768 Q18414179 Q3817964 Q19868547 Q22084661 Q22084662 Q2818108 Q2818316 Q22084651 Q26236183 Q22084644 Q22084645 Q2823437 Q2531304 Q22084672 Q22084671 Q22084670 Q22084675 Q22084674 Q3414078 Q22084669 Q26976642 Q20667745 Q3481679 Q19885908 Q22083283 Q22083287 Q22083284 Q20165333 Q25706608 Q334370 Q7311094 Q1451094 Q17638774 Q17354376 Q21403347 Q21403341 Q21403343 Q1215306 Q21055211 Q21403357 Q21797875 Q2704678 Q21403368 Q3443368 Q3470915 Q21403373 Q22338335 Q21140198 Q7486274 Q21403380 Q21403385 Q16682206 Q17297598 Q3257967 Q3099242 Q3574345 Q21710996 Q22084329 Q22084323 Q22084325 Q22084324 Q22084327 Q24088945 Q3563380 Q16682825 Q21705071 Q26795433 Q3812438 Q17640587 Q17640584 Q13416316 Q22083279 Q16653535 Q22084376 Q22084377 Q19950949 Q20760488 Q3825086 Q20164840 Q20829666 Q19924791 Q26833635 Q3487343 Q21153990 Q2869417 Q21431181 Q2025254 Q22084384 Q22084383 Q22084381 Q22083721 Q26897899 Q22084379 Q13413655 Q20204916 Q19868541 Q21686475 Q2931840 Q26883738 Q3077450 Q21451578 Q20874784 Q22083317 Q22117440 Q3048752 Q2826865 Q3327038 Q3071440 Q18600753 Q3079814 Q27117954 Q5120686 Q3724832 Q20760362 Q13416025 Q3341307 Q26820908 Q7991586 Q22083272 Q22083273 Q22083270 Q27146253 Q3697773 Q27146248 Q19788049 Q26877445 Q15621342 Q27764558 Q3566876 Q22083306 Q22083307 Q2381908 Q15729057 Q22083225 Q4009748 Q16665877 Q27750736 Q6151533 Q17640295 Q3564133 Q19952632 Q2383498 Q22083326 Q22083278 Q2830691 Q21997202 Q21537911 Q20202656 Q20165758 Q7577656 Q2989391 Q21431180 Q21431184 Q17631331 Q15266606 Q2899697 Q1235943 Q13554333 Q21451581 Q2825361 Q22083282 Q22083280 Q22083286 Q22083285 Q22083289 Q22083288 Q20800642 Q26857752 Q26933327 Q22227460 Q3240271 Q20164346 Q22083320 Q22083322 Q22083323 Q22083327 Q20828368 Q20828365 Q25991161 Q11932301 Q26877172 Q3333625 Q20724591 Q26906902 Q22083281 Q2822409 Q1185104 Q18120925 Q25991142 Q18604141 Q13417655 Q16669302 Q16680553 Q21262873 Q27146159 Q27146152 Q27146156 Q27146154 Q19822734 Q3965735 Q1106883 Q15641561 Q26796563 Q20747601 Q27146160 Q3286975 Q18086113 Q18086110 Q22083310 Q22083312 Q22083315 Q22083314 Q22083319 Q22117441 Q3026708 Q15754630 Q22083304 Q22083305 Q22083308 Q22083309 Q5973686 Q22084641 Q22084382 Q22084380 Q22083330 Q22083339 Q22083338 Q3391157 Q27609088 Q22083328 Q22083329 Q22083321 Q22083325 Q22117436 Q22117437 Q22117439 Q13409396 Q25991155 Q3577170 Q17651300 Q21055175 Q20791921 Q6058928 Q2924760 Q21725175 Q20718351 Q7901955
(c(Q2342494),P291,Q90) (c(Q2342494),P291,Q8717) (c(Q2342494),P291,Q1490)
action filter_type
action find_reverse
entity prev_answer
relation P291
type Q2342494
[ANSWERS] have those administrative territories as their publication location
[{'concept': 'Q2342494'}, 'P291', 'Q90'] [{'concept': 'Q2342494'}, 'P291', 'Q8717'] [{'concept': 'Q2342494'}, 'P291', 'Q1490']
SELECT DISTINCT ?g WHERE { VALUES ( ?o ) { ( resource:Q484799 ) ( resource:Q8717 ) ( resource:Q90 ) } . ?g rdf:type ontology:Q2342494 . ?g property:P291 ?o }
A Thousand Plateaus Biogée Edme Mentelle L'origine de l'herméneutique de soi Contemporary Life Encyclopédie du patrimoine Pan Tadeusz Histoire de la poésie française. Vol. 4 Ma vie selon moi Le droit de tester chez le père de famille et ses limites légales Choix des plus belles fleurs et de quelques branches des plus beaux fruits The African Child Euclide au XIXe siècle ou La géométrie plane (alphabet des sciences) présentée sous une forme toute nouvelle Escal Vigor Fleur de peau L'art de toucher le clavecin Paix et tumulte La Pensée du dehors Sept propos sur le septième ange Ginette et l'ogre Histoire de la poésie française. Vol. 5-I Raymond Roussel Liber disputationis Petri et Raimundi Folie et Déraison. Histoire de la folie à l'âge Classique Histoire de la folie à l'âge classique Dictionnaire français-anglais des termes relatifs à l’électrotechnique, l’électronique, et aux applications connexes I Spit on Your Graves Dits et Écrits, vol. 2 : 1970-1975 Dits et Écrits, vol. 1 : 1954-1969 Histoire de la sexualité, vol. 3 : Le souci de soi Dits et Écrits, vol. 4 : 1980-1988 Dits et Écrits, vol. 3 : 1976-1979 What is the name of this book? Histoire de la sexualité, vol. 2 : L'usage des plaisirs Dictionnaire junior des mathématiques Petit dictionnaire énervé de la mafia Histoire des techniques et droits appliqués Les Cinq Sens Détachement Éléments d'histoire des sciences, Bordas Rome. Le livre des fondations Nouveau dictionnaire des artistes contemporains Dictionnaire de la pensée écologique Discipline and Punish Relief of Fevers Difference and Repetition Paris et l'Île-de-France Dawa Le grand moment que j'attendais Le jour où tout a commencé La rencontre qui a tout changé The Order of Things Proust and Signs La soirée dont j'ai tant rêvé Dictionnaire des cultures alimentaires The Archaeology of Knowledge Le happy end que j'espérais Histoire de la poésie française. Vol. 6-III Le Nord L'avenir comme je l'imaginais, ou pas Recueil général des anciennes lois françaises, depuis l'an 420 jusqu'à la Révolution de 1789, Tome XIX Dictionnaire d'analyse du discours Flora Boreali-Americana (Michaux) Ensemble, enfin ! Sous le soleil de Floride Dictionnaire général d'acoustique et d'électroacoustique Une cicatrice dans la tête : un témoignage sur l'épilepsie The Logic of Sense Dictionnaire médical clinique, pharmacologique et thérapeutique Histoire de la poésie française. Vol. 1 Dictionnaire du français Rhizome La Philosophie critique de Kant Le Bergsonisme Nietzsche Spinoza et le problème de l'expression The chains of slavery Histoire de la poésie française. Vol. 2 Histoire de la poésie française. Vol. 5-II Dictionnaire des sigles, des mots et des associations Le livre d'or du salon de peinture et de sculpture Kafka. Pour une littérature mineure L'audiovisuel et les sciences sociales L'Accordéon La France littéraire La Naissance de la physique dans le texte de Lucrèce Le choix de l'amour Cinema 2: The Time Image Le Pli - Leibniz et le baroque Le Sud Manuel de kurde : dialecte sorani Histoire de la sexualité, vol. 1 : La volonté de savoir Petit dictionnaire des artistes contemporains Le Tour L'encyclopédie de la chanson française : des années 40 à nos jours La Provence au service du roi, 1637-1831 : officiers des vaisseaux et des galères Sobibor Le "Bel Espoir" L'héritière L'île Philosophie Zoologique Lettres et autres textes, édité par David Lapoujade, Ceux régimes de fous. Textes et entretiens 1975-1995 L’Épuisé Faut-il interdire les écrans aux enfants ? Au cœur du pouvoir Périclès et Verdi. La philosophie de François Châtelet Le cimetière du Père-Lachaise Dictionnaire de finances publiques Ondes intimes La Horse Dictionnaire de la technologie des corps gras Histoire de René d'Anjou, roi de Naples, duc de Lorraine et Cte de Provence Dictionnaire de Don Juan Dictionnaire mémorable des remèdes d'autrefois Francis Bacon: The Logic of Sensation L'Incandescent Deux leçons sur l'animal et l'homme Fragilités et résilience : les nouvelles frontières de la mondialisation Agir ensemble pour des territoires durables Gordon Zola Dictionnaire des constantes biologiques et physiques Le philosophe et la mémoire du siècle Foucault La Vie quotidienne des Etrusques Cinema 1: The Movement Image Empirisme et subjectivité Bleu catacombes François Marie Marchant de Beaumont, "Manuel et itinéraire du curieux dans le cimetière du Père la Chaise", 1828 Nietzsche and Philosophy Dictionnaire topographique du département du Pas-de-Calais What is Philosophy? Hermès III, la traduction Jouvences. Sur Jules Verne Hermès II, l'interférence De arte electionis Critique et clinique Ars compendiosa Enquête sur la tradition Le Mouvement fédéraliste en Provence en 1793 François Marie Marchant de Beaumont, "Le conducteur au Cimetière de l'Est ou du Père La Chaise", 1820 Les voies du politique au Congo: essai de sociologie historique / Rémy Bazenguissa-Ganga Patrimoine sonore et audiovisuel français, entre archives et témoignages : guide de recherche en sciences sociales Les Origines de la géométrie Atlas Dictionnaire de diagnostic clinique et topographique La lasta Hermès I, la communication Black Wind Méto Civilization and Capitalism, 15th-18th Century Traité général des conifères Le dépôt légal, les institutions partenaires Le vélo à la reconquête des villes : bréviaire de vélorution tranquille Ginette et le père Noël Jusqu'où va-t-on descendre ? Carpaccio, les esclaves libérés Hermès IV, La distribution L'ONU dans la crise en Sierra Leone : les méandres d'une négociation Le Code Noir : idées reçues sur un texte symbolique À la porte Souvenirs et Récits contés le 28 novembre 1933 Petit dictionnaire des artistes modernes Spinoza: Practical Philosophy Atlas mondial des espaces protégés La maison Le monde Histoire de la poésie française. Vol. 6-II Dictionnaire des Parlementaires français de 1789 à 1889 États et sociétés fragiles : entre conflits, reconstruction et développement Anti-Oedipus Monographie des Orchidees des Iles de France et de Bourbon Dictionnaire des médecins, chirurgiens et anatomistes de la Renaissance Urban oasis Genèse Hermès V, Le passage du Nord-ouest Statues L'Hermaphrodite Le Tiers-instruit Le Contrat naturel Les patrons de mode, leur utilisation : fiches pédagogiques Histoire générale et impartiale des erreurs, des fautes et des crimes commis pendant la révolution française Le monde contemporain de la Lorraine : dictionnaire biographique Abbé Migne, "Nouvelle encyclopédie théologique", 1851 Dictionnaire des lieux et pays mythiques Dictionnaire de l'art moderne, 1905-1945 Rameaux Petites chroniques du dimanche soir L'Art des ponts,homo pontifex Le Mal propre Le maître des miroirs La reine noire Annaïk Felix or the Book of Wonders Mirabeau et la Provence Méthode de kurde : sorani Faith La Provence des Lumières : les parlementaires d'Aix au 18eme siècle Le Parasite Naufrages, conditions de navigation et assurances dans la marine de commerce du XVIIIe siècle : le cas de Nantes et de son commerce colonial avec les îles d'Amérique The Fairy Gunmother Du Mode d'existence des objets techniques Barzaz Breiz Dictionnaire des philosophes antiques Les orfèvres et l'orfèvrerie de Paris au XVIIe siècle Paul et le chat Histoire de la poésie française. Vol. 3 Dictionnaire mondial de la bande dessinée Epistola dedicatoria ad ducem Venetorum Liber super Psalmum "Quicumque vult" Epistolae tres (ad Universitatem parisiensem, ad regem Franciae, ad quendam amicum) Disputatio fidelis et infidelis La Vie de Jésus Superpositions The Birth of the Clinic Dictionary of French Architecture from 11th to 16th Century Nouveau dictionnaire universel, usuel et complet de géographie moderne Dialogues Compendium seu commentum Artis demonstrativae Manuel de kurde : kurmanji Conte d'Asphalte La déferlante Le trésor. Dictionnaire des sciences Paysages des sciences Variations sur le corps, Q3225767, Q90, 1999 ; édition texte seul Hominescence Jules Verne, la science et l'homme contemporain L'invention dans les techniques. Cours et conférences Dictionnaire biographique, mouvement ouvrier, mouvement social Ben Barka Éclaircissements La Légende des Anges Éloge de la philosophie en langue française Nouvelles du monde Les Cactées Maladie mentale et personnalité L'Île déserte et autres textes. Textes et entretiens 1953-1974 Pourparlers 1972 - 1990 Temps des crises Petites chroniques du dimanche soir 3 Van Cleef et Arpels, Le Temps poétique Histoire de la poésie française. Vol. 6-I Dissertations historiques et critiques sur la chevalerie ancienne et moderne La Guerre mondiale Écrivains, savants et philosophes font le tour du monde Récits d'humanisme Petites chroniques du dimanche soir 2 L'individu et sa genèse physico-biologique L'individuation psychique et collective L'individuation à la lumière des notions de formes et d'information Continuité des élites à Byzance durant les siècles obscurs Barzaz Breiz Ærkaos L'accordéon Masochism: Coldness and Cruelty Essai sur les données philosophiques du management Introduction to Kant's Anthropology A Short Account of the Destruction of the Indies Secure Multi-Party Computation Re:Zero kara Hajimeru Isekai Seikatsu Ushiro
Pan Tadeusz, Faith and Choix des plus belles fleurs et de quelques branches des plus beaux fruits have those administrative territories as their publication location
Pan Tadeusz Faith Choix des plus belles fleurs et de quelques branches des plus beaux fruits
action filter_type
action find_reverse
entity prev_answer
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Paris'] [{'concept': 'collectable'}, 'place of publication', 'Seville'] [{'concept': 'collectable'}, 'place of publication', 'Tokyo']
SELECT DISTINCT ?g WHERE { VALUES ( ?o ) { ( resource:Marbella ) ( resource:Seville ) ( resource:Paris ) } . ?g rdf:type ontology:collectable . ?g property:place_of_publication ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q650068
P112
Q502895
USER
Which person founded Peterhouse ?
(Q650068,P112,c(Q502895))
action filter_type
action find
entity Q650068
relation P112
type Q502895
['Q650068', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q650068 property:P112 ?b . ?b rdf:type ontology:Q502895 }
Peterhouse
action filter_type
action find
entity Peterhouse
relation founder
type common name
['Peterhouse', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Peterhouse property:founder ?b . ?b rdf:type ontology:common_name }
[]
common name
Q5933160
SYSTEM
Hugh de Balsham
Q5933160
(Q650068,P112,c(Q502895))
action filter_type
action find
entity Q650068
relation P112
type Q502895
[ANSWER] founded Peterhouse
['Q650068', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q650068 property:P112 ?b . ?b rdf:type ontology:Q502895 }
Hugh de Balsham
Hugh de Balsham founded Peterhouse
Hugh de Balsham
action filter_type
action find
entity Peterhouse
relation founder
type common name
['Peterhouse', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Peterhouse property:founder ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1854757
Q502895
USER
And also tell me about Antoinette?
(Q1854757,P112,c(Q502895))
action filter_type
action find
entity Q1854757
relation P112
type Q502895
['Q1854757', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q1854757 property:P112 ?k . ?k rdf:type ontology:Q502895 }
Antoinette
action filter_type
action find
entity Antoinette
relation founder
type common name
['Antoinette', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Antoinette property:founder ?k . ?k rdf:type ontology:common_name }
[]
common name
Q15062969 Q457681
SYSTEM
Jules Gastambide, Léon Levavasseur
Q15062969 Q457681
(Q1854757,P112,c(Q502895))
action filter_type
action find
entity Q1854757
relation P112
type Q502895
[ANSWERS]
['Q1854757', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q1854757 property:P112 ?k . ?k rdf:type ontology:Q502895 }
Jules Gastambide Léon Levavasseur
Jules Gastambide Léon Levavasseur
action filter_type
action find
entity Antoinette
relation founder
type common name
['Antoinette', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Antoinette property:founder ?k . ?k rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q43000 Q26695275
P17
Q15617994
USER
Which administrative territories are mayor of Villanueva del Pardillo or Lomagna situated in ?
OR((Q26695275,P17,c(Q15617994)), (Q43000,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q26695275
relation P17
action find
entity Q43000
relation P17
type Q15617994
{'OR': [['Q26695275', 'P17', {'concept': 'Q15617994'}], ['Q43000', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . { ?a property:P17 ?u . VALUES ( ?a ) { ( resource:Q43000 ) ( resource:Q26695275 ) } } }
Lomagna mayor of Villanueva del Pardillo
action filter_type
action union
action find
entity mayor of Villanueva del Pardillo
relation country
action find
entity Lomagna
relation country
type designation for an administrative territorial entity
{'OR': [['mayor of Villanueva del Pardillo', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Lomagna', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?a property:country ?u . VALUES ( ?a ) { ( resource:Lomagna ) ( resource:mayor_of_Villanueva_del_Pardillo ) } } }
[]
designation for an administrative territorial entity
Q29 Q38
SYSTEM
Spain, Italy
Q29 Q38
OR((Q26695275,P17,c(Q15617994)), (Q43000,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q26695275
relation P17
action find
entity Q43000
relation P17
type Q15617994
Mayor of Villanueva del Pardillo or Lomagna are situated in [ANSWERS]
{'OR': [['Q26695275', 'P17', {'concept': 'Q15617994'}], ['Q43000', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . { ?a property:P17 ?u . VALUES ( ?a ) { ( resource:Q43000 ) ( resource:Q26695275 ) } } }
Spain Italy
Mayor of Villanueva del Pardillo or Lomagna are situated in Spain and Italy
Spain Italy
action filter_type
action union
action find
entity mayor of Villanueva del Pardillo
relation country
action find
entity Lomagna
relation country
type designation for an administrative territorial entity
{'OR': [['mayor of Villanueva del Pardillo', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Lomagna', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?a property:country ?u . VALUES ( ?a ) { ( resource:Lomagna ) ( resource:mayor_of_Villanueva_del_Pardillo ) } } }
[]