Simple Question (Direct)
Simple Question
Q3938924
P106
Q12737077
USER
Which occupation has Roberto Manganotto as his/her 's career ?
(Q3938924,P106,c(Q12737077))
action filter_type
action find
entity Q3938924
relation P106
type Q12737077
['Q3938924', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q3938924 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Roberto Manganotto
action filter_type
action find
entity Roberto Manganotto
relation occupation
type occupation
['Roberto Manganotto', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Roberto_Manganotto property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3938924,P106,c(Q12737077))
action filter_type
action find
entity Q3938924
relation P106
type Q12737077
The [ANSWER] has Roberto Manganotto as his/her 's career
['Q3938924', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q3938924 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
association football player
The association football player has Roberto Manganotto as his/her 's career
association football player
action filter_type
action find
entity Roberto Manganotto
relation occupation
type occupation
['Roberto Manganotto', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Roberto_Manganotto property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3938924
P19
Q15617994
USER
Where was that person born ?
(Q937857,P19,c(Q15617994))
action filter_type
action find
entity Q3938924
relation P19
type Q15617994
['Q937857', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q3938924 property:P19 ?g . ?g rdf:type ontology:Q15617994 }
Roberto Manganotto
action filter_type
action find
entity Roberto Manganotto
relation place of birth
type designation for an administrative territorial entity
['association football player', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Roberto_Manganotto property:place_of_birth ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q2790
SYSTEM
Udine
Q2790
(Q937857,P19,c(Q15617994))
action filter_type
action find
entity Q3938924
relation P19
type Q15617994
That person was born in [ANSWER]
['Q937857', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q3938924 property:P19 ?g . ?g rdf:type ontology:Q15617994 }
Udine
That person was born in Udine
Udine
action filter_type
action find
entity Roberto Manganotto
relation place of birth
type designation for an administrative territorial entity
['association football player', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Roberto_Manganotto property:place_of_birth ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q477600 Q3938924
P47 P19
Q15617994
USER
Which administrative territories were Roberto Manganotto born or share border with Mussomeli ?
OR((Q3938924,P19,c(Q15617994)), (Q477600,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q3938924
relation P19
action find
entity Q477600
relation P47
type Q15617994
{'OR': [['Q3938924', 'P19', {'concept': 'Q15617994'}], ['Q477600', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q3938924 property:P19 ?r } UNION { resource:Q477600 property:P47 ?r } } . ?r rdf:type ontology:Q15617994 }
Mussomeli Roberto Manganotto
action filter_type
action union
action find
entity Roberto Manganotto
relation place of birth
action find
entity Mussomeli
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Roberto Manganotto', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Mussomeli', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Roberto_Manganotto property:place_of_birth ?r } UNION { resource:Mussomeli property:shares_border_with ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q477789 Q431276 Q477393 Q477808 Q477537 Q342479 Q2790 Q477744 Q13680
SYSTEM
Sutera, Cammarata, Bompensiere, Villalba, Sicily, Marianopoli, Acquaviva Platani, Udine, San Cataldo, Sicily, Caltanissetta
Q477789 Q431276 Q477393 Q477808 Q477537 Q342479 Q2790 Q477744 Q13680
OR((Q3938924,P19,c(Q15617994)), (Q477600,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q3938924
relation P19
action find
entity Q477600
relation P47
type Q15617994
Roberto Manganotto were born share in [ANSWERS] with Mussomeli
{'OR': [['Q3938924', 'P19', {'concept': 'Q15617994'}], ['Q477600', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q3938924 property:P19 ?r } UNION { resource:Q477600 property:P47 ?r } } . ?r rdf:type ontology:Q15617994 }
Sutera Cammarata Bompensiere Villalba, Sicily Marianopoli Acquaviva Platani Udine San Cataldo, Sicily Caltanissetta
Roberto Manganotto were born share in Sutera, Cammarata, Bompensiere, Villalba, Sicily, Marianopoli, Acquaviva Platani, Udine, San Cataldo, Sicily and Caltanissetta with Mussomeli
Sutera Cammarata Bompensiere Villalba, Sicily Marianopoli Acquaviva Platani Udine San Cataldo, Sicily Caltanissetta
action filter_type
action union
action find
entity Roberto Manganotto
relation place of birth
action find
entity Mussomeli
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Roberto Manganotto', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Mussomeli', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Roberto_Manganotto property:place_of_birth ?r } UNION { resource:Mussomeli property:shares_border_with ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P47
Q15617994
USER
How many administrative territories are bordered by that administrative territory ?
(c(Q15617994),P47,Q477789)
[{'concept': 'Q15617994'}, 'P47', 'Q477789']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q286854 . ?z rdf:type ontology:Q15617994 }
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Sutera']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Sutera . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q477789
SYSTEM
Did you mean Sutera ?
(c(Q15617994),P47,Q477789) (c(Q15617994),P47,Q431276) (c(Q15617994),P47,Q477393) (c(Q15617994),P47,Q477808) (c(Q15617994),P47,Q477537) (c(Q15617994),P47,Q342479) (c(Q15617994),P47,Q2790) (c(Q15617994),P47,Q477744) (c(Q15617994),P47,Q13680)
[ANSWER]
[{'concept': 'Q15617994'}, 'P47', 'Q477789'] [{'concept': 'Q15617994'}, 'P47', 'Q431276'] [{'concept': 'Q15617994'}, 'P47', 'Q477393'] [{'concept': 'Q15617994'}, 'P47', 'Q477808'] [{'concept': 'Q15617994'}, 'P47', 'Q477537'] [{'concept': 'Q15617994'}, 'P47', 'Q342479'] [{'concept': 'Q15617994'}, 'P47', 'Q2790'] [{'concept': 'Q15617994'}, 'P47', 'Q477744'] [{'concept': 'Q15617994'}, 'P47', 'Q13680']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q286854 . ?z rdf:type ontology:Q15617994 }
Did you mean Sutera ?
Sutera
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Sutera'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Cammarata'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Bompensiere'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Villalba, Sicily'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Marianopoli'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Acquaviva Platani'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Udine'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'San Cataldo, Sicily'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Caltanissetta']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Sutera . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q15617994),P47,Q477789)
[{'concept': 'Q15617994'}, 'P47', 'Q477789']
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Sutera']
[]
SYSTEM
6
Q175016 Q431446 Q477393 Q477600 Q342479 Q477423
(c(Q15617994),P47,Q477789)
[ANSWER]
[{'concept': 'Q15617994'}, 'P47', 'Q477789']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q286854 . ?z rdf:type ontology:Q15617994 }
Milena, Sicily Casteltermini Bompensiere Mussomeli Acquaviva Platani Campofranco
6
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Sutera']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Sutera . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13680
P190
Q56061
USER
Which administrative territories are sister towns of Caltanissetta ?
(Q13680,P190,c(Q56061))
action filter_type
action find
entity Q13680
relation P190
type Q56061
['Q13680', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q13680 property:P190 ?y . ?y rdf:type ontology:Q56061 }
Caltanissetta
action filter_type
action find
entity Caltanissetta
relation sister city
type administrative territorial entity
['Caltanissetta', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Caltanissetta property:sister_city ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8717 Q49218
SYSTEM
Seville, Rochester
Q8717 Q49218
(Q13680,P190,c(Q56061))
action filter_type
action find
entity Q13680
relation P190
type Q56061
[ANSWERS] are sister towns of Caltanissetta
['Q13680', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q13680 property:P190 ?y . ?y rdf:type ontology:Q56061 }
Seville Rochester
Seville and Rochester are sister towns of Caltanissetta
Seville Rochester
action filter_type
action find
entity Caltanissetta
relation sister city
type administrative territorial entity
['Caltanissetta', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Caltanissetta property:sister_city ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q13680
Q15617994
USER
And which administrative territory?
(Q13680,P190,c(Q15617994))
action filter_type
action find
entity Q13680
relation P190
type Q15617994
['Q13680', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q13680 property:P190 ?q . ?q rdf:type ontology:Q15617994 }
Caltanissetta
action filter_type
action find
entity Caltanissetta
relation sister city
type designation for an administrative territorial entity
['Caltanissetta', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Caltanissetta property:sister_city ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q54603
SYSTEM
Cittanova
Q54603
(Q13680,P190,c(Q15617994))
action filter_type
action find
entity Q13680
relation P190
type Q15617994
[ANSWER]
['Q13680', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q13680 property:P190 ?q . ?q rdf:type ontology:Q15617994 }
Cittanova
Cittanova
action filter_type
action find
entity Caltanissetta
relation sister city
type designation for an administrative territorial entity
['Caltanissetta', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Caltanissetta property:sister_city ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q131524
P921
Q12737077 Q732577 Q2342494
USER
How many occupations were lesser number of publications and collectables mainly about than entrepreneur ?
(c(Q732577)|c(Q2342494),P921,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q131524
relation P921
type Q732577
type Q2342494
[[{'concept': 'Q732577'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?x WHERE { ?m rdf:type ?r . VALUES ( ?r ) { ( ontology:Q732577 ) ( ontology:Q2342494 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:P921 resource:Q131524 . { ?y rdf:type ?v . VALUES ( ?v ) { ( ontology:Q732577 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?w < ?n ) }
entrepreneur
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity entrepreneur
relation main subject
type publication
type collectable
[[{'concept': 'publication'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?x WHERE { ?m rdf:type ?r . VALUES ( ?r ) { ( ontology:publication ) ( ontology:collectable ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:main_subject resource:entrepreneur . { ?y rdf:type ?v . VALUES ( ?v ) { ( ontology:publication ) ( ontology:collectable ) } } } } . FILTER ( ?w < ?n ) }
[]
occupation publication collectable
SYSTEM
77
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q1124183 Q5185440 Q765778 Q33999 Q36180 Q3315094 Q622807 Q7358 Q131512 Q1708232 Q842782 Q378622 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q618536 Q2961580 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q486839 Q510373 Q899758 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q483501 Q152002 Q1114448 Q16533 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q133485 Q1477129 Q158852 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q732358 Q17143199 Q384593 Q2095549 Q372436 Q182436 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q732577)|c(Q2342494),P921,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q131524
relation P921
type Q732577
type Q2342494
[ANSWER]
[[{'concept': 'Q732577'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?x WHERE { ?m rdf:type ?r . VALUES ( ?r ) { ( ontology:Q732577 ) ( ontology:Q2342494 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:P921 resource:Q131524 . { ?y rdf:type ?v . VALUES ( ?v ) { ( ontology:Q732577 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?w < ?n ) }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve lumberjack Crime scene cleanup organist actor writer Prime Minister of Hungary seiyū clown farmer medallist detective racing driver Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates candidate taxi driver gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier member of parliament Lord High Steward violist Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil artist pastor cartoonist judge nanny caricaturist painter American football player legal profession composer rabbi völva conductor comedian photographer peasant missionary United States federal judge musician Nomarch medical examiner police officer aviator statesman librarian rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
77
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity entrepreneur
relation main subject
type publication
type collectable
[[{'concept': 'publication'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?x WHERE { ?m rdf:type ?r . VALUES ( ?r ) { ( ontology:publication ) ( ontology:collectable ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:main_subject resource:entrepreneur . { ?y rdf:type ?v . VALUES ( ?v ) { ( ontology:publication ) ( ontology:collectable ) } } } } . FILTER ( ?w < ?n ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q54603 Q172742
P17
Q15617994
USER
How many administrative territories are Cittanova or Nintendo Entertainment System a part of ?
(Q54603,P17,c(Q15617994)) (Q172742,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q54603
relation P17
type Q15617994
action filter_type
action find
entity Q172742
relation P17
type Q15617994
['Q54603', 'P17', {'concept': 'Q15617994'}] ['Q172742', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { ?j property:P17 ?l . VALUES ( ?j ) { ( resource:Q54603 ) ( resource:Q172742 ) } }
Cittanova Nintendo Entertainment System
action count
action union
action filter_type
action find
entity Cittanova
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Nintendo Entertainment System
relation country
type designation for an administrative territorial entity
['Cittanova', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Nintendo Entertainment System', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { ?j property:country ?l . VALUES ( ?j ) { ( resource:Cittanova ) ( resource:Nintendo_Entertainment_System ) } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q17 Q38
(Q54603,P17,c(Q15617994)) (Q172742,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q54603
relation P17
type Q15617994
action filter_type
action find
entity Q172742
relation P17
type Q15617994
[ANSWER]
['Q54603', 'P17', {'concept': 'Q15617994'}] ['Q172742', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { ?j property:P17 ?l . VALUES ( ?j ) { ( resource:Q54603 ) ( resource:Q172742 ) } }
Japan Italy
2
action count
action union
action filter_type
action find
entity Cittanova
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Nintendo Entertainment System
relation country
type designation for an administrative territorial entity
['Cittanova', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Nintendo Entertainment System', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { ?j property:country ?l . VALUES ( ?j ) { ( resource:Cittanova ) ( resource:Nintendo_Entertainment_System ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q54603
P47
Q56061 Q15617994
USER
How many administrative territories or administrative territories are adjacent to Cittanova ?
(Q54603,P47,c(Q56061)) (Q54603,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q54603
relation P47
type Q56061
action filter_type
action find
entity Q54603
relation P47
type Q15617994
['Q54603', 'P47', {'concept': 'Q56061'}] ['Q54603', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { resource:Q54603 property:P47 ?f . ?f rdf:type ontology:Q15617994 } UNION { resource:Q54603 property:P47 ?f . ?f rdf:type ontology:Q56061 } }
Cittanova
action count
action union
action filter_type
action find
entity Cittanova
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Cittanova
relation shares border with
type designation for an administrative territorial entity
['Cittanova', 'shares border with', {'concept': 'administrative territorial entity'}] ['Cittanova', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { resource:Cittanova property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Cittanova property:shares_border_with ?f . ?f rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity designation for an administrative territorial entity
SYSTEM
11
Q54601 Q54682 Q54627 Q54637 Q54624 Q54590 Q54612 Q54561 Q54647 Q54644 Q54640
(Q54603,P47,c(Q56061)) (Q54603,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q54603
relation P47
type Q56061
action filter_type
action find
entity Q54603
relation P47
type Q15617994
[ANSWER]
['Q54603', 'P47', {'concept': 'Q56061'}] ['Q54603', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { resource:Q54603 property:P47 ?f . ?f rdf:type ontology:Q15617994 } UNION { resource:Q54603 property:P47 ?f . ?f rdf:type ontology:Q56061 } }
Ciminà Taurianova Molochio Polistena Melicucco Canolo Gerace Antonimina San Giorgio Morgeto Rosarno Rizziconi
11
action count
action union
action filter_type
action find
entity Cittanova
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Cittanova
relation shares border with
type designation for an administrative territorial entity
['Cittanova', 'shares border with', {'concept': 'administrative territorial entity'}] ['Cittanova', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { resource:Cittanova property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Cittanova property:shares_border_with ?f . ?f rdf:type ontology:administrative_territorial_entity } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q445963 Q431276
P19
Q502895
USER
Which people have birthplace at Cammarata or Lesum ?
OR((c(Q502895),P19,Q431276), (c(Q502895),P19,Q445963))
action filter_type
action union
action find_reverse
entity Q431276
relation P19
action find_reverse
entity Q445963
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q431276'], [{'concept': 'Q502895'}, 'P19', 'Q445963']]}
SELECT DISTINCT ?x WHERE { { { ?x property:P19 resource:Q431276 } UNION { ?x property:P19 resource:Q445963 } } . ?x rdf:type ontology:Q502895 }
Lesum Cammarata
action filter_type
action union
action find_reverse
entity Cammarata
relation place of birth
action find_reverse
entity Lesum
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Cammarata'], [{'concept': 'common name'}, 'place of birth', 'Lesum']]}
SELECT DISTINCT ?x WHERE { { { ?x property:place_of_birth resource:Cammarata } UNION { ?x property:place_of_birth resource:Lesum } } . ?x rdf:type ontology:common_name }
[]
common name
Q3792218 Q4013576 Q65861 Q21914809 Q1459604 Q3848743 Q25411097 Q2037337
SYSTEM
Igino Coffari, Vincenzo Viola, Erich Adickes, Girolamo Coffari, Friedrich Heinrich Köhne, Mario Lupo, Pasquale Marino, Ottavio Alessi
Q3792218 Q4013576 Q65861 Q21914809 Q1459604 Q3848743 Q25411097 Q2037337
OR((c(Q502895),P19,Q431276), (c(Q502895),P19,Q445963))
action filter_type
action union
action find_reverse
entity Q431276
relation P19
action find_reverse
entity Q445963
relation P19
type Q502895
[ANSWERS] have birthplace at Cammarata or Lesum
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q431276'], [{'concept': 'Q502895'}, 'P19', 'Q445963']]}
SELECT DISTINCT ?x WHERE { { { ?x property:P19 resource:Q431276 } UNION { ?x property:P19 resource:Q445963 } } . ?x rdf:type ontology:Q502895 }
Igino Coffari Vincenzo Viola Erich Adickes Girolamo Coffari Friedrich Heinrich Köhne Mario Lupo Pasquale Marino Ottavio Alessi
Igino Coffari, Vincenzo Viola, Erich Adickes, Girolamo Coffari, Friedrich Heinrich Köhne, Mario Lupo, Pasquale Marino and Ottavio Alessi have birthplace at Cammarata or Lesum
Igino Coffari Vincenzo Viola Erich Adickes Girolamo Coffari Friedrich Heinrich Köhne Mario Lupo Pasquale Marino Ottavio Alessi
action filter_type
action union
action find_reverse
entity Cammarata
relation place of birth
action find_reverse
entity Lesum
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Cammarata'], [{'concept': 'common name'}, 'place of birth', 'Lesum']]}
SELECT DISTINCT ?x WHERE { { { ?x property:place_of_birth resource:Cammarata } UNION { ?x property:place_of_birth resource:Lesum } } . ?x rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4109844 Q3848743
P27 P17
Q15617994
USER
Which administrative territories are Mario Lupo an inhabitant of or are Vesele Pole a part of ?
OR((Q3848743,P27,c(Q15617994)), (Q4109844,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3848743
relation P27
action find
entity Q4109844
relation P17
type Q15617994
{'OR': [['Q3848743', 'P27', {'concept': 'Q15617994'}], ['Q4109844', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q3848743 property:P27 ?k } UNION { resource:Q4109844 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
Vesele Pole Mario Lupo
action filter_type
action union
action find
entity Mario Lupo
relation country of citizenship
action find
entity Vesele Pole
relation country
type designation for an administrative territorial entity
{'OR': [['Mario Lupo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Vesele Pole', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Mario_Lupo property:country_of_citizenship ?k } UNION { resource:Vesele_Pole property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212 Q38
SYSTEM
Ukraine, Italy
Q212 Q38
OR((Q3848743,P27,c(Q15617994)), (Q4109844,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3848743
relation P27
action find
entity Q4109844
relation P17
type Q15617994
[ANSWERS] are Mario Lupo an inhabitant of or are Vesele Pole a part of
{'OR': [['Q3848743', 'P27', {'concept': 'Q15617994'}], ['Q4109844', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q3848743 property:P27 ?k } UNION { resource:Q4109844 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
Ukraine Italy
Ukraine and Italy are Mario Lupo an inhabitant of or are Vesele Pole a part of
Ukraine Italy
action filter_type
action union
action find
entity Mario Lupo
relation country of citizenship
action find
entity Vesele Pole
relation country
type designation for an administrative territorial entity
{'OR': [['Mario Lupo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Vesele Pole', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Mario_Lupo property:country_of_citizenship ?k } UNION { resource:Vesele_Pole property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]